[Flashcoders] Dynamically changing FLV framerate
Hi, Does anyone know a way to dynamically change the framerate of a FLV file? I want to simulate fast forward and rewind (with different speeds). I am able to change the framerate of the flash movie but that does not affect the FLV thats playing in the Video component :( Any suggestions please? -- sajid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] BulkLoader getBitmap already added to display list ??
Hi, doing this: private function elementLoaded( ev:Event ):void{ var bm:Bitmap = bl.getBitmap( ev.target.id, true ); bm.name = ev.target.id; slide.addChild( bm ); [...] I get an error saying impossible to change the name of a DisplayObject already in scenario. thx L ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Player Public Bugbase now live
Any plans for a public AIR bug system? regards, Muzak - Original Message - From: "Francis Cheng" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Wednesday, April 09, 2008 2:05 AM Subject: [Flashcoders] Flash Player Public Bugbase now live The Flash Player team just announced a new public bug and issue tracking system for both bug reports and enhancement requests. It uses the same JIRA issue tracking system that the Flex team uses. Here's a link to the bugbase: https://bugs.adobe.com/flashplayer/ And here's a link to the announcement: http://www.adobe.com/devnet/logged_in/tmccauley_fplayer_bugbase.html Francis Cheng | Senior Technical Writer | Adobe Systems, Inc. http://blogs.adobe.com/fcheng ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Player Public Bugbase now live
The Flash Player team just announced a new public bug and issue tracking system for both bug reports and enhancement requests. It uses the same JIRA issue tracking system that the Flex team uses. Here's a link to the bugbase: https://bugs.adobe.com/flashplayer/ And here's a link to the announcement: http://www.adobe.com/devnet/logged_in/tmccauley_fplayer_bugbase.html Francis Cheng | Senior Technical Writer | Adobe Systems, Inc. http://blogs.adobe.com/fcheng ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Restarting an Air Application
Dears, In a application I've created in Air, I wanted to ask if it is possible to "restart" the application as in reloading the swf inside the Air Player when I press a button or whatsoever, instead of closing it and reopening it again by clicking it's Icon. I need it for a Kiosk application. Thanks -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessing loaded content variables
Yeah look at this in the swf timeline: import flash.events.*; const ON_PRESSED:String = "onPressed"; var PressedId:int; B1.id = 1; B2.id = 2; B1.addEventListener(MouseEvent.CLICK, sendId); B2.addEventListener(MouseEvent.CLICK, sendId); function sendId(e:MouseEvent):void { PressedId = e.currentTarget.id; dispatchEvent(new Event(ON_PRESSED)); } this works.. On Tue, Apr 8, 2008 at 10:34 PM, Kenneth Kawamoto <[EMAIL PROTECTED]> wrote: > Have you tried dispatchEvent() ? > > Kenneth Kawamoto > http://www.materiaprima.co.uk/ > > Omar Fouad wrote: > > > Yeah they all work :) thanks so much... > > But I wanna ask a question. Can I dispatch Events from the swf to be > > listened in the container Movie? > > > > On Tue, Apr 8, 2008 at 9:54 PM, Bob Wohl <[EMAIL PROTECTED]> wrote: > > > > Have you tried to do something along the lines of this: > > > > > > > > > private var myObject:DisplayObject; > > > public function getMap(link:String):void { > > > var ldr:Loader = new Loader(); > > > var urlReq:URLRequest = new URLRequest("Maps/" + link); > > > ldr.load(urlReq); > > > Map_Container.addChild(ldr); > > > myObject = ldr; > > > ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > > > getProject); > > > } > > > public function getProject(e:Event):void { > > > trace("Movie Loaded"); // works > > > trace(ldr.B1.Pid); //undefined. > > > trace(myObject.B1.Pid) > > > } > > > > > > > > > > > > On Tue, Apr 8, 2008 at 12:23 PM, Omar Fouad <[EMAIL PROTECTED]> > > > wrote: > > > > > > Hi list, > > > > > > > > I am loading an swf that contains two MovieClips into an AS3 > > > > Project, B1 > > > > and > > > > B2. > > > > in the fist (and only) frame of the swf loaded I added: > > > > > > > > B1.Pid = 1; > > > > B2.Pid = 2; > > > > > > > > Now I would like to access that property from the class wich loads > > > > that > > > > SWF > > > > here is the code I used: > > > > > > > > public function getMap(link:String):void { > > > > var ldr:Loader = new Loader(); > > > > var urlReq:URLRequest = new URLRequest("Maps/" + link); > > > > ldr.load(urlReq); > > > > Map_Container.addChild(ldr); > > > > ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > > > > getProject); > > > > } > > > > public function getProject(e:Event):void { > > > > trace("Movie Loaded"); // works > > > > trace(ldr.B1.Pid); //undefined. > > > > } > > > > > > > > How can I access it? In AS2 I used to write the name of the > > > > container > > > > like: > > > > > > > > container.MC.property; > > > > > > > > But how in AS3? > > > > > > > > Thanks. > > > > > > > > -- > > > > Omar M. Fouad - Digital Emotions > > > > http://www.omarfouad.net > > > > > > > > > > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] movement
My buddy and I were playing with some performance benchmarks we wrote (put 100 bitmaps on the screen by manual blits to a backing BitmapData). We weren't surprised that it ran stably at 120 FPS in the Flash IDE. We were alarmed to discover, however, that the same SWF ran at a mere 80 FPS in the Flash standalone player and was just under 60 FPS when viewed in the browser. Windows XP, Flash CS3 Professional, IE7. On Tue, Apr 8, 2008 at 3:20 PM, David Rogers <[EMAIL PROTECTED]> wrote: > if you are on a mac, try enabling or disabling rosetta in the info panel of > the application icon > > On Apr 8, 2008, at 2:41 PM, Lehr, Theodore M (N-SGIS) wrote: > > > > > I have a mc I am moving via AS - it moves at a fine pace in the player > > inside flash - but when I view it via the browser, it really slows > > down... why would this happen? > > > > > > > > ted > > > > ___ > > 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 > -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessing loaded content variables
Have you tried dispatchEvent() ? Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Yeah they all work :) thanks so much... But I wanna ask a question. Can I dispatch Events from the swf to be listened in the container Movie? On Tue, Apr 8, 2008 at 9:54 PM, Bob Wohl <[EMAIL PROTECTED]> wrote: Have you tried to do something along the lines of this: private var myObject:DisplayObject; public function getMap(link:String):void { var ldr:Loader = new Loader(); var urlReq:URLRequest = new URLRequest("Maps/" + link); ldr.load(urlReq); Map_Container.addChild(ldr); myObject = ldr; ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, getProject); } public function getProject(e:Event):void { trace("Movie Loaded"); // works trace(ldr.B1.Pid); //undefined. trace(myObject.B1.Pid) } On Tue, Apr 8, 2008 at 12:23 PM, Omar Fouad <[EMAIL PROTECTED]> wrote: Hi list, I am loading an swf that contains two MovieClips into an AS3 Project, B1 and B2. in the fist (and only) frame of the swf loaded I added: B1.Pid = 1; B2.Pid = 2; Now I would like to access that property from the class wich loads that SWF here is the code I used: public function getMap(link:String):void { var ldr:Loader = new Loader(); var urlReq:URLRequest = new URLRequest("Maps/" + link); ldr.load(urlReq); Map_Container.addChild(ldr); ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, getProject); } public function getProject(e:Event):void { trace("Movie Loaded"); // works trace(ldr.B1.Pid); //undefined. } How can I access it? In AS2 I used to write the name of the container like: container.MC.property; But how in AS3? Thanks. -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessing loaded content variables
"init" precedes "complete", so if you use Event.COMPLETE the properties of loaded asset are readily available. In AS2 things were the other way round: onLoadInit is fired after onLoadComplete. Kenneth Kawamoto http://www.materiaprima.co.uk/ Jason Van Pelt wrote: Also, I think you may want to use Event.INIT instead of Event.COMPLETE Jason Van Pelt Interactive Developer 504.210.1232 (p) / 504.581.2731 (f) Peter A. Mayer Advertising, Inc. www.peteramayer.com e.target.content Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: > Hi list, > > I am loading an swf that contains two MovieClips into an AS3 Project, B1 and > B2. > in the fist (and only) frame of the swf loaded I added: > > B1.Pid = 1; > B2.Pid = 2; > > Now I would like to access that property from the class wich loads that SWF > here is the code I used: > > public function getMap(link:String):void { > var ldr:Loader = new Loader(); > var urlReq:URLRequest = new URLRequest("Maps/" + link); > ldr.load(urlReq); > Map_Container.addChild(ldr); > ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > getProject); > } > public function getProject(e:Event):void { > trace("Movie Loaded"); // works > trace(ldr.B1.Pid); //undefined. > } > > How can I access it? In AS2 I used to write the name of the container like: > > container.MC.property; > > But how in AS3? > > Thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] movement
if you are on a mac, try enabling or disabling rosetta in the info panel of the application icon On Apr 8, 2008, at 2:41 PM, Lehr, Theodore M (N-SGIS) wrote: I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slows down... why would this happen? ted ___ 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] Accessing loaded content variables
Yeah they all work :) thanks so much... But I wanna ask a question. Can I dispatch Events from the swf to be listened in the container Movie? On Tue, Apr 8, 2008 at 9:54 PM, Bob Wohl <[EMAIL PROTECTED]> wrote: > Have you tried to do something along the lines of this: > > > private var myObject:DisplayObject; > public function getMap(link:String):void { > var ldr:Loader = new Loader(); > var urlReq:URLRequest = new URLRequest("Maps/" + link); > ldr.load(urlReq); > Map_Container.addChild(ldr); > myObject = ldr; >ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > getProject); > } > public function getProject(e:Event):void { > trace("Movie Loaded"); // works > trace(ldr.B1.Pid); //undefined. > trace(myObject.B1.Pid) >} > > > > On Tue, Apr 8, 2008 at 12:23 PM, Omar Fouad <[EMAIL PROTECTED]> > wrote: > > > Hi list, > > > > I am loading an swf that contains two MovieClips into an AS3 Project, B1 > > and > > B2. > > in the fist (and only) frame of the swf loaded I added: > > > > B1.Pid = 1; > > B2.Pid = 2; > > > > Now I would like to access that property from the class wich loads that > > SWF > > here is the code I used: > > > > public function getMap(link:String):void { > >var ldr:Loader = new Loader(); > >var urlReq:URLRequest = new URLRequest("Maps/" + link); > >ldr.load(urlReq); > >Map_Container.addChild(ldr); > >ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > > getProject); > >} > >public function getProject(e:Event):void { > >trace("Movie Loaded"); // works > >trace(ldr.B1.Pid); //undefined. > >} > > > > How can I access it? In AS2 I used to write the name of the container > > like: > > > > container.MC.property; > > > > But how in AS3? > > > > Thanks. > > > > -- > > Omar M. Fouad - Digital Emotions > > http://www.omarfouad.net > > > > This e-mail and any attachment is for authorised use by the intended > > recipient(s) only. It may contain proprietary material, confidential > > information and/or be subject to legal privilege. It should not be > copied, > > disclosed to, retained or used by, any other party. If you are not an > > intended recipient then please promptly delete this e-mail and any > > attachment and all copies and inform the sender. Thank you. > > ___ > > 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 > -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] movement
are you using safari? On Apr 8, 2008, at 2:41 PM, Lehr, Theodore M (N-SGIS) wrote: I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slows down... why would this happen? ted ___ 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] movement
Are you on a mac? I've had lots of problems with swfs playing back slowly on macs, but fine on pcs. Otherwise, macs just work. ;-) Jason Van Pelt Interactive Developer 504.210.1232 (p) / 504.581.2731 (f) Peter A. Mayer Advertising, Inc. I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slows down... why would this happen? ted ___ 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] Accessing loaded content variables
Have you tried to do something along the lines of this: private var myObject:DisplayObject; public function getMap(link:String):void { var ldr:Loader = new Loader(); var urlReq:URLRequest = new URLRequest("Maps/" + link); ldr.load(urlReq); Map_Container.addChild(ldr); myObject = ldr; ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, getProject); } public function getProject(e:Event):void { trace("Movie Loaded"); // works trace(ldr.B1.Pid); //undefined. trace(myObject.B1.Pid) } On Tue, Apr 8, 2008 at 12:23 PM, Omar Fouad <[EMAIL PROTECTED]> wrote: > Hi list, > > I am loading an swf that contains two MovieClips into an AS3 Project, B1 > and > B2. > in the fist (and only) frame of the swf loaded I added: > > B1.Pid = 1; > B2.Pid = 2; > > Now I would like to access that property from the class wich loads that > SWF > here is the code I used: > > public function getMap(link:String):void { >var ldr:Loader = new Loader(); >var urlReq:URLRequest = new URLRequest("Maps/" + link); >ldr.load(urlReq); >Map_Container.addChild(ldr); >ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > getProject); >} >public function getProject(e:Event):void { >trace("Movie Loaded"); // works >trace(ldr.B1.Pid); //undefined. >} > > How can I access it? In AS2 I used to write the name of the container > like: > > container.MC.property; > > But how in AS3? > > Thanks. > > -- > Omar M. Fouad - Digital Emotions > http://www.omarfouad.net > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. > ___ > 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] possible reasons for crash on compile in flashcs3?
It sounds like you know this, but the case you describe can still be a problem if you don't use the fully classpath in the instantiation. Hypothetical example: import com.thirdPartyTweener1.TweenIt; import com.thirdPartyTweener2.TweenIt; var tw:TweenIt = new TweenIt(); Even though the like-named class is in two different packages, the usage isn't obvious at instantiation. You'd need to do this: import com.thirdPartyTweener1.TweenIt; import com.thirdPartyTweener2.TweenIt; var tw:TweenIt = new com.thirdPartyTweener1.TweenIt(); But the compiler would probably warn you about this in a relatively clear way, so that's probably not the problem. Just thought I'd point that out. On 4/8/08 2:29 PM, "mario gonzalez" wrote: > No sir, I'm on good ole' windows xp. > > I know one of the ideas about packages is that you can have 2 classes > that are named the same, as long as they're in different packages. > However at this point, where i have ruled out everything that it could > be it's time to start ruling out 'that should never happen's so I might > try renaming all classes that have the same name as one another even if > they're in different packages. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessing loaded content variables
Also, I think you may want to use Event.INIT instead of Event.COMPLETE Jason Van Pelt Interactive Developer 504.210.1232 (p) / 504.581.2731 (f) Peter A. Mayer Advertising, Inc. www.peteramayer.com e.target.content Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: > Hi list, > > I am loading an swf that contains two MovieClips into an AS3 Project, B1 and > B2. > in the fist (and only) frame of the swf loaded I added: > > B1.Pid = 1; > B2.Pid = 2; > > Now I would like to access that property from the class wich loads that SWF > here is the code I used: > > public function getMap(link:String):void { > var ldr:Loader = new Loader(); > var urlReq:URLRequest = new URLRequest("Maps/" + link); > ldr.load(urlReq); > Map_Container.addChild(ldr); > ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > getProject); > } > public function getProject(e:Event):void { > trace("Movie Loaded"); // works > trace(ldr.B1.Pid); //undefined. > } > > How can I access it? In AS2 I used to write the name of the container like: > > container.MC.property; > > But how in AS3? > > Thanks. > ___ 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] Accessing loaded content variables
Thank you Kenneth :) On Tue, Apr 8, 2008 at 9:45 PM, Kenneth Kawamoto <[EMAIL PROTECTED]> wrote: > e.target.content > > > Kenneth Kawamoto > http://www.materiaprima.co.uk/ > > Omar Fouad wrote: > > > Hi list, > > > > I am loading an swf that contains two MovieClips into an AS3 Project, B1 > > and > > B2. > > in the fist (and only) frame of the swf loaded I added: > > > > B1.Pid = 1; > > B2.Pid = 2; > > > > Now I would like to access that property from the class wich loads that > > SWF > > here is the code I used: > > > > public function getMap(link:String):void { > >var ldr:Loader = new Loader(); > >var urlReq:URLRequest = new URLRequest("Maps/" + link); > >ldr.load(urlReq); > >Map_Container.addChild(ldr); > >ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, > > getProject); > >} > >public function getProject(e:Event):void { > >trace("Movie Loaded"); // works > >trace(ldr.B1.Pid); //undefined. > >} > > > > How can I access it? In AS2 I used to write the name of the container > > like: > > > > container.MC.property; > > > > But how in AS3? > > > > Thanks. > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessing loaded content variables
e.target.content Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Hi list, I am loading an swf that contains two MovieClips into an AS3 Project, B1 and B2. in the fist (and only) frame of the swf loaded I added: B1.Pid = 1; B2.Pid = 2; Now I would like to access that property from the class wich loads that SWF here is the code I used: public function getMap(link:String):void { var ldr:Loader = new Loader(); var urlReq:URLRequest = new URLRequest("Maps/" + link); ldr.load(urlReq); Map_Container.addChild(ldr); ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, getProject); } public function getProject(e:Event):void { trace("Movie Loaded"); // works trace(ldr.B1.Pid); //undefined. } How can I access it? In AS2 I used to write the name of the container like: container.MC.property; But how in AS3? Thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] movement
I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slows down... why would this happen? ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Accessing loaded content variables
Hi list, I am loading an swf that contains two MovieClips into an AS3 Project, B1 and B2. in the fist (and only) frame of the swf loaded I added: B1.Pid = 1; B2.Pid = 2; Now I would like to access that property from the class wich loads that SWF here is the code I used: public function getMap(link:String):void { var ldr:Loader = new Loader(); var urlReq:URLRequest = new URLRequest("Maps/" + link); ldr.load(urlReq); Map_Container.addChild(ldr); ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, getProject); } public function getProject(e:Event):void { trace("Movie Loaded"); // works trace(ldr.B1.Pid); //undefined. } How can I access it? In AS2 I used to write the name of the container like: container.MC.property; But how in AS3? Thanks. -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2 TextField tabbing
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] possible reasons for crash on compile in flashcs3?
No sir, I'm on good ole' windows xp. I know one of the ideas about packages is that you can have 2 classes that are named the same, as long as they're in different packages. However at this point, where i have ruled out everything that it could be it's time to start ruling out 'that should never happen's so I might try renaming all classes that have the same name as one another even if they're in different packages. Forrest Maready wrote: Hi Mario- Are you on a Mac? or Leopard 10.5.2? I know the brand new Mac Book Pro's have been having some weird issues: http://www.rockonflash.com/blog/?p=109 On Mon, Apr 7, 2008 at 9:29 PM, mario gonzalez <[EMAIL PROTECTED]> wrote: What might be some possible reasons why the flash IDE crashes on compile? The problem is that it doesn't crash EACH time, just once in a blue. This just started though recently when i took an item that was a class (the path was: "landingpage.modules.browser.BrowserContainer"), and broke it into a subclass of a GenericBrowser class (the path was: "utils.browser.GenericBrowserContainer")... Suddenly it crashes, usually on the second compile, it's pretty frustrating even though i save often so i have no lost any data. What might be some possible things that could be causing this crash? Maybe something to do with variable names? The subclass has to do it's own imports even if the super class imports those same classes right? (I'm just trying to rule out EVERYTHING since its kind of becoming annoying at this point). Anyone have any ideas? ___ 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] AS2 TextField tabbing
For triage help: 1. Is this in the IDE preview (Ctrl-Enter), and if so, do you have "Disable keyboard shortcuts" under control menu on or off? 2. Do you have any components on the stage? -jonathan On Tue, Apr 8, 2008 at 12:51 PM, Andrew Sinning <[EMAIL PROTECTED]> wrote: > I have a problem somewhere in my movie but I'm not sure where to look. > > Something somewhere is intercepting the TAB key and preventing it from > getting to the object that handles the selection focus. > > If I just create a movie with four fields then tabbing is automatic, but > in my project I can't get tabbing to work at all. > > Curiously, if add an event listener to the Key object, the onKeyEvent > never happens for the TAB key. As a test, I wrote an event listener to > manually change the selection when ENTER is pressed and it works just fine. > The following doesn't do anything when TAB is pressed, but it does register > for all the other keys pressed: > > Key.addListener(textListener); > textListener.onKeyDown = function() { > trace("key down"); > } > > Any thoughts greatly appreciated. Thanks! > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS2 TextField tabbing
I have a problem somewhere in my movie but I'm not sure where to look. Something somewhere is intercepting the TAB key and preventing it from getting to the object that handles the selection focus. If I just create a movie with four fields then tabbing is automatic, but in my project I can't get tabbing to work at all. Curiously, if add an event listener to the Key object, the onKeyEvent never happens for the TAB key. As a test, I wrote an event listener to manually change the selection when ENTER is pressed and it works just fine. The following doesn't do anything when TAB is pressed, but it does register for all the other keys pressed: Key.addListener(textListener); textListener.onKeyDown = function() { trace("key down"); } Any thoughts greatly appreciated. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] possible reasons for crash on compile in flashcs3?
Hi Mario- Are you on a Mac? or Leopard 10.5.2? I know the brand new Mac Book Pro's have been having some weird issues: http://www.rockonflash.com/blog/?p=109 On Mon, Apr 7, 2008 at 9:29 PM, mario gonzalez <[EMAIL PROTECTED]> wrote: > What might be some possible reasons why the flash IDE crashes on compile? > > The problem is that it doesn't crash EACH time, just once in a blue. > This just started though recently when i took an item that was a class > (the path was: "landingpage.modules.browser.BrowserContainer"), and > broke it into a subclass of a GenericBrowser class (the path was: > "utils.browser.GenericBrowserContainer")... > Suddenly it crashes, usually on the second compile, it's pretty > frustrating even though i save often so i have no lost any data. > > What might be some possible things that could be causing this crash? > Maybe something to do with variable names? > The subclass has to do it's own imports even if the super class imports > those same classes right? (I'm just trying to rule out EVERYTHING since > its kind of becoming annoying at this point). > > Anyone have any ideas? > > > ___ > 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] IE7 wont trigger popups locally
I am using the SWFObject, in a version where it puts the allowScriptAccess to "always", so it can not be that one that is bugging me. I can not even make a getURL("alert('Hello World')") in IE7 when running the page locally. / martin 2008/4/8, Matthew James Poole <[EMAIL PROTECTED]>: > > Are you setting allowScriptAccess in the params? > > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Martin Klasson > Sent: 08 April 2008 14:03 > To: Flash Coders List > Subject: [Flashcoders] IE7 wont trigger popups locally > > Hi People. > > I am having trouble with opening popups from Flash, I am using getURL to > call a javascript-function that should open a popup. > > it worked before, and it works in Firefox, but it doesnt work in IE7 when > trying it locally, but it will work in IE7 if run from a server. > > It is an older projekt, published in Flash 6, if I make it to Flash 8 and > use ExternalInterface to call the javascript - then it do work, but not when > running it as it is - Flash 6 with getURL - the javascript-function will not > be reached. > > How can this be solved - without digging through an old application and > turn it to flash 8 and going that way? > > -- > > Martin Klasson > Flash Developer > Parkgatan 9-11 > S-411 24 Göteborg > Sweden > Office +46 (0) 31 711 54 50 > Cell +46 (0) 730 964 561 > [EMAIL PROTECTED] > www.kokokaka.com > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > __ > This e-mail has been scanned for viruses by the Virtual Universe e-mail > security system - powered by MessageLabs. http://www.virtual-universe.net > > __ > > The contents of this email (which include its attachments) are > confidential and may be subject to legal privilege and protected by > copyright. If you are not the intended recipient any use, copying or > disclosure of this e-mail to any third party is strictly forbidden by the > sender and we reserve all rights and remedies against any person or entity > making any such unauthorised use. If you have received this email in error, > please contact the sender immediately by telephone or return the email to > the sender and then delete this email and any copies of it on your system. > Virtual Universe Limited may monitor the contents of emails sent and > received via its network for viruses and to ensure the lawful and authorised > use of its systems. Virtual Universe Limited will not be held responsible > for any damage caused by viruses which may be transmitted upon receipt of > this email or the opening of any attachment thereto. Any views or opinions > presented in this email are solely those of th! > e author and do not necessarily represent those of Virtual Universe > Limited. > > Virtual Universe Limited is a company established under the laws of > England and Wales with registered number 03064568 and has its registered > office at 1 Regent Street, London, SW1Y 4NW and principal place of business > at 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ, United Kingdom. > It is registered for VAT in the United Kingdom with number GB877113217. > > > __ > This e-mail has been scanned for viruses by the Virtual Universe e-mail > security system - powered by MessageLabs. http://www.virtual-universe.net > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Martin Klasson Flash Developer Parkgatan 9-11 S-411 24 Göteborg Sweden Office +46 (0) 31 711 54 50 Cell +46 (0) 730 964 561 [EMAIL PROTECTED] www.kokokaka.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] IE7 wont trigger popups locally
Are you setting allowScriptAccess in the params? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Klasson Sent: 08 April 2008 14:03 To: Flash Coders List Subject: [Flashcoders] IE7 wont trigger popups locally Hi People. I am having trouble with opening popups from Flash, I am using getURL to call a javascript-function that should open a popup. it worked before, and it works in Firefox, but it doesnt work in IE7 when trying it locally, but it will work in IE7 if run from a server. It is an older projekt, published in Flash 6, if I make it to Flash 8 and use ExternalInterface to call the javascript - then it do work, but not when running it as it is - Flash 6 with getURL - the javascript-function will not be reached. How can this be solved - without digging through an old application and turn it to flash 8 and going that way? -- Martin Klasson Flash Developer Parkgatan 9-11 S-411 24 Göteborg Sweden Office +46 (0) 31 711 54 50 Cell +46 (0) 730 964 561 [EMAIL PROTECTED] www.kokokaka.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ The contents of this email (which include its attachments) are confidential and may be subject to legal privilege and protected by copyright. If you are not the intended recipient any use, copying or disclosure of this e-mail to any third party is strictly forbidden by the sender and we reserve all rights and remedies against any person or entity making any such unauthorised use. If you have received this email in error, please contact the sender immediately by telephone or return the email to the sender and then delete this email and any copies of it on your system. Virtual Universe Limited may monitor the contents of emails sent and received via its network for viruses and to ensure the lawful and authorised use of its systems. Virtual Universe Limited will not be held responsible for any damage caused by viruses which may be transmitted upon receipt of this email or the opening of any attachment thereto. Any views or opinions presented in this email are solely those of th! e author and do not necessarily represent those of Virtual Universe Limited. Virtual Universe Limited is a company established under the laws of England and Wales with registered number 03064568 and has its registered office at 1 Regent Street, London, SW1Y 4NW and principal place of business at 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ, United Kingdom. It is registered for VAT in the United Kingdom with number GB877113217. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] IE7 wont trigger popups locally
Hi People. I am having trouble with opening popups from Flash, I am using getURL to call a javascript-function that should open a popup. it worked before, and it works in Firefox, but it doesnt work in IE7 when trying it locally, but it will work in IE7 if run from a server. It is an older projekt, published in Flash 6, if I make it to Flash 8 and use ExternalInterface to call the javascript - then it do work, but not when running it as it is - Flash 6 with getURL - the javascript-function will not be reached. How can this be solved - without digging through an old application and turn it to flash 8 and going that way? -- Martin Klasson Flash Developer Parkgatan 9-11 S-411 24 Göteborg Sweden Office +46 (0) 31 711 54 50 Cell +46 (0) 730 964 561 [EMAIL PROTECTED] www.kokokaka.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Tweening Engines for AS3
cool! On Tue, Apr 8, 2008 at 8:33 AM, Jack Doyle <[EMAIL PROTECTED]> wrote: > I know this is an old thread, but I wanted to mention a few things that > might interest a few of you: > > 1) The entire TweenLite family now does synchronized tweens. > > 2) TweenLite's "big brother", TweenMax, was just released and it adds > support for Bezier tweens, sequencing, hex color tweening, and a bunch > more > features. It does everything TweenLite and TweenFilterLite do plus more. > > 3) In addition to normal Bezier tweening, TweenMax has a "bezierThrough" > feature that allows you to define points through which you want the bezier > curve to travel (instead of normal control points that simply attract the > curve) > > There's an interactive demo that lets you play with the Bezier > functionality, as well as a feature comparison chart for TweenLite, > TweenFilterLite, and TweenMax, and a Bezier speed test all available at > www.TweenMax.com. Of course everything is available in AS2 and AS3. > > Cheers! > > Jack > > > -Original Message- > From: Meinte van't Kruis [mailto:[EMAIL PROTECTED] > Sent: Monday, March 24, 2008 1:51 PM > To: Flash Coders List > Subject: Re: [Flashcoders] Tweening Engines for AS3 > > Tweenlite has one lil thingy against it though; tweens aren't > synchronised. > It doesn't happen much that this becomes a problem, though I can imagine > projects where people want lots of tweens ending at the same time, which > simply won't happen with lots of objects in TweenLite, other than > that it's pretty sweet. > > On Mon, Mar 24, 2008 at 7:20 PM, eric e. dolecki <[EMAIL PROTECTED]> > wrote: > > > third TweenLite and TweenFilterLite > > > > On Mon, Mar 24, 2008 at 1:51 PM, Dave Mennenoh < > [EMAIL PROTECTED] > > > > > wrote: > > > > > I prefer Tweener, and if you've ever used Fuse you'll like it's > syntax. > > > It's > > > also quite small - adds about 8K. > > > > > > Dave - > > > Head Developer > > > http://www.blurredistinction.com > > > Adobe Community Expert > > > http://www.adobe.com/communities/experts/ > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- M.A. van't Kruis http://www.malatze.nl/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders