SV: [Flashcoders] Input field bug in firefox when embedding swfwithWMODE as transparent og opaque

2007-06-19 Thread Martin Baltzer Hennelund
Hi John, Thanks for your reply. I have looked at mozilla.org but didn't find much. It's really not that fancy - just Windows XP and Firefox (v 2.0.0.4) and since Firefox represents more than 33% of the users these days its a browser i'm afraid we can't just ignore.

RE: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-19 Thread Danny Kodicek
I'll take it ;) thanks for everybody's help. Just catching up on this, you might want to try looking up floodFill algorithms - that's pretty much what you're doing. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] attachMovie from library - fails to work with preloader

2007-06-19 Thread Alexander Farber
Hello John and others, On 6/16/07, John VanHorn [EMAIL PROTECTED] wrote: you must force those movieclips to load before you use have access to them. what i usually do is to set the export frame for classes to 2, and then go through the library and uncheck 'export in first frame' for all

[Flashcoders] Reading XML from CDROM through Flashplayer

2007-06-19 Thread Volker Scarpatetti - Advertis Interactiva
Hi, Will I have a problem when I´ll try to read online content from a flash exe file on a cdrom through the xml object? I remember the security restrictions of the flashplayer.. If there is a problem, what can I do to avoid it ? Thanks, Volker

RE: [Flashcoders] Reading XML from CDROM through Flashplayer

2007-06-19 Thread Danny Kodicek
Hi, Will I have a problem when I´ll try to read online content from a flash exe file on a cdrom through the xml object? I remember the security restrictions of the flashplayer.. If there is a problem, what can I do to avoid it ? If it's offline content accessing offline files, you

Re: [Flashcoders] AS3 : Disabling layers in a loaded clip

2007-06-19 Thread August Gresens
This would have been a clip created in the Flash CS3 IDE with layers, not a file created with the Flex compiler... This is an AVM2 file, no? Thanks, A On 6/18/07, Muzak [EMAIL PROTECTED] wrote: There are no layers in a compiled swf. - Original Message - From: August Gresens [EMAIL

Re: [Flashcoders] Reading XML from CDROM through Flashplayer

2007-06-19 Thread Volker Scarpatetti - Advertis Interactiva
Indeed its online content that I want to read from a CDROM. I guess the solution is to use System.security.allowDomain() to the url where the xml is hosted. Right ? Thanks, Volker On 19/6/07 11:58, Danny Kodicek [EMAIL PROTECTED] wrote: Hi, Will I have a problem when I´ll try to read online

RE: [Flashcoders] Reading XML from CDROM through Flashplayer

2007-06-19 Thread Danny Kodicek
Indeed its online content that I want to read from a CDROM. Sorry, didn't read properly :) I guess the solution is to use System.security.allowDomain() to the url where the xml is hosted. Right ? Actually, I've never encountered a problem accessing online content from a CD-ROM either. I

Re[2]: [Flashcoders] Reading XML from CDROM through Flashplayer

2007-06-19 Thread R�kos Attila
VSAI Indeed its online content that I want to read from a CDROM. I guess the VSAI solution is to use System.security.allowDomain() to the url where the xml is VSAI hosted. Right ? System.security.allowDomain() has nothing to do with that, it serves a different purpose. But you don't have to

Re: [Flashcoders] Re: Embed statements in AS3 (not mxml)

2007-06-19 Thread Muzak
Lol, didn't catch the smiley, probably because it was 5AM and needed some sleep ;-) - Original Message - From: Jim Kremens [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 6:42 AM Subject: Re: [Flashcoders] Re: Embed statements in AS3 (not mxml)

Re: [Flashcoders] Confused by preloading sounds and components

2007-06-19 Thread Muzak
Place everything in frame 10. - Original Message - From: Alexander Farber [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 3:53 PM Subject: [Flashcoders] Confused by preloading sounds and components Hi, I've set up this

Re: [Flashcoders] Re: External preloader using loadClip() - is it a good idea?

2007-06-19 Thread Alexander Farber
Hi, one more small comment: On 6/18/07, Alexander Farber [EMAIL PROTECTED] wrote: I've solved my problem of the loadClip('Main.swf', ...) delivering the same old version of the Main.swf by the standard trick of appending a random string. I've realized, that an external preloader doesn't work

Re: [Flashcoders] Confused by preloading sounds and components

2007-06-19 Thread Alexander Farber
Sorry, but what will that change? I don't see a big difference On 6/19/07, Muzak [EMAIL PROTECTED] wrote: Place everything in frame 10. - Original Message - From: Alexander Farber [EMAIL PROTECTED] 1) Why are the Components and MovieClips placed in frame 20 displayed for a

[Flashcoders] Does FLEX have web services?

2007-06-19 Thread Pete Miller
Does FLEX include a SOAP-based web services component? Does it work better than the buggy MX component (i.e. huge memory leak)? We have shied away from Flash Remoting for the time being; I'm simply looking to determine if there is support for SOAP web services. Pete Miller

RE: [Flashcoders] Re: External preloader using loadClip() - is it agood idea?

2007-06-19 Thread Danny Kodicek
Hi, one more small comment: On 6/18/07, Alexander Farber [EMAIL PROTECTED] wrote: I've solved my problem of the loadClip('Main.swf', ...) delivering the same old version of the Main.swf by the standard trick of appending a random string. I've realized, that an external

RE: [Flashcoders] Confused by preloading sounds and components

2007-06-19 Thread Danny Kodicek
I've set up this kind of preloader: Frame 1: Preloader (when loaded, gotoAndStop frame 30) Frame 10: Classes export (set in File-Publish Settings-AS2-Settings) Frame 20: Components/MovieClips placed on stage to force export Frame 30: The movie (calls attachMovie, createClassObject,

RE: [Flashcoders] Does FLEX have web services?

2007-06-19 Thread Merrill, Jason
Not really a Flex list, (you shoud try the Flexcoders list on Yahoo) but see RPC components in the help docs ( all I did was googled it :) ) http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp. htm?context=LiveDocs_Partsfile=1124.html

Re: [Flashcoders] Does FLEX have web services?

2007-06-19 Thread elibol
yes On 6/19/07, Pete Miller [EMAIL PROTECTED] wrote: Does FLEX include a SOAP-based web services component? Does it work better than the buggy MX component (i.e. huge memory leak)? We have shied away from Flash Remoting for the time being; I'm simply looking to determine if there is support

Re: [Flashcoders] Does FLEX have web services?

2007-06-19 Thread Muzak
yes there is: http://www.google.com/search?hl=enq=flex+2+livedocs+webservices http://livedocs.adobe.com/flex/2/langref/mx/rpc/soap/mxml/WebService.html Muzak - Original Message - From: Pete Miller [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 4:32

Re: [Flashcoders] Re: External preloader using loadClip() - is it agood idea?

2007-06-19 Thread Alexander Farber
Hello Danny, On 6/19/07, Danny Kodicek [EMAIL PROTECTED] wrote: On 6/18/07, Alexander Farber [EMAIL PROTECTED] wrote: It should send an If-Modified-Since request to the web server and serve the .swf file only if the web server has replied with a 304 Not Modified. But instead the flash

[Flashcoders] little hep with my very first AS project in flex2

2007-06-19 Thread Gustavo Duenas
Ok, coder I'm trying to set up a menu using an array as I used to in flash 8, but this is as3, and I didn't figured out how hard this would be this is the class for the buttons.as: I'm trying to wrapped a textfield in order to write in the loop the strings on the array(I'm quite a

[Flashcoders] AS2.0 Class Question

2007-06-19 Thread azsl1326-email
Hello All --- I have what is probably a simple question, but possibly difficult to spell out in email. I have a SFW(A) which is loading Class A I have another SWF(B) which is loading Class B. Both FLAs exist in seperate directories and utilize their own classes. At some point SWF(A) gets

Re: [Flashcoders] Estimating the time required for a project

2007-06-19 Thread James Deakin
Thanks for taking the time to respond Hans. I actually record how long things take already. I think you are right though perhaps the hard part is having the arguments to hand to support why it will take a while. Which books would you recommend? Where I work there is another employee who is

Re: [Flashcoders] AS2.0 Class Question

2007-06-19 Thread Alexander Farber
Maybe by setting classpath in Publish settings-Flash ? On 6/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I don't really want to drop Class A into the folder where Class B is as there are about 15 other class files and SWF(A)/Class A doesn't really need them to run. Is there a way to avoid

Re: [Flashcoders] AS2.0 Class Question

2007-06-19 Thread sean
import Class A and Class B using their full class paths Sean Maybe by setting classpath in Publish settings-Flash ? On 6/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I don't really want to drop Class A into the folder where Class B is as there are about 15 other class files and

Re: [Flashcoders] AS2.0 Class Question

2007-06-19 Thread Nick Johnston
Try importing Class B into Class A. If you have already done so, check the package name of ClassB. - Nick [EMAIL PROTECTED] wrote: Hello All --- I have what is probably a simple question, but possibly difficult to spell out in email. I have a SFW(A) which is loading Class A I have

Re: [Flashcoders] little hep with my very first AS project in flex2

2007-06-19 Thread Nick Johnston
Hey Gustavo, It looks like your class name is Button. Your constructor is called button. Rule of thumb when dealing with classes: all classes are to be capitalized. Try fixing that and it should work fine :) Cheers, - Nick Gustavo Duenas wrote: Ok, coder I'm trying to set up a menu

[Flashcoders] Flash https / IE wierdness

2007-06-19 Thread Giles Roadnight
Hi All I have a swf that loads an rss feed then loads images and displays them. This works fine on our local dev server, the live server and on the staging server on Firefox. However on the staging server the images do not appear and none of the text in the rss appear either. The only

[Flashcoders] books for as3 projects under flex

2007-06-19 Thread Gustavo Duenas
Hi coders, would anyone recommend me a good book or books to resolve all my questions about customizing components in AS3 using flex and doing AS3 projects in flex... Because it seems a very dumb questions the ones I did, but the true, I'm clueless. Regards Gustavo Duenas

Re: [Flashcoders] Flash https / IE wierdness

2007-06-19 Thread Carl Welch
We had the same problem. We were banging our heads against the wall trying to figure out why it wasn't working in IE over a https connection until we found this: //header(Expires: Mon, 25 Jan 1970 05:00:00 GMT); header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT);

Re: [Flashcoders] books for as3 projects under flex

2007-06-19 Thread Nick Johnston
Hey Gustavo, /Programming Flex 2 /by O'Reilly is a good read. http://www.amazon.com/Programming-Flex-comprehensive-creating-applications/dp/059652689X Cheers, Nick Gustavo Duenas wrote: Hi coders, would anyone recommend me a good book or books to resolve all my questions about customizing

RE: [Flashcoders] books for as3 projects under flex

2007-06-19 Thread Merrill, Jason
I like Flex 2 Training from the Source from Adobe. It's straight tutorial for a project using MXML and Actionscript. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team Gustavo Duenas wrote: Hi coders, would anyone recommend me a good book or books

[Flashcoders] asfunction and single param

2007-06-19 Thread Raphael Villas
Hi everyone, I'm generating a hyperlink within a textarea component. I'd like to do a getURL by generating HTML that includes the hyperlink, opening up the page in a new window. So far, I have managed to generate the link and open up the page, but not in a new window. It would be great

Re: [Flashcoders] asfunction and single param

2007-06-19 Thread Alias™
If you're using firefox, trying to get around the popup blocker is a whole world of pain. Alias On 19/06/07, Raphael Villas [EMAIL PROTECTED] wrote: Hi everyone, I'm generating a hyperlink within a textarea component. I'd like to do a getURL by generating HTML that includes the hyperlink,

RE: [Flashcoders] asfunction and single param

2007-06-19 Thread Merrill, Jason
Are you assembling a string like this: A HREF=http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157; TARGET=_blank or maybe this: A HREF=asfunction:myFunction,myParam TARGET=_blank ? If you use HTML text, getURL() is not necessary. If you want to use getURL afterall, then this

[Flashcoders] Strange NetStream behavior with FMS

2007-06-19 Thread rgb
Greetings all! So I've created a custom video interface (based on the one Lee Brimelow created in his Lynda.com tutorials ) that hinges on the NetStream.onStatus events. It uses the Play.Start and Play.Stop to create an onEnterFrame that updates the progress bar/seek functions/timecode/etc. My

Re: [Flashcoders] asfunction and single param

2007-06-19 Thread elibol
try escaping the url being passed as the param. Having two protocols (asfunction: and http:) is probably the cause of your problem. You'll want to unescape it from within the function as well. I think using the target attribute as Jason mentioned is a better solution. On 6/19/07, Raphael Villas

Re: [Flashcoders] asfunction and single param

2007-06-19 Thread Raphael Villas
Here is a trace from using the first strategy: == Website: font color='#ff'ua href='asfunction:getURL,http:// www. google.com' TARGET='_blank'www. google.com/a/u/font == The url still opens up in the same window as the Flash file, not a new window. The second strategy

Re: [Flashcoders] onRelease, onPress missing with attachmovie and DoubleClick class

2007-06-19 Thread elibol
I'm not sure what's going on, but maybe your problem might have to do with not extending MovieClip. Have your doubleclick class extend MovieClip. Not sure what you mean when you say that when you remove the class, attachmovie works with onRelease... Sorry. On 6/17/07, Johnny Zen [EMAIL

Re: [Flashcoders] asfunction and single param

2007-06-19 Thread Raphael Villas
fyi: don't mind the space before google. it was a cut and paste mistake in an attempt to protect the innocent. ;) On Jun 19, 2007, at 1:54 PM, Raphael Villas wrote: Here is a trace from using the first strategy: == Website: font color='#ff'ua href='asfunction:getURL,http:// www.

RE: [Flashcoders] asfunction and single param

2007-06-19 Thread Merrill, Jason
You're not following my first option right. My first option doesn't use asfunction, and it uses not '. It's just setting the value of the text to HTML code. No asfunction or getURL. The second option should work, try using instead of '. Jason Merrill Bank of America GTO Learning Leadership

Re: [Flashcoders] asfunction and single param

2007-06-19 Thread elibol
I think now that it's a scoping issue. Make sure the function is defined in the same class/movieclip as the textfield which contains the asfunction. You then just have to delegate it to where you need it. On 6/19/07, Raphael Villas [EMAIL PROTECTED] wrote: Here is a trace from using the first

[Flashcoders] AS3 root

2007-06-19 Thread Patrick Matte|BLITZ
Hi fellas, I have a swf that's loaded inside another one. The container swf calls the transitionIn function in the loaded swf. In AS2, I used to put this in the loaded swf: if(this == _root){ transitionIn(); } That way I could test my swf in the flash IDE independently from the parent

Re: [Flashcoders] Estimating the time required for a project

2007-06-19 Thread Hans Wichman
Hi, i think i'd recommend 'code complete', 'the mythical manmonth', 'software project survival guide', but that's just based on personal preference, picking up some books about agile development methodologies could be a good idea too. To be honest, I know the ideas in there, and read papers

Re: [Flashcoders] asfunction and single param

2007-06-19 Thread Muzak
I'm probably missing something but why exactly are you using asfunction?? Does this not work? a href=http://google.com; target=_blankgoogle.com/a regards, Muzak - Original Message - From: Raphael Villas [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19,

Re: [Flashcoders] AS3 root

2007-06-19 Thread John Grden
Test the parent to see if it equals the stage maybe? if(this.parent == this.stage) stage is only available after adding the DisplayObject to the display list etc On 6/19/07, Patrick Matte|BLITZ [EMAIL PROTECTED] wrote: Hi fellas, I have a swf that's loaded inside another one. The container

Re: [Flashcoders] AS3 root

2007-06-19 Thread Derek Vadneau
This one works for me. if (loaderInfo.url == loaderInfo.loaderURL) { // This is the main SWF. } Derek Vadneau - Original Message - From: Patrick Matte|BLITZ To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 3:48 PM Subject: SPAM-LOW: [Flashcoders] AS3 root Hi

RE: [Flashcoders] AS3 root

2007-06-19 Thread Palmer, Jim
Check out the MovieClip._lockroot parameter livedocs.adobe.com/flash/mx2004/main_7_2/1522.html -- Jim Palmer ! Mammoth Web Operations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Grden Sent: Tuesday, June 19, 2007 12:56 PM To:

Re: [Flashcoders] asfunction and single param

2007-06-19 Thread Raphael Villas
I'm using asfunction because I'm an idiot. Duh. This works. Thanks Jason and Muzak! On Jun 19, 2007, at 2:55 PM, Muzak wrote: I'm probably missing something but why exactly are you using asfunction?? Does this not work? a href=http://google.com; target=_blankgoogle.com/a regards, Muzak

[Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!

2007-06-19 Thread JulianG
I saw this coming... Once Adobe take over Macromedia, things would start to happen. Bad things, I mean. How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? While I'm writing this the application in being installed (less than 50% progress). How is it possible that it's

RE: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!

2007-06-19 Thread Merrill, Jason
Do you have any URLs I can read about this, if it is just me paranoid? It's the latter. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] AS3 root

2007-06-19 Thread David Ngo
Does _lockroot still apply to AS3? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Palmer, Jim Sent: Tuesday, June 19, 2007 4:14 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] AS3 root Check out the MovieClip._lockroot parameter

Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!

2007-06-19 Thread John Dowdell
JulianG wrote: How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? One of the big contributors is the .PSD import... it essentially contains the Photoshop rendering engine. Color management, type libraries, things like that were other big additions. That said, I'm

Re: [Flashcoders] AS3 root

2007-06-19 Thread Muzak
Another way would be to check if there's a parentDomain (using loaderInfo). It's a bit more complicated though (well, just more code).. import flash.system.ApplicationDomain; import flash.display.LoaderInfo; import flash.events.Event; function initHandler(e:Event):void { trace(Application :::

RE: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to instal l!

2007-06-19 Thread Dave Watts
That said, I'm in a meeting right now where we're talking about improving the installation experience for the next generation... the installation *is* pretty big right now, and we're looking for ways to provide similar capabilities at lower cost in the future. You might want to discuss

Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!

2007-06-19 Thread Muzak
The install size has indeed increased. That's because you're no longer just installing Flash but a whole bunch of (use your imagination) that is needed for integrating with other Adobe products. And yes, it takes forever to install (at least it did here). I had to uninstall a CS3 suite from

[Flashcoders] Asynchronous ExternalInterface Calls From Javascript, possible?

2007-06-19 Thread Seth Green
I have a web app that uses a flash movie as a proxy to a web service. Therefore, I have javascript calling flash methods that in turn make requests to a web service and then route the response back to javascript. I don't need my javascript functions to wait on this calls, but

[Flashcoders] where are my buttons?

2007-06-19 Thread Gustavo Duenas
Hi, I'm trying to create buttons using an array, it looks good in Flash 9 beta but in flex, it seems trouble for me. this is the code of the loop, the debugger doesn't show me any error or warning but I don't see my buttons by the way I have a loader also with a big jpg as a background ,

[Flashcoders] how to get CDATA into an XML object

2007-06-19 Thread Andrew Sinning
I can't figure out how to put CDATA into an xml object. Whether I use createTextNode( ) or create the xml with the CDATA directly, the XML object wants to scrub my input string: My goal is to store away the htmlText of TextField inside of an xml object. // textField is a TextField object var

Re: [Flashcoders] how to get CDATA into an XML object

2007-06-19 Thread Muzak
AS2 or AS3? The XML class in AS3 has a toXMLString() method which will return the correct value. toString() ignores CDATA in the output panel. This doesn't mean it isn't there. var str:String = 'TEXTFORMAT LEADING=2'; str+='P ALIGN=LEFT'; str+='FONT FACE=Arial SIZE=12 COLOR=#00';

RE: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!

2007-06-19 Thread Hairy Dog Digital
I would suggest having enhancements be optional installations akin to Plug-Ins or Extensions. -Original Message- From: John Dowdell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 5:23 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 over 400 MB! and

Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!

2007-06-19 Thread JulianG
John, thanks for your reply. Here's a tip. Provide installation options so users can choose which components to install. I believe some developers don't care about PSD import or other designer tools. I don't. I usually work with someone else's artwork which is delivered to me in a FLA file.

The new google of the internet

2007-06-19 Thread koni tamratzi
Try this website you will love it http://www.newyorklifeguide.com/ _ Hotmail to go? Get your Hotmail, news, sports and much more! http://mobile.msn.com

Re: [Flashcoders] how to get CDATA into an XML object

2007-06-19 Thread Andrew Sinning
Okay. I'm using AS2. How then do I get the actual xml out of the object? Muzak wrote: AS2 or AS3? The XML class in AS3 has a toXMLString() method which will return the correct value. toString() ignores CDATA in the output panel. This doesn't mean it isn't there. var str:String =

RE: [Flashcoders] how to get CDATA into an XML object

2007-06-19 Thread David Ngo
AS2 will not support CDATA nodes. You should load in a schema that has a CDATA node first, then use that schema to write your text nodes to the CDATA node and pass the instance of the schema w/ the CDATA intact. I've had to use this work-around for another project I worked on a year ago.

Re: [Flashcoders] how to get CDATA into an XML object

2007-06-19 Thread Andrew Sinning
How can I load in a schema that has a CDATA node if AS2 doesn't support it? Where do I get the valid schema? In theory, the following is creating an xml object with a CDATA node, but it doesn't appear to work: var xmlRecord = new XML(html![CDATA[ + some arbitrary string + ]]/html); var

Re: [Flashcoders] where are my buttons?

2007-06-19 Thread Charles Parcell
Where to start... First a few obvious things, but general. Flash 9 Beta?? I thought that timed out already. Besides it is a beta and it had limited capabilities. Copy and pasting code from Flash 9 to Flex is not a 1:1 conversion. Lastly, you code actually worked. Looking at your FOR loop, I

Re: [Flashcoders] how to get CDATA into an XML object

2007-06-19 Thread Charles Parcell
I believe the entire thing has to be inside the CDATA. var xmlRecord = new XML(![CDATA[html + some arbitrary string + /html]]); Charles P. On 6/20/07, Andrew Sinning [EMAIL PROTECTED] wrote: How can I load in a schema that has a CDATA node if AS2 doesn't support it? Where do I get the