[Flashcoders] un subscribe
- Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. ___ 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] Lead Developer - Central London
Hi I am looking for a talented/experience developer for one of my clients in central London. If you looking to move to work for a leading digital agency and up for a challenge e-mail me with your details. Neil Clements - Digital Direct 020 7845 7213 73-75 Endell Street London WC2H 9AJ www.majorplayers.co.uk blocked::http://www.majorplayers.co.uk/ ## This e-mail message has been scanned and cleared for viruses ## ___ 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] Stop Flash caching classes (Pedr)
Thank you all for your replies. Will try and get it working a little later. Very much appreciated .p. ___ 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] text length difference
hi joshua thw for answer, but as I told Jah: yes, this is the reason why I have 651 instead of 502 in the 1st case. but I search the difference between 651 and 762, after passing trough an xml and a localConnection. I don't know wich one causes trouble I know this html tags add, but I find a second add after passing throug a localConnection. It seems to be a format problem, but i guess localConnection uses UTF-8, isn't it? so where does it come from? ++ PiR Joshua Sera a écrit : When you enable html in a textfield, Flash adds a bunch of formatting in HTML. If you trace the htmlText property of the textbox in question, you'll get something like: TEXTFORMAT LEADING=2P ALIGN=CENTERFONT FACE=Times New Roman SIZE=8 COLOR=#00 LETTERSPACING=0 KERNING=0BThis is a test/B/FONT/P/TEXTFORMAT If you trace the text property of that same textfield, it won't count the HTML tags, so you'll get a number less than what you'd expect from a string with HTML formatting. Lastly, when you enclose a string in the CDATA tag, it converts things to HTML entities, which can confuse things even more. --- PR Durand [EMAIL PROTECTED] wrote: Hi list! I have a text in a value, the text length is 502, I fill my htmlText with it, the htmlText.length is 651. Now I get the same text content from an xml file, within a CDATA node. trace (myNode.nodeValue.length) // outputs 502, ok I pass it through a localConnection to another flash, then I trace it trace (receivedText.length) // outputs 502, still ok I fill my html enabled textfield with my content : myTF.htmlText = receivedText; trace (myTF.htmlText.textLength); // Outputs 762 !!! what are those 111 new caracters??? they don't appear, but make my scroller appear :( any idea please? ++ PiR ___ 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 Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097 ___ 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] Extending List v2 component
Hello Flashers, I'd like to have some advice on customizing List v2 component since I have no deeper knowledge of v2 components set architecture. I need to extend the List component in some custom List class that would physically render all items of its data provider and not just use virtual rows that are filled with changed content on every scrolling event.. I'd need some hints, how could I achieve this. Is this not possible to do with standard List component by some tweaks? Or if I have to extend the List component what exactly should I do and which methods do I have to override in the class? I'm somehow lost in that v2 code.. Thanks -tom- ___ 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] checking microphone
Hi All, I am working on some voice recording application in flash. Before recording a audio, I want to give user a chance to check if his microphone is working or not. Please guid me in proper direction. Regards, Mayur ___ 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 Lite 2.1
Hi Flashcoders, Do you have tips on where to find the best sources of information about Flash Lite development outside the adobe.com domain? Or is there a mailing-list, or is Flashcoders the place to talk and discuss Flash Lite problems and practices on? / 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] swf2jpg conversion
is there any chance you could put it somewhere publicly accessible? im sure there are quite a few people who would like to use it (myself included) thanks, Martin Firstpixel wrote: There is some PHP that does it. email me and I will send you the php Classes. Gil Beyruth Criação e Desenv. Flash {FP}Firstpixel.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] text length difference
Hi Danny, My scroller is a home-made scroller, based on a content movieclip and a mask movieclip. It seems that the extra html added by flash to the text make the textfield becoming higher... I manually add a FONT tag to my text for the format, and flash gets to add the LETTERSPACING=0 KERNING=0 in my own tag, and P tag before and after the whole content. but the strange thing is that he seems to add another P and FONT tag at the end of the text, so that it gives: P ALIGN=LEFTFONT FACE=Standard_texte SIZE=12 COLOR=#7C7C7C LETTERSPACING=0 KERNING=0my 500 chars text/FONT/PP ALIGN=LEFTFONT FACE=Standard_texte SIZE=12 COLOR=#7C7C7C LETTERSPACING=0 KERNING=0/FONT/P the face, size and color properties are my manually added props, the other one are added by flash and I don't why there are two times the FONT and P tags. ++ PiR Danny Kodicek a écrit : hi joshua thw for answer, but as I told Jah: yes, this is the reason why I have 651 instead of 502 in the 1st case. but I search the difference between 651 and 762, after passing trough an xml and a localConnection. I don't know wich one causes trouble I know this html tags add, but I find a second add after passing throug a localConnection. It seems to be a format problem, but i guess localConnection uses UTF-8, isn't it? so where does it come from? Flash HTML is a law to itself, but in your case I'm not sure why it matters. You say 'it makes my scroller appear', but surely your scroller shouldn't care how much html is in the field. It should only be based on the difference between TextField._height and TextField.textHeight. 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] Scrolling text with dragger??
I did a google search too but the majority of the tutorials are using the uiscrollbar component. I want to learn how to make my own scrollbar for text. ___ 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 Lite 2.1
This book is worth checking out: http://www.friendsofed.com/book.html?isbn=1590595580 HTH Alias On 06/02/07, Martin Klasson [EMAIL PROTECTED] wrote: Hi Flashcoders, Do you have tips on where to find the best sources of information about Flash Lite development outside the adobe.com domain? Or is there a mailing-list, or is Flashcoders the place to talk and discuss Flash Lite problems and practices on? / 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] Extending List v2 component
Look into the CellRenderer API: http://livedocs.macromedia.com/flash/8/main/3127.html Attila TL Hello Flashers, TL TL I'd like to have some advice on customizing List v2 component since I have TL no deeper knowledge of v2 components set architecture. TL TL I need to extend the List component in some custom List class that would TL physically render all items of its data provider TL and not just use virtual rows that are filled with changed content on every TL scrolling event.. TL TL I'd need some hints, how could I achieve this. TL Is this not possible to do with standard List component by some tweaks? TL Or if I have to extend the List component what exactly should I do and which TL methods do I have to override in the class? TL I'm somehow lost in that v2 code.. TL TL Thanks TL TL -tom- ___ 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] Scrolling text with dragger??
http://flash-creations.com/notes/actionscript_scrolltext.php Helen Tolis Christomanos wrote: I did a google search too but the majority of the tutorials are using the uiscrollbar component. I want to learn how to make my own scrollbar for text. ___ 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] text length difference
Hi Danny, My scroller is a home-made scroller, based on a content movieclip and a mask movieclip. But doesn't the same principle apply? It seems that the extra html added by flash to the text make the textfield becoming higher... Right - now I see the real issue at hand: you're getting an extra paragraph added. Have you tried seeing if setting an ignoreWhiteSpace in your XML object solves the problem? Also, have you made absolutely sure that the extra line wasn't added at some other point (for example, by pressing enter to input the line somewhere). Alternatively, you could try pre-parsing the HTML using the XML object, removing any empty tags (I've done this myself in the past) - of course, if your text includes some empty p tags by design then this won't work. 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] text length difference
I found where it came from... Thanx for your help : while you asked for the ignoreWhite param, I was quite sure that I had it to true, but I looked for the empty lines. And the xml tag content finished with a new line, wich became 2 newlines in flash, then a new P tag in the xml, and so a new FONT tag and I earned about 60 chars... I have to treat my file while writing the xml to close the CDATA tag just after the last point. ++ PiR Danny Kodicek a écrit : Hi Danny, My scroller is a home-made scroller, based on a content movieclip and a mask movieclip. But doesn't the same principle apply? It seems that the extra html added by flash to the text make the textfield becoming higher... Right - now I see the real issue at hand: you're getting an extra paragraph added. Have you tried seeing if setting an ignoreWhiteSpace in your XML object solves the problem? Also, have you made absolutely sure that the extra line wasn't added at some other point (for example, by pressing enter to input the line somewhere). Alternatively, you could try pre-parsing the HTML using the XML object, removing any empty tags (I've done this myself in the past) - of course, if your text includes some empty p tags by design then this won't work. 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
[Flashcoders] Detecting Rollover w/o onRollOver
It seems like in many of the projects I'm doing I need to have simultaneous onRollOver events. For example, a small movie clip with additional buttons needs to enlarge when the mouse is over it so the user can clearly click the buttons. However, when the user mouses over a button, flash no longer detects that the mouse is still over the movieclip and thus executes the onRollOut event making the movieclip shrink and the user can't see the buttons clearly anymore. I've used some code which can tell if the mouse is over an object, and attaching that to onMouseMove events can basically make two mouse overs. While its not checking the mouse position every frame, its still not as efficient as I'd like. Does anyone have any thoughts on a more efficient way to detect two mouse over events at the same time? Thanks! Daniel Holth This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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] Detecting Rollover w/o onRollOver
It seems like in many of the projects I'm doing I need to have simultaneous onRollOver events. For example, a small movie clip with additional buttons needs to enlarge when the mouse is over it so the user can clearly click the buttons. However, when the user mouses over a button, flash no longer detects that the mouse is still over the movieclip and thus executes the onRollOut event making the movieclip shrink and the user can't see the buttons clearly anymore. I've used some code which can tell if the mouse is over an object, and attaching that to onMouseMove events can basically make two mouse overs. While its not checking the mouse position every frame, its still not as efficient as I'd like. Does anyone have any thoughts on a more efficient way to detect two mouse over events at the same time? Keep a list of all the instances you're testing, in z-order. Use onRollOver to activate each one; then while it's active, send messages to all the ones beneath it to check if they should be active too. 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] Extending List v2 component
Hi, well, this will not help because my problem is not related to custom cellrenderer which I'm aready using.. I need a different logic for building and displaying all rows of the list when beeing scrolled.. -tom- On 2/6/07, Rákos Attila [EMAIL PROTECTED] wrote: Look into the CellRenderer API: http://livedocs.macromedia.com/flash/8/main/3127.html Attila TL Hello Flashers, TL TL I'd like to have some advice on customizing List v2 component since I have TL no deeper knowledge of v2 components set architecture. TL TL I need to extend the List component in some custom List class that would TL physically render all items of its data provider TL and not just use virtual rows that are filled with changed content on every TL scrolling event.. TL TL I'd need some hints, how could I achieve this. TL Is this not possible to do with standard List component by some tweaks? TL Or if I have to extend the List component what exactly should I do and which TL methods do I have to override in the class? TL I'm somehow lost in that v2 code.. TL TL Thanks TL TL -tom- ___ 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] Detecting Rollover w/o onRollOver
One solution I've used in the past was to use collapse() and cancelCollapse() methods. The parent rollover would use setInterval() to call collapse() on a delay of a few milliseconds giving the child onRollOver events the ability to be handled first. The child buttons would call cancelCollapse() on roll over which was basically a clearInterval() call. If cancelCollapse() wasn't called by a button then collapse() would eventually be called by setInterval(). James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Holth, Daniel C. wrote: It seems like in many of the projects I'm doing I need to have simultaneous onRollOver events. For example, a small movie clip with additional buttons needs to enlarge when the mouse is over it so the user can clearly click the buttons. However, when the user mouses over a button, flash no longer detects that the mouse is still over the movieclip and thus executes the onRollOut event making the movieclip shrink and the user can't see the buttons clearly anymore. I've used some code which can tell if the mouse is over an object, and attaching that to onMouseMove events can basically make two mouse overs. While its not checking the mouse position every frame, its still not as efficient as I'd like. Does anyone have any thoughts on a more efficient way to detect two mouse over events at the same time? Thanks! Daniel Holth This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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] Detecting Rollover w/o onRollOver
I usually delete the rollOver handler while I'm over it, detecting the rollOut event through hitTest instead of onRollOut... its something like this: myFunction clip.onRollOver delete clip.onRollOver clip.onMouseMove if(!clip.hitTest(_xmouse,_ymouse)) delete clip.onMouseMove myFunction //redeclare onRollOver Holth, Daniel C. escribió: It seems like in many of the projects I'm doing I need to have simultaneous onRollOver events. For example, a small movie clip with additional buttons needs to enlarge when the mouse is over it so the user can clearly click the buttons. However, when the user mouses over a button, flash no longer detects that the mouse is still over the movieclip and thus executes the onRollOut event making the movieclip shrink and the user can't see the buttons clearly anymore. I've used some code which can tell if the mouse is over an object, and attaching that to onMouseMove events can basically make two mouse overs. While its not checking the mouse position every frame, its still not as efficient as I'd like. Does anyone have any thoughts on a more efficient way to detect two mouse over events at the same time? Thanks! Daniel Holth This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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] Doxygen support for Actionscript
I like the idea of using an industry standard open source tool for this but Doxygen does need an ActionScript preprocessor to fix up these little problems caused by the slight but important differences in syntax between ActionScript and JAVA and C. When I first started using Doxygen for ActionScript, there were not that many people writing real RIA applications that were going into production so documentation was not a big deal. Now that there are major business applications being build where ActionScript and server applications are part of the same project, perhaps there will be a bigger demand for a tool like Doxygen that can cross language barriers and provide consistent documentation and annotation standards for both sides of the client/server street. I hope that may lead to a Doxygen preprocessor for ActionScript. You may want to raise this issue in the Doxygen forum. Perhaps someone there who knows how to build a preprocessor might come to our aide. Ron Forums @ Existanze wrote: Hello Ron, Thank you for your reply. Actually I have managed to produce UML Diagrams, but for example, a variable var one:CustomClass, is drawn as a var type not CustomClass type. this only happens in the UML produced, it creates a class box with name var and the inheritance is drawn from this var class. This is something I wanted to get fixed, but since I go this result using the default settings, I thought maybe someone here could enlightent me as to how to tweak some things. Best Regards, Fotis On Mon, 2007-02-05 at 17:03 -0500, Ron Wheeler wrote: It should produce UML diagrams. Have you checked the box in the setup to have them made. It may be off by default. Ron Forums @ Existanze wrote: Hello all, I recently found out about using doxygen for documenting Actionscript, the discovery came by googling uml reverser engineer actionscript. I have noticed that most posts refering to the setup and usage are a bit dated. I have succesfully installed and created documentation, but it still lacks some features, specially with the UML Diagrams. All I am wondering is, if there is an ongoing development, program or package that can be used alonside oxygen or standalone to create UML from Actionscript classes that you can point me to. Best Regards, Fotis ___ 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] determining which object is displayed at a given point
I don't understand what you're suggesting. The user is not dragging the movieclip. The idea is to write a function with a signature like: function getObjectAtPoint(xmouse:Number, ymouse:Number):Object On 2/5/07, Erik Bianchi [EMAIL PROTECTED] wrote: Been a while but I believe the solution you need is startDrag with _droptarget. Note you must use startDrag otherwise _droptarget isn't set. -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: Monday, February 05, 2007 4:52 PM To: Flashcoders mailing list Subject: [Flashcoders] determining which object is displayed at a given point I am trying to solve the following problem: given the coordinates of a point in a flash movie, determine the targetPath of the object that is currently displayed at that point. In simple cases I have been able to do this by looping through a list of possible target objects and calling hitTest() on each one. However, issues arise when there are multiple objects for which hitTest() returns true. This can happen with hidden objects, or more often, objects sitting on layers that aren't currently visible. Sometimes I can compare the depth of 2 conflicting objects, and I assume whichever one has a larger depth is rendered in front of the other. This doesn't always work, however. I am debugging a case where there are two objects that return hitTest()=true, have identical depths, have identical bounding boxes, and both have _visible set to true. Only one of them is actually visible to the user at any given time, however. What other properties of a movieclip can be checked to determine if it's really the one that the user can currently see? Or is there a better way to do this, rather than using hitTest()? Let me know if I can clarify. Thanks, Vishal ___ 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] checking microphone
There are a lot of ways that the microphone input could be invalid. You check Microphone.names.length to see if they even have a microphone installed, and check the current microphone's muted property to see if they are denying you access to it. If it's denied, System.showSettings(0) will help them allow access to the mic. If you know they have at least one mic, you could prompt the user to speak, then check the current microphone's activityLevel to see if you get anything. If not, use System.showSettings(2) to open the microphone settings panel so they can choose the right mic and adjust the input level. Microphone docshttp://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?href=2409.html -- andy makely On 2/6/07, learner [EMAIL PROTECTED] wrote: Hi All, I am working on some voice recording application in flash. Before recording a audio, I want to give user a chance to check if his microphone is working or not. Please guid me in proper direction. Regards, Mayur ___ 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] determining which object is displayed at a givenpoint
What he's saying is that _droptarget will tell you exactly what is at the top under the users mouse - but in order to use it you have to use startDrag to fool it in to working. Maybe you could drag an invisible clip around or something. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: 06 February 2007 16:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] determining which object is displayed at a givenpoint I don't understand what you're suggesting. The user is not dragging the movieclip. The idea is to write a function with a signature like: function getObjectAtPoint(xmouse:Number, ymouse:Number):Object ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ___ 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] Sound changes in AS 3
I was just perusing the Flex/Flash API docs online, and noticed some changes in AS 3 to the Sound class which alarm me. An application I am working on now has essentially a simple wavetable synth, which has a lot of assets named by note (e.g. c#4), and at runtime instantiates a bunch of Sound objects, using attachSound() on each to initialize the synth. attachSound() has been removed from AS 3, and the docs' explanation of how one would do this now do not make sense to me. For one thing, they involve associating a unique class with each sound asset, unless I'm confused. Is anyone using event sounds a lot in AS 3, and care to comment? Wondering how I will port my code, and eager to move on to AS 3 at some point here... Oh and another technical note: I discovered when I load sounds from an external SWF, that Sound objects must be constructed specifying the level where the loaded sound exists* in order to work properly. So when calling from my main movie, I need to loadMovie(soundbank.swf) and then do new Sound(_level1) for each sound object. Wondering if this is different in AS 3, seeing as levels are no more. * Even weirder, if I instantiate the Sound objects *inside* the loaded soundbank movie, they need to be constructed as new Sound(_root), even though when loaded the movie is definitely at level1. Presumably something about how _root is resolved at compile-time... ___ 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] Tracking User progress through a presentation.
Can anyone point me towards a tutorial on tracking and providing feedback to a user on where they are in the current tutorial/presentation. For instance if a tutorial has 5 sections and they have only completed 3 I want to be able to show their overall progress in relation to the entire tutorial.Kind of like a progress meter. Should I do this within Flash or with javascript and cookies? I want the user to be able to come back to a tutorial and pickup where they left off and I am thinking cookies would be the best method for tracking progress. - Kind Regards, Mike ___ 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] Doxygen support for Actionscript
Thank you Ron, I will try that On Tue, 2007-02-06 at 10:46 -0500, Ron Wheeler wrote: I like the idea of using an industry standard open source tool for this but Doxygen does need an ActionScript preprocessor to fix up these little problems caused by the slight but important differences in syntax between ActionScript and JAVA and C. When I first started using Doxygen for ActionScript, there were not that many people writing real RIA applications that were going into production so documentation was not a big deal. Now that there are major business applications being build where ActionScript and server applications are part of the same project, perhaps there will be a bigger demand for a tool like Doxygen that can cross language barriers and provide consistent documentation and annotation standards for both sides of the client/server street. I hope that may lead to a Doxygen preprocessor for ActionScript. You may want to raise this issue in the Doxygen forum. Perhaps someone there who knows how to build a preprocessor might come to our aide. Ron Forums @ Existanze wrote: Hello Ron, Thank you for your reply. Actually I have managed to produce UML Diagrams, but for example, a variable var one:CustomClass, is drawn as a var type not CustomClass type. this only happens in the UML produced, it creates a class box with name var and the inheritance is drawn from this var class. This is something I wanted to get fixed, but since I go this result using the default settings, I thought maybe someone here could enlightent me as to how to tweak some things. Best Regards, Fotis On Mon, 2007-02-05 at 17:03 -0500, Ron Wheeler wrote: It should produce UML diagrams. Have you checked the box in the setup to have them made. It may be off by default. Ron Forums @ Existanze wrote: Hello all, I recently found out about using doxygen for documenting Actionscript, the discovery came by googling uml reverser engineer actionscript. I have noticed that most posts refering to the setup and usage are a bit dated. I have succesfully installed and created documentation, but it still lacks some features, specially with the UML Diagrams. All I am wondering is, if there is an ongoing development, program or package that can be used alonside oxygen or standalone to create UML from Actionscript classes that you can point me to. Best Regards, Fotis ___ 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 ___ 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] Tracking User progress through a presentation.
If you are already using Flash, then SharedObject seems to better than cookies. But it can depend on your actual project structure, of course. Attila M Can anyone point me towards a tutorial on tracking and providing feedback to M a user on where they are in the current tutorial/presentation. M M For instance if a tutorial has 5 sections and they have only completed 3 I M want to be able to show their overall progress in relation to the entire M tutorial.Kind of like a progress meter. Should I do this within Flash or M with javascript and cookies? I want the user to be able to come back to a M tutorial and pickup where they left off and I am thinking cookies would be M the best method for tracking progress. M - M Kind Regards, M Mike ___ 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] Tracking User progress through a presentation.
SharedObjects would be much better than cookies as they are native to flash. or you can keep the progress on your server through a database. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman Sent: 6 février 2007 12:39 To: Flashcoders mailing list Subject: Re: [Flashcoders] Tracking User progress through a presentation. Is the tutorial/presentation a single SWF or is it split between a lot of files? If it's a single SWF then I don't see how cookies would help. -Andy On 2/6/07, Mike [EMAIL PROTECTED] wrote: Can anyone point me towards a tutorial on tracking and providing feedback to a user on where they are in the current tutorial/presentation. For instance if a tutorial has 5 sections and they have only completed 3 I want to be able to show their overall progress in relation to the entire tutorial.Kind of like a progress meter. Should I do this within Flash or with javascript and cookies? I want the user to be able to come back to a tutorial and pickup where they left off and I am thinking cookies would be the best method for tracking progress. - Kind Regards, Mike ___ 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.411 / Virus Database: 268.17.28/672 - Release Date: 2007-02-06 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.411 / Virus Database: 268.17.28/672 - Release Date: 2007-02-06 ___ 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] Extending List v2 component
I put together some code for that same reason. Rather than subclassing the list component, I'm wrapping the scrollpane component. Any scroll implementation can be swapped if desired http://www.sleekdigital.com/News/5.aspx - Hello Flashers, I'd like to have some advice on customizing List v2 component since I have no deeper knowledge of v2 components set architecture. I need to extend the List component in some custom List class that would physically render all items of its data provider and not just use virtual rows that are filled with changed content on every scrolling event.. ___ 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] Detecting Rollover w/o onRollOver
You can use hitTest, you can use mouse position, or you can set an interval to fire a function in 10 ms when you rollout that checks to see if a flag is true that the other button will set true onRollOver. function checkFlag() { clearInterval(checkInterval); delete checkInterval; if (btn2Flag) { btn2Flag = false; btn1.gotoAndStop(out); } } btn1.onRollOut = function() { checkInterval = setInterval(checkFlag, 10); }; btn2.onRollOver = function() { btn2Flag = true; }; ___ 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] Extending List v2 component
Why use a component at all? All you're talking about doing is scrolling a bunch of movieclips behind a mask. I posted some code here awhile back that covered doing that. Search the archives and you'll find it. It's pretty straightforward to do. The MM components are heavy, take too long to render and are buggy to boot. You're better off rolling your own or trying a 3rd party solution. ___ 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] Selection Box
Hey guys, I am setting the onPress callback of an mc to call Selection.setFocus(this.mc); This works correctly, but I notice that briefly when the setFocus call is executed that a yellow outline flashes around the mc. I have seen this box before when I have tabbed through selections as well. Is there any way to remove or modify the color of this outline? I have dug through the flash docs, but I don't see much on the subject. Brandon ___ 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: Selection Box
I figured it out. For the curious, it involves the use of _focusrect. See this in the archives for more info. http://chattyfig.figleaf.com/pipermail/flashcoders/2005-August/145629.html Hey guys, I am setting the onPress callback of an mc to call Selection.setFocus(this.mc); This works correctly, but I notice that briefly when the setFocus call is executed that a yellow outline flashes around the mc. I have seen this box before when I have tabbed through selections as well. Is there any way to remove or modify the color of this outline? I have dug through the flash docs, but I don't see much on the subject. Brandon ___ 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] [JOB] Flash Developer/Consultant, Washington, D.C. | Relo OK
Flash Developer/Consultant, Washington, D.C. | Relo OK My client is looking for a Flash Developer to work near Washington, DC. The position is long term and will require very strong ActionScript skills and OOP experience (no specific language, just methodology). Good documentation skills are a must, UML would be a plus. Relocation is not an issue. My client will cover you. If you are interested in this gig, please submit your resume and/or portfolio, hourly requirements, and a paragraph (or two) highlighting your skills/experience as it pertains to this job to [EMAIL PROTECTED] Thank you, Beau J. Gould Open Source Staffing www.open-source-staffing.com [EMAIL PROTECTED] http://tech.groups.yahoo.com/group/FlashJobs ___ 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] Pretty impressive Flash website
http://www.rr.com/flash/ I think it's a very good example of a full-blown flash website. An AJAX-killer maybe? (Don't get me wrong, I do like Ajax, I'm not fanatic kind of person :) Does anyone know who made this website (which company or person)? And could someone guess which technology was used? (Flash 8, Flash 9 or Flex2) Just thought I'd share :) Marcelo. ___ 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] bitmap RLE example
Zeh Fernando wrote: I have a project that creates comic strips, and the owner would like me to make it so that users can download an image of the comics they create. I have looked around, and found that this is possible to do in Flash 8, but there are some performance considerations. I've seen it mentioned a few times that you can help the problem, which seems to be tied mostly the time it will take to upload an uncompressed bitmap to a server, by compressing the bitmap stream using RLE or LZW. I haven't found any examples that I can follow that show or explain how to do that. Does anyone have an example of how I can compress a bitmap stream then upload it to a server (any server scripts in php to send that data back as an image file, are a bonus ;-) ). There are many AS classes that do LZW compression for you, and RLE could easily be done with new code. Depending on what kind of data you'll compress - ie, black white data - RLE is good enough. If not, LZW is the way to go, but you'll be spending *a lot* of time reading them compressing it. You would need the decoding done on the server side script too. The AS part is just half of the equation. LZW is standardized, though, so if you're going with LZW data, it might be easy to find LZW decoders in PHP. Another possible solution (depending on your case) would be to use AS3. It can do PNG generation natively and faster (so you'd have to upload the PNG data, then simply output it to a file when the PHP receives it). Anyhow, if you're looking for LZW in AS2, I would suggest this one: http://hosted.zeh.com.br/misc/classes/zeh/compression/LZW.as It's the one I've done for my own use, the difference from all others being that it has functionality to split the compression between frames instead of trying to do all at once (and freezing playback). Read the .AS file for usage examples. Zeh Sweet! Thanks for the link. Kevin N. ___ 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 is dead: Syntax Error, why?
You are missing the package level com.3Sixty.BIARegionMap.model.App but that is not the problem What is your classpath? Jon Bennett wrote: Have you defined: class core.Folder1.Folder2.App { // } At that location to import? I would suggest the Java style: com.company_name.project_name.package.class that's what I've been doing! I have a folder, which is Version1 inside that I have my FLA bia_region_map.fla Then I have a folder called 'as' which has an as file 'firstframe.as' then, I have the following structure: com/3Sixty/BIARegionMap/ inside of which I have: class com.3Sixty.BIARegionMap.App { // } does that help? Where am I going wrong! thanks, Jon ___ 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 is dead: Syntax Error, why?
You probably need to tell flash where to find your classes. If this is flash 8, open your .fla and select - Edit - Preferences - ActionScript - Language: Actionscript 2.0 Settings... (button) - Classpath: [+] (plus button) - type in: ./as (to open field) This will let flash look in that folder for your class packages - this affects all flash projects. If you want to set it on a project-level basis, select: - File - Publish Settings - Flash - Actionscript 2.0: Settings (button) And set it there! Good luck! If all else fails, post your code in a zip and we'll take a look. -Scott On 2/6/07, Jon Bennett [EMAIL PROTECTED] wrote: Have you defined: class core.Folder1.Folder2.App { // } At that location to import? I would suggest the Java style: com.company_name.project_name.package.class that's what I've been doing! I have a folder, which is Version1 inside that I have my FLA bia_region_map.fla Then I have a folder called 'as' which has an as file 'firstframe.as' then, I have the following structure: com/3Sixty/BIARegionMap/ inside of which I have: class com.3Sixty.BIARegionMap.App { // } does that help? Where am I going wrong! thanks, 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 -- : : ) 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] brain is dead: Syntax Error, why?
Good luck! If all else fails, post your code in a zip and we'll take a look. ahh, got ya. Think I'm going to go a quicker route, because I've only got till morning to sort this job (and it's only small!). I'll be back though soon for help getting this all correct. Thanks all! Jon ___ 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] RMTP port issue
I'm trying to connect a video player to a FMServer. Wich port can I use securely ( that connect every time ) I try : rtmp: 1935 ( connect only on some config due to firewall setting ) rtmp: 443 idem rtmpt: 80 ( idem and sometime when the connection succeeded the con. can closed very fast) and finally I've tryed rtmp: 80 with good results (...at this time, I want to make more test ) Is rtmp: 80 the killer port I can use in every possible context? Thxs. -- Laurent Untereiner skype : laurentuntereiner aim : luntereiner icq : 294429730 msn : [EMAIL PROTECTED] http://www.untereiner.com mes photos sur fotolia: http://www.fotolia.fr/p/116/partner/116 ___ 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] Tracking User progress through a presentation.
Right now it is 1 swf with multiple flvs but I will be doing another one that will involve multiple swfs. Should I adapt a loader bar to my tracking needs? I could use a database for tracking but I just need a little nudge on getting the tracking part started. Thanks, Mike -- Message: 3 Date: Tue, 6 Feb 2007 12:39:02 -0500 From: Andy Herrman [EMAIL PROTECTED] Subject: Re: [Flashcoders] Tracking User progress through a presentation. To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Is the tutorial/presentation a single SWF or is it split between a lot of files? If it's a single SWF then I don't see how cookies would help. -Andy On 2/6/07, Mike [EMAIL PROTECTED] wrote: Can anyone point me towards a tutorial on tracking and providing feedback to a user on where they are in the current tutorial/presentation. For instance if a tutorial has 5 sections and they have only completed 3 I want to be able to show their overall progress in relation to the entire tutorial.Kind of like a progress meter. Should I do this within Flash or with javascript and cookies? I want the user to be able to come back to a tutorial and pickup where they left off and I am thinking cookies would be the best method for tracking progress. - Kind Regards, Mike ___ 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] determining which object is displayed at a givenpoint
Ok, got it. Thanks for the suggestion. I tried this but it doesn't work with the third-party flash movie I am looking at. They have an movie clip with _alpha set to 0 that covers the stage at a depth higher than all other visible elements. As a result _droptarget is always set to that object. What I need is something that takes into account visibility. Any other thoughts on this? -- Vishal On 2/6/07, Mike Mountain [EMAIL PROTECTED] wrote: What he's saying is that _droptarget will tell you exactly what is at the top under the users mouse - but in order to use it you have to use startDrag to fool it in to working. Maybe you could drag an invisible clip around or something. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: 06 February 2007 16:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] determining which object is displayed at a givenpoint I don't understand what you're suggesting. The user is not dragging the movieclip. The idea is to write a function with a signature like: function getObjectAtPoint(xmouse:Number, ymouse:Number):Object ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ___ 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] Weird white box - help
Great!! that worked well... however, now my drop down menus fall behind the flash animation on the PC everything seems to work fine on the mac. Is there a trick to getting the menus to drop down over the animation while using SWFObject ??? view the problem here:http://www.visconinc.com/harvestweb02/ thanks for the help Liz On Feb 5, 2007, at 9:00 PM, Thomas Fowler wrote: Liz you need to use SWFObject to rectify the problem with the gray box. http://blog.deconcept.com/swfobject/ Enjoy... - Original Message - From: Liz [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, February 05, 2007 7:40 PM Subject: Re: [Flashcoders] Weird white box - help Thanks to Rakos, I have fixed the weird white box problem (thanks Rakos!!) ...now the client has more complaints. There is a gray box that surrounds my flash animation when the animation starts (THIS HAPPENS ONLY WITH IE ON THE PC) once the animation is clicked on ---the box goes away. You can witness this behavior with your own two eyes here: http://www.visconinc.com/harvesttest/ Can anyone help me intelligently explain this behavior to the client? Ideal situation, would be that there is a workaround so it is not visible ...but it seems like it has something to do with the way the Internet Explorer browser works on the PC. thank you Liz On Feb 5, 2007, at 2:47 AM, Rákos Attila wrote: LH Hi there, LH My flash animation should play on a page with a black LH background ...however when the page loads or if you hit refresh a LH big white box displays where the flash animation comes in. I've LH tried everything in the html (div using a black background, table LH using a black background) to try to cure the problem and I have LH made sure that my stage is black. LH LH Is this a bug with Flash or am I doing something wrong? Yes, you are doing something wrong and setting the stage's background color incorrectly, so the default color (white) will be taken. For the embed tag you can use the bgcolor attribute (however it is missing from your code), but for the object tag it should be set in a nested param: param name=bgcolor value=#00 / Attila ___ 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] determining which object is displayed at a givenpoint
You have your answer in your question ! :) the _alpha is set to 0, thus invisible but still with a _visible = true property. So check for also the _alpha value, not only the _visible value Vishal Kapur wrote: Ok, got it. Thanks for the suggestion. I tried this but it doesn't work with the third-party flash movie I am looking at. They have an movie clip with _alpha set to 0 that covers the stage at a depth higher than all other visible elements. As a result _droptarget is always set to that object. What I need is something that takes into account visibility. Any other thoughts on this? -- Vishal On 2/6/07, Mike Mountain [EMAIL PROTECTED] wrote: What he's saying is that _droptarget will tell you exactly what is at the top under the users mouse - but in order to use it you have to use startDrag to fool it in to working. Maybe you could drag an invisible clip around or something. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: 06 February 2007 16:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] determining which object is displayed at a givenpoint I don't understand what you're suggesting. The user is not dragging the movieclip. The idea is to write a function with a signature like: function getObjectAtPoint(xmouse:Number, ymouse:Number):Object ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ___ 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
Re: [Flashcoders] determining which object is displayed at a givenpoint
I should have clarified: in the original problem with 2 conflicting objects, _alpha is also set to 100 for both objects. On 2/6/07, Alain Rousseau [EMAIL PROTECTED] wrote: You have your answer in your question ! :) the _alpha is set to 0, thus invisible but still with a _visible = true property. So check for also the _alpha value, not only the _visible value Vishal Kapur wrote: Ok, got it. Thanks for the suggestion. I tried this but it doesn't work with the third-party flash movie I am looking at. They have an movie clip with _alpha set to 0 that covers the stage at a depth higher than all other visible elements. As a result _droptarget is always set to that object. What I need is something that takes into account visibility. Any other thoughts on this? -- Vishal On 2/6/07, Mike Mountain [EMAIL PROTECTED] wrote: What he's saying is that _droptarget will tell you exactly what is at the top under the users mouse - but in order to use it you have to use startDrag to fool it in to working. Maybe you could drag an invisible clip around or something. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: 06 February 2007 16:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] determining which object is displayed at a givenpoint I don't understand what you're suggesting. The user is not dragging the movieclip. The idea is to write a function with a signature like: function getObjectAtPoint(xmouse:Number, ymouse:Number):Object ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ___ 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
[Flashcoders] [ANN] AS3 Effects Framework
Guys I am creating an effects framework, something similar to scriptaculous. It is gonna be simple easy to use. What I am looking for is suggestions of what effects you guys would like included in it. Here's what I got so far: Blind In Blind Out Slide Left In Slide Left Out Slide Right In Slide Right Out Scale Grow Scale Shrink Let me know what else you guys want. Its going to be a real basic framework, tiny and easy to use. ___ 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] Weird white box - help
Thanks everyone, I got it to work by adding a few extra parameters. so.addParam(quality, low); so.addParam(wmode, transparent); thanks again, Liz On Feb 6, 2007, at 8:27 PM, Liz Hincks wrote: Great!! that worked well... however, now my drop down menus fall behind the flash animation on the PC everything seems to work fine on the mac. Is there a trick to getting the menus to drop down over the animation while using SWFObject ??? view the problem here:http://www.visconinc.com/harvestweb02/ thanks for the help Liz On Feb 5, 2007, at 9:00 PM, Thomas Fowler wrote: Liz you need to use SWFObject to rectify the problem with the gray box. http://blog.deconcept.com/swfobject/ Enjoy... - Original Message - From: Liz [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, February 05, 2007 7:40 PM Subject: Re: [Flashcoders] Weird white box - help Thanks to Rakos, I have fixed the weird white box problem (thanks Rakos!!) ...now the client has more complaints. There is a gray box that surrounds my flash animation when the animation starts (THIS HAPPENS ONLY WITH IE ON THE PC) once the animation is clicked on ---the box goes away. You can witness this behavior with your own two eyes here: http://www.visconinc.com/harvesttest/ Can anyone help me intelligently explain this behavior to the client? Ideal situation, would be that there is a workaround so it is not visible ...but it seems like it has something to do with the way the Internet Explorer browser works on the PC. thank you Liz On Feb 5, 2007, at 2:47 AM, Rákos Attila wrote: LH Hi there, LH My flash animation should play on a page with a black LH background ...however when the page loads or if you hit refresh a LH big white box displays where the flash animation comes in. I've LH tried everything in the html (div using a black background, table LH using a black background) to try to cure the problem and I have LH made sure that my stage is black. LH LH Is this a bug with Flash or am I doing something wrong? Yes, you are doing something wrong and setting the stage's background color incorrectly, so the default color (white) will be taken. For the embed tag you can use the bgcolor attribute (however it is missing from your code), but for the object tag it should be set in a nested param: param name=bgcolor value=#00 / Attila ___ 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
[Flashcoders] var (eventHandler)
Okay, I'm guessing it's a stupid question, so I'll get over it asap. I've never written a custom class before, and have recently started to code things in Flash which are much more complex, approaching application status, so I'm trying to wwrap my head around all of this OOP stuff. I keep running into something that I can't get though... using the VAR keyword when declaring event handlers, like this example from Object-Oriented Actionscript for Flash 8: var onEnterFrame:Function = doSomething; I've Googled my [EMAIL PROTECTED] off, and I can't get it to save my life, and this seemed like the best place to ask. Will one of you take a couple minutes out of your day to help a poor guy out? Thanks ec ___ 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] var (eventHandler)
It's possible you are getting confused in further details about event handling. There is some invisible stuff happening here that goes beyond just understanding classes and objects. Buttons and MovieClips are registered listeners of mouse events automatically. What this means is that an event broadcaster will call specific methods of any button or movie clip. By default, however, these methods do not exist -- that is, there are no such properties as onMouseMove, onRelease, etc. In a class, you would define methods (normally) in the class definition: class MyThing { function onRelease() { doSomething(); } } However with buttons and clips you often are dealing with an object (aka instance), rather than the class, so you can take advantage of ActionScript's allowing dynamic properties. This feature means you can add new methods and properties to object instances that were not defined in the class: var obj:Object = new Object(); obj.new_prop = foo; obj.doSomething = function () { trace something; } And so, with a button or clip, you can assign an event handler: my_mc.onRelease = function() { // respond to mouse click } Once this method exists in the object, it will respond to this event, which it has previously been receiving and ignoring. ___ 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] var (eventHandler)
Eric, The example you're referring to comes up when the authors of that text are explaining the concept of encapsulation. It's a way of creating an onEnterFrame event on the same timeline as the code. It doesn't actually have anything to do with classes. If you have a class that extends the movieClip class and want an object of that class to do something at each enterFrame event, you'd want to use something such as: class myMovieClips extends MovieClip { // PRIVATE METHODS private function doSomething():Void { // code here } // EVENT HANDLERS function onEnterFrame():Void { this.doSomething(); } } Make more sense? HTH! ...Rob _ Rob Emenecker Hairy Dog Digital 410.694.3575 (arf) 410.694.3550 (fax) www.HairyDogDigital.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric cash Sent: Tuesday, February 06, 2007 10:42 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] var (eventHandler) Okay, I'm guessing it's a stupid question, so I'll get over it asap. I've never written a custom class before, and have recently started to code things in Flash which are much more complex, approaching application status, so I'm trying to wwrap my head around all of this OOP stuff. I keep running into something that I can't get though... using the VAR keyword when declaring event handlers, like this example from Object-Oriented Actionscript for Flash 8: var onEnterFrame:Function = doSomething; I've Googled my [EMAIL PROTECTED] off, and I can't get it to save my life, and this seemed like the best place to ask. Will one of you take a couple minutes out of your day to help a poor guy out? Thanks ec ___ 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] determining which object is displayed at agivenpoint
I'm not sure how your app is structured but if you can't put your movieclips above this 3rd party movieclip you wont be able to use _droptarget (as you've already discovered) unless you can set that interfering movieclips visibility to false. I'm not sure how / why you want to check what mc the mouse is over, but you could also just manually set movieclips to set an over variable onRollOver / onRollOut or onPress. The reason why I'm suggesting one of these methods is that all other options will be much more complex, processor intensive and time consuming. Unfortunately there is no getMovieClipAt(x,y) method. Your best bet is to think about what core functionality you really need and go with the cheapest solution. So if your goal isn't as broad as knowing EVERY movieclips position / depth maybe you can put a few invisible movieclips over the 3rd party clip that represents the position of the mcs you really care about. -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: Tuesday, February 06, 2007 5:26 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] determining which object is displayed at agivenpoint Ok, got it. Thanks for the suggestion. I tried this but it doesn't work with the third-party flash movie I am looking at. They have an movie clip with _alpha set to 0 that covers the stage at a depth higher than all other visible elements. As a result _droptarget is always set to that object. What I need is something that takes into account visibility. Any other thoughts on this? -- Vishal On 2/6/07, Mike Mountain [EMAIL PROTECTED] wrote: What he's saying is that _droptarget will tell you exactly what is at the top under the users mouse - but in order to use it you have to use startDrag to fool it in to working. Maybe you could drag an invisible clip around or something. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: 06 February 2007 16:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] determining which object is displayed at a givenpoint I don't understand what you're suggesting. The user is not dragging the movieclip. The idea is to write a function with a signature like: function getObjectAtPoint(xmouse:Number, ymouse:Number):Object ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us.