Re: [Flashcoders] need suggestions
Thanks Buddies!!! I will try to find this book and surely browse the site. Rajiv On Wed, Apr 22, 2009 at 5:01 AM, richard carr wrote: > I give a strong second vote for www.gotoandlearn.com > > and Rich Shupe's book " learning actionscript 3" has been a tremendous > help. > > amazon link > *http://tinyurl.com/329c36* > > Richard > > On Tue, Apr 21, 2009 at 6:59 AM, Ashim D'Silva >wrote: > > > Experiment, and follow blogs for one. > > > > I'll bet there's heaps of great books out, but I've never bought one > > so I'm not sure. I find printed information expires too quickly. > > > > check out www.gotoandlearn.com as a great starting place. > > > > Ashim > > > > The Random Lines > > My online portfolio > > www.therandomlines.com > > > > > > > > 2009/4/21 Rajiv Seth (Pixeldust) : > > > Hi All, > > > > > > I know AS2.0 as not so expert level but now I want to switch to AS3.0 > and > > > really want to go to expert level. I am already working, so cannot join > > any > > > full time course and in India, I don't think any expert level courses > are > > > available. > > > > > > Can you please guide me how to go about it? > > > > > > Thanks in advance > > > > > > Rajiv > > > ___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > Richard > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] cross dissove in slideshow
I don't think it gets much more straightforward than that. - Original Message - From: "Pedro Kostelec" To: "Flash Coders List" Sent: Tuesday, April 21, 2009 9:42 PM Subject: [Flashcoders] cross dissove in slideshow Hi How to cross-dissolve two images for a slideshow? Do i have to create two Loaders (i load the images with xml) and switch alphas or is there a more straight forward way? Cheers, Pedro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] need suggestions
I give a strong second vote for www.gotoandlearn.com and Rich Shupe's book " learning actionscript 3" has been a tremendous help. amazon link *http://tinyurl.com/329c36* Richard On Tue, Apr 21, 2009 at 6:59 AM, Ashim D'Silva wrote: > Experiment, and follow blogs for one. > > I'll bet there's heaps of great books out, but I've never bought one > so I'm not sure. I find printed information expires too quickly. > > check out www.gotoandlearn.com as a great starting place. > > Ashim > > The Random Lines > My online portfolio > www.therandomlines.com > > > > 2009/4/21 Rajiv Seth (Pixeldust) : > > Hi All, > > > > I know AS2.0 as not so expert level but now I want to switch to AS3.0 and > > really want to go to expert level. I am already working, so cannot join > any > > full time course and in India, I don't think any expert level courses are > > available. > > > > Can you please guide me how to go about it? > > > > Thanks in advance > > > > Rajiv > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Richard ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loading string data in a file from a server
And when you trace out you do get the contents of the file? Yup, I saw file content in debug window. If it does work, my question becomes something different; How do i convert the loaded in data (one big string) to a File object ? Use xml instead of text? - Can i add data to a File Object? - Can i create a new temporary File Object and and string data to it? Nope and nope. The data property of a File object is read only. Check the docs. You typically use a File object in combination with a FileStream instance to read/write to disk. http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html http://livedocs.adobe.com/flex/3/langref/flash/filesystem/FileStream.html I save it in memory and pass it through to the rest. Depends on what the "rest" is, but you can pass a File object around, just like any other object. regards, Muzak - Original Message - From: "Sidney de Koning" To: "Flash Coders List" Sent: Tuesday, April 21, 2009 4:49 PM Subject: Re: [Flashcoders] Loading string data in a file from a server Hi Muzak, And when you trace out you do get the contents of the file? Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash 10 version checker
Try swfobject http://code.google.com/p/swfobject/ > From: Cédric PASCAL > Reply-To: Flash Coders List > Date: Tue, 21 Apr 2009 23:01:23 +0200 > To: Flash Coders List > Subject: [Flashcoders] Flash 10 version checker > > Hi everyone, i'am french and i start to develop with flash player 10 and i > would like to check the version of flash and to propose > to upgrade the flash player version to Flash 10 directly on the browser... > But i dont know if its possible. > > I remenber a page example made by Adobe but i dont remember where to find > it. > If someone have already made a version checker and a 'live installer' i > would be very please to > have some advices. > > Thanks for your help, > Best regards > -- > Cédric > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify us immediately of the error via e-mail to disclai...@tbwachiat.com and please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash 10 version checker
Hi everyone, i'am french and i start to develop with flash player 10 and i would like to check the version of flash and to propose to upgrade the flash player version to Flash 10 directly on the browser... But i dont know if its possible. I remenber a page example made by Adobe but i dont remember where to find it. If someone have already made a version checker and a 'live installer' i would be very please to have some advices. Thanks for your help, Best regards -- Cédric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] cross dissove in slideshow
Hi How to cross-dissolve two images for a slideshow? Do i have to create two Loaders (i load the images with xml) and switch alphas or is there a more straight forward way? Cheers, Pedro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] link bar frustrating question
Thanks Dave but No It does not change anything same problem. On Tue, Apr 21, 2009 at 7:38 PM, Dave Watts wrote: > > this is a silly problem that, because it is silly, makes me nervous and > > frustrate at the same time. > > > > I've got a class (extends Sprite) that has embedded some MovieClips. > Those > > MCs are actually containing textboxes with the name of the sections. > > > > for each MC > > > > MC.addEventListener(MouseEvent.ROLL_OUT, onRollOut); > > MC.addEventListener(MouseEvent.ROLL_OVER, onRollOver); > > > > private function onRollOut(e:MouseEvent):void { > > //change colors here of e.currentTarget > > > > } > > > > private function onRollOver(e:MouseEvent):void { > > //change colors here of e.currentTarget > > > > } > > > > In the Main Class I am adding the above class to the displayList and I > set > > Click Listeners for each of its children > > > > var CurrentLink:Sprite // assume it holds a reference of a link > > > > var linkbar:LinkBar = new LinkBar(); > > linkBar.link1.addEventListener(MouseEvent.CLICK, onClick); > > > > private function onClick(e:MouseEvent):void { > >e.currentTarget.mouseEnabled = false; > >CurrentLink.mouseEnabled = true; > >CurrentLink = e.currentTarget; > > > > } > > > > The link clicked is now disabled but there is a little problem, the > > CurrentLink still listens for RollOut events as its color change when i > take > > the mouse off it. I think it shouldn't because I am setting its > mouseEnabled > > to false. > > I think that, for every rollover, there has to be a corresponding > rollout before you can effectively disable the event listener. > > http://www.actionscript.org/forums/showthread.php3?t=157859 > > I could be wrong about this, and would welcome correction if that's the > case! > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Omar M. Fouad - Adobe Flash™ Platform Developer www.omar-fouad.net Cellular: (+20) 1011.88.534 Mail: m...@omar-fouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] link bar frustrating question
> this is a silly problem that, because it is silly, makes me nervous and > frustrate at the same time. > > I've got a class (extends Sprite) that has embedded some MovieClips. Those > MCs are actually containing textboxes with the name of the sections. > > for each MC > > MC.addEventListener(MouseEvent.ROLL_OUT, onRollOut); > MC.addEventListener(MouseEvent.ROLL_OVER, onRollOver); > > private function onRollOut(e:MouseEvent):void { > //change colors here of e.currentTarget > > } > > private function onRollOver(e:MouseEvent):void { > //change colors here of e.currentTarget > > } > > In the Main Class I am adding the above class to the displayList and I set > Click Listeners for each of its children > > var CurrentLink:Sprite // assume it holds a reference of a link > > var linkbar:LinkBar = new LinkBar(); > linkBar.link1.addEventListener(MouseEvent.CLICK, onClick); > > private function onClick(e:MouseEvent):void { > e.currentTarget.mouseEnabled = false; > CurrentLink.mouseEnabled = true; > CurrentLink = e.currentTarget; > > } > > The link clicked is now disabled but there is a little problem, the > CurrentLink still listens for RollOut events as its color change when i take > the mouse off it. I think it shouldn't because I am setting its mouseEnabled > to false. I think that, for every rollover, there has to be a corresponding rollout before you can effectively disable the event listener. http://www.actionscript.org/forums/showthread.php3?t=157859 I could be wrong about this, and would welcome correction if that's the case! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] link bar frustrating question
Hi all, this is a silly problem that, because it is silly, makes me nervous and frustrate at the same time. I've got a class (extends Sprite) that has embedded some MovieClips. Those MCs are actually containing textboxes with the name of the sections. for each MC MC.addEventListener(MouseEvent.ROLL_OUT, onRollOut); MC.addEventListener(MouseEvent.ROLL_OVER, onRollOver); private function onRollOut(e:MouseEvent):void { //change colors here of e.currentTarget } private function onRollOver(e:MouseEvent):void { //change colors here of e.currentTarget } In the Main Class I am adding the above class to the displayList and I set Click Listeners for each of its children var CurrentLink:Sprite // assume it holds a reference of a link var linkbar:LinkBar = new LinkBar(); linkBar.link1.addEventListener(MouseEvent.CLICK, onClick); private function onClick(e:MouseEvent):void { e.currentTarget.mouseEnabled = false; CurrentLink.mouseEnabled = true; CurrentLink = e.currentTarget; } The link clicked is now disabled but there is a little problem, the CurrentLink still listens for RollOut events as its color change when i take the mouse off it. I think it shouldn't because I am setting its mouseEnabled to false. Any Ideas? -- Omar M. Fouad - Adobe Flash™ Platform Developer www.omar-fouad.net Cellular: (+20) 1011.88.534 Mail: m...@omar-fouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loading string data in a file from a server
Some things that pop to mind; - Can i add data to a File Object? - Can i create a new temporary File Object and and string data to it? I save it in memory and pass it through to the rest. Hope you can hel me with this, Greets, Sid On Apr 21, 2009, at 4:38 PM, Muzak wrote: Works fine here (Flex+Air). - Original Message - From: "Sidney de Koning" > To: "Flash Coders List" Sent: Tuesday, April 21, 2009 3:41 PM Subject: Re: [Flashcoders] Loading string data in a file from a server Anybody? I just want to know how to load an file from a server that holds string data (xml or txt file) without getting the 2032 error. Please help, Sid On Apr 20, 2009, at 4:14 PM, Sidney de Koning wrote: Hi List, I want to load textfile from my own server from an AIR app but i keep getting a 2032 Error, a Stream Error. Event though when i load this from the browser it works. The docs about this on the net are very limited. This is what i thought of so far: - It could be a crossdomain error? - I do handle all events? - I tried a loading in a PHP file that uses fopen to serve me the file Do anyone have any ideas? I just want to read in this text file ( or any other file with string data from my server ) or should i use FileStream to read in the file? Eventually the contents of the file i load in will will need to be a File Object (). Thanks in advance, Sidney Below is my code: var xmlURL:String = "http://www.funky-monkey.nl/air/stringtest/serveFile.php "; var xmlReq:URLRequest = new URLRequest( xmlURL ); var xmlLoader:URLLoader = new URLLoader( xmlReq ); //listen for error events xmlLoader.addEventListener( IOErrorEvent.IO_ERROR , onIOError ); xmlLoader.addEventListener( SecurityErrorEvent.SECURITY_ERROR , onSecurityError ); xmlLoader.addEventListener( Event.COMPLETE , xmlLoaded ); function xmlLoaded(evt:Event):void { trace( evt.target.data) } function onIOError(evt:IOErrorEvent):void { trace( evt.text) } function onSecurityError(evt:SecurityErrorEvent):void { trace( evt.text ) } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning - be a geek, in rockstar style! Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loading string data in a file from a server
If it does work, my question becomes something different; How do i convert the loaded in data (one big string) to a File object ? Greet Sidney On Apr 21, 2009, at 4:38 PM, Muzak wrote: Works fine here (Flex+Air). - Original Message - From: "Sidney de Koning" > To: "Flash Coders List" Sent: Tuesday, April 21, 2009 3:41 PM Subject: Re: [Flashcoders] Loading string data in a file from a server Anybody? I just want to know how to load an file from a server that holds string data (xml or txt file) without getting the 2032 error. Please help, Sid On Apr 20, 2009, at 4:14 PM, Sidney de Koning wrote: Hi List, I want to load textfile from my own server from an AIR app but i keep getting a 2032 Error, a Stream Error. Event though when i load this from the browser it works. The docs about this on the net are very limited. This is what i thought of so far: - It could be a crossdomain error? - I do handle all events? - I tried a loading in a PHP file that uses fopen to serve me the file Do anyone have any ideas? I just want to read in this text file ( or any other file with string data from my server ) or should i use FileStream to read in the file? Eventually the contents of the file i load in will will need to be a File Object (). Thanks in advance, Sidney Below is my code: var xmlURL:String = "http://www.funky-monkey.nl/air/stringtest/serveFile.php "; var xmlReq:URLRequest = new URLRequest( xmlURL ); var xmlLoader:URLLoader = new URLLoader( xmlReq ); //listen for error events xmlLoader.addEventListener( IOErrorEvent.IO_ERROR , onIOError ); xmlLoader.addEventListener( SecurityErrorEvent.SECURITY_ERROR , onSecurityError ); xmlLoader.addEventListener( Event.COMPLETE , xmlLoaded ); function xmlLoaded(evt:Event):void { trace( evt.target.data) } function onIOError(evt:IOErrorEvent):void { trace( evt.text) } function onSecurityError(evt:SecurityErrorEvent):void { trace( evt.text ) } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning - be a geek, in rockstar style! Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loading string data in a file from a server
Hi Muzak, And when you trace out you do get the contents of the file? Sid On Apr 21, 2009, at 4:38 PM, Muzak wrote: Works fine here (Flex+Air). - Original Message - From: "Sidney de Koning" > To: "Flash Coders List" Sent: Tuesday, April 21, 2009 3:41 PM Subject: Re: [Flashcoders] Loading string data in a file from a server Anybody? I just want to know how to load an file from a server that holds string data (xml or txt file) without getting the 2032 error. Please help, Sid On Apr 20, 2009, at 4:14 PM, Sidney de Koning wrote: Hi List, I want to load textfile from my own server from an AIR app but i keep getting a 2032 Error, a Stream Error. Event though when i load this from the browser it works. The docs about this on the net are very limited. This is what i thought of so far: - It could be a crossdomain error? - I do handle all events? - I tried a loading in a PHP file that uses fopen to serve me the file Do anyone have any ideas? I just want to read in this text file ( or any other file with string data from my server ) or should i use FileStream to read in the file? Eventually the contents of the file i load in will will need to be a File Object (). Thanks in advance, Sidney Below is my code: var xmlURL:String = "http://www.funky-monkey.nl/air/stringtest/serveFile.php "; var xmlReq:URLRequest = new URLRequest( xmlURL ); var xmlLoader:URLLoader = new URLLoader( xmlReq ); //listen for error events xmlLoader.addEventListener( IOErrorEvent.IO_ERROR , onIOError ); xmlLoader.addEventListener( SecurityErrorEvent.SECURITY_ERROR , onSecurityError ); xmlLoader.addEventListener( Event.COMPLETE , xmlLoaded ); function xmlLoaded(evt:Event):void { trace( evt.target.data) } function onIOError(evt:IOErrorEvent):void { trace( evt.text) } function onSecurityError(evt:SecurityErrorEvent):void { trace( evt.text ) } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning - be a geek, in rockstar style! Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loading string data in a file from a server
Works fine here (Flex+Air). - Original Message - From: "Sidney de Koning" To: "Flash Coders List" Sent: Tuesday, April 21, 2009 3:41 PM Subject: Re: [Flashcoders] Loading string data in a file from a server Anybody? I just want to know how to load an file from a server that holds string data (xml or txt file) without getting the 2032 error. Please help, Sid On Apr 20, 2009, at 4:14 PM, Sidney de Koning wrote: Hi List, I want to load textfile from my own server from an AIR app but i keep getting a 2032 Error, a Stream Error. Event though when i load this from the browser it works. The docs about this on the net are very limited. This is what i thought of so far: - It could be a crossdomain error? - I do handle all events? - I tried a loading in a PHP file that uses fopen to serve me the file Do anyone have any ideas? I just want to read in this text file ( or any other file with string data from my server ) or should i use FileStream to read in the file? Eventually the contents of the file i load in will will need to be a File Object (). Thanks in advance, Sidney Below is my code: var xmlURL:String = "http://www.funky-monkey.nl/air/stringtest/serveFile.php "; var xmlReq:URLRequest = new URLRequest( xmlURL ); var xmlLoader:URLLoader = new URLLoader( xmlReq ); //listen for error events xmlLoader.addEventListener( IOErrorEvent.IO_ERROR , onIOError ); xmlLoader.addEventListener( SecurityErrorEvent.SECURITY_ERROR , onSecurityError ); xmlLoader.addEventListener( Event.COMPLETE , xmlLoaded ); function xmlLoaded(evt:Event):void { trace( evt.target.data) } function onIOError(evt:IOErrorEvent):void { trace( evt.text) } function onSecurityError(evt:SecurityErrorEvent):void { trace( evt.text ) } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash Player 6 Cross Domain Policy
Ah cool - thanks Muzak. I read " Another change to the Flash Player 7 framework is the use of cross-domain policy files" and misinterpreted that it was something introduced in Flash Player 7. I see from the link you supplied that Flash player 6,0,21,0 supports cross domain policy files. Cheers Paul -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Muzak Sent: 21 April 2009 15:29 To: Flash Coders List Subject: Re: [Flashcoders] Flash Player 6 Cross Domain Policy > It appears that the cross domain policy files were not introduced until > Flash Player 7 - is this correct? Nope, Flash Player 6,0,21,0. Check out the Adobe Security Center: http://www.adobe.com/devnet/security/ http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html#flash -player-support-by-version - Original Message - From: "Paul Steven" To: "'Flash Coders List'" Sent: Tuesday, April 21, 2009 1:15 PM Subject: [Flashcoders] Flash Player 6 Cross Domain Policy >I need to confirm whether it is possible for a game being published for > Flash Player 6 and played with the Flash Player 6 plug-in is able to read > and write an xml file on another server? > > It appears that the cross domain policy files were not introduced until > Flash Player 7 - is this correct? > > Basically my client does not want to host the highscores on their server so > I am assessing whether I can host the swf on their server and update and > retrieve the high scores from my server using PHP and xml? > > Any advice much appreciated on possible solutions > > Paul > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Player 6 Cross Domain Policy
It appears that the cross domain policy files were not introduced until Flash Player 7 - is this correct? Nope, Flash Player 6,0,21,0. Check out the Adobe Security Center: http://www.adobe.com/devnet/security/ http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html#flash-player-support-by-version - Original Message - From: "Paul Steven" To: "'Flash Coders List'" Sent: Tuesday, April 21, 2009 1:15 PM Subject: [Flashcoders] Flash Player 6 Cross Domain Policy I need to confirm whether it is possible for a game being published for Flash Player 6 and played with the Flash Player 6 plug-in is able to read and write an xml file on another server? It appears that the cross domain policy files were not introduced until Flash Player 7 - is this correct? Basically my client does not want to host the highscores on their server so I am assessing whether I can host the swf on their server and update and retrieve the high scores from my server using PHP and xml? Any advice much appreciated on possible solutions Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loading string data in a file from a server
Hi Sid, It might be worth using a web traffic proxy such as Charles to make sure that your AIR app is issuing a sensible HTTP request to the web server i.e. that the thing you have which works in the browser is actually the same as the request issued by the AIR app. I'm not sure this can be a security error if you're not getting a security error thrown? It's not something like the web server issuing a redirect, is it? So browsing to that URL works fine, but accessing via a request from AIR fails? Again, Charles could tell you. http://www.charlesproxy.com/ HTH, Ian On Tue, Apr 21, 2009 at 2:41 PM, Sidney de Koning wrote: > Anybody? > > I just want to know how to load an file from a server that holds string data > (xml or txt file) without getting the 2032 error. > > Please help, > > Sid > > > On Apr 20, 2009, at 4:14 PM, Sidney de Koning wrote: > >> Hi List, >> >> I want to load textfile from my own server from an AIR app but i keep >> getting a 2032 Error, a Stream Error. Event though when i load this from the >> browser it works. >> The docs about this on the net are very limited. This is what i thought of >> so far: >> >> - It could be a crossdomain error? >> - I do handle all events? >> - I tried a loading in a PHP file that uses fopen to serve me the file >> >> Do anyone have any ideas? I just want to read in this text file ( or any >> other file with string data from my server ) or should i use FileStream to >> read in the file? Eventually the contents of the file i load in will will >> need to be a File Object (). >> >> Thanks in advance, >> >> Sidney >> >> Below is my code: >> >> >> var xmlURL:String = >> "http://www.funky-monkey.nl/air/stringtest/serveFile.php";; >> >> var xmlReq:URLRequest = new URLRequest( xmlURL ); >> var xmlLoader:URLLoader = new URLLoader( xmlReq ); >> >> //listen for error events >> xmlLoader.addEventListener( IOErrorEvent.IO_ERROR , onIOError ); >> xmlLoader.addEventListener( SecurityErrorEvent.SECURITY_ERROR , >> onSecurityError ); >> xmlLoader.addEventListener( Event.COMPLETE , xmlLoaded ); >> >> function xmlLoaded(evt:Event):void { >> trace( evt.target.data) >> } >> >> function onIOError(evt:IOErrorEvent):void { >> trace( evt.text) >> } >> >> function onSecurityError(evt:SecurityErrorEvent):void { >> trace( evt.text ) >> } >> >> >> Sidney de Koning - be a geek, in rockstar style! >> Flash / AIR Developer @ www.funky-monkey.nl >> Technical Writer @ www.insideria.com >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Sidney de Koning - be a geek, in rockstar style! > Flash / AIR Developer @ www.funky-monkey.nl > Technical Writer @ www.insideria.com > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loading string data in a file from a server
Anybody? I just want to know how to load an file from a server that holds string data (xml or txt file) without getting the 2032 error. Please help, Sid On Apr 20, 2009, at 4:14 PM, Sidney de Koning wrote: Hi List, I want to load textfile from my own server from an AIR app but i keep getting a 2032 Error, a Stream Error. Event though when i load this from the browser it works. The docs about this on the net are very limited. This is what i thought of so far: - It could be a crossdomain error? - I do handle all events? - I tried a loading in a PHP file that uses fopen to serve me the file Do anyone have any ideas? I just want to read in this text file ( or any other file with string data from my server ) or should i use FileStream to read in the file? Eventually the contents of the file i load in will will need to be a File Object (). Thanks in advance, Sidney Below is my code: var xmlURL:String = "http://www.funky-monkey.nl/air/stringtest/serveFile.php "; var xmlReq:URLRequest = new URLRequest( xmlURL ); var xmlLoader:URLLoader = new URLLoader( xmlReq ); //listen for error events xmlLoader.addEventListener( IOErrorEvent.IO_ERROR , onIOError ); xmlLoader.addEventListener( SecurityErrorEvent.SECURITY_ERROR , onSecurityError ); xmlLoader.addEventListener( Event.COMPLETE , xmlLoaded ); function xmlLoaded(evt:Event):void { trace( evt.target.data) } function onIOError(evt:IOErrorEvent):void { trace( evt.text) } function onSecurityError(evt:SecurityErrorEvent):void { trace( evt.text ) } Sidney de Koning - be a geek, in rockstar style! Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning - be a geek, in rockstar style! Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] need suggestions
Experiment, and follow blogs for one. I'll bet there's heaps of great books out, but I've never bought one so I'm not sure. I find printed information expires too quickly. check out www.gotoandlearn.com as a great starting place. Ashim The Random Lines My online portfolio www.therandomlines.com 2009/4/21 Rajiv Seth (Pixeldust) : > Hi All, > > I know AS2.0 as not so expert level but now I want to switch to AS3.0 and > really want to go to expert level. I am already working, so cannot join any > full time course and in India, I don't think any expert level courses are > available. > > Can you please guide me how to go about it? > > Thanks in advance > > Rajiv > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] 3D transformation and interactivity trouble
Hi All, I'm having a bit of a problem with nested transforms and interactivity. I have a parent sprite that has 9 children sprites, and the children have listeners for roll over/out. Transforming/animating the parent seems to be absolutely fine; it rotates fine and the children act as expected. However, when I individually animate the children (I'm using Doyle's TweenGroup class) the children start flickering, firing over and out events repeatedly while the mouse is moving. I then tried setting the transform.matrix3D to null after the animation finishing - and resetting the positions - and this seems to help to some extent. It works fine right upto about 1000px from the left of the stage. Everything to the right of this point has the same old problem. I've seen some really interactive flash3d stuff (although that's possibly papervision) that work fine. I'm just not sure where the problem is and need some help. Tried looking around for info, but maybe I just failed at google. Help is much appreciated either way. Cheers, Ashim The Random Lines My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Player 6 Cross Domain Policy
I need to confirm whether it is possible for a game being published for Flash Player 6 and played with the Flash Player 6 plug-in is able to read and write an xml file on another server? It appears that the cross domain policy files were not introduced until Flash Player 7 - is this correct? Basically my client does not want to host the highscores on their server so I am assessing whether I can host the swf on their server and update and retrieve the high scores from my server using PHP and xml? Any advice much appreciated on possible solutions Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Accessibility of a flash game
Thanks Glen - that is really useful advice and links. You are spot on with regards the reason for using Flash 6 and I totally agree about the need for them to upgrade especially when they are worried about accessibility and security issues. Thank you to everyone else - I agree about the need to getting the accessibility details in the contract. I think they just added that one line to the brief without really considering what it meant. Many thanks Paul -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike Sent: 20 April 2009 21:16 To: Flash Coders List Subject: Re: [Flashcoders] Accessibility of a flash game Hi, UK DDA has not been fully tested yet with websites, but the emphasis is on encouraging people to implement "good practice". Niqui Merret has done some good practical stuff about accessibility - I went to a session at FOTB 2007 which is fairly "ageless" as it discussed approaches rather than technology. http://niquimerret.com/ has various articles and links. If the "accessibility" bit is an addition to the spec' / agreed contract, you will need to sit down with the client and make sure that you agree on any extra charges / what's not included, etc. If the client makes you jump through too many hoops for this it could get annoying and damage your relationship, so be up front with them. I think one idea would be to identify the visitors who may have different needs when accessing your game, etc. As it is a game, it may not be possible to accommodate all user types, but with some careful planning you can cover a lot of bases and then tell the visitors what you have done to address the needs of everyone. I am not sure why the requirements of FP6 are essential - my guess is that you are stuck doing some government / civil service contract, but you may need to carefully look at the tools provided for helping you create more accessible content in later versions of Flash and possibly argue your case here. (IMHO, It's high time the IT departments of many of these org's pull their fingers out anyway as far as upgrading is concerned.) There are quite a few resources to do with UK guidelines for websites, which I would look at interpreting carefully for games, here are some of my "web" ones collected over time...: http://www.w3.org/TR/WAI-WEBCONTENT/ http://www.w3.org/WAI/ http://www.uiaccess.com/dda-uk.html http://www.rnib.org.uk/xpedio/groups/public/documents/code/public_rnib008789 .hcsp http://www.publicsectorforums.co.uk/page.cfm?LANGUAGE=eng&pageID=1701&lowres =true http://www.w3.org/TR/WCAG10/full-checklist.html http://www.w3.org/WAI/wcag-curric/int1-0.htm http://www.freedomscientific.com/downloads/jaws/jaws-downloads.asp http://www.hobo-web.co.uk/design.htm Anyway, that's a start, but remember it's about usability & accessiblity not just doing a high contrast colour scheme for partially sited people :) Hope this helps a bit. Glen Paul Steven wrote: > Thanks - I am not sure why they specified international as the game is aimed > at the UK only. > > Whatever the region, can anyone give me a quick summary of what elements of > a flash (flash player 6) game, one can affect with regards accessibility? > Does this relate primarily to any textual content? > > Thanks > > Paul > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews > Sent: 20 April 2009 18:24 > To: Flash Coders List > Subject: Re: [Flashcoders] Accessibility of a flash game > > - Original Message - > From: "Kerry Thompson" > To: "'Flash Coders List'" > Sent: Monday, April 20, 2009 6:05 PM > Subject: RE: [Flashcoders] Accessibility of a flash game > > > >> Paul Steven wrote: >> >> >>> I am making a game and have been asked by the client to ensure "The game >>> should meet all international accessibility requirements" >>> >>> Ack!!< >>> >> "All international accessibility requirements"? Your client is out of his >> mind. How can you possibly know, much less meet, so broad, varied, and >> sometimes contradictory a set of standards? Even in the U.S., you can meet >> federal standards, but fail to meet some state requirements. >> >> I would go back to the client and choose a country that has a well-defined >> set of requirements, and meet those. Hopefully, the country you live in >> has >> a reasonably clear set of requirements. Most of the G-20 countries do. >> > > I think I'd ask the client to specify the standards they want supported. > > Paul > >> Cordially, >> >> Kerry Thompson >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > __