[Flashcoders] Re: Thoughts about circular references and memory leaks
I see no need for you to rush the garbage collector. It will run when the System.totalMemory has reached some predetermined ceiling, and when it runs, you can trust that it will count references and also mark-and-sweep. Circular references should be no problem for the GC. Memory leaks are caused by other things. An important thing to consider, though, is whether you really want to delete this object of yours. It has a circular reference, so I'm betting it contains some complicated code. Rather than deleting it and creating new ones, you may want to try recycling the objects that you have. That way, memory management won't be such a big issue, and your code will conserve memory. -Rez On May 13, 2007, at 10:41 PM, Joshua Sera wrote: So if the Garbage collector delete classes with no references to them immediately, but waits to do the more expensive check to see if the class has no references from the root, then with your classes that you know will have circular references, would it be a good idea to write a dispose method that does a for in loop on the instance, and deletes everything it can find? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Thoughts about circular references and memory leaks
So if the Garbage collector delete classes with no references to them immediately, but waits to do the more expensive check to see if the class has no references from the root, then with your classes that you know will have circular references, would it be a good idea to write a dispose method that does a for in loop on the instance, and deletes everything it can find? In other words, when you don't need an object, you just delete it, or make all references to it null, but if your object contains an object that has a reference to the original object, then there's still a reference. So you just include a method in the contained classes that delete all their references, and a method in the containing class that does the same thing, so if you do everything right, when you call that method, it takes care of eliminating all it's references, and gets cleaned up more quickly. Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Strange problem with AS2 class
Lots of ways for things to not work. Where do you call the constructor? Does that get executed? What does the code look like? Webdevotion wrote: Hello, I'm working on an excisting project. The project needed radiobuttons, so I made a radiobutton component. It works perfectly in my stand alone test .fla, but once in the project it just won't work. No errors, no trace from the constructor, no exotic coding, ... I checked export in first frame in the lib, I checked the publish settings ( and the class export frame ) and other things I could think off. Does anyone have an idea what this could be ? Thanks ! Bram ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
AW: [Flashcoders] wedging in a preloader -- lazy developer alert!
++This can be done with jsfl though. true. here - tinyurl.com/3b6aff - you can download a handy little extension that does exactly that. regards, martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Motion to combine coders and newbies.
Hear me out before freaking out. 1. Half of the posts in Coders are more or less Newbie posts anyhow. 2. There is just not a lot of traffic in Newbies. So, it's hard to pick Coders brains and honestly, most Newbie questions can be answered by a Coder in less than a minute. I post in Newbies, but answers can take days. Seems like Jason Merrill is one of the few Coders dedicated to helping out those less fortunate. 3. Making Newbies stronger benefits all. After a while, a typical dedicated Newbie will be able to field a lot of the other Newbie questions and the situation will level out. 4. But oh, the increased traffic! Please. I have a dedicated gmail account for this list. It threads the posts together and has practically unlimited storage and very good search. 5. Pound home the idea that Newbies need to title their posts as such "No0b: How do I make a movie clip?" Coders don't have to do anything. 6. What's good for Flash developers is good for the Flash Platform. Getting more Newbies to an intermediate level benefits the Flash Platform as a whole with better apps, better people in jobs to lobby for Flash, etc, etc. Ok, now you can freak out. -- count_schemula ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: wedging in a preloader -- lazy developer alert!
As I see it you have two options: (1) Create a wrapper SWF or (2) Export all classes after the first frame and create an AS1 preloader in the first frame of the main timeline. Cheers.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] (no subject)
I'll elaborate on that so it's actually helpful ;) Make sure your DIV has an ID Call a Javascript function that goes something like this function hideSWF(){ var s = document.getElementById('swfDIVid'); s.style.display="none"; } if you need it to appear again JS... s.style.display="block"; On 5/13/07, Webdevotion <[EMAIL PROTECTED]> wrote: You can call a javascript on your html page once your swf is finished playing from inside the swf. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] AS3 continuous loop on mouse down
If this is for AS3, then I would say use the Timer class: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/Timer. html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Boski Sent: Sunday, May 13, 2007 1:17 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS3 continuous loop on mouse down if you want something to happen over and over do a set interval on mouse down and clear interval on mouse up. On 5/13/07, dave matthews <[EMAIL PROTECTED]> wrote: > hi All, > > What is the syntax for a continuous loop in AS3? > > Have working code for a code loop using mouse down - one frame-main > timeline, but can't figure out how to maintain the rate of movement when the > mouse is stationary with the mouse button still in down position. > > thanks, > Dave_Matthews > > Place symbol instance named 'circle' on stage. > Paste this code on actions frame: > > import flash.events.MouseEvent; > this.stop(); > > var circleOrigX:Number; > var circleOrigY:Number; > var curOrigX:Number; > var curOrigY:Number; > var panRateX:Number; > var panRateY:Number; > > function panSetUpDrag(event:MouseEvent):void { > circleOrigX = event.stageX - circle.x; > circleOrigY = event.stageY - circle.y; > curOrigX= event.stageX ; > curOrigY= event.stageY ; > stage.addEventListener(MouseEvent.MOUSE_MOVE, panloop); > } > > function panloop(event:MouseEvent):void { > /*want this loop to operate while mouse is stationary > - causing pan actions to reposition circle > at rate based on distance of cursor from start*/ > > panRateX = (event.stageX -curOrigX) * 3 ; > panRateY = (event.stageY -curOrigY) * 3 ; > circle.x = event.stageX - circleOrigX - panRateX; > circle.y = event.stageY - circleOrigY - panRateY; > event.updateAfterEvent(); > } > function PanStopDrag(event:MouseEvent):void { > gotoAndStop(1); > stage.removeEventListener(MouseEvent.MOUSE_MOVE, panloop); > > } > > stage.addEventListener(MouseEvent.MOUSE_DOWN, panSetUpDrag); > stage.addEventListener(MouseEvent.MOUSE_UP, PanStopDrag); > > _ > More photos, more messages, more storage-get 2GB with Windows Live Hotmail. > http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migratio n_HM_mini_2G_0507 > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Render order
I could be wrong, but... The last variable setting will be the one that sticks. var someVariable:Number = 0; someVariable = 1; someVariable = 2; someVariable will equal 2. On 5/13/07, John McCormack <[EMAIL PROTECTED]> wrote: Does anyone know of a specification for the render order of items on a frame? For example if on some frame on a parent timeline a variable is set and it's children set the same variable, how does the interpreter decide which value to go with? Or if a variable is logically dependent upon the state of three child clips and they are affected by each other, how does the interpreter resolve this? John ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- count_schemula ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Render order
Does anyone know of a specification for the render order of items on a frame? For example if on some frame on a parent timeline a variable is set and it's children set the same variable, how does the interpreter decide which value to go with? Or if a variable is logically dependent upon the state of three child clips and they are affected by each other, how does the interpreter resolve this? John ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 continuous loop on mouse down
if you want something to happen over and over do a set interval on mouse down and clear interval on mouse up. On 5/13/07, dave matthews <[EMAIL PROTECTED]> wrote: hi All, What is the syntax for a continuous loop in AS3? Have working code for a code loop using mouse down - one frame-main timeline, but can't figure out how to maintain the rate of movement when the mouse is stationary with the mouse button still in down position. thanks, Dave_Matthews Place symbol instance named 'circle' on stage. Paste this code on actions frame: import flash.events.MouseEvent; this.stop(); var circleOrigX:Number; var circleOrigY:Number; var curOrigX:Number; var curOrigY:Number; var panRateX:Number; var panRateY:Number; function panSetUpDrag(event:MouseEvent):void { circleOrigX = event.stageX - circle.x; circleOrigY = event.stageY - circle.y; curOrigX= event.stageX ; curOrigY= event.stageY ; stage.addEventListener(MouseEvent.MOUSE_MOVE, panloop); } function panloop(event:MouseEvent):void { /*want this loop to operate while mouse is stationary - causing pan actions to reposition circle at rate based on distance of cursor from start*/ panRateX = (event.stageX -curOrigX) * 3 ; panRateY = (event.stageY -curOrigY) * 3 ; circle.x = event.stageX - circleOrigX - panRateX; circle.y = event.stageY - circleOrigY - panRateY; event.updateAfterEvent(); } function PanStopDrag(event:MouseEvent):void { gotoAndStop(1); stage.removeEventListener(MouseEvent.MOUSE_MOVE, panloop); } stage.addEventListener(MouseEvent.MOUSE_DOWN, panSetUpDrag); stage.addEventListener(MouseEvent.MOUSE_UP, PanStopDrag); _ More photos, more messages, more storage—get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] jsapi question
Steve, no i'm not calling this from a panel. I'm using an external jsfl file and importing swfs and running the command against that. I'll see if i can find the rectangle or mouse click option. But i was hoping there was a way to find out what each elements DOM position is on the stage. -Original Message- From: [EMAIL PROTECTED] on behalf of Steven Sacks Sent: Sat 5/12/2007 12:44 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] jsapi question Hey Jason, Are you calling this from a panel? If you are, make sure the panel is docked. There are bugs with certain JSFL commands if a panel isn't docked when it calls them and setTextString is one of them. Also, you could also try selecting the text field using the rectangle selection command (not sure what it is off-hand) and then using the document command for setting a text string, versus the element command. You could also try using the mouse click command, though that's kind of dirty. Jason Law wrote: > i've been having alot of issues with changing elements values on the > stage using the following code. > > > > fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[1].setTex > tString( "some text" ); > > > > The issue is that i'm running this code against different swf templates > that get loaded in and need to make sure that the element position on > the same is always 1. Is there a way to find out what the elements > position is? > > > > I've tried this, but it doesnt give you the true element position. > > > > for( i=0; i < > fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements.length; > i++){ >alert( > fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[i].getTex > tString() + i ) > } > > > > Does anyone have any other ideas? I know if you create swfs within > fireworks that you can set the element position by what layer it is on, > but in flash it seems that there is no way to know. > > > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > This email is intended only for the person or entity to which it is addressed > and may contain information that is privileged, confidential or otherwise > protected from disclosure. Dissemination, distribution or copying of this > email or the information herein by anyone other than the intended recipient, > or an employee or agent responsible for delivering the message to the intended > recipient, is prohibited. If you have received this email in error, please > immediately notify us by calling our Help Desk at (415) 581-5552 or > by e-mailing us at [EMAIL PROTECTED] > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 continuous loop on mouse down
hi All, What is the syntax for a continuous loop in AS3? Have working code for a code loop using mouse down - one frame-main timeline, but can't figure out how to maintain the rate of movement when the mouse is stationary with the mouse button still in down position. thanks, Dave_Matthews Place symbol instance named 'circle' on stage. Paste this code on actions frame: import flash.events.MouseEvent; this.stop(); var circleOrigX:Number; var circleOrigY:Number; var curOrigX:Number; var curOrigY:Number; var panRateX:Number; var panRateY:Number; function panSetUpDrag(event:MouseEvent):void { circleOrigX = event.stageX - circle.x; circleOrigY = event.stageY - circle.y; curOrigX= event.stageX ; curOrigY= event.stageY ; stage.addEventListener(MouseEvent.MOUSE_MOVE, panloop); } function panloop(event:MouseEvent):void { /*want this loop to operate while mouse is stationary - causing pan actions to reposition circle at rate based on distance of cursor from start*/ panRateX = (event.stageX -curOrigX) * 3 ; panRateY = (event.stageY -curOrigY) * 3 ; circle.x = event.stageX - circleOrigX - panRateX; circle.y = event.stageY - circleOrigY - panRateY; event.updateAfterEvent(); } function PanStopDrag(event:MouseEvent):void { gotoAndStop(1); stage.removeEventListener(MouseEvent.MOUSE_MOVE, panloop); } stage.addEventListener(MouseEvent.MOUSE_DOWN, panSetUpDrag); stage.addEventListener(MouseEvent.MOUSE_UP, PanStopDrag); _ More photos, more messages, more storageget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash hmtlText weird problem
Hey Muzak, thanks for all the help! About the files being saved as UTF-8, I really thought they were, I did set Dreamweaver to use it as default. As I never found this choice at exact saving time, I decided to do it with notepad, so now they are UTF-8 for sure, thanks. About the bold text problem, badly your solution didn't solve the problem. I did exactly as you said, but it keeps going on. Any other idea? The problem with 'undefined' vars, it happens cause the file is alone in this folder, and there´s an alternate code that load it if it´s '_level0' and don´t check the xml, cause it´s there only to test the file without loading the base file, but in the whole site ( http://www.2pestudio.com/_emConstrucao/), the base swf only opens the content windows after having the XMLLoaded var setted to true (and it´s setted to false when the swf loads). So it doesn't happens in the site. But thanks for calling attention for that. The problem with the menu options not showing is weird. That text is embedded, and supposed to work. I could not make it happen here, with IE6 or 7, or Firefox or Opera, but if happened once with you, it can come again. I am checking the code allover again to see any possible failure. Again, thanks for it. br, Helios ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] (no subject)
You can call a javascript on your html page once your swf is finished playing from inside the swf. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Strange problem with AS2 class
Hello, I'm working on an excisting project. The project needed radiobuttons, so I made a radiobutton component. It works perfectly in my stand alone test .fla, but once in the project it just won't work. No errors, no trace from the constructor, no exotic coding, ... I checked export in first frame in the lib, I checked the publish settings ( and the class export frame ) and other things I could think off. Does anyone have an idea what this could be ? Thanks ! Bram ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash hmtlText weird problem
First of all, make sure you're xml file is saved as UTF-8. It says so at the top of the file (encoding="utf-8"), but it isn't, which confuses the browser and therefor throws an error (in IE) or will display odd characters (in Firefox) when trying to view it directly: http://www.heliospb.net/_2pestudio/xml/artigos.xml Here's the exact same file, saved with UTF-8 encoding http://muzakdeezign.com/2pestudio/artigos.xml This will ensure it displays properly on all systems and allows you to view/debug the xml in a browser. As for the bold text problem when assigning a new htmlText value, try setting the textfield.htmlText and textfield.text properties to an empty string before assigning the actual value. _txt.text = _txt.htmlText = ""; _txt.htmlText = "; I think that's how I solved it in the past.. Then there's a few more problems.. In IE 6, I can't see the top right text (on the grey background) --> http://muzakdeezign.com/2pestudio/ie.gif In Firefox, the first time I view the page, all fields display 'undefined'. When refreshing the browser, the text shows up. --> http://muzakdeezign.com/2pestudio/ff.gif This indicates that you're not properly loading the xml (trying to display it before it's loaded). regards, Muzak - Original Message - From: "Helios Pregioni Bayma" <[EMAIL PROTECTED]> To: Sent: Sunday, May 13, 2007 4:54 AM Subject: [Flashcoders] Flash hmtlText weird problem Hi, New problem that looks like Flash bug, but it can be my mistake. I have a dynamic html textField in Flash, that imports a text from XML, and is formatted by CSS. Lets say I have this text in XML (there are 2 texts in real XML): When I open the site in the browser, I can navigate in both texts (clicking in buttons to call each), and everything is perfect, with the title and author bold, and body not bold, normal text. So I try clicking in the authors link inside the text, what opens another browser window. But from this time on, if I change to the other text, both appears all bold. The title, the body, the link, everything. And it happens in both, I can change between them, and it happens all the time. You can try it live here (http://www.heliospb.net/_2pestudio/artigos.html), the links are in the bottom of both texts, and their links are "branding" and "comunicao dirigida". I looked for any wrong reference to the text, text style, nothing, the code only handles it when its loaded and stays in a _root var. Is it a bug of Flash or mine? Another question is, do you have a clue why the link is hard to work in Firefox while in IE just a click makes it open the other browser window? Thanks, Helios ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] (no subject)
Hi I'm using transparent flash add to appear on my home page I put the flash movie into Div layout and everything working fine but I need the movie to disappear after it finished so anyone can tell me how to remove the movie when it comes to the last frame or to hive the layer from flash Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com