Re: [Flashcoders] Catalyst
i'm with you on the mxml pushing old ladies into the road tho a On 26 Sep 2009, at 23:29, Anthony Pace wrote: Anyone try catalyst? Does it only output to flex style code that make babies cry, or does it output do pure AS3 too? ___ 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] strange error when removing sprite from parents display list
sorry for the really late reply to this thread but thanks :) a On 22 Aug 2009, at 16:07, Juan Pablo Califano wrote: PS: The place to report bugs: http://www.flashdevelop.org/community/viewforum.php?f=6 And the rules: http://www.flashdevelop.org/community/viewtopic.php?f=6t=92 2009/8/22 Juan Pablo Califano califa010.flashcod...@gmail.com The stack dump looks like .NET, indeed, so it's probably a bug to be fixed in FlashDevelop. Have you considereded sending a bug report with a mininal sample to reproduce the problem? Cheers Juan Pablo Califano 2009/8/22 Allandt Bik-Elliott (Receptacle) alla...@receptacledesign.com FYI This compiles correctly with flexbuilder so it seems it's a problem with flashdevelop (and not the flex sdk or my code) pity really, - i was really enjoying a flash ide-less workflow (could use flexbuilder - it's awful) a On 19 Aug 2009, at 11:42, allandt bik-elliott (thefieldcomic.com) wrote: hi guys i really hope you can help me with this: i'm getting the following error from the flex_sdk_3 when compiling with flashdevelop 'undefined' is an unexpected token. Expecting white space. Line 1, position 58. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.MoveToContent() at FlashViewer.Controls.FlashView.FlashMovieFlashCall(Object sender, _IShockwaveFlashEvents_FlashCallEvent e) it happens when the following method fires public function destroy():void { Debug.add(Destroying preloader); for (var i:int = 0; i this.numChildren; i++) { removeChildAt(0); } _sprPreloader = null; _tfPercent = null; _tfmtPercent = null; _percentBar = null; _assetLoader = null; parent.removeChild(this); } more specifically, it's this line (i've tested with and without it) parent.removeChild(this); this is something i've used numerous times before successfully and i don't really understand why it would be affecting the XmlTextReader (!!) could anyone shed some light on this please as it's a bit of a mystery to me thanks a ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Searching all ActionScript in an FLA
Hi Chris, Thanks. I'm on CS4. The line WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored. appears as the first line in the output panel with no clue as to where that code would reside. The compile errors panel is blank. The project includes some library items from an older project that had actionscript attached to limelines, but I carefully stripped all of it. The warning seems not to have any consequences up to now. But it's kind of gloomy you know. As if a problem might haunt me in the future, grinning: Didnt I warn you long time ago? regards, Willem van den Goorbergh On 26-sep-2009, at 7:27, Chris Velevitch wrote: On Thu, Sep 24, 2009 at 18:20, Geografiek geograf...@geografiek.nl wrote: I have a .fla with symbols in the library and a docClass.as going with it. When I publish, I get the following waring message: WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored. Are you using Flash CS3 or Flash CS4? In CS4, the errors panel should be showing you location of the warning and you should be able to double click the message line to goto the action panel and see and edit the code in question. Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney September meeting: Experiences with Flash Catalyst and Flex 4 Date: Mon 28th September 6pm for 6:30 start Details and RSVP on http://groups.adobe.com/posts/4a145446c3 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31) 30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Catalyst
Catalyst is still really rough - I wasn't initially impressed with the first public beta at all, but the tool has great potential and I'm hopeful and excited for the release next year. And yes, it's MXML output, not pure AS3. Jason Merrill Bank of America Global Learning Learning Performance Soluions Monthly meetings on making the most of the Adobe Flash Platform - presented by bank associates, Adobe engineers, and outside experts in the borader multimedia community - join the Bank of America Flash Platform Community (note: this is for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Saturday, September 26, 2009 6:29 PM To: Flash Coders List Subject: [Flashcoders] Catalyst Anyone try catalyst? Does it only output to flex style code that make babies cry, or does it output do pure AS3 too? ___ 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] Searching all ActionScript in an FLA
Watch out for blank lines in script panels too. Geografiek wrote: Hi Chris, Thanks. I'm on CS4. The line WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored. appears as the first line in the output panel with no clue as to where that code would reside. The compile errors panel is blank. The project includes some library items from an older project that had actionscript attached to limelines, but I carefully stripped all of it. The warning seems not to have any consequences up to now. But it's kind of gloomy you know. As if a problem might haunt me in the future, grinning: Didnt I warn you long time ago? regards, Willem van den Goorbergh On 26-sep-2009, at 7:27, Chris Velevitch wrote: On Thu, Sep 24, 2009 at 18:20, Geografiek geograf...@geografiek.nl wrote: I have a .fla with symbols in the library and a docClass.as going with it. When I publish, I get the following waring message: WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored. Are you using Flash CS3 or Flash CS4? In CS4, the errors panel should be showing you location of the warning and you should be able to double click the message line to goto the action panel and see and edit the code in question. Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney September meeting: Experiences with Flash Catalyst and Flex 4 Date: Mon 28th September 6pm for 6:30 start Details and RSVP on http://groups.adobe.com/posts/4a145446c3 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31)30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ 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] JPGEncoder and com folder
Hi Glen all this I knew I actually ask the question wrong way,my question I use Library Graffiti AS3 but this library call JPGEncoder from import com.adobe.images.JPGEncoder; my question was where to place JPGEncoder. and where I can download JPGEncoder code .then I find out that I have to create adobe folder and images folder and place it inside first I thought this folder located inside the flash CS4 folder. anyway thank you On Mon, Sep 28, 2009 at 12:05 AM, Glen Pike postmas...@glenpike.co.ukwrote: Hi, This is really a bit of a newbie question, so if you have any more really basic ones like this, I would suggest trying the other list - http://chattyfig.figleaf.com/mailman/options/flashnewbie/ - but to give you a bit of a pointer... You can unzip the as3corelib files anywhere you like. If you unzip in the same location as your project / FLA file, then you should see a folder called com in there - Flash will compile your movie okay because the classpath automatically includes the folder the FLA is in. If you put them somewhere else, you need to tell Flash where to look when compiling - add to your classpath. Search for this in the Flash help because there are 2 places you can set it (for each fla file and globally) HTH Glen Bassam M wrote: Mike I'm confuse can you tell me where to copy the folder, I don't know where is com folder and the class I use Flash CS4 On Fri, Sep 25, 2009 at 7:49 AM, Mike Chambers mcham...@adobe.com wrote: You need to download the code from the as3corelib library: http://code.google.com/p/as3corelib/ mike chambers m...@adobe.com On Sep 24, 2009, at 4:36 PM, Bassam M wrote: Hi guys anybody know where is the folder com.adobe I'm confuse about the class I don't know wher it's and I want to use JPEGEncoder but I'm getting error 1172: Definition com.adobe.images:JPGEncoder could not be found. so I want to place it inside the exact folder any Idea ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ 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] Searching all ActionScript in an FLA
I had this error also but it was due to a blank line on a movie clip. Check your movie clips and make sure there are no blank lines embedded - flash interprets more than one blank line as a line of script regards Margo On 9/28/2009 9:29 AM, Geografiek wrote: Hi Chris, Thanks. I'm on CS4. The line WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored. appears as the first line in the output panel with no clue as to where that code would reside. The compile errors panel is blank. The project includes some library items from an older project that had actionscript attached to limelines, but I carefully stripped all of it. The warning seems not to have any consequences up to now. But it's kind of gloomy you know. As if a problem might haunt me in the future, grinning: Didnt I warn you long time ago? regards, Willem van den Goorbergh On 26-sep-2009, at 7:27, Chris Velevitch wrote: On Thu, Sep 24, 2009 at 18:20, Geografiek geograf...@geografiek.nl wrote: I have a .fla with symbols in the library and a docClass.as going with it. When I publish, I get the following waring message: WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored. Are you using Flash CS3 or Flash CS4? In CS4, the errors panel should be showing you location of the warning and you should be able to double click the message line to goto the action panel and see and edit the code in question. Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney September meeting: Experiences with Flash Catalyst and Flex 4 Date: Mon 28th September 6pm for 6:30 start Details and RSVP on http://groups.adobe.com/posts/4a145446c3 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31)30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Margo Powell Applications Analyst MS Computer Science Department of Nutrition University of North Carolina at Chapel Hill 800 Eastowne Dr, Suite 100 Chapel Hill, NC 27514 919-408-3320 ext 30 margo_pow...@unc.edu ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Adobe Air loader another PDF File
hi guys I'm trying to loader pdf file using XML to retrieve the URL and I have CombBox to list all the files ,and I need to load another file every time I change the silder for the CombBox the problem is the pdf file load only first time and dosent change if I select another one from the list, I dont know what the the probelm I tried manything like removeChild and I tried to use container but no change, only first time the file load this is Adobe air application this is the code cb_list.addEventListener(SliderEvent.CHANGE,changehandler); function changehandler(e:Event):void { var sort1:String=cb_list.value; var id:String = myXML.tip.(title == sort1)@id.toxmlstring(); //trace(id) var slectedtip = myXML.tip.(title == sort1).fulltip.text(); tit_label.text=myXML.tip.(@ID == id).title .text(); date_label.text=myXML.tip.(@ID == id).date.text(); full_tip.text=myXML.tip.(@ID == id).fulltip.text(); var flashfileURL = myXML.tip.(@ID == id).picURL.text(); swfURL.text=flashfileURL; var url:String = new String(); url= myXML.tip.(@ID == id).picURL.text().toXMLString(); var requestpdf:URLRequest=new URLRequest(url); var container:Sprite = new Sprite(); var pdf = new HTMLLoader(); pdf.height=stage.stageHeight-150; pdf.width=stage.stageWidth-270; pdf.y=100; pdf.x=260; pdf.load(requestpdf); pdf.addEventListener(Event.COMPLETE, completeHandler); function completeHandler(event:Event):void { addChild(pdf); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] incorperating automatic thumbnail generator php script for my flash cms
A little while ago flep studio released a free cms and xml generator for as3; http://www.flepstudio.org/forum/flepstudio-utilities/4739-flash-xml-editor.h tml to build a gallery from the xml file it outputs is fairly simple but i would like it to create thumbnails on the fly, when the client uploads the large images a set of thumbnails is automatically create and place in a thumbs folder in the category folder that the cms creates, it would also be good to update the xml too, i've done a little research and there are some php scripts such as; http://www.anyexample.com/programming/php/php_multiple_photo_thumbnail_gener ator.xml that seem to do what im after, i suppose i need to incorperate that into the upload.php file in the cms? ?php //path to storage $storage = $_REQUEST[folder]; //path name of file for storage $uploadfile = $storage/ . basename( $_FILES['Filedata']['name'] ); //if the file is moved successfully if ( move_uploaded_file( $_FILES['Filedata']['tmp_name'] , $uploadfile ) ) { $answer=ok; echo answer=.$answer; //file failed to move }else{ $answer=no; echo answer=.$answer; } ? many help much appreciated, ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] dynamically creating swfs
hi all, just been googling but i'm not 100% sure what i want to do is possible. i want to generate a swf from a flash cms on a server. i'm thinking as mxml is xml it should be possible with flex? can anyone give me some links with some good info? thanks in advance, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] dynamically creating swfs
http://www.google.com/search?hl=ensource=hpq=ming+swfaq=foq=aqi=g10 http://www.google.com/search?hl=enq=LiveCycle+Data+Services+server+gene rated+swfaq=foq=aqi= Jason Merrill Bank of America Global Learning Learning Performance Soluions Monthly meetings on making the most of the Adobe Flash Platform - presented by bank associates, Adobe engineers, and outside experts in the borader multimedia community - join the Bank of America Flash Platform Community (note: this is for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of tom rhodes Sent: Monday, September 28, 2009 11:51 AM To: flashcoders Subject: [Flashcoders] dynamically creating swfs hi all, just been googling but i'm not 100% sure what i want to do is possible. i want to generate a swf from a flash cms on a server. i'm thinking as mxml is xml it should be possible with flex? can anyone give me some links with some good info? thanks in advance, tom. ___ 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] incorperating automatic thumbnail generator php script for my flash cms
Hi, That's pretty much what you need to do. Look at the example on the page you linked to - you don't necessarily want to output HTML, but would output a response of some kind, so strip out the HTML and return success / error and maybe messages I think - can't remember what FileReference upload is supposed to get back, sorry - but you should be on the right lines if you hack up the output of the script. Glen thomas horner wrote: A little while ago flep studio released a free cms and xml generator for as3; http://www.flepstudio.org/forum/flepstudio-utilities/4739-flash-xml-editor.h tml to build a gallery from the xml file it outputs is fairly simple but i would like it to create thumbnails on the fly, when the client uploads the large images a set of thumbnails is automatically create and place in a thumbs folder in the category folder that the cms creates, it would also be good to update the xml too, i've done a little research and there are some php scripts such as; http://www.anyexample.com/programming/php/php_multiple_photo_thumbnail_gener ator.xml that seem to do what im after, i suppose i need to incorperate that into the upload.php file in the cms? ?php //path to storage $storage = $_REQUEST[folder]; //path name of file for storage $uploadfile = $storage/ . basename( $_FILES['Filedata']['name'] ); //if the file is moved successfully if ( move_uploaded_file( $_FILES['Filedata']['tmp_name'] , $uploadfile ) ) { $answer=ok; echo answer=.$answer; //file failed to move }else{ $answer=no; echo answer=.$answer; } ? many help much appreciated, ___ 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] best way to use external interface
Hi I have a function in javascript on the html like: script type=javascript function openMyWindow(){ document.getElementByID(myWindow).setStyle(etc) } and I would like to use it from falsh something like this: mybutton.addEventlistener(MouseEvent.CLICK, contactJavascript); function contactJavascript(e:MouseEvent):void{ if (externalInterface.available){ externalInterface.call(openMyWindow()); } let me know if this could work at all. I'm trying to find a google about it, but all seems so obscure any help appreciated ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] best way to use external interface
thats essentially it. Syntax is slightly different if (ExternalInterface.available){ ExternalInterface.call(openMyWindow);} } make sure to import flash.external.ExternalInterface; and when u tell it what the name of the method in the javascript is leave off the () On Mon, Sep 28, 2009 at 12:18 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi I have a function in javascript on the html like: script type=javascript function openMyWindow(){ document.getElementByID(myWindow).setStyle(etc) } and I would like to use it from falsh something like this: mybutton.addEventlistener(MouseEvent.CLICK, contactJavascript); function contactJavascript(e:MouseEvent):void{ if (externalInterface.available){ externalInterface.call(openMyWindow()); } let me know if this could work at all. I'm trying to find a google about it, but all seems so obscure any help appreciated ___ 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] incorperating automatic thumbnail generator php script for my flash cms
Also make sure you have the right permissions for your php script and that you have the ability to write to and move files on your server. Lastly make sure your using the right version of php on your server. I had php 4.3 and was using php 5 code and found out the hard way. GL Karl Sent from losPhone On Sep 28, 2009, at 11:16 AM, Glen Pike g...@engineeredarts.co.uk wrote: Hi, That's pretty much what you need to do. Look at the example on the page you linked to - you don't necessarily want to output HTML, but would output a response of some kind, so strip out the HTML and return success / error and maybe messages I think - can't remember what FileReference upload is supposed to get back, sorry - but you should be on the right lines if you hack up the output of the script. Glen thomas horner wrote: A little while ago flep studio released a free cms and xml generator for as3; http://www.flepstudio.org/forum/flepstudio-utilities/4739-flash-xml-editor.h tml to build a gallery from the xml file it outputs is fairly simple but i would like it to create thumbnails on the fly, when the client uploads the large images a set of thumbnails is automatically create and place in a thumbs folder in the category folder that the cms creates, it would also be good to update the xml too, i've done a little research and there are some php scripts such as; http://www.anyexample.com/programming/php/php_multiple_photo_thumbnail_gener ator.xml that seem to do what im after, i suppose i need to incorperate that into the upload.php file in the cms? ?php //path to storage $storage = $_REQUEST[folder]; //path name of file for storage $uploadfile = $storage/ . basename( $_FILES['Filedata']['name'] ); //if the file is moved successfully if ( move_uploaded_file( $_FILES['Filedata']['tmp_name'] , $uploadfile ) ) { $answer=ok; echo answer=.$answer; //file failed to move }else{ $answer=no; echo answer=.$answer; } ? many help much appreciated, ___ 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] best way to use external interface
Ok, thanks, so it should work this way right? Gustavi On Sep 28, 2009, at 12:53 PM, Gregory Boland wrote: thats essentially it. Syntax is slightly different if (ExternalInterface.available){ ExternalInterface.call(openMyWindow);} } make sure to import flash.external.ExternalInterface; and when u tell it what the name of the method in the javascript is leave off the () On Mon, Sep 28, 2009 at 12:18 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi I have a function in javascript on the html like: script type=javascript function openMyWindow(){ document.getElementByID(myWindow).setStyle(etc) } and I would like to use it from falsh something like this: mybutton.addEventlistener(MouseEvent.CLICK, contactJavascript); function contactJavascript(e:MouseEvent):void{ if (externalInterface.available){ externalInterface.call(openMyWindow()); } let me know if this could work at all. I'm trying to find a google about it, but all seems so obscure any help appreciated ___ 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] JPGEncoder and com folder
Hi, Sorry - I probably got the wrong end of the stick too. Did you sort out the problem? Glen Bassam M wrote: Hi Glen all this I knew I actually ask the question wrong way,my question I use Library Graffiti AS3 but this library call JPGEncoder from import com.adobe.images.JPGEncoder; my question was where to place JPGEncoder. and where I can download JPGEncoder code .then I find out that I have to create adobe folder and images folder and place it inside first I thought this folder located inside the flash CS4 folder. anyway thank you On Mon, Sep 28, 2009 at 12:05 AM, Glen Pike postmas...@glenpike.co.ukwrote: Hi, This is really a bit of a newbie question, so if you have any more really basic ones like this, I would suggest trying the other list - http://chattyfig.figleaf.com/mailman/options/flashnewbie/ - but to give you a bit of a pointer... You can unzip the as3corelib files anywhere you like. If you unzip in the same location as your project / FLA file, then you should see a folder called com in there - Flash will compile your movie okay because the classpath automatically includes the folder the FLA is in. If you put them somewhere else, you need to tell Flash where to look when compiling - add to your classpath. Search for this in the Flash help because there are 2 places you can set it (for each fla file and globally) HTH Glen Bassam M wrote: Mike I'm confuse can you tell me where to copy the folder, I don't know where is com folder and the class I use Flash CS4 On Fri, Sep 25, 2009 at 7:49 AM, Mike Chambers mcham...@adobe.com wrote: You need to download the code from the as3corelib library: http://code.google.com/p/as3corelib/ mike chambers m...@adobe.com On Sep 24, 2009, at 4:36 PM, Bassam M wrote: Hi guys anybody know where is the folder com.adobe I'm confuse about the class I don't know wher it's and I want to use JPEGEncoder but I'm getting error 1172: Definition com.adobe.images:JPGEncoder could not be found. so I want to place it inside the exact folder any Idea ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] best way to use external interface
yup just like that On Mon, Sep 28, 2009 at 2:17 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Ok, thanks, so it should work this way right? Gustavi On Sep 28, 2009, at 12:53 PM, Gregory Boland wrote: thats essentially it. Syntax is slightly different if (ExternalInterface.available){ ExternalInterface.call(openMyWindow);} } make sure to import flash.external.ExternalInterface; and when u tell it what the name of the method in the javascript is leave off the () On Mon, Sep 28, 2009 at 12:18 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi I have a function in javascript on the html like: script type=javascript function openMyWindow(){ document.getElementByID(myWindow).setStyle(etc) } and I would like to use it from falsh something like this: mybutton.addEventlistener(MouseEvent.CLICK, contactJavascript); function contactJavascript(e:MouseEvent):void{ if (externalInterface.available){ externalInterface.call(openMyWindow()); } let me know if this could work at all. I'm trying to find a google about it, but all seems so obscure any help appreciated ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] JPGEncoder and com folder
yes it's done thank you On Mon, Sep 28, 2009 at 7:19 PM, Glen Pike postmas...@glenpike.co.ukwrote: Hi, Sorry - I probably got the wrong end of the stick too. Did you sort out the problem? Glen Bassam M wrote: Hi Glen all this I knew I actually ask the question wrong way,my question I use Library Graffiti AS3 but this library call JPGEncoder from import com.adobe.images.JPGEncoder; my question was where to place JPGEncoder. and where I can download JPGEncoder code .then I find out that I have to create adobe folder and images folder and place it inside first I thought this folder located inside the flash CS4 folder. anyway thank you On Mon, Sep 28, 2009 at 12:05 AM, Glen Pike postmas...@glenpike.co.uk wrote: Hi, This is really a bit of a newbie question, so if you have any more really basic ones like this, I would suggest trying the other list - http://chattyfig.figleaf.com/mailman/options/flashnewbie/ - but to give you a bit of a pointer... You can unzip the as3corelib files anywhere you like. If you unzip in the same location as your project / FLA file, then you should see a folder called com in there - Flash will compile your movie okay because the classpath automatically includes the folder the FLA is in. If you put them somewhere else, you need to tell Flash where to look when compiling - add to your classpath. Search for this in the Flash help because there are 2 places you can set it (for each fla file and globally) HTH Glen Bassam M wrote: Mike I'm confuse can you tell me where to copy the folder, I don't know where is com folder and the class I use Flash CS4 On Fri, Sep 25, 2009 at 7:49 AM, Mike Chambers mcham...@adobe.com wrote: You need to download the code from the as3corelib library: http://code.google.com/p/as3corelib/ mike chambers m...@adobe.com On Sep 24, 2009, at 4:36 PM, Bassam M wrote: Hi guys anybody know where is the folder com.adobe I'm confuse about the class I don't know wher it's and I want to use JPEGEncoder but I'm getting error 1172: Definition com.adobe.images:JPGEncoder could not be found. so I want to place it inside the exact folder any Idea ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ 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