Re: [Flashcoders] pause an onEnterFrame?
http://proto.layer51.com/d.aspx?f=821 itseveryday.ro iashido.com On May 8, 2007, at 8:53 AM, Durai Raj wrote: You can set a toggle variable to pause and resume the event Code snippets //Toggle variable Var bToggleEvent:Boolean=true Somemc.onEnterFrame=function():Void { If(bToggleEvent) { //Execute the code here } } Somemc.onRollover=function() { bToggleEvent=false } Somemc.onRollout=function() { bToggleEvent=true } Hope this would solve your problem Durai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Tuesday, May 08, 2007 10:22 AM To: flashcoders list Subject: [Flashcoders] pause an onEnterFrame? Is there anyway to pause an onEnterFrame event? Right now I delete the onEnterFrame when an onRollOver event occurs, and reinitialize it when an onRollOut event occurs, but that causes all of my motion variables to get re-initiated, and thus makes the motion go through a huge jump. Is there a way to pause, and resume an onEnterFrame? Thanks. -- 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 DISCLAIMER: This communication may be confidential and privileged and the views expressed herein may be personal and are not necessarily the views of ReDIM. It is for the exclusive use of the intended recipient. If you are not the intended recipient, please note that any distribution, copying or use of this communication or the information in it is strictly prohibited.If you have received this communication in error, please notify us by email ([EMAIL PROTECTED]) and then delete the email and any copies of it. ___ 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] Skewing MovieClip??
True. _yscale = -100 itseveryday.ro iashido.com On Feb 28, 2007, at 11:55 AM, dr.ache wrote: Duplicate your MovieClip and try _yscale = -100 ? Or do i get you wrong? Omar Fouad schrieb: i have a movieClip on my Stage and i need to skew it orizontally by using AS, as in i need to create a reflection effect and i need the movieClip to be mirrored. Any Ideas? ___ 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] passing url variables to flash movie
sometime i use this ald allways work: ... VALUE=voila.swf?sn=?php print $_GET['sn']; ?fe=?php print $_GET['fe']; ? PARAM... ... PARAM NAME=movie VALUE=voila.swf?sn=?php print $_GET['sn']; ? fe=?php print $_GET['fe']; ? PARAM NAME=menu VALUE=false PARAM NAME=quality VALUE=high PARAM NAME=bgcolor VALUE=#FF EMBED src=voila.swf?sn=?php print $_GET['sn']; ?fe=?php print $_GET['fe']; ? menu=false quality=high bgcolor=#FF WIDTH=100% HEIGHT=100% NAME=voila ALIGN= ... then i changes the .html into .php and i have whatever.php?sn=value1fe=value2 and i have in flash variable sn and fe and amm as many as u want hope this is what ur looking for itseveryday.ro iashido.com On Jan 24, 2007, at 10:26 PM, Joshua Sera wrote: You need to pass the variables in the GET query to flashvars in the object tag. You'll have to use JavaScript to write out the object tag, and insert the variables in the right place. --- Gustavo Duenas [EMAIL PROTECTED] wrote: Hi Guys, I'm really concerned for this, Iknow this might be easy for you, but I'm knocking my head against the wall. This is the code in the action script: var video1 = nbc6; var video = _root.video; if (video1 = video){ tellTarget(this.videoLoader){ gotoAndPlay(2); } } and this is the link in the text message: fullpage.html?video=nbc6 I'd appreciate your help. Thanks Gustavo Duenas ___ 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 __ __ Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' 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 ___ 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] passing url variables to flash movie
dont know in asp (but on my prev research i found many simple .asp examples on google) look at the url then in flash i have sn and fe variables that will be filled onfly when u swf its loaded http://www.iashido.com/test/test.php?sn=34fe=var2 u can use get them in swf like that whatever.com/flash.swf? var1=value1var2=value2varn=valuen (its ugly but works :) or javascript might save your day (search archives/google) itseveryday.ro iashido.com On Jan 24, 2007, at 10:48 PM, Gustavo Duenas wrote: I don't think this guys have the phpdo you know how can I use this in html? regards Gustavo On Jan 24, 2007, at 3:41 PM, iashido wrote: sometime i use this ald allways work: ... VALUE=voila.swf?sn=?php print $_GET['sn']; ?fe=?php print $_GET['fe']; ? PARAM... ... PARAM NAME=movie VALUE=voila.swf?sn=?php print $_GET['sn']; ? fe=?php print $_GET['fe']; ? PARAM NAME=menu VALUE=false PARAM NAME=quality VALUE=high PARAM NAME=bgcolor VALUE=#FF EMBED src=voila.swf?sn=?php print $_GET['sn']; ?fe=?php print $_GET['fe']; ? menu=false quality=high bgcolor=#FF WIDTH=100% HEIGHT=100% NAME=voila ALIGN= ... then i changes the .html into .php and i have whatever.php?sn=value1fe=value2 and i have in flash variable sn and fe and amm as many as u want hope this is what ur looking for itseveryday.ro iashido.com On Jan 24, 2007, at 10:26 PM, Joshua Sera wrote: You need to pass the variables in the GET query to flashvars in the object tag. You'll have to use JavaScript to write out the object tag, and insert the variables in the right place. --- Gustavo Duenas [EMAIL PROTECTED] wrote: Hi Guys, I'm really concerned for this, Iknow this might be easy for you, but I'm knocking my head against the wall. This is the code in the action script: var video1 = nbc6; var video = _root.video; if (video1 = video){ tellTarget(this.videoLoader){ gotoAndPlay(2); } } and this is the link in the text message: fullpage.html?video=nbc6 I'd appreciate your help. Thanks Gustavo Duenas ___ 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 Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' 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 ___ 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] _url
http://proto.layer51.com/d.aspx?f=1011 On May 26, 2006, at 12:30 PM, Dennis - I Sioux wrote: Hey, I'm wondering if anyone knows a way to get the url of the site that is embedding an swf..(instead of the one hosting it) The _url will give the url where the swf is hosted.. but i want to get the url from the server that is showing it. Anyone? Many thanks, Dennis ___ 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 www.itseveryday.ro www.iashido.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] Loadvars and www prefixed in web address
use getdomain http://proto.layer51.com/d.aspx?f=1011 On May 17, 2006, at 3:42 PM, Johnny Zen wrote: Hi all I've been at war with my flash movie and loadvars The loadvars sometimes worked and I couldnt find out why, it was driving me crazy. Then I discovered that the loadvars worked if the website address had the www prefixed example www.example.com = loadvars worked example.com = loadvars failed. Can anyone advise to why this happens and where this is controlled either in object tags or in flash itself ?? Any help would be cool. Regards Johnny ___ 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 www.itseveryday.ro www.iashido.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] wait or sleep
http://proto.layer51.com/d.aspx?f=454 On Mar 21, 2006, at 4:13 PM, Danny Kodicek wrote: Using setInterval, I can only call a method (or funciton) same time later. I can't continue to run from the same point, at same function. Exist another solution for this? Yes, put your remaining code into a separate function: id=setInterval(function(){myRemainingCode},2000) You can comfortably (well, messily) create a whole set of commands that run at intervals. The only problem is that you might want to avoid any other functions running in the intervening time. Danny ___ 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 www.itseveryday.ro www.iashido.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] setFocus with javascript
:) maybe i'm totally wrong but this always works on pc/mac - ie, firefox, safari... ... /HEAD BODY bgcolor=#FF OnLoad=self.movie.focus(); leftmargin=0 ... see here an working example http://iashido.com/showcase/addb/ flash have the focus without clicking inside... On Mar 20, 2006, at 12:40 AM, David Rorex wrote: On 3/19/06, Tolga H. Tatari [EMAIL PROTECTED] wrote: I had been searching a solution to flash UI components mouse wheel problem on swf's longer than the page and that don't fit the browser. I found a solution like this : var mouseListener:Object = new Object(); mouseListener.onMouseWheel = function() { getURL(javascript:focus(document);); } Mouse.addListener(mouseListener); to give the focus to the html page when the mousewheel moves. IE and firefox crashes sometimes after i used this code. and the annoying click sound of IE. I have a little knowledge about javascript. Maybe anybody has a better solution. 1. If you are using Flash 8, use ExternalInterface.call instead of getURL(javascript... 2. If you are using Flash 7 or lower, look into the javascript integration kit by macromedia. it eliminates the 'click' sound in IE possible suggestion: Instead of doing 'focus(document)', maybe just directly scroll the page? So in flash, if the user does scrollWheel - down, you send a command to javascript like setScroll(+10), and if they do scrollWheel - up, you send a command like setScroll(-10); I don't know much JS either, but I'm sure there is a command like this. -David R ___ 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 www.itseveryday.ro www.iashido.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[2]: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)
senocular rules :) http://proto.layer51.com/d.aspx?f=630 Thursday, November 24, 2005, 11:53:54 AM, you wrote: I have a very complex form with many mc\childMc1\childMc2\childMc3\childMc4\childMc5... Type clips within it. I often have a need to line up the _x and _y of a deeply nested childMC with one of the other earlier childMC's For instance if the mc8 is the last child _level0.mc1.mc2.mc3.mc4.mc5.mc6.mc7.mc8 And I need it to be repositioned at say mc4's x,y position what is the best technique. DK Without trying it, I'd say: find localToGlobal(mc4's pos). Then find DK GlobalToLocal(this value) in mc7's reference frame, and move mc8 to it. DK Best DK Danny DK ___ DK Flashcoders mailing list DK Flashcoders@chattyfig.figleaf.com DK http://chattyfig.figleaf.com/mailman/listinfo/flashcoders www.iashido.com www.itseveryday.ro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] how to access Print from flash context menu?
any way to access Print from flash contextual menu without to right click on flash and choose print from there? www.iashido.com www.itseveryday.ro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders