Re: [Flashcoders] AS3 finally..
Void was AS2 and wasn't really necessary. void is AS3 and since it uses strong typing, very necessary. void will not return anything. If you want back values (numeric) use Number (text) use String, etc. John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On May 18, 2013, at 10:15 PM, Karl DeSaulniers wrote: > My first question. > > What is the purpose of "void" versus "Void"? When do you use "void" and > "Void" and when is it not needed or wise to use "void" on a function? I may > have asked this a few years ago, but can not find any of the emails, so if > its a duplicate I apologize. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 finally..
Hello fellow Flashers, Been a while. Ok, its time. I am now going to learn AS3 for real.. lol I know I know... please no comments from the peanut gallery. I am also making my first AS3 lesson an iPhone app. Whoo hoo! (Im a glutton for punishment I guess) So, I will have some more questions regarding that process here in the near future I am sure. My first question. What is the purpose of "void" versus "Void"? When do you use "void" and "Void" and when is it not needed or wise to use "void" on a function? I may have asked this a few years ago, but can not find any of the emails, so if its a duplicate I apologize. IE function someFunc():void { //do something } function someFunc():Void { //do something } function someFunc() { //do something } If I understand correctly, to use "void", your function can not return any values? It can only manipulate things? I don't fully understand "Void" with a Cap V, so will need enlightenment. To have a function return a value with the "return" statement, "void" should be voided?? (sry. had to) If you want to answer directly, please, be my guest. If you want to send me somewhere to learn, by all means. I'll take what I can get. Hopefully my being a newbie and asking questions right now will fervor some lost zeal in some people and they will want to help me. :) (fingers crossed) Best, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2: SWF Decompiler Recommendations
Thanks everyone for the suggestions. I should have mentioned that I'm on a Mac so Burak's ASV isn't an option for me. Based on your comments, I tried the demo version of 'SWF Decompiler Trillix for Mac'. After a quick test confirmed that it did exactly what I needed, I paid for a full license and am back in business. Literally. Thanks again, Jim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flickering buttons
Yes, code in the button class should stop it. I just wondered if the animation was creating individual instances and that was causing it to hinder the buttons is all. On May 18, 2013, at 1:05 PM, "Paul A." wrote: > I guess they're still playing. > > They won't stop just because the parent has stopped. > > If they are movieclip acting as buttons, at some stage you've told them to > play. > > You do have a "stop()" in them to stop then cycling, don't you? > > On 18/05/2013 17:16, [ p e r c e p t i c o n ] wrote: >> I guess what I mean is after the containing clip is finished animating the >> clips within it are cycling through their rollover states >> Thanks >> >> On May 18, 2013, at 10:29 AM, "Paul A." wrote: >> >>> On 18/05/2013 15:19, [p e r c e p t i c o n] wrote: Hi Gang, really stupid question. I have a movieclip that animates on. in it are several movieclips representing buttons. When the the containing movieclip animates on...the clips it contains flicker even thought they have instance names. Does anyone have any ideas on why this is happening? thanks, p >>> The fact they have instance names has no relevance. >>> >>> I suspect that they aren't on every frame of your animation. >>> >>> We can only guess. >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flickering buttons
I guess they're still playing. They won't stop just because the parent has stopped. If they are movieclip acting as buttons, at some stage you've told them to play. You do have a "stop()" in them to stop then cycling, don't you? On 18/05/2013 17:16, [ p e r c e p t i c o n ] wrote: I guess what I mean is after the containing clip is finished animating the clips within it are cycling through their rollover states Thanks On May 18, 2013, at 10:29 AM, "Paul A." wrote: On 18/05/2013 15:19, [p e r c e p t i c o n] wrote: Hi Gang, really stupid question. I have a movieclip that animates on. in it are several movieclips representing buttons. When the the containing movieclip animates on...the clips it contains flicker even thought they have instance names. Does anyone have any ideas on why this is happening? thanks, p The fact they have instance names has no relevance. I suspect that they aren't on every frame of your animation. We can only guess. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flickering buttons
I guess what I mean is after the containing clip is finished animating the clips within it are cycling through their rollover states Thanks On May 18, 2013, at 10:29 AM, "Paul A." wrote: > On 18/05/2013 15:19, [p e r c e p t i c o n] wrote: >> Hi Gang, >> >> really stupid question. >> >> I have a movieclip that animates on. in it are several movieclips >> representing buttons. >> When the the containing movieclip animates on...the clips it contains >> flicker even thought they have instance names. Does anyone have any ideas >> on why this is happening? >> >> thanks, >> >> p > The fact they have instance names has no relevance. > > I suspect that they aren't on every frame of your animation. > > We can only guess. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flickering buttons
On 18/05/2013 15:19, [p e r c e p t i c o n] wrote: Hi Gang, really stupid question. I have a movieclip that animates on. in it are several movieclips representing buttons. When the the containing movieclip animates on...the clips it contains flicker even thought they have instance names. Does anyone have any ideas on why this is happening? thanks, p The fact they have instance names has no relevance. I suspect that they aren't on every frame of your animation. We can only guess. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] flickering buttons
Hi Gang, really stupid question. I have a movieclip that animates on. in it are several movieclips representing buttons. When the the containing movieclip animates on...the clips it contains flicker even thought they have instance names. Does anyone have any ideas on why this is happening? thanks, p -- . : . [ p e r c e p t i c o n ] . _ _ _ _ _ _ _ _ _ _ . ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2: SWF Decompiler Recommendations
http://www.buraks.com/asv/ John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders