Re: [Flashcoders] ObjectEncoding for LocalConnection
According to the beta 3 livedocs it's still there: http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/ObjectEncoding.html Except for the NetStream class: http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes quote You can no longer set the objectEncoding for a NetStream; it uses the objectEncoding of the NetConnection that was passed to its constructor /quote regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 7:55 AM Subject: [Flashcoders] ObjectEncoding for LocalConnection When did this get taken out? Here's a doc, apparently old, that lists LocalConnection as a class that has the defualtObjectEncoding property, but it no longer does: ByteArray, LocalConnection, NetConnection, NetStream and SharedObject all implement the ObjectEncoding class and static defaultObjectEncoding, which control how objects are represented in the Action Message Format (AMF). The ObjectEncoding class allows classes that serialize objects (such as NetStream, NetConnection, SharedObject, LocalConnection, and ByteArray) to interoperate with the prior versions of ActionScript. Values can be set with ObjectEncoding::AMF0 for the ActionScript 1.0 and ActionScript 2.0 AMF, or ObjectEncoding::AMF3 for the ActionScript 3.0 AMF. Does anyone have any more information on this? What the status might be at final launch? -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ControlManager implementation for Moock MVC framework
You might want to look at ActionStep which has a framework for MVC that you could use directly or as a model. All the little gotcha's have all been worked out. Ron Spiral Universe wrote: Hi. I'm trying to build an app based on the MVC framework provided here: http://www.adobe.com/devnet/flash/articles/mv_controller.html Basicly everything would be ok except that I would need to extend it to use a super controller which dispatches calls to the actual controller of the view requesting control (something like ControlManager in Smalltalk). Anyone came across somthing like this, or could explain at basic level how could I implement smth like the ControlManager, but not hurting the framework (at all, or at least minimal) ? - Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Hyphenation
Hi, I need a generic solution for the hyphenation of words that conforms to the grammar of a specific language. I've searched the web and found nothing that would help. Does anybody know of such a solution? Thanks Rui Duarte Silva Senior Flash Developer / User Experience Developer MNI - ALERT www.alert-online.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] embed pdf
You might consider Flash Paper instead. It embeds easily. Integration New Media has a product to embed pdfs into Director Authorware, but I don't believe they've released one for Flash. Good luck. M. From: [EMAIL PROTECTED] on behalf of Steve Rachels Sent: Sat 5/20/2006 1:53 PM To: Flashcoders mailing list Subject: [Flashcoders] embed pdf Is there a way to embed a pdf file into flash? Searched google, very little helpful came up. Thanks in advance. _Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Hyphenation
Hi, I need a generic solution for the hyphenation of words that conforms to the grammar of a specific language. I've searched the web and found nothing that would help. Does anybody know of such a solution? I don't know, but I doubt you'll find one that's completely reliable. Certainly in English it's easy to create ambiguous words (eg 'unionised', 'superbowl', 'weeknight'). 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] ObjectEncoding for LocalConnection
Hey Muz, thanks for taking the time ;) I saw this page, as I usually visit live docs when the local version doesn't have the answer. This line in the link you sent is different from the one I sent earlier: The ObjectEncoding class allows classes that serialize objects (such as NetStream, NetConnection, SharedObject, and ByteArray) to interoperate with prior versions of ActionScript. - Note how LocalConnection's not mentioned there. And in the LocalConnection class, defaultObjectEncoding / objectEncoding is not included in the list of properties: http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/LocalConnection.html#methodSummary I've tried setting it with: lc.defaultObjectEncoding = ObjectEncoding.AMF0; lc[defaultObjectEncoding] = ObjectEncoding.AMF0; lc.objectEncoding = ObjectEncoding.AMF0; lc[objectEncoding] = ObjectEncoding.AMF0; also, I can't seem to locate the classes on my harddrive, does anyone know where they're at? Thanks again Muz JG On 5/22/06, Muzak [EMAIL PROTECTED] wrote: According to the beta 3 livedocs it's still there: http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/ObjectEncoding.html Except for the NetStream class: http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes quote You can no longer set the objectEncoding for a NetStream; it uses the objectEncoding of the NetConnection that was passed to its constructor /quote regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 7:55 AM Subject: [Flashcoders] ObjectEncoding for LocalConnection When did this get taken out? Here's a doc, apparently old, that lists LocalConnection as a class that has the defualtObjectEncoding property, but it no longer does: ByteArray, LocalConnection, NetConnection, NetStream and SharedObject all implement the ObjectEncoding class and static defaultObjectEncoding, which control how objects are represented in the Action Message Format (AMF). The ObjectEncoding class allows classes that serialize objects (such as NetStream, NetConnection, SharedObject, LocalConnection, and ByteArray) to interoperate with the prior versions of ActionScript. Values can be set with ObjectEncoding::AMF0 for the ActionScript 1.0 and ActionScript 2.0 AMF, or ObjectEncoding::AMF3 for the ActionScript 3.0 AMF. Does anyone have any more information on this? What the status might be at final launch? -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Did Adobe/MM break loadSound streaming?
The firewall software used by home users can be an issue. We have checked our flash sites from home and have found installed firewalls such as ZoneAlarm cause mp3's to not be played. Jonathan Berry wrote: Actually, yes. We are getting home users who do not get the stream, so I don't think that is the issue, especially since some people here in-house do get it. We looked at the TCP/IP traffic using Ethereal and saw that we are receiving the data; it just isn't being played on some computers. On 5/19/06, Merrill, Jason [EMAIL PROTECTED] wrote: With the people who do not get the stream, are they able to get MP3s from other sites? Some organizations/companies block any MP3 from streaming and it's sometimes a silent failure with no warning messages. Just a thought. Jason Merrill Bank of America Learning Organization Effectiveness Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Margo Powell Applications Analyst Department of Nutrition University of North Carolina at Chapel Hill 800 Eastowne Dr, Suite 100 Chapel Hill, NC 27514 919-408-3320 ext 30 [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] list file into a remote folder
Hi, how can i list all files contained into a remote folder? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Character enconding problem PHP-Flash (AMFPHP)
yes, through Gateway::setCharsetHandler (there's an explanation in the Gateway.php file itself) otherwise look at this: http://www.sephiroth.it/tutorials/flashPHP/amfphp_iconv/ Marcelo de Moraes Serpa ha scritto: Hello! I´m using CakePHP as the application server and the admin system is all in html (built with Cake) - all the data is entered through this interface. The problem is that flash uses UTF8 which is different from the enconding Cake uses (it seems)H. I would really love to know if AMFPP has something to deal with that issue automatically, otherwise, I would have to convert each string on each end manually... Cheers, - 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 -- Alessandro Crugnola Flash | PHP | Python developer http://www.blumerstudio.com http://www.sephiroth.it +39 3939402645 +39 0236522445 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] list file into a remote folder
You could use a server side script, such as PHP or ASP, and then pass the results to flash. Rodrigo On 5/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, how can i list all files contained into a remote folder? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] video card suggestions
I'm creating a digital signage playback application that's running on an HP machine and has to play across three monitors -- lcd screens at 1280x768, playing back in Zinc. When there's a bit of movement (ie for a test we're looking at hotelqt.com) -- there's quite a bit of tearing on the screens. Of course I don't see anything on my G5 (even an old 1.8 dual!). Right now we've got 2 Nvidia cards in that pc, one is a dualhead, and the other is a single -- and all of them have the tearing. I do know that the one Nvidia card - a 5200 -- is low rated... So suggestions as to cards -- pci cards -- that will deal well with the 3 screen setup or is the tearing something inherant with Windows? Thanks all. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Character enconding problem PHP-Flash (AMFPHP)
Hi Alessandro! Thanks a lot for the info ;) Clemos: I´m already using CakeAMFPHP! =) Thanks, - Marcelo. On 5/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: yes, through Gateway::setCharsetHandler (there's an explanation in the Gateway.php file itself) otherwise look at this: http://www.sephiroth.it/tutorials/flashPHP/amfphp_iconv/ Marcelo de Moraes Serpa ha scritto: Hello! I´m using CakePHP as the application server and the admin system is all in html (built with Cake) - all the data is entered through this interface. The problem is that flash uses UTF8 which is different from the enconding Cake uses (it seems)H. I would really love to know if AMFPP has something to deal with that issue automatically, otherwise, I would have to convert each string on each end manually... Cheers, - 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 -- Alessandro Crugnola Flash | PHP | Python developer http://www.blumerstudio.com http://www.sephiroth.it +39 3939402645 +39 0236522445 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Image in HTML-TextField doesn't get loaded
Hi Sönke, Try using the full path to the image. I've had some issues with relative paths in the past. Sometimes it does not show up if I have used or I leave out the www in the url. Judah Sönke Rohde wrote: Hi, I got the problem, that images within HTML-Textfields don't show up. When I test the site on my local webserver all works fine but not online on my server. I can't imagin any problems with my server or any chmod issues. Here an example: The part within the content-node is set as text: content![CDATA[pimg src=img/test.jpgHere is text./p]] /content Tested with Flash Player 8 9. Any ideas? Sönke ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Image in HTML-TextField doesn't get loaded
is your swf in the same directory as your html? the path must match from your html not your swf. eugen Am 22.05.2006 um 16:16 schrieb judah: Hi Sönke, Try using the full path to the image. I've had some issues with relative paths in the past. Sometimes it does not show up if I have used or I leave out the www in the url. Judah Sönke Rohde wrote: Hi, I got the problem, that images within HTML-Textfields don't show up. When I test the site on my local webserver all works fine but not online on my server. I can't imagin any problems with my server or any chmod issues. Here an example: The part within the content-node is set as text: content![CDATA[pimg src=img/test.jpgHere is text./p]] /content Tested with Flash Player 8 9. Any ideas? Sönke ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com plugisto ... eugen pflüger alexanderstr. 109 70180 stuttgart fon +49.711.6739797 mobil +49.177.6428272 e-mail [EMAIL PROTECTED] ... http://www.plugisto.net http://itself.pmalc.de http://www.lifeperformance.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ControlManager implementation for Moock MVC framework
There´s also arp, that´s somewhat MVC based ;) (next version should be fully MVC-based, and there are mods that make it fully MVC right now (ARPX)) http://www.osflash.org/arp On 5/22/06, Ron Wheeler [EMAIL PROTECTED] wrote: You might want to look at ActionStep which has a framework for MVC that you could use directly or as a model. All the little gotcha's have all been worked out. Ron Spiral Universe wrote: Hi. I'm trying to build an app based on the MVC framework provided here: http://www.adobe.com/devnet/flash/articles/mv_controller.html Basicly everything would be ok except that I would need to extend it to use a super controller which dispatches calls to the actual controller of the view requesting control (something like ControlManager in Smalltalk). Anyone came across somthing like this, or could explain at basic level how could I implement smth like the ControlManager, but not hurting the framework (at all, or at least minimal) ? - Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] video card suggestions
Tearing is inherant with the flash player in general M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: 22 May 2006 14:56 To: Flashcoders mailing list Subject: [Flashcoders] video card suggestions I'm creating a digital signage playback application that's running on an HP machine and has to play across three monitors -- lcd screens at 1280x768, playing back in Zinc. When there's a bit of movement (ie for a test we're looking at hotelqt.com) -- there's quite a bit of tearing on the screens. Of course I don't see anything on my G5 (even an old 1.8 dual!). Right now we've got 2 Nvidia cards in that pc, one is a dualhead, and the other is a single -- and all of them have the tearing. I do know that the one Nvidia card - a 5200 -- is low rated... So suggestions as to cards -- pci cards -- that will deal well with the 3 screen setup or is the tearing something inherant with Windows? Thanks all. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Quiz Website Test - All welcome
HI all If anyone has 5 minutes to spare, I would love some people to play a competition on my quiz website www.quwiz.co.uk You need to register first as a member, then register for a competition which I have entitled: ** Feel free to use dummy details to register an account. (you still need a valid email address for member registration) F COMM I need to test the following. 1 - FlashComm Server responses and game engine. 2 - Whether you find it easy to understand the competition process and play the competition without any probelms 3. Any other problems you may encounter. All Suggestions/Opinions/Slagging welcome :) See you there and many thanks Johnny Zen www.quwiz.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] cellRender and editField questions
Here's a snippet from one of the dg's I have to edit...HTH var mfrAdmin_dg:DataGrid; var mfrAdmin_dgListener:Object = new Object(); mfrAdmin_dgListener.change = function(evt:Object) { //trace(Selected MFR = +evt.target.selectedItem.manufacturer); //trace(Selected USR = +evt.target.selectedItem.username); //trace(Selected PWD = +evt.target.selectedItem.password); //trace(Selected VFD = +evt.target.selectedItem.verified); //trace(DS Length = +mfrAdmin_ds.length); var Verified:String = new String(evt.target.selectedItem.verified) // Make DataGrid read-only mfrAdmin_dg.editable = false; if (Verified == true) { // Make DataGrid read-only mfrAdmin_dg.editable = false; submit_btn.enabled = false; var notify = Alert.show(Credentials are verified:\n no changes allowed., Alert.OK, this); notify.title = MFR Credentials - Verified; notify.move(330,270); }else if (Verified == false) { // Make DataGrid editable mfrAdmin_dg.editable = true; // Make the Username Password column editable mfrAdmin_dg.getColumnAt(1).editable = true; mfrAdmin_dg.getColumnAt(2).editable = true; _root.application.breadcrumb_mc.bc1_mc._alpha = 50; _root.application.breadcrumb_mc.bc2_mc._alpha = 50; submit_btn.enabled = true; } }; mfrAdmin_dg.addEventListener(change, mfrAdmin_dgListener); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, May 22, 2006 10:27 AM To: Flashcoders mailing list Subject: [Flashcoders] cellRender and editField questions Hey all - I've got a dataGrid that I'm filling with custom cells -- one is the multiline cell render example from Macromedia. How exactly do I deal with an editField for this so that when one doubleclicks it they can change the text? Any help appreciated. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ObjectEncoding for LocalConnection
Yeah that's exactly it, trying to get Flex front end to communicate with Xray connector in flash 8 swf. Right now, I set up a simple LC in a basic Flex front end that has a method for listening for trace statements and while it connects just fine, nothing is received on the method defined. I assume since LC uses AMF that it'd have to be set to AMF0 for the communication to work. Maybe I'm missing something simple, but I've tripple checked things like *when* the connection is made in relation to when the object is instantiated (hence the custom method being available before connecting). Any tricks you used when you did it? THanks again Muz, JG On 5/22/06, Muzak [EMAIL PROTECTED] wrote: DOH.. LocalConnection... Thought you were talking about NetConnection.. Does LocalConnection need objectEncoding? Are you trying to have a Flex swf communicate with a Flash swf? Did that in beta 2 which worked fine without setting objectEncoding. Classes are probably in one of the .swc files: C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\libs C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\locale\en_US Some classes here (.as files). No flash.net package though.. C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\source\mx regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 2:22 PM Subject: Re: [Flashcoders] ObjectEncoding for LocalConnection Hey Muz, thanks for taking the time ;) I saw this page, as I usually visit live docs when the local version doesn't have the answer. This line in the link you sent is different from the one I sent earlier: The ObjectEncoding class allows classes that serialize objects (such as NetStream, NetConnection, SharedObject, and ByteArray) to interoperate with prior versions of ActionScript. - Note how LocalConnection's not mentioned there. And in the LocalConnection class, defaultObjectEncoding / objectEncoding is not included in the list of properties: http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/LocalConnection.html#methodSummary I've tried setting it with: lc.defaultObjectEncoding = ObjectEncoding.AMF0; lc[defaultObjectEncoding] = ObjectEncoding.AMF0; lc.objectEncoding = ObjectEncoding.AMF0; lc[objectEncoding] = ObjectEncoding.AMF0; also, I can't seem to locate the classes on my harddrive, does anyone know where they're at? Thanks again Muz JG On 5/22/06, Muzak [EMAIL PROTECTED] wrote: According to the beta 3 livedocs it's still there: http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/ObjectEncoding.html Except for the NetStream class: http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes quote You can no longer set the objectEncoding for a NetStream; it uses the objectEncoding of the NetConnection that was passed to its constructor /quote regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 7:55 AM Subject: [Flashcoders] ObjectEncoding for LocalConnection When did this get taken out? Here's a doc, apparently old, that lists LocalConnection as a class that has the defualtObjectEncoding property, but it no longer does: ByteArray, LocalConnection, NetConnection, NetStream and SharedObject all implement the ObjectEncoding class and static defaultObjectEncoding, which control how objects are represented in the Action Message Format (AMF). The ObjectEncoding class allows classes that serialize objects (such as NetStream, NetConnection, SharedObject, LocalConnection, and ByteArray) to interoperate with the prior versions of ActionScript. Values can be set with ObjectEncoding::AMF0 for the ActionScript 1.0 and ActionScript 2.0 AMF, or ObjectEncoding::AMF3 for the ActionScript 3.0 AMF. Does anyone have any more information on this? What the status might be at final launch? -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] video card suggestions
Seems odd that it's not noticeable in the same way on the mac os though... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Passing TextField Instance Name to Function
Hello all. This is probably very simple. I'm trying to pass the instance name of a textfield to a setTextColor function which applies a TextFormat. The function takes 4 parameters, the new format name, the textfield instance name, the textfield color, and the textfield alignment. Everything is passed correctly except for the textfield instance name. The absolute path is passed, which means _level0. is appended to the beginning of the full path. So for instance, I pass leftInfoClip.topLeftTabs.leftTab.tabTitle, where tabTitle is the actual textfield. when I pass it to the setTextColor function and trace it, _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle is returned. This would be fine except for when I try and evaluate the variable inside the function with _root[var], it fails. See below: setTextColor(topLeftTab,leftInfoClip.topLeftTabs.leftTab.tabTitle,0x00,left); function setTextColor(formatName, fieldClip, col, align) { _root[formatName] = new TextFormat(); _root[formatName].color = col; _root[formatName].align = align; //this is the problem here. I can't remove _root, because that is bad syntax. this also doesn't work. so I'm left with _root. + _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle. _root[fieldClip].setTextFormat(_root[formatName]); } Thanks, Brandon Lee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ObjectEncoding for LocalConnection
DOH.. LocalConnection... Thought you were talking about NetConnection.. Does LocalConnection need objectEncoding? Are you trying to have a Flex swf communicate with a Flash swf? Did that in beta 2 which worked fine without setting objectEncoding. Classes are probably in one of the .swc files: C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\libs C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\locale\en_US Some classes here (.as files). No flash.net package though.. C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\source\mx regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 2:22 PM Subject: Re: [Flashcoders] ObjectEncoding for LocalConnection Hey Muz, thanks for taking the time ;) I saw this page, as I usually visit live docs when the local version doesn't have the answer. This line in the link you sent is different from the one I sent earlier: The ObjectEncoding class allows classes that serialize objects (such as NetStream, NetConnection, SharedObject, and ByteArray) to interoperate with prior versions of ActionScript. - Note how LocalConnection's not mentioned there. And in the LocalConnection class, defaultObjectEncoding / objectEncoding is not included in the list of properties: http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/LocalConnection.html#methodSummary I've tried setting it with: lc.defaultObjectEncoding = ObjectEncoding.AMF0; lc[defaultObjectEncoding] = ObjectEncoding.AMF0; lc.objectEncoding = ObjectEncoding.AMF0; lc[objectEncoding] = ObjectEncoding.AMF0; also, I can't seem to locate the classes on my harddrive, does anyone know where they're at? Thanks again Muz JG On 5/22/06, Muzak [EMAIL PROTECTED] wrote: According to the beta 3 livedocs it's still there: http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/ObjectEncoding.html Except for the NetStream class: http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes quote You can no longer set the objectEncoding for a NetStream; it uses the objectEncoding of the NetConnection that was passed to its constructor /quote regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 7:55 AM Subject: [Flashcoders] ObjectEncoding for LocalConnection When did this get taken out? Here's a doc, apparently old, that lists LocalConnection as a class that has the defualtObjectEncoding property, but it no longer does: ByteArray, LocalConnection, NetConnection, NetStream and SharedObject all implement the ObjectEncoding class and static defaultObjectEncoding, which control how objects are represented in the Action Message Format (AMF). The ObjectEncoding class allows classes that serialize objects (such as NetStream, NetConnection, SharedObject, LocalConnection, and ByteArray) to interoperate with the prior versions of ActionScript. Values can be set with ObjectEncoding::AMF0 for the ActionScript 1.0 and ActionScript 2.0 AMF, or ObjectEncoding::AMF3 for the ActionScript 3.0 AMF. Does anyone have any more information on this? What the status might be at final launch? -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ObjectEncoding for LocalConnection
Just tried it again in beta 3 and works fine. Uploaded the sample: http://www.muzakdeezign.com/flex2/localconn.zip Note however that I'm sending *from flex to flash* You're looking for the opposite right? Haven't tried that yet, but should work just the same (AFAIK). regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 4:51 PM Subject: Re: [Flashcoders] ObjectEncoding for LocalConnection Yeah that's exactly it, trying to get Flex front end to communicate with Xray connector in flash 8 swf. Right now, I set up a simple LC in a basic Flex front end that has a method for listening for trace statements and while it connects just fine, nothing is received on the method defined. I assume since LC uses AMF that it'd have to be set to AMF0 for the communication to work. Maybe I'm missing something simple, but I've tripple checked things like *when* the connection is made in relation to when the object is instantiated (hence the custom method being available before connecting). Any tricks you used when you did it? THanks again Muz, JG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] That yellow focus rectangle
I'm looking for relief from the yellow focus rectangle that happens to movie clips when they gain focus in my app. I came across this discussion from 2004http://weblogs.macromedia.com/accessibility/archives/2004/08/simple_text_nav.cfm(see simple focus) but am curious if there is now a standard way of approaching this. Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ObjectEncoding for LocalConnection
awesome, thank you Muz! I'll check out the sample. Thanks for your help on this! JG On 5/22/06, Muzak [EMAIL PROTECTED] wrote: Just tried it again in beta 3 and works fine. Uploaded the sample: http://www.muzakdeezign.com/flex2/localconn.zip Note however that I'm sending *from flex to flash* You're looking for the opposite right? Haven't tried that yet, but should work just the same (AFAIK). regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 4:51 PM Subject: Re: [Flashcoders] ObjectEncoding for LocalConnection Yeah that's exactly it, trying to get Flex front end to communicate with Xray connector in flash 8 swf. Right now, I set up a simple LC in a basic Flex front end that has a method for listening for trace statements and while it connects just fine, nothing is received on the method defined. I assume since LC uses AMF that it'd have to be set to AMF0 for the communication to work. Maybe I'm missing something simple, but I've tripple checked things like *when* the connection is made in relation to when the object is instantiated (hence the custom method being available before connecting). Any tricks you used when you did it? THanks again Muz, JG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Passing TextField Instance Name to Function
I just created three textfields on the stage and named them fieldClip, fieldClip1 and fieldClip2. The following rewritten code of yours worked fine. Is this what you were trying to accomplish? Gerry code function setTextColor(formatName, fieldClip, col, align) { formatName = new TextFormat(); formatName.color = col; formatName.align = align; fieldClip.setTextFormat(formatName); } fieldClip.text = testing color; fieldClip1.text = testing color 1; fieldClip2.text = testing color 2; _root.onLoad = function(){ setTextColor(myColor,fieldClip1,0x99,left); } /code On May 22, 2006, at 11:04 AM, Brandon Krakowsky/MTC wrote: Hello all. This is probably very simple. I'm trying to pass the instance name of a textfield to a setTextColor function which applies a TextFormat. The function takes 4 parameters, the new format name, the textfield instance name, the textfield color, and the textfield alignment. Everything is passed correctly except for the textfield instance name. The absolute path is passed, which means _level0. is appended to the beginning of the full path. So for instance, I pass leftInfoClip.topLeftTabs.leftTab.tabTitle, where tabTitle is the actual textfield. when I pass it to the setTextColor function and trace it, _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle is returned. This would be fine except for when I try and evaluate the variable inside the function with _root[var], it fails. See below: setTextColor(topLeftTab,leftInfoClip.topLeftTabs.leftTab.tabTitle, 0x00,left); function setTextColor(formatName, fieldClip, col, align) { _root[formatName] = new TextFormat(); _root[formatName].color = col; _root[formatName].align = align; //this is the problem here. I can't remove _root, because that is bad syntax. this also doesn't work. so I'm left with _root. + _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle. _root[fieldClip].setTextFormat(_root[formatName]); } Thanks, Brandon Lee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Passing TextField Instance Name to Function
Here's another... Using your movieclip path I have this working... code function setTextColor(formatName, fieldClip, col, align) { formatName = new TextFormat(); formatName.color = col; formatName.align = align; fieldClip.setTextFormat(formatName); } leftInfoClip.topLeftTabs.leftTab.tabTitle.text = testing color; _root.onLoad = function(){ //just to test that the function is called setTextColor(myColor,leftInfoClip.topLeftTabs.leftTab.tabTitle, 0x99,left); } /code Gerry ... http://www.thespikeranch.com Certified Macromedia Flash MX Designer ... On May 22, 2006, at 11:04 AM, Brandon Krakowsky/MTC wrote: Hello all. This is probably very simple. I'm trying to pass the instance name of a textfield to a setTextColor function which applies a TextFormat. The function takes 4 parameters, the new format name, the textfield instance name, the textfield color, and the textfield alignment. Everything is passed correctly except for the textfield instance name. The absolute path is passed, which means _level0. is appended to the beginning of the full path. So for instance, I pass leftInfoClip.topLeftTabs.leftTab.tabTitle, where tabTitle is the actual textfield. when I pass it to the setTextColor function and trace it, _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle is returned. This would be fine except for when I try and evaluate the variable inside the function with _root[var], it fails. See below: setTextColor(topLeftTab,leftInfoClip.topLeftTabs.leftTab.tabTitle, 0x00,left); function setTextColor(formatName, fieldClip, col, align) { _root[formatName] = new TextFormat(); _root[formatName].color = col; _root[formatName].align = align; //this is the problem here. I can't remove _root, because that is bad syntax. this also doesn't work. so I'm left with _root. + _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle. _root[fieldClip].setTextFormat(_root[formatName]); } Thanks, Brandon Lee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scoping Issue with a Function - Help, please
Hi: Can someone help me with a scoping issue? SWF A is being loaded into SWF B. Currently, there's a function located in SWF A that is triggered by a user clicking on a movieclip in SWF A. Basically, I am trying to make it trigger from a button in SWF B, instead of triggering by a button in SWF A. When a user clicks Button B (located on SWF B), I would like it to call the function located in SWF A. This function cause a menu to slide from the left side. Could you please cc: me directly as well on your reply: [EMAIL PROTECTED] Thanks, Loren The only real mistake is the one from which we learn nothing. - John Powell ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scoping Issue with a Function - Help, please
Hello :) use mx.utils.Delegate class :) [code] myButton.onPress = Delegate.create(_root, _root.action) ; [/code] With Delegate.create method you can create a virtual method with your scope and your method. EKA+ :) 2006/5/22, Loren R. Elks [EMAIL PROTECTED]: Hi: Can someone help me with a scoping issue? SWF A is being loaded into SWF B. Currently, there's a function located in SWF A that is triggered by a user clicking on a movieclip in SWF A. Basically, I am trying to make it trigger from a button in SWF B, instead of triggering by a button in SWF A. When a user clicks Button B (located on SWF B), I would like it to call the function located in SWF A. This function cause a menu to slide from the left side. Could you please cc: me directly as well on your reply: [EMAIL PROTECTED] Thanks, Loren The only real mistake is the one from which we learn nothing. - John Powell ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problems loading an image into a movieclip
Hi, i have a movie with a button and a movieclip. I want that when i click the button an external image is visualized into the movieclip. I called the movieclip instance ic and in add this code to the button : on(click) { loadMovie(penguin.bmp,ic); } the problem is that the movieClip became white but the image is not visualized... Ehat's wrong? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] cellRender and editField questions
Not exactly, but I appreciate the post. My problem is that even if I set something as editable, I'm not getting a textField where one can enter the data. For example in this tutorial: http://www.flash-db.com/Tutorials/cellrenderer/ If you doubleclick the car icon, you get a textField to enter in text. But in the iconCellRender.as I can't find anything that has to do with creating that textfield, etc. I want to have multiple things like this in a grid - something that someone can double click and change... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Passing TextField Instance Name to Function
Wacky! That works with no brackets at all and fieldClip.setTextFormat is evaluated as leftInfoClip.topLeftTabs.leftTab.tabTitle.setTextFormat. You got it! Thank you very much, Brandon Gerry Creighton [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/22/2006 12:07 PM Please respond to Flashcoders mailing list flashcoders@chattyfig.figleaf.com To Flashcoders mailing list flashcoders@chattyfig.figleaf.com cc Subject Re: [Flashcoders] Passing TextField Instance Name to Function Here's another... Using your movieclip path I have this working... code function setTextColor(formatName, fieldClip, col, align) { formatName = new TextFormat(); formatName.color = col; formatName.align = align; fieldClip.setTextFormat(formatName); } leftInfoClip.topLeftTabs.leftTab.tabTitle.text = testing color; _root.onLoad = function(){ //just to test that the function is called setTextColor(myColor,leftInfoClip.topLeftTabs.leftTab.tabTitle, 0x99,left); } /code Gerry ... http://www.thespikeranch.com Certified Macromedia Flash MX Designer ... On May 22, 2006, at 11:04 AM, Brandon Krakowsky/MTC wrote: Hello all. This is probably very simple. I'm trying to pass the instance name of a textfield to a setTextColor function which applies a TextFormat. The function takes 4 parameters, the new format name, the textfield instance name, the textfield color, and the textfield alignment. Everything is passed correctly except for the textfield instance name. The absolute path is passed, which means _level0. is appended to the beginning of the full path. So for instance, I pass leftInfoClip.topLeftTabs.leftTab.tabTitle, where tabTitle is the actual textfield. when I pass it to the setTextColor function and trace it, _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle is returned. This would be fine except for when I try and evaluate the variable inside the function with _root[var], it fails. See below: setTextColor(topLeftTab,leftInfoClip.topLeftTabs.leftTab.tabTitle, 0x00,left); function setTextColor(formatName, fieldClip, col, align) { _root[formatName] = new TextFormat(); _root[formatName].color = col; _root[formatName].align = align; //this is the problem here. I can't remove _root, because that is bad syntax. this also doesn't work. so I'm left with _root. + _level0.leftInfoClip.topLeftTabs.leftTab.tabTitle. _root[fieldClip].setTextFormat(_root[formatName]); } Thanks, Brandon Lee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problems loading an image into a movieclip
Hi ! Try: on(click) { ic.loadMovie(penguin.bmp); } On 5/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i have a movie with a button and a movieclip. I want that when i click the button an external image is visualized into the movieclip. I called the movieclip instance ic and in add this code to the button : on(click) { loadMovie(penguin.bmp,ic); } the problem is that the movieClip became white but the image is not visualized... Ehat's wrong? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problems loading an image into a movieclip
this.createEmptyMovieClip(container_mc, 10); container_mc.loadMovie(penguin.bmp); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, May 22, 2006 12:33 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] problems loading an image into a movieclip Hi, i have a movie with a button and a movieclip. I want that when i click the button an external image is visualized into the movieclip. I called the movieclip instance ic and in add this code to the button : on(click) { loadMovie(penguin.bmp,ic); } the problem is that the movieClip became white but the image is not visualized... Ehat's wrong? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] cellRender and editField questions
Maybe I spoke too soon - is the editableLabel just an inherent part of a UIComponent? Maybe it's the way I'm creating the columns that is the problem; I just set the carDB icon column to editable = false and it shut it off properly... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problems loading an image into a movieclip
You probably don't see the image because you can't load BMP's in to Flash... Only SWF, JPEG, GIF or PNG if you're using Flash 8. When targeting for older Flash versions, you can only load SWF JPEG's. Serge Op 22-mei-06, om 18:32 heeft [EMAIL PROTECTED] [EMAIL PROTECTED] het volgende geschreven: Hi, i have a movie with a button and a movieclip. I want that when i click the button an external image is visualized into the movieclip. I called the movieclip instance ic and in add this code to the button : on(click) { loadMovie(penguin.bmp,ic); } the problem is that the movieClip became white but the image is not visualized... Ehat's wrong? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] cellRender and editField questions
I see...I looked at the example...stupid question is your dg.editable = true? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, May 22, 2006 12:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] cellRender and editField questions Not exactly, but I appreciate the post. My problem is that even if I set something as editable, I'm not getting a textField where one can enter the data. For example in this tutorial: http://www.flash-db.com/Tutorials/cellrenderer/ If you doubleclick the car icon, you get a textField to enter in text. But in the iconCellRender.as I can't find anything that has to do with creating that textfield, etc. I want to have multiple things like this in a grid - something that someone can double click and change... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
Ok if I create a datagrid and assign a dataprovider, all the datagrid components are fields, but only the first colun is editable -- I've tried doing dg.getColumnAt(2).editable = true both before and after the dataProvider set, but it's always just the first column that remains editable... what is it I'm missing? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] That yellow focus rectangle
_focusrect = false; Should do it. On 5/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I'm looking for relief from the yellow focus rectangle that happens to movie clips when they gain focus in my app. I came across this discussion from 2004 http://weblogs.macromedia.com/accessibility/archives/2004/08/simple_text_nav.cfm (see simple focus) but am curious if there is now a standard way of approaching this. Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problems loading an image into a movieclip
try .jpg instead flash loads those in perfectly. Tony... - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, May 22, 2006 9:32 AM Subject: [Flashcoders] problems loading an image into a movieclip Hi, i have a movie with a button and a movieclip. I want that when i click the button an external image is visualized into the movieclip. I called the movieclip instance ic and in add this code to the button : on(click) { loadMovie(penguin.bmp,ic); } the problem is that the movieClip became white but the image is not visualized... Ehat's wrong? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
As long as the grid itself and the columns within are set to editable, the grid through the IDE or programmatically and the columns programmatically, you should not have any problems accessing a field within...I'd have to look at the code... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, May 22, 2006 12:52 PM To: Flashcoders mailing list Subject: [Flashcoders] dataGrid and editable text... Ok if I create a datagrid and assign a dataprovider, all the datagrid components are fields, but only the first colun is editable -- I've tried doing dg.getColumnAt(2).editable = true both before and after the dataProvider set, but it's always just the first column that remains editable... what is it I'm missing? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
AH! Thanks Matthew -- though I didn't set the grid.editable to false -- when I set it to TRUE, then it all worked. So though the columns themselves are set to true, if the grid wasn't set to true, it canceled it all out... Thanks again. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
Kool Beanz Grimm... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, May 22, 2006 1:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] dataGrid and editable text... AH! Thanks Matthew -- though I didn't set the grid.editable to false -- when I set it to TRUE, then it all worked. So though the columns themselves are set to true, if the grid wasn't set to true, it canceled it all out... Thanks again. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
Dammit - them beanz ain't cool enough... hate to be more of a PITA than I already am -- but now I want to make the first column NOT editable. So I've set the db.editable = true -- that sets all them beanz editable. Then I've dg.getColumnAt(0).editable = false -- and that bean is still flipping into an editable textField. I'm sure it's just the way I'm doing something idiotic... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
Let me guess...column 1 is un-editable if you try and edit it first, but when you go from an editable column to column 1 sometimes it is editable right? Or is it always editable? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, May 22, 2006 1:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] dataGrid and editable text... Dammit - them beanz ain't cool enough... hate to be more of a PITA than I already am -- but now I want to make the first column NOT editable. So I've set the db.editable = true -- that sets all them beanz editable. Then I've dg.getColumnAt(0).editable = false -- and that bean is still flipping into an editable textField. I'm sure it's just the way I'm doing something idiotic... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
It seems to be always editable. menuGrid.dataProvider = pMenu; // setting editable stuff menuGrid.editable = true; menuGrid.getColumnAt(0).editable = false; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dataGrid and editable text...
You know, even if I SET the grid.editable = false, the first column is ALWAY editable. I've even flipped cellRenderers as tests -- this thing is driving me bonkers. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Can form based nested screens be delayed if not external
you could probably change the loading frame for your classes in the export settings, so that they arent loaded in frame 1. On 5/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Is the only way to delay loading of child forms in an form based app-if the swfs are externally loaded? I have a couple of child forms with assets etc right in them and am using ARP. I am wondering the best way to shrink that initial load time. Right now I'm thinking the only way is using external swf files. Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] I need your support
I've written an external interface solution for back/forward/bookmark functionality. Before I use it, I'd really appreciate it if you guys could help me get some information on the different browsers it works with. http://anticipatechange.com/pierinc/browserSupport/ So far I've tested Firefox and IE, I think though that I will have to use the IE solution for other (safari i think?) popular agents. Thank you! M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Can form based nested screens be delayed if not external
We have found externals are the best way. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Monday, May 22, 2006 2:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Can form based nested screens be delayed if not external you could probably change the loading frame for your classes in the export settings, so that they arent loaded in frame 1. On 5/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Is the only way to delay loading of child forms in an form based app-if the swfs are externally loaded? I have a couple of child forms with assets etc right in them and am using ARP. I am wondering the best way to shrink that initial load time. Right now I'm thinking the only way is using external swf files. Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Can form based nested screens be delayed if not external
Thank you guys for the quick response. On 5/22/06, Matthew Simpson [EMAIL PROTECTED] wrote: We have found externals are the best way. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Monday, May 22, 2006 2:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Can form based nested screens be delayed if not external you could probably change the loading frame for your classes in the export settings, so that they arent loaded in frame 1. On 5/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Is the only way to delay loading of child forms in an form based app-if the swfs are externally loaded? I have a couple of child forms with assets etc right in them and am using ARP. I am wondering the best way to shrink that initial load time. Right now I'm thinking the only way is using external swf files. Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] That yellow focus rectangle
As was pointed out in the blog comments, this is not a good idea since it has negative implications for accessibility. The yellow focus rectangle is good for many users. AWK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mischa Williamson Sent: Monday, May 22, 2006 1:00 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] That yellow focus rectangle _focusrect = false; Should do it. On 5/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I'm looking for relief from the yellow focus rectangle that happens to movie clips when they gain focus in my app. I came across this discussion from 2004 http://weblogs.macromedia.com/accessibility/archives/2004/08/simple_te xt_nav.cfm (see simple focus) but am curious if there is now a standard way of approaching this. Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] hitTest vs onRollOver/onRollOut
Thanks a bunch for the info! I'm surprised to hear that the hitTest actually performs better, although I agree that the things I may have to add will more than balance it out. Basically, I'm trying to grow my own button class which has disabled and on/off states in addition to rollover and press. I'd like to be able to use hitTests rather than rollover and rolloff because I frequently run into situations where I want to put a button inside a movie which itself may have rollover or rolloff event handlers and the event doesn't reach my button. I like the hit test approach, but if there was a significant performance concern, I was going to have to consider another way of going about it. I've found some AS2.0 classes at http://www.senocular.com/flash/actionscript.php which may do part of what I need. The main trick now is to figure out how to make a nice packaged component that allows a designer to modify the look without having to do too much work. I hope to figure out how to deliver them similar to Elvis Mehmedovic's work (http://chq.emehmedovic.com/) where all the elements are readily available in the flash movie for tweaking if necessary. - phaedrus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tyler Wright Sent: Friday, May 19, 2006 11:02 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] hitTest vs onRollOver/onRollOut phaedrus, You will find that, in the beginning, the hitTests will use up less processor (better performance). The examples you have below, for example. However, if you program all the logic you'd need to behave exactly as the other method (keeping track of all the details, etc) you'll quickly begin to match the performance and it may end up not being worth the time and bugs anymore. I still want to build a hitTest solution, mostly for my own enjoyment, that will at least have equal performance if not better. But it becomes harder for other developers to work with non-standard inventions, cool as they may be, and eventually people just get frustrated with your code. If it's just for you or you don't plan and building a full mouse-behavior replacement, try experimenting with _dropTarget ... there's some possibilities there ;) good luck, Tyler On 5/17/06, phaedrus [EMAIL PROTECTED] wrote: Does anyone know if there is a performance difference between hitTest and onRollOver/onRollOut? For instance, if I had 100 movie clips on a lower-spec computer, would there be a notable processing difference between these two approaches: myMC.onMouseMove = function() { if(this.hitTest(_root._xmouse,_root._ymouse,true)) { trace(Roll Over); } else { trace(Roll Out); } } Or myMC.onRollOver = function() { trace(Roll Over); } myMC.onRollOut = function() { trace(Roll Out); } I've also got some concerns regarding using _root._xmouse (etc) based on the comments at: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.ht m?href=Part4_ASLR2.html but I've not yet looked to deeply into working around it (presumably by not using _root). However, if anyone knows that the situation is unresolvable, that'd be good to know. - phaedrus ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] hitTest vs onRollOver/onRollOut
The main thing that can really add up in processor is the number of MovieClips at the same level (sharing the same parent). You'll save processor best if you don't have any on-event events as well, such as onPress, etc. It's because Flash spends a lot on keeping up with it. It's really fun to play with ... I had a system that used _droptarget to get the topmost movieclip and dispatch events up it's parent chain much like AS3 does now. However, the processor was not too friendly, but I know I could do a lot more viable solution now-days. Let us know how it goes! Tyler On 5/22/06, phaedrus [EMAIL PROTECTED] wrote: Thanks a bunch for the info! I'm surprised to hear that the hitTest actually performs better, although I agree that the things I may have to add will more than balance it out. Basically, I'm trying to grow my own button class which has disabled and on/off states in addition to rollover and press. I'd like to be able to use hitTests rather than rollover and rolloff because I frequently run into situations where I want to put a button inside a movie which itself may have rollover or rolloff event handlers and the event doesn't reach my button. I like the hit test approach, but if there was a significant performance concern, I was going to have to consider another way of going about it. I've found some AS2.0 classes at http://www.senocular.com/flash/actionscript.php which may do part of what I need. The main trick now is to figure out how to make a nice packaged component that allows a designer to modify the look without having to do too much work. I hope to figure out how to deliver them similar to Elvis Mehmedovic's work (http://chq.emehmedovic.com/) where all the elements are readily available in the flash movie for tweaking if necessary. - phaedrus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tyler Wright Sent: Friday, May 19, 2006 11:02 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] hitTest vs onRollOver/onRollOut phaedrus, You will find that, in the beginning, the hitTests will use up less processor (better performance). The examples you have below, for example. However, if you program all the logic you'd need to behave exactly as the other method (keeping track of all the details, etc) you'll quickly begin to match the performance and it may end up not being worth the time and bugs anymore. I still want to build a hitTest solution, mostly for my own enjoyment, that will at least have equal performance if not better. But it becomes harder for other developers to work with non-standard inventions, cool as they may be, and eventually people just get frustrated with your code. If it's just for you or you don't plan and building a full mouse-behavior replacement, try experimenting with _dropTarget ... there's some possibilities there ;) good luck, Tyler On 5/17/06, phaedrus [EMAIL PROTECTED] wrote: Does anyone know if there is a performance difference between hitTest and onRollOver/onRollOut? For instance, if I had 100 movie clips on a lower-spec computer, would there be a notable processing difference between these two approaches: myMC.onMouseMove = function() { if(this.hitTest(_root._xmouse,_root._ymouse,true)) { trace(Roll Over); } else { trace(Roll Out); } } Or myMC.onRollOver = function() { trace(Roll Over); } myMC.onRollOut = function() { trace(Roll Out); } I've also got some concerns regarding using _root._xmouse (etc) based on the comments at: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.ht m?href=Part4_ASLR2.html but I've not yet looked to deeply into working around it (presumably by not using _root). However, if anyone knows that the situation is unresolvable, that'd be good to know. - phaedrus ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Alpha Masking Weirdness
All, I'm masking a MovieClip with an alpha mask using cacheAsBitmap. The MovieClip has a dynamic text field inside it that I populate at a later time. When I play the movie, the area where the textfield is remains empty. If I drag the corner of the player to resize the movie, the text magically appears. Anyone run into this sort of weird behavior? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] disable all actions in a loaded clip?
Is there a way to load in a clip and then disable ALL actions inside the one clip? -- - Alan Queen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ControlManager implementation for Moock MVCframework
Is there a timescale / roadmap for ARP3? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: 22 May 2006 15:20 To: Flashcoders mailing list Subject: Re: [Flashcoders] ControlManager implementation for Moock MVCframework There´s also arp, that´s somewhat MVC based ;) (next version should be fully MVC-based, and there are mods that make it fully MVC right now (ARPX)) http://www.osflash.org/arp On 5/22/06, Ron Wheeler [EMAIL PROTECTED] wrote: You might want to look at ActionStep which has a framework for MVC that you could use directly or as a model. All the little gotcha's have all been worked out. Ron Spiral Universe wrote: Hi. I'm trying to build an app based on the MVC framework provided here: http://www.adobe.com/devnet/flash/articles/mv_controller.html Basicly everything would be ok except that I would need to extend it to use a super controller which dispatches calls to the actual controller of the view requesting control (something like ControlManager in Smalltalk). Anyone came across somthing like this, or could explain at basic level how could I implement smth like the ControlManager, but not hurting the framework (at all, or at least minimal) ? - Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Using combobox componet to load video
I'm trying to use a combobox to load in different videos into a video object. Can someone please help me out with what i'm doing wrong? I believe maybe my syntax is incorrect. Thanks... function change(evt){ // trace(evt.target.selectedItem.label); //works // ns.play(vids/vv0040.flv); //works // var show = evt.target.selectedItem.label; ns.play(evt.target.selectedItem.label); //not working } comboBox.addEventListener(change, this); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] How to make a MAC - PC hybrid CD-ROM
OSX has bloqued autorun, it's depend on third party utilities -- SalU2 f a r i d | s i l v a | a b o i d www.e-foco.com.ar tel: +54 11 4300-1042 cel: 15-6475-3021 Moderador de Salas Dreamweaver y Programación Multimedia User Group Adobe Argentina http://www.mmug-ar.com.ar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flashlite RTMP or XMLSocket
hey there.. i noticed this post the other day... http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=472threadid=1150919enterthread=y On 5/21/06, jim [EMAIL PROTECTED] wrote: Can flash lite 2 support rtmp connections or xml sockets? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Alpha Masking Weirdness
Try embedding font for the textfield. Thanks, Vivek On 5/23/06, Rifled Cloaca [EMAIL PROTECTED] wrote: All, I'm masking a MovieClip with an alpha mask using cacheAsBitmap. The MovieClip has a dynamic text field inside it that I populate at a later time. When I play the movie, the area where the textfield is remains empty. If I drag the corner of the player to resize the movie, the text magically appears. Anyone run into this sort of weird behavior? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Tweening Multiple Objects at the same time
Hello All --- I am using a custom tween class (SuperEase) I found online to tween objects. However, I have run into a situation where I need to have two objects start tweening at the same time. The SuperEase class does not allow for this functionality. I can tween both objectives sequentially (one starts after the other has started) however this produces a noticeable lag between the 2 objects. I have tried to resolve it by changing the # of frames / seconds, but this is somewhat tedious to match up between the 2 objects. Can anyone offer a suggestion on how to resolve this issue so that the 2 objects start tweening simultaneously? Any suggestions on an alternate class? Thanks for any and all replies. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Issue with movieClip.onRelease
Hello Everyone, I am experiencing a strange issue when I am trying to do an onRelease in the following code. All it does is cycle through the items in an XML file, then assign the data to labels, buttons etc. Everything works fine until I try to assign the URL. Even when I try to trace it out inside the onRelease function it gives undefined. Is this a flash issue or is there something here I am missing? Any help is much appreciated. CODE function buildNav():Void { var dropDownValue:Number = 0; for (var i:Number = 0; i_root.numberOfItems; i++) { //attach the nav Item trace(done iteration +i); navContainer.attachMovie(navItem, navItem+i, i); trace(navItem+i+ has been attached); //position the nav Item navContainer[navItem+i]._y = dropDownValue; dropDownValue += 15; navContainer[navItem+i]._x = navContainer[navItem+i]._x; //assign the title navContainer[navItem+i].navItemText = _root.contentItems[i].navItemText; //var thisURL = _root.contentItems[i].jobUrl; navContainer[navItem+i].onRelease = function() { getURL(_root.contentItems[1].jobUrl, _blank); trace(_root.contentItems[1].jobUrl); }; } } Cheers, Craig. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Tweening Multiple Objects at the same time
tried to resolve it by changing the # of frames / seconds, but this is somewhat tedious to match up between the 2 objects. Can anyone offer a suggestion on how to resolve this issue so that the 2 objects start tweening simultaneously? Any suggestions on an alternate class? I never user SuperEase so I can't comment on it, but you'd do yourself a favor if you started using one of these instead: Fuse Kit http://www.mosessupposes.com/Fuse/ Laco Tween http://laco.wz.cz/tween/ MC Tween http://hosted.zeh.com.br/mctween/ These three have the same approach on most accounts - your preference will depend on what you code and how. Also, you can always use the built-in flash tweening classes. Here's some info on that: http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/index.shtml http://www.macromedia.com/devnet/mx/flash/articles/tweening.html I wouldn't recommend though, using the extensions above will give you more features and will be easier to code. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Issue with movieClip.onRelease
What version of flash are you using? YOu can try delegate to solve scoping issues but i kinda set it up in two ways as the comments suggest. Also, avoid references to root if possible. import mx.util.Delegate; function buildNav(p_content:Array):Void { for (var i:Number = 0; inumberOfItems; i++) { //attach the nav Item trace(done iteration +i); var mc:MovieClip= navContainer.attachMovie(navItem, navItem+i, i); mc._y =i*15 mc._x = 0 //assign the title mc.navItemText =p_content[i].navItemText; // you could do this to correct scope mc.link=p_content[i].jobURL; mc.select=Delegate.create(this,onSelect);// this allows you to pass //params mc.onRelease=function(){this.select(this.link)} // or you could do something like : // mc.onRelease=function(){ getURL(this.link,_blank); } } } function onSelect(p_url:String){ getURL(p_url,_blank); } buildNav(contentItems);// build the nav passing in the data ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Issue with movieClip.onRelease
Try tracing the _root.contentItems[1].jobUrl in the different steps of the program: when you create it, before you enter the onRelease defining part, etc. The problem must lie in referencing it. Note, however, that this code won't work (look at part 1): http://pastebin.com/732422 You'll need to save the i on the button itself so it can remember (look at part 2) http://pastebin.com/732422 On 5/23/06, Craig Stanford [EMAIL PROTECTED] wrote: Hello Everyone, I am experiencing a strange issue when I am trying to do an onRelease in the following code. All it does is cycle through the items in an XML file, then assign the data to labels, buttons etc. Everything works fine until I try to assign the URL. Even when I try to trace it out inside the onRelease function it gives undefined. Is this a flash issue or is there something here I am missing? Any help is much appreciated. CODE function buildNav():Void { var dropDownValue:Number = 0; for (var i:Number = 0; i_root.numberOfItems; i++) { //attach the nav Item trace(done iteration +i); navContainer.attachMovie(navItem, navItem+i, i); trace(navItem+i+ has been attached); //position the nav Item navContainer[navItem+i]._y = dropDownValue; dropDownValue += 15; navContainer[navItem+i]._x = navContainer[navItem+i]._x; //assign the title navContainer[navItem+i].navItemText = _root.contentItems[i].navItemText; //var thisURL = _root.contentItems[i].jobUrl; navContainer[navItem+i].onRelease = function() { getURL(_root.contentItems[1].jobUrl, _blank); trace(_root.contentItems[1].jobUrl); }; } } Cheers, Craig. -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Slides and Screens - Help, please
I am beginning to work with screens and slides. I understand how to load external swfs into my slides or screens. Here's the question: How do I write code such that when my external swf that is loaded into the current slide or screen finishes playing, the application will automatically move to the next slide (or another slide or screen)? Sincerely, Loren ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Issue with movieClip.onRelease
Hi guys, Thanks for your fast responses. Ramon, your solution worked and I can see the values of the URL inside the onRelease function when i trace it, however a browser wont launch when i click the button. Im not sure why. Any suggestions? CODE function buildNav():Void { var dropDownValue:Number = 0; for (var i:Number = 0; i_root.numberOfItems; i++) { //attach the nav Item trace(done iteration +i); navContainer.attachMovie(navItem, navItem+i, i); trace(navItem+i+ has been attached); //position the nav Item navContainer[navItem+i]._y = dropDownValue; dropDownValue += 15; navContainer[navItem+i]._x = navContainer[navItem+i]._x; //assign the title navContainer[navItem+i].navItemText = _root.contentItems[i].navItemText; //var thisURL = _root.contentItems[i].jobUrl; navContainer[navItem+i].__n = i; navContainer[navItem+i].onRelease = function() { trace(_root.contentItems[this.__n].jobUrl); -THIS WORKS getURL(_root.contentItems[this.__n].jobUrl, _blank); -THIS DOESNT }; } } Cheers, Craig. On 5/23/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote: Try tracing the _root.contentItems[1].jobUrl in the different steps of the program: when you create it, before you enter the onRelease defining part, etc. The problem must lie in referencing it. Note, however, that this code won't work (look at part 1): http://pastebin.com/732422 You'll need to save the i on the button itself so it can remember (look at part 2) http://pastebin.com/732422 On 5/23/06, Craig Stanford [EMAIL PROTECTED] wrote: Hello Everyone, I am experiencing a strange issue when I am trying to do an onRelease in the following code. All it does is cycle through the items in an XML file, then assign the data to labels, buttons etc. Everything works fine until I try to assign the URL. Even when I try to trace it out inside the onRelease function it gives undefined. Is this a flash issue or is there something here I am missing? Any help is much appreciated. CODE function buildNav():Void { var dropDownValue:Number = 0; for (var i:Number = 0; i_root.numberOfItems; i++) { //attach the nav Item trace(done iteration +i); navContainer.attachMovie(navItem, navItem+i, i); trace(navItem+i+ has been attached); //position the nav Item navContainer[navItem+i]._y = dropDownValue; dropDownValue += 15; navContainer[navItem+i]._x = navContainer[navItem+i]._x; //assign the title navContainer[navItem+i].navItemText = _root.contentItems[i].navItemText; //var thisURL = _root.contentItems[i].jobUrl; navContainer[navItem+i].onRelease = function() { getURL(_root.contentItems[1].jobUrl, _blank); trace(_root.contentItems[1].jobUrl); }; } } Cheers, Craig. -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Issue with movieClip.onRelease
Actually its all good, some security issue in the browser itself. Thankyou very much! Craig. On 5/23/06, Craig Stanford [EMAIL PROTECTED] wrote: Hi guys, Thanks for your fast responses. Ramon, your solution worked and I can see the values of the URL inside the onRelease function when i trace it, however a browser wont launch when i click the button. Im not sure why. Any suggestions? CODE function buildNav():Void { var dropDownValue:Number = 0; for (var i:Number = 0; i_root.numberOfItems; i++) { //attach the nav Item trace(done iteration +i); navContainer.attachMovie(navItem, navItem+i, i); trace(navItem+i+ has been attached); //position the nav Item navContainer[navItem+i]._y = dropDownValue; dropDownValue += 15; navContainer[navItem+i]._x = navContainer[navItem+i]._x; //assign the title navContainer[navItem+i].navItemText = _root.contentItems[i].navItemText; //var thisURL = _root.contentItems[i].jobUrl; navContainer[navItem+i].__n = i; navContainer[navItem+i].onRelease = function() { trace(_root.contentItems[this.__n].jobUrl); -THIS WORKS getURL(_root.contentItems[this.__n].jobUrl, _blank); -THIS DOESNT }; } } Cheers, Craig. On 5/23/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote: Try tracing the _root.contentItems[1].jobUrl in the different steps of the program: when you create it, before you enter the onRelease defining part, etc. The problem must lie in referencing it. Note, however, that this code won't work (look at part 1): http://pastebin.com/732422 You'll need to save the i on the button itself so it can remember (look at part 2) http://pastebin.com/732422 On 5/23/06, Craig Stanford [EMAIL PROTECTED] wrote: Hello Everyone, I am experiencing a strange issue when I am trying to do an onRelease in the following code. All it does is cycle through the items in an XML file, then assign the data to labels, buttons etc. Everything works fine until I try to assign the URL. Even when I try to trace it out inside the onRelease function it gives undefined. Is this a flash issue or is there something here I am missing? Any help is much appreciated. CODE function buildNav():Void { var dropDownValue:Number = 0; for (var i:Number = 0; i_root.numberOfItems; i++) { //attach the nav Item trace(done iteration +i); navContainer.attachMovie (navItem, navItem+i, i); trace(navItem+i+ has been attached); //position the nav Item navContainer[navItem+i]._y = dropDownValue; dropDownValue += 15; navContainer[navItem+i]._x = navContainer[navItem+i]._x; //assign the title navContainer[navItem+i].navItemText = _root.contentItems[i].navItemText; //var thisURL = _root.contentItems[i].jobUrl; navContainer[navItem+i].onRelease = function() { getURL(_root.contentItems[1].jobUrl, _blank); trace(_root.contentItems[1].jobUrl); }; } } Cheers, Craig. -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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