Re: [Flashcoders] Flash transparent on top of Windows Media Player
Hi again, Browser differences are browser differences Well, I see your point here, but I think we're not talking about small things like rendering the border 1px bigger. We're talking about a huge amount of problems that just make the use of wmode impossible, IMHO. The Player is the same across environments, but it's the environments themselves which differ, and when we ask the browsers to do more, their results vary more. Ok, fair enough, it seems everything it's up to the browsers. However, users, bosses and even developers don't care about that. What they see is that the application is not working properly. What they see is that Flash is doing weird things _again_. What they see is that they cannot trust Flash. If it's not up to Adobe fixing this, then I change my question to: Is Adobe NOW actively talking with browser manufacturers to solve this? If not (so for Adobe the behaviour of wmode is fine or not so important), please remove it from the player. IT JUST DOES NOT WORK, not even on Win/IE. It's _still_ causing a huge amount of problems to a huge amount of people*. If you're, then at least I'll try to keep my faith. Thanks John for your time and efforts to clarify, once again, what's going on. Cheers, Juan ps: please don't tell me things like if you don't like Flash go and do php or go to Slashdot to meet your geek friends. * The other day in my office wmode was the answer to a design problem. So when they came to me and say: Hey! I've fixed it, we're going to use wmode, look at Adobe's website, we can do it, I thought you were the Flash guy, you should know those things! I had to waste 1 hour telling them that using it will cause problems. Which problems?, they asked. A few. I replied. Ok, which ones?. It depends, you can choose from this list, who knows what's going to happen... On 10/10/06, John Dowdell [EMAIL PROTECTED] wrote: Mick G wrote: Does anyone know if there is a way to embed flash transparent (wmode=transparent) on a layer above an embedded Windows Media Player active-x control? Possibly, but I'd hesitate anyway. I think the Windows Media Player, implemented as an ActiveX Control, also has support for rendering to the browser's compositing buffer via WMODE requests, rather than blasting directly to screen. Just as DHTML cannot layer above SWF unless the SWF is routed to the browser's drawing buffer via WMODE, the WMP would need to go into the browser's buffer to layer anything atop it. But I'd hesitate to do so, though, because drawing video offscreen before transferring it to the video display would give a performance hit, and you'd also likely drop frames from timing differences too... the video codec renders every X milliseconds, the browser refreshes its display every Y milliseconds, and some info would be lost in the middle. Steven Sacks has info on the scrolling issues too. If you must use WMP (for rights-management, eg), then could you keep it drawing directly to screen, and surround the WMP with with four framing SWFs, intercommunicating through LocalConnection? This would be a little more development work, but would make less work for the browser's rendering pipeline. Possible...? Zárate wrote: You might want to think it twice before using wmode: http://www.google.co.uk/search?q=wmode+problemsstart=0ie=utf-8oe=utf-8 Anyone knows if Adobe is trying to fix this for the next release of the player? Browser differences are browser differences. When WMODE is changed, then the Player changes the address in memory to which it sends its pixels. Over the past eight years the Player has implemented WMODE requests, we've seen different browsers print upside down, not pass screenreader instructions, do funny things with keyboard entry, when the browser gets in the middle of the rendering pipeline like this. The Player is the same across environments, but it's the environments themselves which differ, and when we ask the browsers to do more, their results vary more. More info's available with this search: http://www.google.co.uk/search?q=wmode+problems+dowdell jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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 -- Juan Delgado - Zárate http://www.zarate.tv ___ 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
[Flashcoders] Global sound control ...
I have an interactive demo that consists of one main SWF file that loads in other SWF files depending on what the user clicks on in the main SWFs navigation. Within this main SWF and within all the seperate SWFs are numerous movies each with their own timeline doing it's own thing. In numerous place on timelines throughout this set of SWFs, sound effects have been hardcoded onto their respective timeline (i.e: not loaded dynamically using the sound object). So is there any way to turn off sound globally regardless of where it's located on whatever timeline within whatever SWF. So I can just create an on/off button for the main SWF that will control sound globally ??? Thanks.___ 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] Simplified Chinese
Hi all I have successfully used trad.chinese in my translation of the Daodejing.. I used xml for pinyin, thedutch and the chinese texts For those interested, send me an email... Groet, Peer http://www.weiqi.nl http://www.weiqi.nl/blog http://www.schoolvoordetoekomst.nl mobiel: 06 36 13 45 56 werk:073 62 00 274 -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Alain Rousseau Verzonden: dinsdag 10 oktober 2006 18:50 Aan: 'Flashcoders mailing list' Onderwerp: RE: [Flashcoders] Simplified Chinese Personnaly I havent tried putting the text in an external .as file, if you can get the chinese characters in there maybe it'll work. On a windows system you can use Arial Unicode MS, on a Mac here is a link where you can see what fonts you'll need : http://www.alanwood.net/unicode/fonts_macosx.html#simplified You do need to have the Chinese language installed and activated on your system for this to work (Mac and Win). Otherwise you won't see the font. HTH A. -Original Message- From: Eric E. Dolecki [mailto:[EMAIL PROTECTED] Sent: 10 octobre 2006 12:35 To: Flashcoders mailing list Subject: Re: [Flashcoders] Simplified Chinese Is it possible to put the simplified chinese into an external .as file with UTF-8 encoding (say, setting string variables) and using that? And what would a good unicode font for simplified chinese actually be? Hoping that I don't need to change my OS settings to pull any of this off. - e. On Oct 10, 2006, at 12:14 PM, Alain Rousseau wrote: For me it works well if I don't try to use animations to display the text and no embeded fonts. What you need is a unicode font selected in your TextField and a unicode text data, wheter it is an xml file, a text file or a database. Otherwise you'll need to go through hoops jumping and live with a huge filesize A. -Original Message- From: eric dolecki [mailto:[EMAIL PROTECTED] Sent: 10 octobre 2006 11:42 To: Flashcoders mailing list Subject: [Flashcoders] Simplified Chinese I've been digging around the net and the archives and have only found that its basically impossible to get Simplified Chinese to display well in a SWF. Has anyone come up with a solution (that wasn't composed of hoop jumping galore) to this problem yet? - e. ___ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.1/470 - Release Date: 2006-10-10 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.1/470 - Release Date: 2006-10-10 ___ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.1/470 - Release Date: 2006-10-10 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.1/470 - Release Date: 2006-10-10 ___ 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: Het Koning Willem I College/School voor de Toekomst sluit elke aansprakelijkheid uit voor eventueel in of als bijlage bij deze e-mail voorkomende onjuiste, onvolledige of door virussen aangetaste teksten en documenten. Koning Willem I College/School for the Future rejects any liability for improper, incomplete or delayed texts in or annexed to this email or for damage resulting from texts or documents in or annexed to this e-mail affected by viruses. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] ObjectCopy works in Flash/swf but in Zinc it dies?!?
I can't figure this one out - the .swf works just fine (I figured out the problem with the object not really part of a class; faked it out) -- but it's now busting when playing in zinc, which I don't understand... -- ---[ http://www.grimmwerks.com ---[ [EMAIL PROTECTED] ---[ [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] Class packaging swc
For a project, I made two movieclips that are both linked to an as class in the linkage Identifier box. Now I want to protect my classes so I read an article that explains how to make a compiled clip, a class packager. It all worked well, becuase I tested the .swc in new .fla. The classes are all know when the compiled clip is dragged onto the stage. But using it in my project file, I get a compiling error telling me the classes cannot be loaded. I tried placing the compiled clip on frame 1 and have the classes and set the export frame for classes at 2, with no luck. Does somebody have an idea how to handle this problem? Jiri ___ 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] Global sound control ...
Hello Stephen, you can use stopAllSounds() function Also sound object in flash always depended from movie clip and for example volume works like _alpha in movie clips: my_mc._alpha = 50; // var my_sound:Sound = new Sound(my_mc); my_sound.setVolume(50); both action will set value for all child objects. it's inherited properties of movieclips If you need control start and stop of sound and haven't fla files of external swf you can try to catch calls of sound object using class like this (AS1 hack): this.setSoundClass = function() { delete this.setSoundClass; var IntrinsicSound = Sound; var Sound = function (target_mc) { trace(new Sound(+arguments+)); this.init(target_mc); }; var tmp = Sound.prototype; tmp.init = function(target_mc) { this.__target_mc = target_mc; this.__in_sound = new IntrinsicSound(target_mc); }; tmp.attachSound = function(id) { trace(attachSound(+arguments+)); this.__in_sound.attachSound(id); }; tmp.start = function(secondOffset, loops) { trace(start(+arguments+)); this.__in_sound.start(secondOffset, loops); }; // ... etc _global.Sound = Sound; ASSetPropFlags(_global, 'Sound', 7, 1); }; this.setSoundClass(); // = var my_sound = new Sound(this); my_sound.attachSound(my_song); my_sound.start(); but you can't catch nothing if sound placed on timiline. and another one way: you can stop sound in movie clip using empty sound object: my_sound = new Sound(any_mc) my_sound.stop() - its works for start and event sync a stream sync sound you can stop by this way: any_mc.stop(); good luck! SF I have an interactive demo that consists of one main SWF file that SF loads in other SWF files depending on what the user clicks on in SF the main SWFs navigation. SF Within this main SWF and within all the seperate SWFs are numerous SF movies each with their own timeline doing it's own thing. SF In numerous place on timelines throughout this set of SWFs, sound SF effects have been hardcoded onto their respective timeline (i.e: SF not loaded dynamically using the sound object). SF So is there any way to turn off sound globally regardless of where SF it's located on whatever timeline within whatever SWF. So I can SF just create an on/off button for the main SWF that will control SF sound globally ??? SF Thanks.___ -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ 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] reseting ASSetPropFlags back to default
Hey ppl! I have made some pretty nice printR function ( www.mediaverk.lv/asd/com/jR/Utils.as) it's working pretty well and i'm thinking of new features. One good feature would be to use ASSetPropFlags in order to show private properties and that could be done relatively easy. Thought the problem IMO is that property visibility isnt there just for nothing so making everything visible should be followed by seting object visibility back to default state. I'm pretty sure this is almost impossible but i'd just would like to make it 100% sure that someone havent found a way. Jānis ___ 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] how to identify the navigator?
I need to know witch navigator is running the swf... and it will be better if I can do that in flash, without using javascript. I didn't find a solution in the reference pages, does somebody know how to do?? ___ 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] Flashcomm down?
Hey Dave, Thanks for the update! Atleast i know it isn't my clumsy doing :) With kind regards, Dennis P.s. Nice work on Fig Lead 0:-) - Original Message - From: Dave Watts [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, October 10, 2006 5:37 PM Subject: RE: [Flashcoders] Flashcomm down? I was wondering if anyone knwos what happend to the flashcomm flashcoders list.. it's not been working for a few weeks now.. Anyone else experiencing the problem? Yes, I'm still trying to retrieve the corrupted user database. I apologize for the inconvenience. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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] Flashcomm down?
Thanks for the suggestion Naicu. Always good to have another one! Although my heart is with Figleaf ofcourse :P With kind regards, Dennis - Original Message - From: Naicu Octavian [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, October 10, 2006 5:40 PM Subject: Re: [Flashcoders] Flashcomm down? There is a lot of activity regarding FMS on Sefan's FMS list: http://www.flashcomguru.com/flashmedialist/ On 10/10/06, Dave Watts [EMAIL PROTECTED] wrote: I was wondering if anyone knwos what happend to the flashcomm flashcoders list.. it's not been working for a few weeks now.. Anyone else experiencing the problem? Yes, I'm still trying to retrieve the corrupted user database. I apologize for the inconvenience. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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 -- Thank you, Naicu Octavian, Project Manager for AVChat http://www.avchat.net --- This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] private member accessible with init object of attachMovie
Hello, the answer to my question would probably not change my workflow, but I want to know this: When using the attachMovie method, it is possible to set values of member variables. These values are set before the constructor is executed. Why that? And furthermore: Even private member variables can set this way and even the constructor can be private. And why that? Is there a special explanation or something obvious I missed? For example: initObject:Object = {_x: 20, _myPrivateVar: Hello World!}; this.attachMovie(MyExample.SymbolName, myExample, this.getNextHighestDepth(), initObject); class MyExample extends MovieClip { public static var SymbolName:String = __Packages.com.relounge.cme.MyExample; public static var SymbolOwner:Function = MyExample; public static var SymbolLinked = Object.registerClass(SymbolName,SymbolOwner); private var _myPrivateVar:String; private function MyExample() { trace(this._myPrivateVar); // traces the Hello World! } } Thank you, Matthias ___ 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] simple gotoAndPlay :: Am I losing my mind?
What's going on here...? I have this one file where frame 75 is named noPix. I load some vars and tell it to gotoAndPlay(noPix) if some var is false. I end up in frame 34. I tell it to gotoAndPlay(75); I end up in frame 34. I check if framesloaded =75. It returns true. I rename the frame to make sure I'm not using the same name somewhere. I still end up in frame 34... In all cases, it jumps directly to frame 34. There is no frame name in frame 34, there are no actions on that frame. I put the gotoAndPlay action in a seperate function. Still end up in frame 34 I'm going nuts here... I don't suppose anyone has a clue? Thanks, Serge ___ 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] simple gotoAndPlay :: Am I losing my mind?
Well dude.. Have a beer, chill out or go for a walk... and may be when u return, the problem will be staring at you in you face and u can swat it! :-) If its possible u could share you fla and i'll check it out at my end It seems very strange indeed P On 10/11/06, Serge Jespers [EMAIL PROTECTED] wrote: What's going on here...? I have this one file where frame 75 is named noPix. I load some vars and tell it to gotoAndPlay(noPix) if some var is false. I end up in frame 34. I tell it to gotoAndPlay(75); I end up in frame 34. I check if framesloaded =75. It returns true. I rename the frame to make sure I'm not using the same name somewhere. I still end up in frame 34... In all cases, it jumps directly to frame 34. There is no frame name in frame 34, there are no actions on that frame. I put the gotoAndPlay action in a seperate function. Still end up in frame 34 I'm going nuts here... I don't suppose anyone has a clue? Thanks, Serge ___ 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] AS 2.0 variable declaration
Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small problem. How do I write the following in AS 2.0: this.createEmptyMovieClip(foo,1) this.myVar = foovar As this returns errors: var foo:MovieClip = createEmptyMovieClip(foo,1) var foo.myVar:String = fooVar Much appreciated, Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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] simple gotoAndPlay :: Am I losing my mind?
Try putting a trace action on frame 75: perhaps it's going there and then looping back for some reason (have you got some action onEnterFrame that might affect it?) Danny -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Serge Jespers Sent: 11 October 2006 10:12 To: Flashcoders mailing list Subject: [Flashcoders] simple gotoAndPlay :: Am I losing my mind? What's going on here...? I have this one file where frame 75 is named noPix. I load some vars and tell it to gotoAndPlay(noPix) if some var is false. I end up in frame 34. I tell it to gotoAndPlay(75); I end up in frame 34. I check if framesloaded =75. It returns true. I rename the frame to make sure I'm not using the same name somewhere. I still end up in frame 34... In all cases, it jumps directly to frame 34. There is no frame name in frame 34, there are no actions on that frame. I put the gotoAndPlay action in a seperate function. Still end up in frame 34 I'm going nuts here... I don't suppose anyone has a clue? Thanks, Serge ___ 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] simple gotoAndPlay :: Am I losing my mind?
Is the mc nested very deep? I've seen weird reactions in the past with stubern mc's with nesting. What happens when you gotoAndPlay to for example 36 or 15? still goes to 34? Do you have code somewhere else (that you forgot) that sends it to 34. (just check with the movieexplorer) With kind regards, Dennis - Original Message - From: Serge Jespers [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 11:12 AM Subject: [Flashcoders] simple gotoAndPlay :: Am I losing my mind? What's going on here...? I have this one file where frame 75 is named noPix. I load some vars and tell it to gotoAndPlay(noPix) if some var is false. I end up in frame 34. I tell it to gotoAndPlay(75); I end up in frame 34. I check if framesloaded =75. It returns true. I rename the frame to make sure I'm not using the same name somewhere. I still end up in frame 34... In all cases, it jumps directly to frame 34. There is no frame name in frame 34, there are no actions on that frame. I put the gotoAndPlay action in a seperate function. Still end up in frame 34 I'm going nuts here... I don't suppose anyone has a clue? Thanks, Serge ___ 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] AS 2.0 variable declaration
hi jason, this should'nt return any errors... var foo:MovieClip = createEmptyMovieClip(foo,1) for the other variable foo.myVar = fooVar or var myVar:String = fooVar; On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small problem. How do I write the following in AS 2.0: this.createEmptyMovieClip(foo,1) this.myVar = foovar As this returns errors: var foo:MovieClip = createEmptyMovieClip(foo,1) var foo.myVar:String = fooVar Much appreciated, Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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
SV: [Flashcoders] AS 2.0 variable declaration
The var keyword can only be used when declaring a variable in the code's own scope. Meaning that if you use a path don't use the var keyword. So this will work: var foo:MovieClip = createEmptyMovieClip(foo,1) foo.myVar:String = fooVar /Johan -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Jason Ross Skickat: den 11 oktober 2006 11:30 Till: Flashcoders mailing list Ämne: [Flashcoders] AS 2.0 variable declaration Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small problem. How do I write the following in AS 2.0: this.createEmptyMovieClip(foo,1) this.myVar = foovar As this returns errors: var foo:MovieClip = createEmptyMovieClip(foo,1) var foo.myVar:String = fooVar Much appreciated, Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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] CacheAsBitmap advice
Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15 Ideally, I would like to speed up things like (which, on a slow PC these things can run pretty poorly): * Scrolling (using the slider on the bottom of the screen) * Image inflates (when you click an image) * Animations (when you click 'NEXT / PREVIOUS') I know that CacheAsBitmap should be used carefully, which is what I am struggling on. The site is coded quite well with many nested movie clips. This is where I struggle to understand where / if I should apply a CacheAsBitmap command. Stage | -- ScrollerMC | -- Thumbnail | | | -- ImageLoaderMC | | | -- thumbImageLoaderMC | -- mainImageLoaderMC | -- Thumbnail | -- ImageLoaderMC | -- thumbImageLoaderMC -- mainImageLoaderMC Any help would be greatly appreciated. Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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] simple gotoAndPlay :: Am I losing my mind?
There is absolutely no function that is going to that frame 34... There is no onEnterFrame besides my debugging onEnterFrame function to check the currentframe... When I put a gotoAndStop(75) in my onEnterFrame, it still passes through frame 34 before going to 75... gotoAndStop(16) works. gotoAndStop(40) goes back to 34 I am really losing it... I'm just taking a wild guess but I'd say this file is somehow messed up or something. I honestly have no clue why it just keeps going back to that frame... :/ Appreciate the help! Serge @Prazac: I've had a few mojitos last night... But a local colleague also took a look and it's not my hangover ;-) ___ 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] AS 2.0 variable declaration
Ahh, ok. This makes sense. Thank you! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Karlsson Sent: 11 October 2006 10:44 To: Flashcoders mailing list Subject: SV: [Flashcoders] AS 2.0 variable declaration The var keyword can only be used when declaring a variable in the code's own scope. Meaning that if you use a path don't use the var keyword. So this will work: var foo:MovieClip = createEmptyMovieClip(foo,1) foo.myVar:String = fooVar /Johan -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Jason Ross Skickat: den 11 oktober 2006 11:30 Till: Flashcoders mailing list Ämne: [Flashcoders] AS 2.0 variable declaration Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small problem. How do I write the following in AS 2.0: this.createEmptyMovieClip(foo,1) this.myVar = foovar As this returns errors: var foo:MovieClip = createEmptyMovieClip(foo,1) var foo.myVar:String = fooVar Much appreciated, Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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 incoming message has been checked for all known viruses by the MessageLabs Virus Control Centre. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:
RE: [Flashcoders] AS 2.0 variable declaration
Sorry, my AS 1.0 should have looked like this: this.createEmptyMovieClip(foo,1) foo.myVar = foovar so, myVar is a variable declared within the foo MC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julien castelain Sent: 11 October 2006 10:44 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS 2.0 variable declaration hi jason, this should'nt return any errors... var foo:MovieClip = createEmptyMovieClip(foo,1) for the other variable foo.myVar = fooVar or var myVar:String = fooVar; On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small problem. How do I write the following in AS 2.0: this.createEmptyMovieClip(foo,1) this.myVar = foovar As this returns errors: var foo:MovieClip = createEmptyMovieClip(foo,1) var foo.myVar:String = fooVar Much appreciated, Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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 incoming message has been checked for all known viruses by the MessageLabs Virus Control Centre. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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
Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?
Sorry... That should have been @Prakaz... Really embarrassing... :-/ There is absolutely no function that is going to that frame 34... There is no onEnterFrame besides my debugging onEnterFrame function to check the currentframe... When I put a gotoAndStop(75) in my onEnterFrame, it still passes through frame 34 before going to 75... gotoAndStop(16) works. gotoAndStop(40) goes back to 34 I am really losing it... I'm just taking a wild guess but I'd say this file is somehow messed up or something. I honestly have no clue why it just keeps going back to that frame... :/ Appreciate the help! Serge @Prazac: I've had a few mojitos last night... But a local colleague also took a look and it's not my hangover ;-) ___ 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] simple gotoAndPlay :: Am I losing my mind?
One last stab in the dark: I assume you do have content and keyframes beyond frame 34? The name 'nopics' suggests that this frame might be empty? 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
Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?
have you tried using the bandwidth profiler to check out how your controls are jumping from one frame to another...? try putting a gotoAndPlay(75) in frame 20 or so and use the bandwidth profiler to see how the flow is, once the frame hits frame 20 does it jump directly to frame 34 or 75? P On 10/11/06, Danny Kodicek [EMAIL PROTECTED] wrote: One last stab in the dark: I assume you do have content and keyframes beyond frame 34? The name 'nopics' suggests that this frame might be empty? 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 ___ 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] simple gotoAndPlay :: Am I losing my mind?
The fact that you can't gotoAndPlay past 34.. but can go to 16 could indicate that indeed it isn't loaded or somehting.. but you've tested that... What happens when you just play the mc... en set a framecounter in it or something for display... does it go beyond 34? Kind regards, Dennis - Original Message - From: Serge Jespers [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 11:52 AM Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind? There is absolutely no function that is going to that frame 34... There is no onEnterFrame besides my debugging onEnterFrame function to check the currentframe... When I put a gotoAndStop(75) in my onEnterFrame, it still passes through frame 34 before going to 75... gotoAndStop(16) works. gotoAndStop(40) goes back to 34 I am really losing it... I'm just taking a wild guess but I'd say this file is somehow messed up or something. I honestly have no clue why it just keeps going back to that frame... :/ Appreciate the help! Serge @Prazac: I've had a few mojitos last night... But a local colleague also took a look and it's not my hangover ;-) ___ 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] Fuse Kit Sequence
Hi, I'm trying to sequence some simple tweens using Fuse(), but for some reason only the first item in the sequence plays, and I'm not sure why. // code on timeline (which contains 2 MCs mcOne and mcTwo import com.mosesSupposes.fuse.*; ZigoEngine.register(PennerEasing, Fuse); this.mcOne._alpha = 0; this.mcTwo._alpha = 0; var fSequence:Fuse = new Fuse(); fSequence.pushTween ([this.mcOne,this.mcTwo],_alpha,[100,100],3,easeOutQuad,0); fSequence.pushTween ([this.mcOne,this.mcTwo],_x,[400,300],3,easeOutQuad,0); fSequence.start (); Hopefully someone with more experience will be able to point me in the right direction. tia, jon -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett ___ 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] CacheAsBitmap advice
Hi Jason, I'd pretty much echo Ramon - doesn't sound like a good case for cacheAsBitmap. To give a slightly more concrete cacheAsBitmap example... We have a Flash-driven flip book that can (potentially) show any Flash movie on any page. Flipping the pages is a quite animation-intensive process. If the Flash movie contained in the page is lots of vectors (even if it's a still image), the page-flipping process crawls. If, however, we turn on cacheAsBitmap on the contained movie before doing the page flip, Flash only has to update one bitmap for that movie (rather than repeatedly redrawing all the vectors). Then we turn back off cacheAsBitmap once the page flip is complete. It's these sort of places that cacheAsBitmap makes a difference in. In your case, if you were scrolling around Flash vector movies rather than images, it'd make more sense. But from experimentation, scrolling a bitmap image contained in a MovieClip is pretty much the same whether cacheAsBitmap is turned on or turned off. Hope that's helpful, Ian On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: ___ 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] Global sound control ...
google -- flash stop all sounds - Original Message - From: Stephen Ford [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 8:06 AM Subject: [Flashcoders] Global sound control ... I have an interactive demo that consists of one main SWF file that loads in other SWF files depending on what the user clicks on in the main SWFs navigation. Within this main SWF and within all the seperate SWFs are numerous movies each with their own timeline doing it's own thing. In numerous place on timelines throughout this set of SWFs, sound effects have been hardcoded onto their respective timeline (i.e: not loaded dynamically using the sound object). So is there any way to turn off sound globally regardless of where it's located on whatever timeline within whatever SWF. So I can just create an on/off button for the main SWF that will control sound globally ??? Thanks.___ 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] CacheAsBitmap advice
With BitmapData, you can build a BitmapData of your picture, for exemple 1000x600 witch will stay in memory, and will not be displayed. After that, you create another BitmapData witch is only 500x300 for exemple, the size you need for display. Then you draw the first BitmapData in the second with the draw() method, according to a geom.matrix witch describe the translation you need for scroll, and also the zoom. Doing this, your scroll and zoom will be faster. Remember that the cacheAsBitmap property is true by default. May be there isn't difference in you're test because you didn't try to define cacheAsBitmap as false (and only compare default and true, witch is the same thing). I went to your site. It seem's that when we zoom in a picture, this picture is first reduced like 20% and when you zoom, you increase to 100% with a mask. Am'I wrong? In this case, and also for the scroll, you will not realy increase the speed with cacheAsBitmap. But I think you can do much better using BitmapData, scroll(), draw() and flash.geom.matrix in the draw() method. always sorry for my english David Buff - Original Message - From: Jason Ross [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 1:36 PM Subject: RE: [Flashcoders] CacheAsBitmap advice Hi - thank you to both Ian and Ramon. And yes, the pictures are scrolling, but they are contained in movieclips that contain vector data (i.e. to artwork around the photos). See what I mean? Though I take your point as through my experimentation I get the same results whether CacheAsBitmap is turned on or not. Great idea to unload / reload as they come on / off the screen! Will do that one right away. Thank again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: 11 October 2006 12:21 To: Flashcoders mailing list Subject: Re: [Flashcoders] CacheAsBitmap advice If you're scrolling pictures, you don't really need to cache as bitmap. It would be best to use it when there's a lot of vector data that bogs the system down when animating. One thing you could do to optimize things is whent he pictures go offscreen, unload them. On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15 Ideally, I would like to speed up things like (which, on a slow PC these things can run pretty poorly): * Scrolling (using the slider on the bottom of the screen) * Image inflates (when you click an image) * Animations (when you click 'NEXT / PREVIOUS') I know that CacheAsBitmap should be used carefully, which is what I am struggling on. The site is coded quite well with many nested movie clips. This is where I struggle to understand where / if I should apply a CacheAsBitmap command. Stage | -- ScrollerMC | -- Thumbnail | | | -- ImageLoaderMC | | | -- thumbImageLoaderMC | -- mainImageLoaderMC | -- Thumbnail | -- ImageLoaderMC | -- thumbImageLoaderMC -- mainImageLoaderMC Any help would be greatly appreciated. Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View
Re: [Flashcoders] private member accessible with init object ofattachMovie
- Original Message - From: Matthias Dittgen [EMAIL PROTECTED] Hello, the answer to my question would probably not change my workflow, but I want to know this: When using the attachMovie method, it is possible to set values of member variables. These values are set before the constructor is executed. Why that? The set variable value can be used immeditaly in the initializing process, so will be drawn faster. So the component will be drawn with the 'new value', rather than with a 'default value' and then redrawn with the 'new value'. Might not be a biggy if the variable doesn't have a huge inpact on the component, but if that particular variable value affects the layout (so the whole component needs to be redrawn) it does. And furthermore: Even private member variables can set this way and even the constructor can be private. And why that? Is there a special explanation or something obvious I missed? I have to guess here really.. attachMovie is a MovieClip method, which is a dynamic class. regards, Muzak ___ 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] private member accessible with init object ofattachMovie
On 10/11/06, Muzak [EMAIL PROTECTED] wrote: When using the attachMovie method, it is possible to set values of member variables. These values are set before the constructor is executed. Why that? The set variable value can be used immeditaly in the initializing process, so will be drawn faster. So the component will be drawn with the 'new value', rather than with a 'default value' and then redrawn with the 'new value'. Might not be a biggy if the variable doesn't have a huge inpact on the component, but if that particular variable value affects the layout (so the whole component needs to be redrawn) it does. What's more - if you were using a straight OOP class for your MovieClips (like AS3 does), you could have a constructor that took parameters e.g. var button:Button=new Button('label'); But you can't do that in AS2 because of the way MovieClips/Components are created (attachMovie instead of new()) so you need some way of passing initialisation variables. The method Macrodobe came up with is to pass the initialisation variables as an object argument to attachMovie(). It's a workaround because of the need to rely on attachMovie(). And happily, it's gone in AS3. And furthermore: Even private member variables can set this way and even the constructor can be private. And why that? Is there a special explanation or something obvious I missed? I have to guess here really.. attachMovie is a MovieClip method, which is a dynamic class. I'd imagine it's because the assignment of the variables actually happens at runtime, and because AS2 compiles down to the same bytecode as AS1, the runtime engine doesn't actually _know_ whether properties are public or private (in AS2 as opposed to AS3, public and private are only meaningful at _compile_ time). So it just looks through the initialisation object (as if you were doing a for... in... ), and sets variables on the new clip - it doesn't know anything about access permissions. Ian ___ 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] CacheAsBitmap advice
Wow! Lot's to look into. I never considered using BitmapData for this at all. I will need to investigate. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Buff Sent: 11 October 2006 13:29 To: Flashcoders mailing list Subject: Re: [Flashcoders] CacheAsBitmap advice With BitmapData, you can build a BitmapData of your picture, for exemple 1000x600 witch will stay in memory, and will not be displayed. After that, you create another BitmapData witch is only 500x300 for exemple, the size you need for display. Then you draw the first BitmapData in the second with the draw() method, according to a geom.matrix witch describe the translation you need for scroll, and also the zoom. Doing this, your scroll and zoom will be faster. Remember that the cacheAsBitmap property is true by default. May be there isn't difference in you're test because you didn't try to define cacheAsBitmap as false (and only compare default and true, witch is the same thing). I went to your site. It seem's that when we zoom in a picture, this picture is first reduced like 20% and when you zoom, you increase to 100% with a mask. Am'I wrong? In this case, and also for the scroll, you will not realy increase the speed with cacheAsBitmap. But I think you can do much better using BitmapData, scroll(), draw() and flash.geom.matrix in the draw() method. always sorry for my english David Buff - Original Message - From: Jason Ross [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 1:36 PM Subject: RE: [Flashcoders] CacheAsBitmap advice Hi - thank you to both Ian and Ramon. And yes, the pictures are scrolling, but they are contained in movieclips that contain vector data (i.e. to artwork around the photos). See what I mean? Though I take your point as through my experimentation I get the same results whether CacheAsBitmap is turned on or not. Great idea to unload / reload as they come on / off the screen! Will do that one right away. Thank again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: 11 October 2006 12:21 To: Flashcoders mailing list Subject: Re: [Flashcoders] CacheAsBitmap advice If you're scrolling pictures, you don't really need to cache as bitmap. It would be best to use it when there's a lot of vector data that bogs the system down when animating. One thing you could do to optimize things is whent he pictures go offscreen, unload them. On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15 Ideally, I would like to speed up things like (which, on a slow PC these things can run pretty poorly): * Scrolling (using the slider on the bottom of the screen) * Image inflates (when you click an image) * Animations (when you click 'NEXT / PREVIOUS') I know that CacheAsBitmap should be used carefully, which is what I am struggling on. The site is coded quite well with many nested movie clips. This is where I struggle to understand where / if I should apply a CacheAsBitmap command. Stage | -- ScrollerMC | -- Thumbnail | | | -- ImageLoaderMC | | | -- thumbImageLoaderMC | -- mainImageLoaderMC | -- Thumbnail | -- ImageLoaderMC | -- thumbImageLoaderMC -- mainImageLoaderMC Any help would be greatly appreciated. Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the
Re: [Flashcoders] CacheAsBitmap advice
Incidentally, Jason, your site only takes up the first 1/4 or so of the browser window in Firefox. I think you probably need to set a CSS body height:100% or something somewhere in the HTML. Cheers, Ian On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15 ___ 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] CacheAsBitmap advice
I've posted this before, but it may help you: http://board.flashkit.com/board/showthread.php?t=659163 As you can see in that post, if you do any scaling or rotation to a cachedAsBitmap MovieClip, it temporarily becomes a vector again, just to update itself. That class can force a movieclip to stay as a bitmap, even if you make it super big. Of course, it'll get blurry if it's too big. Key is to taking a snapshot of what you want at the biggest size it'll be, or updating the bitmap data when it's at it's biggest size. On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi - thank you to both Ian and Ramon. And yes, the pictures are scrolling, but they are contained in movieclips that contain vector data (i.e. to artwork around the photos). See what I mean? Though I take your point as through my experimentation I get the same results whether CacheAsBitmap is turned on or not. Great idea to unload / reload as they come on / off the screen! Will do that one right away. Thank again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: 11 October 2006 12:21 To: Flashcoders mailing list Subject: Re: [Flashcoders] CacheAsBitmap advice If you're scrolling pictures, you don't really need to cache as bitmap. It would be best to use it when there's a lot of vector data that bogs the system down when animating. One thing you could do to optimize things is whent he pictures go offscreen, unload them. On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15 Ideally, I would like to speed up things like (which, on a slow PC these things can run pretty poorly): * Scrolling (using the slider on the bottom of the screen) * Image inflates (when you click an image) * Animations (when you click 'NEXT / PREVIOUS') I know that CacheAsBitmap should be used carefully, which is what I am struggling on. The site is coded quite well with many nested movie clips. This is where I struggle to understand where / if I should apply a CacheAsBitmap command. Stage | -- ScrollerMC | -- Thumbnail | | | -- ImageLoaderMC | | | -- thumbImageLoaderMC | -- mainImageLoaderMC | -- Thumbnail | -- ImageLoaderMC | -- thumbImageLoaderMC -- mainImageLoaderMC Any help would be greatly appreciated. Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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 -- Ramon Miguel M. Tayag ___ 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
Re: [Flashcoders] Logging Flash-Internal User Access?
Hi, i doubt this is possible. Try separating the sub pages into separate swfs, and load them on-demand. You can then look at your server logs and see which swfs have been accessed. On 10/11/06, Sascha [EMAIL PROTECTED] wrote: Hi, My Client asked for a feature with that they can check how many users accessed which sections in their Flash Movie so they can see how popular the sections are. Their Flash is divided into 5 sub pages, all inside the same SWF. I'm sure this is possible by utilizing PHP or similar server-side language, I just haven't done such a thing yet and I'm on a tight deadline with this job. Could somebody lead me to any source on the web that does this task? A PHP-Flash Example would be best! Thanks a lot, Sascha ___ 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 -- Cheers, Ray Chuan ___ 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] simple gotoAndPlay :: Am I losing my mind?
It's getting worse... :-/ It works like it should inside the IDE. But not in a browser. Now you could think that my main.swf is causing this swf to mess up but I'm doing the exact same thing with another swf and that one works perfect... The troubled swf is being loaded with a MovieClipLoader and I just play it once it's loaded in. I think I'm just going to build this file from scratch 'cause other than a messed up file, I can't come up with anything that may cause this... :-/ ___ 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] Logging Flash-Internal User Access?
I'm working on a Flash Statistics system using Flex/ColdFusion/Webservices/MySQL but hard to say when it will be ready. It's still in an early stage. Part of the project will probably be open source. With 'part of the project' I mean 'everything but the Flex stuff', which is mainly used for administrating and viewing statistics. If anyone is interested in this, let me know. regards, Muzak - Original Message - From: Ray Chuan [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 3:10 PM Subject: Re: [Flashcoders] Logging Flash-Internal User Access? Hi, i doubt this is possible. Try separating the sub pages into separate swfs, and load them on-demand. You can then look at your server logs and see which swfs have been accessed. On 10/11/06, Sascha [EMAIL PROTECTED] wrote: Hi, My Client asked for a feature with that they can check how many users accessed which sections in their Flash Movie so they can see how popular the sections are. Their Flash is divided into 5 sub pages, all inside the same SWF. I'm sure this is possible by utilizing PHP or similar server-side language, I just haven't done such a thing yet and I'm on a tight deadline with this job. Could somebody lead me to any source on the web that does this task? A PHP-Flash Example would be best! Thanks a lot, Sascha ___ 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] simple gotoAndPlay :: Am I losing my mind?
Are you using MoveClipLoader within IE? If so it's listeners behave eratically with different content caching settings - this could be the problem, your main swf would think the content was loaded in and ready, when in fact it wasn't. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge Jespers Sent: 11 October 2006 14:22 To: Flashcoders mailing list Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind? It's getting worse... :-/ It works like it should inside the IDE. But not in a browser. Now you could think that my main.swf is causing this swf to mess up but I'm doing the exact same thing with another swf and that one works perfect... The troubled swf is being loaded with a MovieClipLoader and I just play it once it's loaded in. I think I'm just going to build this file from scratch 'cause other than a messed up file, I can't come up with anything that may cause this... :-/ ___ 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] simple gotoAndPlay
Interesting... but I'm on a Mac using Firefox and Safari... Are you using MoveClipLoader within IE? If so it's listeners behave eratically with different content caching settings - this could be the problem, your main swf would think the content was loaded in and ready, when in fact it wasn't. M ___ 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] AS 2.0 variable declaration
var foo:MovieClip = createEmptyMovieClip(foo,1) var myVar:String = fooVar foo.myVar=myVar delete myVar //help works foo.myVar. trace(foo.myVar) Martin Jason Ross wrote: Sorry, my AS 1.0 should have looked like this: this.createEmptyMovieClip(foo,1) foo.myVar = foovar so, myVar is a variable declared within the foo MC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julien castelain Sent: 11 October 2006 10:44 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS 2.0 variable declaration hi jason, this should'nt return any errors... var foo:MovieClip = createEmptyMovieClip(foo,1) for the other variable foo.myVar = fooVar or var myVar:String = fooVar; On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small problem. How do I write the following in AS 2.0: this.createEmptyMovieClip(foo,1) this.myVar = foovar As this returns errors: var foo:MovieClip = createEmptyMovieClip(foo,1) var foo.myVar:String = fooVar Much appreciated, Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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 incoming message has been checked for all known viruses by the MessageLabs Virus Control Centre. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___
Re: [Flashcoders] simple gotoAndPlay
Also... the file is only 24k ___ 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] simple gotoAndPlay :: Am I losing my mind?
I have had fla's go haywire on me for unknown reasons, its only happened once but it was very random. I created a new FLA and literally copied everything across and it worked fine... maybe I had overlooked something but I am under the impression that they can get confused by themselves in a rare circumstance. Hope your problems are resolved soon as things like this are horrible to debug! Good luck! T Ps. I guess one thing to do when your rebuilding it is to give everything frame labels instead of going to just frame numbers? -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Serge Jespers Sent: 11 October 2006 14:22 To: Flashcoders mailing list Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind? It's getting worse... :-/ It works like it should inside the IDE. But not in a browser. Now you could think that my main.swf is causing this swf to mess up but I'm doing the exact same thing with another swf and that one works perfect... The troubled swf is being loaded with a MovieClipLoader and I just play it once it's loaded in. I think I'm just going to build this file from scratch 'cause other than a messed up file, I can't come up with anything that may cause this... :-/ ___ 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] simple gotoAndPlay
Just a long shot then.. :-D Might it be that you have a mc using lickage with the load on first frame option off.. but forgot to preload it differently? - Original Message - From: Serge Jespers [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 4:05 PM Subject: Re: [Flashcoders] simple gotoAndPlay Also... the file is only 24k ___ 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] Logging Flash-Internal User Access?
I can't lend you any source, but my tip would be to setup a 'dummy' page or pages and then add getURL(dummy_page.php?section=5) or getURL(dummy_page5.html) into your flash, then the client's web server logs will show the requests and they can do whatever they want using standard log mining tools. Sascha wrote: Hi, My Client asked for a feature with that they can check how many users accessed which sections in their Flash Movie so they can see how popular the sections are. Their Flash is divided into 5 sub pages, all inside the same SWF. I'm sure this is possible by utilizing PHP or similar server-side language, I just haven't done such a thing yet and I'm on a tight deadline with this job. Could somebody lead me to any source on the web that does this task? A PHP-Flash Example would be best! Thanks a lot, Sascha ___ 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 -- Robert r. Sanders Chief Technologist iPOV (334) 821-5412 www.ipov.net ___ 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] simple gotoAndPlay
I've just seen that a file with similar functionality is 62k instead of the 24k of the troubled file... So I'm going to officially call this a messed up file... Even tho I already tried renaming it, save-and-compacting it and oh yeah... all frames I call do have frame labels. I've even tried copying everything after frame 75 to another scene (even tho I don't like to use them) but even then, I can not seem to get beyond that frame 34... So weird... ___ 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] simple gotoAndPlay
That almost got my hopes up... but sadly... no... The only MC with a linkage ID gets loaded in the first frame... Just a long shot then.. :-D Might it be that you have a mc using lickage with the load on first frame option off.. but forgot to preload it differently? ___ 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] simple gotoAndPlay :: Am I losing my mind?
I've had the same thing - it seems .fla files can get corrupted. Try doing a Save As (which re-writes your .fla) and also clearing your ASO cache. If that doesn't work, go with Toby's approach of copy and paste into a fresh .fla. I've had to do that on rare occasions. The only explaination I could think of was .fla corruption. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Toby Sent: Wednesday, October 11, 2006 10:06 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] simple gotoAndPlay :: Am I losing my mind? I have had fla's go haywire on me for unknown reasons, its only happened once but it was very random. I created a new FLA and literally copied everything across and it worked fine... maybe I had overlooked something but I am under the impression that they can get confused by themselves in a rare circumstance. Hope your problems are resolved soon as things like this are horrible to debug! Good luck! T Ps. I guess one thing to do when your rebuilding it is to give everything frame labels instead of going to just frame numbers? -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Serge Jespers Sent: 11 October 2006 14:22 To: Flashcoders mailing list Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind? It's getting worse... :-/ It works like it should inside the IDE. But not in a browser. Now you could think that my main.swf is causing this swf to mess up but I'm doing the exact same thing with another swf and that one works perfect... The troubled swf is being loaded with a MovieClipLoader and I just play it once it's loaded in. I think I'm just going to build this file from scratch 'cause other than a messed up file, I can't come up with anything that may cause this... :-/ ___ 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] Center align a multiline textfield?
I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true; autosize='center'; htmlText='font face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font'; } The autosize seems to only work for single line textfields, not multiline. Anyone know how to accomplish this? Thanks. Blake Perdue | 212.522.1292 | AIM: blakepCNN ___ 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] IE doesn't seem to want to recognize FlashVars
Ok I have a page that redirects based on FlashVars and for some reason every browser expect IE seems to work. I have tried using flashobject, passing the variables in the querystring and referencing _root variable. I am at my wits end with this. If anyone could take a look at it in IE and Firefox and possibly have some explanation I would be thankful. Here is the link: http://www.iconicweb.com/indextest.html?page=PortfoliosubPage=toyotaEPNS ___ 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] C++ flash host supporting transparency
Hey, I'm building a C++ app to run on Windows (then maybe on Mac and X) that will host SWFs. On Windows I'm using the Flash activeX control to host my Flash app. I'd like to render the Flash viewport/window onto my application's surface with transparency such that only the content on the stage is drawn to my window. Does anyone know how you would implement this within a custom host/container like mine? How do the browsers implement this (well the ones that support it)? Does Flash tell the host the key color being used for transparency? I've seen a few articles here and there that Flash sends its output to an off-screen buffer that the browsers use to render Flash content with non-rectangular transparency. But, I'm not sure how as a host container the Flash frame buffers and transparency key color are accessible to me. Does the stage color become the RGB key color value that Flash communicates to the browser to assist with this process? What if that same color is used in the content of your movie/content within your SWF? Do the browsers render those pixels transparently as well? Anyway, I'm going to start some tests but thought maybe someone could shed some light for me. Also, does anyone have experience building their own SWF host application that runs on Windows and Mac? I need to port my app (and am not interested in using the commercial swf/exe hosts out there, at least not yet ;]) to the Mac, so whatever transparency technique I use on Win32 would hopefully not require a full-rewrite on the Mac (yeah right). Is there an SDK for people wanting to build their own hosts for Flash apps? Is there a lower-level interface/API I can tap into that exposes the Flash content/internals so that developers can write their own unique hosts? What wrapper/API is exposed to the Mac platform developers for creating containers on OSX? Thanks for ANY input :) I'll start fiddling with WMODE and see what happens for starters... Where is the definitive internals book on the Flash runtime engine? Does one exist? Chris Douglass Innovative Code Design Atlanta, GA www.innovativecode.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] Re: ObjectCopy works in Flash/swf but in Zinc it dies?!?
Replying to myeslf, but here's the weirdness; it's not ObjectCopy - my variable dies. Here's a part of the code that works in .swf but not in Zinc; debug is a global method I'm using to either output to the output window or popup an input box if in zinc: debug(total screens: + gApp.screens.length); tX = new String(); for (i=0; igApp.screens.length; i++) { debug(checking : + i); tTop = new String(); debug(after tTop i : + i); debug(testing gApp.screens[+ i + ]); dumpIt(gApp.screens[i]); Now the thing is after the 'for i=0...' the first debug 'checking' outputs 0 then after I do tTop = new String() when I do 'after tTop i' i comes back UNDEFINED! ___ 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] simple gotoAndPlay
To see if something in the movie is corrupted, try turning content layers into guides, either all at once or one at a time, and you may be able to narrow down where the problem is. You can also try pasting all frames into a new movie. Sorry I didn't follow the beginning of this thread, and the message has been clipped, so I'm not sure what the original issue was exactly. - Marc At 07:16 AM 10/11/2006, you wrote: I've just seen that a file with similar functionality is 62k instead of the 24k of the troubled file... So I'm going to officially call this a messed up file... Even tho I already tried renaming it, save-and-compacting it and oh yeah... all frames I call do have frame labels. I've even tried copying everything after frame 75 to another scene (even tho I don't like to use them) but even then, I can not seem to get beyond that frame 34... So weird... ___ ___ 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] Center align a multiline textfield?
Capitalisation - it's autoSize, not autosize. Ian On 10/11/06, Perdue, Blake [EMAIL PROTECTED] wrote: I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true; autosize='center'; htmlText='font face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font'; } ___ 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] simple gotoAndPlay
Only one thing left to do then :-D ... : set everything you have on frame 75 to frame 34 :-D But indeed it could be corruption.. have had several cases in the past where it was clear that my fla got corrupted. I ended up getting a save mania :) Good luck! With kind regards, Dennis - Original Message - From: Serge Jespers [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 4:18 PM Subject: Re: [Flashcoders] simple gotoAndPlay That almost got my hopes up... but sadly... no... The only MC with a linkage ID gets loaded in the first frame... Just a long shot then.. :-D Might it be that you have a mc using lickage with the load on first frame option off.. but forgot to preload it differently? ___ 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] Flash Accessibility Issues
We were requested to add Accessibility to a completed Flash piece at the last minute and I¹m banging my head against a wall trying to figure out how to do something that seems relatively simple. I have roughly 60 thumbnails of images that have buttons associated with them. The buttons bring up a large version of the image with a caption underneath. The client would like the caption to be read on rollover so someone with a screenreader can mouse over or tab between them. I used the accessibility panel to associate each button with it¹s caption, but that doesn¹t seem to work. What am I missing? Chris Griffith Senior Multimedia Developer, Lead Game Developer Tribal DDB Dallas 214.259.2748 [EMAIL PROTECTED] __ This message, including any attachments, may include privileged, confidential and or inside information. Any distribution or use of this communication by anyone other than the intended recipient(s) is strictly prohibited and may be unlawful. If you are not the intended recipient, please notify the sender by replying to this message and then delete it from your system. Any further questions please contact our help desk at 214-259-2711. ___ 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] CacheAsBitmap advice
Thanks for that ... sorted it out now! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 11 October 2006 13:47 To: Flashcoders mailing list Subject: Re: [Flashcoders] CacheAsBitmap advice Incidentally, Jason, your site only takes up the first 1/4 or so of the browser window in Firefox. I think you probably need to set a CSS body height:100% or something somewhere in the HTML. Cheers, Ian On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15 ___ 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 incoming message has been checked for all known viruses by the MessageLabs Virus Control Centre. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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] zinc kills a variable with a new String()?
What the...? I don't get what's going on here: Here's a part of the code that works in .swf but not in Zinc; debug is a global method I'm using to either output to the output window or popup an input box if in zinc: debug(total screens: + gApp.screens.length); tX = new String(); for (i=0; igApp.screens.length; i++) { debug(checking : + i); tTop = new String(); debug(after tTop i : + i); debug(testing gApp.screens[+ i + ]); dumpIt(gApp.screens[i]); gApp.screens.length = 1 (one test item in the array). Now the thing is after the 'for i=0...' the first debug 'checking' outputs 0 then after I do tTop = new String() when I do 'after tTop i' i comes back UNDEFINED! I even tried changing it to this: for (i=0; igApp.screens.length; i++) { debug(checking : + i); tTop = new String(); debug(after tTop i : + i); debug(testing gApp.screens[+ i + ]); The second 'i' still comes back as undefined. What's up with this? Me? Lack of sleep? There's nothing else that's going on here... ___ 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] AS 2.0 variable declaration
Thanks :) works a treat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Weiser Sent: 11 October 2006 14:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS 2.0 variable declaration var foo:MovieClip = createEmptyMovieClip(foo,1) var myVar:String = fooVar foo.myVar=myVar delete myVar //help works foo.myVar. trace(foo.myVar) Martin Jason Ross wrote: Sorry, my AS 1.0 should have looked like this: this.createEmptyMovieClip(foo,1) foo.myVar = foovar so, myVar is a variable declared within the foo MC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julien castelain Sent: 11 October 2006 10:44 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS 2.0 variable declaration hi jason, this should'nt return any errors... var foo:MovieClip = createEmptyMovieClip(foo,1) for the other variable foo.myVar = fooVar or var myVar:String = fooVar; On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small problem. How do I write the following in AS 2.0: this.createEmptyMovieClip(foo,1) this.myVar = foovar As this returns errors: var foo:MovieClip = createEmptyMovieClip(foo,1) var foo.myVar:String = fooVar Much appreciated, Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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 incoming message has been checked for all known viruses by the MessageLabs Virus Control Centre. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender
[Flashcoders] Re: zinc kills a variable with a new String()?
Of course, the var i fixed it (in the 'for') -- but I don't get why it blewup; I've noticed this elsewhere too today. Say I had a function that calls a subfunction, ie mainStuff = function(){ for(i=0; itheList.length; i++){ ret = subStuff(tList[i]); } } subStuff = function(which){ for(i=0; iwhich.length; i++){ //whatever } } I noticed that 'i' would get shared across the instances, that it wouldn't work. ie it would work in mainstuff, bounce to subStuff which would iterate more, get mainStuff confused, etc. This is in direct violation to what the local var should be, no? I mean, I've never experienced that before. ___ 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] Flash comm server version
how can i get version, i updated 1.5 mx sercer, and want to know if correctly, and what is the version thanks 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
RE: [Flashcoders] CacheAsBitmap advice
Interesting. Thank you, I will try this out tonight when I get home! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: 11 October 2006 13:48 To: Flashcoders mailing list Subject: Re: [Flashcoders] CacheAsBitmap advice I've posted this before, but it may help you: http://board.flashkit.com/board/showthread.php?t=659163 As you can see in that post, if you do any scaling or rotation to a cachedAsBitmap MovieClip, it temporarily becomes a vector again, just to update itself. That class can force a movieclip to stay as a bitmap, even if you make it super big. Of course, it'll get blurry if it's too big. Key is to taking a snapshot of what you want at the biggest size it'll be, or updating the bitmap data when it's at it's biggest size. On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi - thank you to both Ian and Ramon. And yes, the pictures are scrolling, but they are contained in movieclips that contain vector data (i.e. to artwork around the photos). See what I mean? Though I take your point as through my experimentation I get the same results whether CacheAsBitmap is turned on or not. Great idea to unload / reload as they come on / off the screen! Will do that one right away. Thank again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: 11 October 2006 12:21 To: Flashcoders mailing list Subject: Re: [Flashcoders] CacheAsBitmap advice If you're scrolling pictures, you don't really need to cache as bitmap. It would be best to use it when there's a lot of vector data that bogs the system down when animating. One thing you could do to optimize things is whent he pictures go offscreen, unload them. On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of course. I am in the process of updating all code to AS 2.0 and was hoping to use CacheAsBitmap to improve the performance. This link demonstrates a folder on the site with many images: http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15 Ideally, I would like to speed up things like (which, on a slow PC these things can run pretty poorly): * Scrolling (using the slider on the bottom of the screen) * Image inflates (when you click an image) * Animations (when you click 'NEXT / PREVIOUS') I know that CacheAsBitmap should be used carefully, which is what I am struggling on. The site is coded quite well with many nested movie clips. This is where I struggle to understand where / if I should apply a CacheAsBitmap command. Stage | -- ScrollerMC | -- Thumbnail | | | -- ImageLoaderMC | | | -- thumbImageLoaderMC | -- mainImageLoaderMC | -- Thumbnail | -- ImageLoaderMC | -- thumbImageLoaderMC -- mainImageLoaderMC Any help would be greatly appreciated. Jason. Legal Disclaimer: This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above. The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence. If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system. Internet email communications are not always secure and may be susceptible to data corruption, interception and unauthorised amendment, and therefore View does not accept legal responsibility for the contents of this message for any such corruption, interception or amendment or the consequences thereof nor any delay in its receipt. Although this email message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by View for any loss or damage in any way arising from its use. Any views expressed by the sender of this message are not necessarily those of View. _ This message from View has been checked for all known viruses by the MessageLabs Virus Control Centre. ___ 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
RE: [Flashcoders] Re: zinc kills a variable with a new String()?
Does AS support explicit byRef and byVal function argument modifiers? If so, maybe that would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Wednesday, October 11, 2006 11:11 AM To: Flashcoders mailing list Subject: [Flashcoders] Re: zinc kills a variable with a new String()? Of course, the var i fixed it (in the 'for') -- but I don't get why it blewup; I've noticed this elsewhere too today. Say I had a function that calls a subfunction, ie mainStuff = function(){ for(i=0; itheList.length; i++){ ret = subStuff(tList[i]); } } subStuff = function(which){ for(i=0; iwhich.length; i++){ //whatever } } I noticed that 'i' would get shared across the instances, that it wouldn't work. ie it would work in mainstuff, bounce to subStuff which would iterate more, get mainStuff confused, etc. This is in direct violation to what the local var should be, no? I mean, I've never experienced that before. ___ 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] simple gotoAndPlay
By the way.. a is the cable in the wall-question.. Did you try to empty you cache? - Original Message - From: Serge Jespers [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 4:18 PM Subject: Re: [Flashcoders] simple gotoAndPlay That almost got my hopes up... but sadly... no... The only MC with a linkage ID gets loaded in the first frame... Just a long shot then.. :-D Might it be that you have a mc using lickage with the load on first frame option off.. but forgot to preload it differently? ___ 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] IE doesn't seem to want to recognize FlashVars
I've got a similar problem with the cache of IE7.0, try to clean your cache, and try your swf again. If it resolve the problem, tell me, I'm working on a solution... - Original Message - From: Christopher Whiteford [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 4:33 PM Subject: [Flashcoders] IE doesn't seem to want to recognize FlashVars Ok I have a page that redirects based on FlashVars and for some reason every browser expect IE seems to work. I have tried using flashobject, passing the variables in the querystring and referencing _root variable. I am at my wits end with this. If anyone could take a look at it in IE and Firefox and possibly have some explanation I would be thankful. Here is the link: http://www.iconicweb.com/indextest.html?page=PortfoliosubPage=toyotaEPNS ___ 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] Flash comm server version
In the admin console press the big question mark in the upper right corner.. then press About... With kind regards, Dennis - Original Message - From: Martin Weiser [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 5:11 PM Subject: [Flashcoders] Flash comm server version how can i get version, i updated 1.5 mx sercer, and want to know if correctly, and what is the version thanks 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@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] simple gotoAndPlay
Unbelievable... I've found the devil child... There was a preloader-graphic (just graphics, no actions) in my swf that was being loaded from a shared library. I took it out of the shared lib and embedded it in the swf and now it works... Really unbelievable... Thank you all for your suggestions! After copy- pasting everything to a new file, I ended up finding this one with switching every single layer to guide layers, exporting and enabling every single layer and exporting... And then I found it... Thanks again, Serge ___ 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] Re: zinc kills a variable with a new String()?
Did you try adding an explicit variable declaration (e.g. for (var i = 0;...) it might be that because the var statement is lacking the variable is being created in a global scope. Chris Douglass wrote: Does AS support explicit byRef and byVal function argument modifiers? If so, maybe that would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Wednesday, October 11, 2006 11:11 AM To: Flashcoders mailing list Subject: [Flashcoders] Re: zinc kills a variable with a new String()? Of course, the var i fixed it (in the 'for') -- but I don't get why it blewup; I've noticed this elsewhere too today. Say I had a function that calls a subfunction, ie mainStuff = function(){ for(i=0; itheList.length; i++){ ret = subStuff(tList[i]); } } subStuff = function(which){ for(i=0; iwhich.length; i++){ //whatever } } I noticed that 'i' would get shared across the instances, that it wouldn't work. ie it would work in mainstuff, bounce to subStuff which would iterate more, get mainStuff confused, etc. This is in direct violation to what the local var should be, no? I mean, I've never experienced that before. ___ 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 -- Robert r. Sanders Chief Technologist iPOV (334) 821-5412 www.ipov.net ___ 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] Center align a multiline textfield?
Blake, Did you try using the paragraph tag's align attribute that I suggested yesterday? htmlText='p align=centerfont face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font/p'; -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Wednesday, October 11, 2006 10:01 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Center align a multiline textfield? Yeah, tried and still doesn't work. Anyone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Wednesday, October 11, 2006 10:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Center align a multiline textfield? Capitalisation - it's autoSize, not autosize. Ian On 10/11/06, Perdue, Blake [EMAIL PROTECTED] wrote: I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true; autosize='center'; htmlText='font face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font'; } ___ 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] Center align a multiline textfield?
It's becuase you have wordWrap set to true. Here's a quick and dirty example - try setting back to true to see the difference. this.createTextField('subhead', 20, 1, 435, 434, 200); with (this.subhead) { selectable = true; wordWrap = false; multiline = true; autoSize = 'center'; border = true; } var sMyString:String = This is my textfield string, la, la la, la la, and it is centred, la, la la, la la; var nCharNum:Number = 0; function fMakeString(mcScope_psd, fltText_psd) { trace(mcScope_psd); mcScope_psd[fltText_psd].text += mcScope_psd.sMyString.charAt(mcScope_psd.nCharNum++); if (mcScope_psd.nCharNum == mcScope_psd.sMyString.length) { clearInterval(mcScope_psd.iMakeText); } } iMakeText = setInterval(fMakeString, 50, this, subhead); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Perdue, Blake Sent: 11 October 2006 16:01 To: Flashcoders mailing list Subject: RE: [Flashcoders] Center align a multiline textfield? Yeah, tried and still doesn't work. Anyone? This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network. ___ 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] Re: zinc kills a variable with a new String()?
that's because 'i' isn't local to the function but lives in the 'timeline' the function is defined in. Define them inside the function using var. It's also a good thing to do the same for the 'condition', because the length might change during the loop process, which may mess up the loop as well. function mainStuff() { var i:Number = 0; var len:Number = theList.length; for (i=0; ilen; i++) { ret = subStuff(tList[i]); } } function subStuff(which:Array) { var i:Number = 0; var len:Number = which.length; for (i=0; ilen; i++) { //whatever } } regards, Muzak - Original Message - From: grimmwerks [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 5:11 PM Subject: [Flashcoders] Re: zinc kills a variable with a new String()? Of course, the var i fixed it (in the 'for') -- but I don't get why it blewup; I've noticed this elsewhere too today. Say I had a function that calls a subfunction, ie mainStuff = function(){ for(i=0; itheList.length; i++){ ret = subStuff(tList[i]); } } subStuff = function(which){ for(i=0; iwhich.length; i++){ //whatever } } I noticed that 'i' would get shared across the instances, that it wouldn't work. ie it would work in mainstuff, bounce to subStuff which would iterate more, get mainStuff confused, etc. This is in direct violation to what the local var should be, no? I mean, I've never experienced that before. ___ 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] simple gotoAndPlay
With the risk of starting a rant, Adobe should really fix shared libs... These seem to be totally useless in a real life environment... The idea is great but how do you explain that a simple graphic loaded with no actions whatsoever can cause my script to stop working...? We started this project with a shared lib for our fonts and graphics and now that we come across this problem, will have to kick out the shared lib. We already kicked out the shared fonts 'cause those just didn't work at all. I should add that the designer in this project is on a PC and that I, the developer in this project, work on a Mac. But really... This shouldn't matter... right? Serge ___ 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] simple gotoAndPlay
damnn, so close ith the unloaded linkage :-D you deleted the mf with pleasure? ghehe :) - Original Message - From: Serge Jespers [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 5:30 PM Subject: Re: [Flashcoders] simple gotoAndPlay Unbelievable... I've found the devil child... There was a preloader-graphic (just graphics, no actions) in my swf that was being loaded from a shared library. I took it out of the shared lib and embedded it in the swf and now it works... Really unbelievable... Thank you all for your suggestions! After copy- pasting everything to a new file, I ended up finding this one with switching every single layer to guide layers, exporting and enabling every single layer and exporting... And then I found it... Thanks again, Serge ___ 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] Flash transparent on top of Windows Media Player
Ok, fair enough, it seems everything it's up to the browsers. However, users, bosses and even developers don't care about that. What they see is that the application is not working properly. What they see is that Flash is doing weird things _again_. What they see is that they cannot trust Flash. The only thing I can suggest is to try to find another job. Working at a technology company where the people in charge are ignorant when it comes to technology is a recipe for an unhappy life. It sounds like you don't have a project manager there who has any familiarity with web development (or any project manager at all?). Flash is, for all intensive purposes, on all of your end users' machines. Flash has become the only choice for streaming video delivery on the web. These aren't the days of Flash intros anymore. If your bosses don't trust Flash, I wouldn't trust them to provide an environment that will enrich your career. They're on the wrong side of the bell curve and you owe it to yourself as a professional to get yourself back on the other side. There are tons of great jobs out there right now for talented Flash developers. Don't settle for working for someone who doesn't trust the technology you are investing your time and energy into. ___ 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] Center align a multiline textfield?
I missed your email yesterday, but your solution works. Thanks much! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: Wednesday, October 11, 2006 11:40 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Center align a multiline textfield? Blake, Did you try using the paragraph tag's align attribute that I suggested yesterday? htmlText='p align=centerfont face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font/p'; -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Wednesday, October 11, 2006 10:01 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Center align a multiline textfield? Yeah, tried and still doesn't work. Anyone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Wednesday, October 11, 2006 10:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Center align a multiline textfield? Capitalisation - it's autoSize, not autosize. Ian On 10/11/06, Perdue, Blake [EMAIL PROTECTED] wrote: I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true; autosize='center'; htmlText='font face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font'; } ___ 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] Logging Flash-Internal User Access?
It's actually pretty straightforward and easy. Here's a quick way to track page impressions with no back-end code whatsoever. Create empty (0 bytes) .txt (or .html) files and put them in a folder on the server. Have Flash loadVars the txt files and append a noCache argument with the date in milliseconds so it doesn't cache. So, your file URL would look something like this: tUrl = tracking/page1.txt?noCache= + new Date().getTime(); Just loadVars a file every time they load in a different page. They'll be able to check their weblogs to see traffic. If they want something more like session data and such, then you'll have to write a back-end to support it. BLITZ | Steven Sacks - 310-551-0200 x209 ___ 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] Logging Flash-Internal User Access?
Wow! I didnt even know this was possible. Why the heck do companies use tracking companies like Hitbox if this is possible? Victor - Original Message - From: Steven Sacks | BLITZ [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 10:47 AM Subject: RE: [Flashcoders] Logging Flash-Internal User Access? It's actually pretty straightforward and easy. Here's a quick way to track page impressions with no back-end code whatsoever. Create empty (0 bytes) .txt (or .html) files and put them in a folder on the server. Have Flash loadVars the txt files and append a noCache argument with the date in milliseconds so it doesn't cache. So, your file URL would look something like this: tUrl = tracking/page1.txt?noCache= + new Date().getTime(); Just loadVars a file every time they load in a different page. They'll be able to check their weblogs to see traffic. If they want something more like session data and such, then you'll have to write a back-end to support it. BLITZ | Steven Sacks - 310-551-0200 x209 ___ 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] Logging Flash-Internal User Access?
There's a sucker born every minute. - P.T. Barnum -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Victor Gaudioso Sent: Wednesday, October 11, 2006 10:55 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Logging Flash-Internal User Access? Wow! I didnt even know this was possible. Why the heck do companies use tracking companies like Hitbox if this is possible? Victor ___ 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] Flashcom hosting
is this the default? i've been using fms on my company servers and i got everything fine with this, but i just signed a flashcom host service for my own use and my folder structure is empty, no scriptlibs, apllication, documentaion or anyother folder, is this the default? ___ 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] Flashcom hosting
check out influxis.com, they're awesome On 10/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: is this the default? i've been using fms on my company servers and i got everything fine with this, but i just signed a flashcom host service for my own use and my folder structure is empty, no scriptlibs, apllication, documentaion or anyother folder, is this the default? ___ 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 -- [ JPG ] ___ 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] brain teaser: filter tweening code has a problem, can you spot it?
Hi all, I downloaded a piece of filter tweening code, modified it (added loop around it) to tween mutiple clips on stage with the name (kText0, kText1, etc.) and for some reason it only tweens the last clip. After some debugging I found out where the problem lies. But when I compiled the code in my head, everything seemed fine (probably have a buggy brain). Can you spot what the problem is from the code below? How would you fix it? import mx.transitions.Tween; import mx.transitions.easing.*; import flash.filters.GlowFilter; for (var i = 0; i 5; ++i) { var mc = this[kText + i]; var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false); var gfBX:Tween = new Tween(gf, blurX, Elastic.easeOut, 5, 5, 1, true); var gfBY:Tween = new Tween(gf, blurY, Elastic.easeOut, 5, 5, 1, true); mc.onRollOver = function() { gfBX.continueTo(30, 2); gfBY.continueTo(30, 2); }; mc.onRollOut = function() { gfBX.continueTo(5, 2); gfBY.continueTo(5, 2); }; gfBX.onMotionChanged = function() { mc.filters = [gf]; }; } ___ 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 transparent on top of Windows Media Player
Brilliant. Just brilliant. Now if someone points out a problem with Flash, then is an ignorant. Who do you think you are talking about people you don't know with such an arrogance? Either the player or the browsers are having problems using wmode and that's a FACT. You don't need to remind me how good the Flash platform is, thank you anyway for your effort. Could we please stay on-topic? I was asking if Adobe is NOW actively talking with browser manufacturers to solve this? I (and a huge amount of people) need it for my work. Thanks, Juan On 10/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Ok, fair enough, it seems everything it's up to the browsers. However, users, bosses and even developers don't care about that. What they see is that the application is not working properly. What they see is that Flash is doing weird things _again_. What they see is that they cannot trust Flash. The only thing I can suggest is to try to find another job. Working at a technology company where the people in charge are ignorant when it comes to technology is a recipe for an unhappy life. It sounds like you don't have a project manager there who has any familiarity with web development (or any project manager at all?). Flash is, for all intensive purposes, on all of your end users' machines. Flash has become the only choice for streaming video delivery on the web. These aren't the days of Flash intros anymore. If your bosses don't trust Flash, I wouldn't trust them to provide an environment that will enrich your career. They're on the wrong side of the bell curve and you owe it to yourself as a professional to get yourself back on the other side. There are tons of great jobs out there right now for talented Flash developers. Don't settle for working for someone who doesn't trust the technology you are investing your time and energy into. ___ 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 -- Juan Delgado - Zárate http://www.zarate.tv ___ 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 transparent on top of Windows Media Player
Huh. I was offering an honest suggestion and also giving you a compliment. Apparently, though, you're perfect for the job you have. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Zárate Sent: Wednesday, October 11, 2006 11:49 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash transparent on top of Windows Media Player Brilliant. Just brilliant. Now if someone points out a problem with Flash, then is an ignorant. Who do you think you are talking about people you don't know with such an arrogance? Either the player or the browsers are having problems using wmode and that's a FACT. You don't need to remind me how good the Flash platform is, thank you anyway for your effort. Could we please stay on-topic? I was asking if Adobe is NOW actively talking with browser manufacturers to solve this? I (and a huge amount of people) need it for my work. Thanks, Juan ___ 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] IE doesn't seem to want to recognize FlashVars
I got it working by using flashvars as well as passing it in the swf file string. Unfortunately I didn't write the piece so it took some time to decifer. It seems that how IE processes the flash allows for a difference in the timing. So maybe that will help you track down yours. Testing changes was definitely an excercise in ensuring the cache was clear. Thanks and good luck with yours On 10/11/06, David Buff [EMAIL PROTECTED] wrote: I've got a similar problem with the cache of IE7.0, try to clean your cache, and try your swf again. If it resolve the problem, tell me, I'm working on a solution... - Original Message - From: Christopher Whiteford [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 4:33 PM Subject: [Flashcoders] IE doesn't seem to want to recognize FlashVars Ok I have a page that redirects based on FlashVars and for some reason every browser expect IE seems to work. I have tried using flashobject, passing the variables in the querystring and referencing _root variable. I am at my wits end with this. If anyone could take a look at it in IE and Firefox and possibly have some explanation I would be thankful. Here is the link: http://www.iconicweb.com/indextest.html?page=PortfoliosubPage=toyotaEPNS ___ 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] C++ flash host supporting transparency
here ya go http://www.codeproject.com/useritems/FlashGui.asp best b - Original Message From: Chris Douglass [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 7:34:31 AM Subject: [Flashcoders] C++ flash host supporting transparency Hey, I'm building a C++ app to run on Windows (then maybe on Mac and X) that will host SWFs. On Windows I'm using the Flash activeX control to host my Flash app. I'd like to render the Flash viewport/window onto my application's surface with transparency such that only the content on the stage is drawn to my window. Does anyone know how you would implement this within a custom host/container like mine? How do the browsers implement this (well the ones that support it)? Does Flash tell the host the key color being used for transparency? I've seen a few articles here and there that Flash sends its output to an off-screen buffer that the browsers use to render Flash content with non-rectangular transparency. But, I'm not sure how as a host container the Flash frame buffers and transparency key color are accessible to me. Does the stage color become the RGB key color value that Flash communicates to the browser to assist with this process? What if that same color is used in the content of your movie/content within your SWF? Do the browsers render those pixels transparently as well? Anyway, I'm going to start some tests but thought maybe someone could shed some light for me. Also, does anyone have experience building their own SWF host application that runs on Windows and Mac? I need to port my app (and am not interested in using the commercial swf/exe hosts out there, at least not yet ;]) to the Mac, so whatever transparency technique I use on Win32 would hopefully not require a full-rewrite on the Mac (yeah right). Is there an SDK for people wanting to build their own hosts for Flash apps? Is there a lower-level interface/API I can tap into that exposes the Flash content/internals so that developers can write their own unique hosts? What wrapper/API is exposed to the Mac platform developers for creating containers on OSX? Thanks for ANY input :) I'll start fiddling with WMODE and see what happens for starters... Where is the definitive internals book on the Flash runtime engine? Does one exist? Chris Douglass Innovative Code Design Atlanta, GA www.innovativecode.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] IE doesn't seem to want to recognize FlashVars
It seems to work when I pass the Flashvars directly to the swf : http://www.iconicweb.com/home3.swf?page=PortfoliosubPage=toyotaEPNS But not through the html page. I believe that your problem is in the Javascript. You should try and debug that first do some alerts in your scripts to check your variables, etc ... HTH A. -Original Message- From: Christopher Whiteford [mailto:[EMAIL PROTECTED] Sent: 11 octobre 2006 10:33 To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] IE doesn't seem to want to recognize FlashVars Ok I have a page that redirects based on FlashVars and for some reason every browser expect IE seems to work. I have tried using flashobject, passing the variables in the querystring and referencing _root variable. I am at my wits end with this. If anyone could take a look at it in IE and Firefox and possibly have some explanation I would be thankful. Here is the link: http://www.iconicweb.com/indextest.html?page=PortfoliosubPage=toyotaEPNS ___ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 2006-10-10 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 2006-10-10 ___ 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 transparent on top of Windows Media Player
Brilliant. Just brilliant. Now if someone points out a problem with Flash, then is an ignorant. Who do you think you are talking about people you don't know with such an arrogance? Don't use wmode. It's that simple. You can complain about it until you're blue in the face and it won't do any good. The fact is that wmode is inconsistent across browsers and platforms, and I doubt it's ever going to be fixed so you need to alter your approach. You want to see frustration? Hang out with some senior level web developers for awhile. I don't understand how they stay sane with all the hacking they have to do. Web Developers are forced to contend with a broken compiler that is used by 90% of the public (Internet Explorer) which tries to fix their code for them at runtime (making debugging difficult), and have to code against three or more different compilers (Firefox, Safari, Opera) that all compile their code differently from one another. CSS, a widely used technology, is, in some ways, borderline broken in IE6 and only after about five years is Microsoft doing anything about it with IE7. Best of luck in your endeavor to get Adobe to fix an edge case issue with an extremely rarely used feature that has inconsistent behavior across browsers due to browsers being inconsistent. Your energy is better spent explaining to your bosses the realities of web development. I hate web development. That's why I do Flash development. ;) ___ 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] brain teaser: filter tweening code has a problem, can you spot it?
Actually the function will remember what the temp variable points to even after everything goes out of scope through the so-called closure. So change is scope is not necessary for this teaser's fix. - Original Message From: Steven Sacks | BLITZ [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 11, 2006 11:50:13 AM Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it? You've got a scope issue. The movieclip has no idea what gfBX or gfBY is on rollover because they are just temporary variables in your iterator and once your iterator is done they're gone and the movieclip has no reference to them. You need to assign gfBX and gfBY to the movieclip so it knows what they are. mc.gfBX = gfBX; mc.onRollOver = function() { this.gfBX.continueTo(30, 2); }; Follow? HTH, Steven ___ 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] Flash transparent on top of Windows Media Player
Hi again, I'm just trying to get an answer from Adobe about the problem, nothing more, nothing less. And if the answers is: hey dude, this is not going to work properly, ever, then please just completely remove wmode. It is getting people mad. Then, I don't care (well, I care, but that's not the point now) about the problems of developing cross-platform standars-compliant HTML websites. What it is worth here is improving/fixing the Flash player. Cheers, Juan On 10/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Brilliant. Just brilliant. Now if someone points out a problem with Flash, then is an ignorant. Who do you think you are talking about people you don't know with such an arrogance? Don't use wmode. It's that simple. You can complain about it until you're blue in the face and it won't do any good. The fact is that wmode is inconsistent across browsers and platforms, and I doubt it's ever going to be fixed so you need to alter your approach. You want to see frustration? Hang out with some senior level web developers for awhile. I don't understand how they stay sane with all the hacking they have to do. Web Developers are forced to contend with a broken compiler that is used by 90% of the public (Internet Explorer) which tries to fix their code for them at runtime (making debugging difficult), and have to code against three or more different compilers (Firefox, Safari, Opera) that all compile their code differently from one another. CSS, a widely used technology, is, in some ways, borderline broken in IE6 and only after about five years is Microsoft doing anything about it with IE7. Best of luck in your endeavor to get Adobe to fix an edge case issue with an extremely rarely used feature that has inconsistent behavior across browsers due to browsers being inconsistent. Your energy is better spent explaining to your bosses the realities of web development. I hate web development. That's why I do Flash development. ;) ___ 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 -- Juan Delgado - Zárate http://www.zarate.tv ___ 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 transparent on top of Windows Media Player
Steven, I hate web development. That's why I do Flash development. Although highly subjective, I can't agree with you enough. The points you make capture my exact reasoning! However, I would argue that Flash has a great share of its own problems, but at least you're only dealing with one compiler / VM! Scott On 10/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Brilliant. Just brilliant. Now if someone points out a problem with Flash, then is an ignorant. Who do you think you are talking about people you don't know with such an arrogance? Don't use wmode. It's that simple. You can complain about it until you're blue in the face and it won't do any good. The fact is that wmode is inconsistent across browsers and platforms, and I doubt it's ever going to be fixed so you need to alter your approach. You want to see frustration? Hang out with some senior level web developers for awhile. I don't understand how they stay sane with all the hacking they have to do. Web Developers are forced to contend with a broken compiler that is used by 90% of the public (Internet Explorer) which tries to fix their code for them at runtime (making debugging difficult), and have to code against three or more different compilers (Firefox, Safari, Opera) that all compile their code differently from one another. CSS, a widely used technology, is, in some ways, borderline broken in IE6 and only after about five years is Microsoft doing anything about it with IE7. Best of luck in your endeavor to get Adobe to fix an edge case issue with an extremely rarely used feature that has inconsistent behavior across browsers due to browsers being inconsistent. Your energy is better spent explaining to your bosses the realities of web development. I hate web development. That's why I do Flash development. ;) ___ 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 -- : : ) Scott ___ 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 transparent on top of Windows Media Player
then please just completely remove wmode. Not everyone has to develop cross-platform websites becauase they have specific target audiences that only use certain browsers and can thus make good use of wmode. I think what's needed is better documentation/disclaimers rather than throwing it out completely. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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] brain teaser: filter tweening code has a problem, can you spot it?
This works, import mx.transitions.Tween; import mx.transitions.easing.*; import flash.filters.GlowFilter; var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false); for (var i = 0; i 5; ++i) { var mc:MovieClip = this[kText + i]; mc.filters = [gf]; mc.gfBX = new Tween(gf, blurX, Elastic.easeOut, 5, 5, 1, true); mc.gfBY = new Tween(gf, blurY, Elastic.easeOut, 5, 5, 1, true); mc.onRollOver = function() { var _mc:MovieClip = this; _mc.gfBX.continueTo(30, 2); _mc.gfBX.onMotionChanged = function() { _mc.filters = [gf]; }; _mc.gfBY.continueTo(30, 2); _mc.gfBY.onMotionChanged = function() { _mc.filters = [gf]; }; }; mc.onRollOut = function() { var _mc:MovieClip = this; _mc.gfBX.continueTo(5, 2); _mc.gfBX.onMotionChanged = function() { _mc.filters = [gf]; }; _mc.gfBY.continueTo(5, 2); _mc.gfBY.onMotionChanged = function() { _mc.filters = [gf]; }; }; } Did you have some other solution? -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Wednesday, October 11, 2006 1:46 PM To: Flashcoders mailing list Subject: [Flashcoders] brain teaser: filter tweening code has a problem,can you spot it? Hi all, I downloaded a piece of filter tweening code, modified it (added loop around it) to tween mutiple clips on stage with the name (kText0, kText1, etc.) and for some reason it only tweens the last clip. After some debugging I found out where the problem lies. But when I compiled the code in my head, everything seemed fine (probably have a buggy brain). Can you spot what the problem is from the code below? How would you fix it? import mx.transitions.Tween; import mx.transitions.easing.*; import flash.filters.GlowFilter; for (var i = 0; i 5; ++i) { var mc = this[kText + i]; var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false); var gfBX:Tween = new Tween(gf, blurX, Elastic.easeOut, 5, 5, 1, true); var gfBY:Tween = new Tween(gf, blurY, Elastic.easeOut, 5, 5, 1, true); mc.onRollOver = function() { gfBX.continueTo(30, 2); gfBY.continueTo(30, 2); }; mc.onRollOut = function() { gfBX.continueTo(5, 2); gfBY.continueTo(5, 2); }; gfBX.onMotionChanged = function() { mc.filters = [gf]; }; } ___ 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] brain teaser: filter tweening code has a problem, can you spot it?
Why are you creating a reference to this inside the onRollOver method? mc.onRollOver = function() { this.gfBX.continueTo(30, 2); }; There's no purpose behind a temporary reference variable to this. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: Wednesday, October 11, 2006 2:50 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem,can you spot it? This works, import mx.transitions.Tween; import mx.transitions.easing.*; import flash.filters.GlowFilter; var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false); for (var i = 0; i 5; ++i) { var mc:MovieClip = this[kText + i]; mc.filters = [gf]; mc.gfBX = new Tween(gf, blurX, Elastic.easeOut, 5, 5, 1, true); mc.gfBY = new Tween(gf, blurY, Elastic.easeOut, 5, 5, 1, true); mc.onRollOver = function() { var _mc:MovieClip = this; _mc.gfBX.continueTo(30, 2); _mc.gfBX.onMotionChanged = function() { _mc.filters = [gf]; }; _mc.gfBY.continueTo(30, 2); _mc.gfBY.onMotionChanged = function() { _mc.filters = [gf]; }; }; mc.onRollOut = function() { var _mc:MovieClip = this; _mc.gfBX.continueTo(5, 2); _mc.gfBX.onMotionChanged = function() { _mc.filters = [gf]; }; _mc.gfBY.continueTo(5, 2); _mc.gfBY.onMotionChanged = function() { _mc.filters = [gf]; }; }; } Did you have some other solution? -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Wednesday, October 11, 2006 1:46 PM To: Flashcoders mailing list Subject: [Flashcoders] brain teaser: filter tweening code has a problem,can you spot it? Hi all, I downloaded a piece of filter tweening code, modified it (added loop around it) to tween mutiple clips on stage with the name (kText0, kText1, etc.) and for some reason it only tweens the last clip. After some debugging I found out where the problem lies. But when I compiled the code in my head, everything seemed fine (probably have a buggy brain). Can you spot what the problem is from the code below? How would you fix it? import mx.transitions.Tween; import mx.transitions.easing.*; import flash.filters.GlowFilter; for (var i = 0; i 5; ++i) { var mc = this[kText + i]; var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false); var gfBX:Tween = new Tween(gf, blurX, Elastic.easeOut, 5, 5, 1, true); var gfBY:Tween = new Tween(gf, blurY, Elastic.easeOut, 5, 5, 1, true); mc.onRollOver = function() { gfBX.continueTo(30, 2); gfBY.continueTo(30, 2); }; mc.onRollOut = function() { gfBX.continueTo(5, 2); gfBY.continueTo(5, 2); }; gfBX.onMotionChanged = function() { mc.filters = [gf]; }; } ___ 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] Flash transparent on top of Windows Media Player
if the answers is: hey dude, this is not going to work properly, ever, then please just completely remove wmode. It is getting people mad. It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page transparent advertising... If you don't like it and it's not meeting your project's requirements of being consistent/stable enough then don't use it. ...and I don't think anyone could answer the ever remark. Now, if only there were a way to close a thread ;) My original subject seems to have steered a little off course. ___ 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] Altering registration points, or centering movies
Is there anyway to dynamically reposition the registration point of a movieclip? I'm loading the mc's with attachMovie, and trying to reposition those movies to the center of the stage, but I can't guarantee that the registration points are in a fixed location. Any advice is greatly appreciated. Thanks, Josh Johnston __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Altering registration points, or centering movies
http://www.darronschall.com/weblog/archives/54.cfm Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Josh Johnston Sent: Wednesday, October 11, 2006 6:07 PM To: Flashcoders mailing list Subject: [Flashcoders] Altering registration points, or centering movies Is there anyway to dynamically reposition the registration point of a movieclip? I'm loading the mc's with attachMovie, and trying to reposition those movies to the center of the stage, but I can't guarantee that the registration points are in a fixed location. Any advice is greatly appreciated. Thanks, Josh Johnston __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Flash transparent on top of Windows Media Player
It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page transparent advertising... Wonderful? ___ 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] Altering registration points, or centering movies
Beautiful! Thank you very much Jason. --- Merrill, Jason [EMAIL PROTECTED] wrote: http://www.darronschall.com/weblog/archives/54.cfm Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Josh Johnston Sent: Wednesday, October 11, 2006 6:07 PM To: Flashcoders mailing list Subject: [Flashcoders] Altering registration points, or centering movies Is there anyway to dynamically reposition the registration point of a movieclip? I'm loading the mc's with attachMovie, and trying to reposition those movies to the center of the stage, but I can't guarantee that the registration points are in a fixed location. Any advice is greatly appreciated. Thanks, Josh Johnston __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Flash transparent on top of Windows Media Player
Sorry - I should have italicized my sarcasm :) On 10/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page transparent advertising... Wonderful? ___ 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] Flash transparent on top of Windows Media Player
Sorry guys, it's my fault. I'm feeling completely idiot right now for asking Adobe to fix and/or improve the player. Adobe, you know what? Don't bother, we can always say that HTML is worst. Who cares about crossplatform and stuff like that. It (seems to) work on Win/IE, so that's enough. Cheers guys, Bye On 10/11/06, Mick G [EMAIL PROTECTED] wrote: Sorry - I should have italicized my sarcasm :) On 10/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page transparent advertising... Wonderful? ___ 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 -- Juan Delgado - Zárate http://www.zarate.tv ___ 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