Jump to content
Search Community

michaelangela

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by michaelangela

  1. hmm hmmm hmmmmm tempting... I have been a part of Club Greensock in the past. Wholeheartedly endorse the Club. It's been a long time since I have been an active Greensock user. This particular challenge is work I am doing for a client so it's just me. We'll see where this goes!
  2. Understood. Is this to be a Club plugin? And if there is any possible ETA that can be mentioned?
  3. Hello! Just checking to see if the plugin has been released yet. It's been a while since I have been able to use GSAP for a project. I think I had to step out around... hmm... maybe late 1.x? 3.x looks amazing!
  4. I had this question, too. Hopefully it will help someone else. From here is the tip. An example: private var t:SoundTransform; t = new SoundTransform(0); //want to fade up from 0 TweenMax.to(t, 1, {volume:1, onUpdate:setVolume}); private function setVolume():void { SoundMixer.soundTransform = t; }
  5. I am sorry I can't be of more assistance but have you tried using this debugger to help? http://demonsterdebugger.com/ It can generate the client class files you need, just drop them somewhere your compiler can find it. It can give you detailed drilldowns into your app with class names, etc. so you can do things like so: import nl.demonsters.debugger.MonsterDebugger; MonsterDebugger.trace(this, mySwfLoader.rawContent); Some other possible tips are here: http://stackoverflow.com/questions/1797602/how-to-access-parent-movieclips-variable-from-loaded-swf http://board.flashkit.com/board/showthread.php?t=771835 I'm sure better answers will surface soon!
  6. 1. no 2. no 3. CHILD_ 4. no 5. no 6. I like how rizal72 puts it. Seriously this stuff is good. Disclaimer: I haven't tried video loading yet. If I can use VideoLoader with CDNs then no problem. You know this lib is *almost* like loading content on a web page especially with the .parse() method. Give me this and put it there. And boom. there it is. Combined with your progress display classes.... whoo boy!
  7. That was a flash thing in general. I'll have to put together a standard sample when I have some time and then try with LoaderMax to compare the two. The audio in this particular case was streamed so the net connection couldn't be closed from the outside and we didn't have access to the swf which was a game. The brute force method we used in this case was loading the swf in a div via jquery and destroying that div to unload it. Yikes!
  8. I'm not sure if this should go in a separate thread but in v9 AS3 if you load a SWF and that SWF loads a sound and then unload the SWF the sound keeps playing. I've only heard that you'd have to have access to the SWF code itself to make sure to shut down net connections and stop the sound there in order for it to really be unloaded. v10 added some functions to make that easier IIRC. Any thoughts?
  9. Heh I hear you. One other thing that helps a lot, but adds an initial learning curve, is using an IDE that helps you learn. If you're on Windows the really nice http://www.flashdevelop.org/ is very VERY nice. And it's free. If you're on Mac It's a bit different. I'm not sure of any free options. One other thing is getting to understand the AS3 documentation. There are a lot of examples in there. http://www.adobe.com/livedocs/flash/9.0 ... LangRefV3/ [edit] Forgot to mention there is a zip reference here: http://help.adobe.com/support/documenta ... angRef.zip and that includes a search through the documentation as well. Very useful.
  10. Hey there Jason, This is in regards to your request for examples. They are über helpful when I am trying to wrap my head around something so I totally understand. Pop up a question with your request though. Folks here can be mighty helpful not to mention Jack himself of course. Michael
  11. I totally support releasing the display classes as an external add on. But by all means please do release it into the wild! Not having to think about adding a loader element is very nice and having it auto-connect itself to LoaderMax is just sweet. The way you have it split so the visual display is separate so it can be customized is very useful as well. That is something I'd be looking forward to.
  12. I do like the "Child" variant but consistency would be better I think. Great stuff as always Jack! Just going through the forum and catching up on issues/requests, etc. And this base url feature is quite nice.
  13. There is one case where I believe Grant Skinner made an image loader specifically for use in Flex lists since they flicker when using standard image loaders when the item renderers are reused. So when a cell with an image goes off the top or bottom and comes back in you would see that flicker as the item renderer pulled in that image again presumably from the browser cache. The workaround was to cache the bitmap data and check the name being requested. If it was already loaded it would pull that bitmap data directly and override Flex's update so you didn't see the flicker. This is all from memory from a very long time ago so I'm sure there are bits that are not correct. Flex 2 I think even. Since the data is ever present though in this case via getContent/Loader() that could mitigate it. To be honest I don't know if Flex3/4 has this issue now.
  14. Brief followup on this. That limit is typically set by the browser. Try the demo out in Flash and increase the max connections and it works as expected.
  15. Have you tried setting the currentProgress = 1 before reversing it?
  16. Hi there once again. I'd like to ask what is the best way to clone a timeline. The reason is that I'd like to use a function that builds a timeline. The first time it is called it just builds the time, no problem. The next time it is called though I'd like to rewind the timeline and then have the rebuilt timeline to play afterwards. I could reverse() it and use the on reverse complete event of the timeline of course. That will require an extra layer of callback functions and I was seeing if there was a clean way to avoid that. I see the getChildren on the timeline but that doesn't maintain all the state like the stagger, align, etc. Does my question make sense? Any thoughts? [edit] A test seems to say doing tlB = tlA does a pass by reference so I changes to tlB changes tlA hence the question about making a clone. [edit 2] I should have mentioned that this timeline is also inserted into another timeline, and that every time this particular timeline is created, it needs to use different variables. The way I have done it so far is to make a function to handle creating this particular timeline (returning a TimeLineMax), receiving the params it needs. But call it twice. The first is inserted into the parent timeline and the next one is stored in a variable awaiting playback the next time this routine is called. When the routine is called again, it plays that particular timeline in reverse and also adds a REVERSE_COMPLETE handler to call the function that needs to recreate the new timeline. I'll see if I can post a code snippet after my deadline is met if anyone finds this useful. Thanks again for a great tool Jack! Michael Thanks! Michael
  17. Yeah that totally makes sense. i'll try putting the filters on the individual elements instead of the container and just tween the container alpha. Thank you very much for the followup and helping me figure out where it was failing! [edit] Yep that did it. The container only gets the non-filter tweens and the individual elements within get the filters as needed. Works a treat! Thanks again. Michael
  18. Hi Jack, I am still trying to track it down but hopefully this example will help. It's only visible when the color behind the tweened object is not white. The swf size and color is being set by the SWF metadata tag in the BlurFilterTest.as class as well as all the releveant code. After a delay of 1 second the tween starts, delays another second, and then reverses. You can see the red disk "pop" a bit as it goes through the tween. I hope this example makes sense. And thank you for looking at it! I see that what I am trying to do can in fact be done in the Flash IDE by setting filters, etc., so it must be something about how I am combining things. I just haven't been able to find where the issue is so far. Michael
  19. Hi there, I have a sprite which adds a shape "disk" with a blendmode of multiply. Code below. Adding a blurFilter such as: TweenMax.to(this, 1, {x:dest.x,y:dest.y,scaleX:scale, scaleY:scale,autoAlpha:0.35, blurFilter:{blurX:5, blurY:5}, ease:Strong.easeOut}); causes the disk to lose it's blendMode. If I then do a tween such as: TweenMax.to(this, 1, {x:dest.x,y:dest.y,scaleX:scale, scaleY:scale,autoAlpha:0.35, blurFilter:{blurX:0, blurY:0,remove:true}, ease:Strong.easeOut}); the blendMode comes back when the tween is complete. Is there any way to keep the blendMode while tweening with a blurFilter? And add to that, would this also be an issue with a dropShadowFilter? Thanks! Michael disk = new Shape(); disk.graphics.beginFill( 0x373535 ); disk.graphics.drawCircle(_SIZE/2,_SIZE/2,_SIZE/2); disk.graphics.endFill(); disk.blendMode = BlendMode.MULTIPLY; addChild( disk ); tf = new TextField(); tf.autoSize = TextFieldAutoSize.LEFT; tf.multiline = true; tf.wordWrap = true; tf.width = _SIZE; tf.text = "some test text"; tf.embedFonts = true; tf.setTextFormat( textFormat ); tf.y = 0.5 * (_SIZE - tf.height); tf.mouseEnabled = false; addChild( tf );
×
×
  • Create New...