RE: [Flashcoders] Fonts taking up too much space
Using SoThink SWF Decompiler I examined your SWF and found 4 font items as follows: 'font 4' - containing the following characters: . 0 1 2 3 4 5 6 7 8 9 B C I M Y [ ] a c d e f g h I k l m n o r s t u v w y 'font 12' - containing the following characters: H O U W Y [ a b d e f g h I l n o r s t u v w y 'font 23' - containing the following characters: B M I 'font 24' - containing the following characters: . B F I M a d e f g I l n o r s t u x y Looks like there's more embedded in there than you first thought. Hope that helps. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Tristan Sent: Wednesday, 27 June 2012 7:00 AM To: Flash Coders List Subject: Re: [Flashcoders] Fonts taking up too much space I did not embed any fonts but the numerals and period for the input box. On Tue, Jun 26, 2012 at 2:36 PM, Kerry Thompson al...@cyberiantiger.bizwrote: When you embedded the fonts, did you embed the entire font, or just the languages you need? If you embed the whole font, it's going to be big, and you might not need Tibetan or Khmer. Cordially, Kerry Thompson On Tue, Jun 26, 2012 at 4:02 PM, Tristan sunnrun...@gmail.com wrote: Hello all. I am trying to optimize a swf and I've picked apart everything. When i run it through some shareware Flash Optimizer program it shows that it's made 70% fonts. Can anyone recommend a better optimizer or something i can do about the fonts. The font size seems high to me for what the swf is. http://cleargraphix.com/cg_files/demos/Livewell_BMI_728x90.swf I might just be stuck I suppose. Maybe everything really is as tight as it could be. Trying to just shave off 1-2K to get it below 39K. I have to render as flash player 9 AS2. I'm using CS6 Any help appreciated. Thanks, T ___ 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 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?
I've got around the 'local security warning' issue in the past by running the content from a standalone webserver - check out Server2Go. You'll be able to fire off whatever ExternalInterface call you need. You'll have a pause of a few seconds while the server stats up, but otherwise it's a pretty seamless experience. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Wednesday, 23 May 2012 2:42 AM To: Flash Coders List Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash Events? I'm assuming you've already read the capabilities and info listed here, but if not, check this out: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash /external/ExternalInterface.html?filter_flash=cs5filter_flashplayer=10. 2filter_air=2.6 From that page: From ActionScript, you can do the following on the HTML page: Call any JavaScript function. Pass any number of arguments, with any names. Pass various data types (Boolean, Number, String, and so on). Receive a return value from the JavaScript function. From JavaScript on the HTML page, you can: Call an ActionScript function. Pass arguments using standard function call notation. Return a value to the JavaScript function. Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Tuesday, May 22, 2012 12:36 PM To: Flash Coders List Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash Events? I cannot change security settings for the player - this will be used by a lot of people and I cannot go to each work station and change that setting... unless you are talking about some other setting... -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Paul Andrews Sent: Tue 5/22/2012 12:15 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] RE: Can Javascript Listen to Flash Events? Just get a flash event handler to call a javascript function. You probably don't have the security setting for the project set right - network access only. Paul On 22/05/2012 17:06, Ted Lehr wrote: Oh - yes - I have the .fla... I just am running into issues when I try to have the swf call out to the javascript - I get the security warning from the player - so I am trying to figure out how to, instead of having the swf make a call out - maybe the javascript could just listen to the player... -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Merrill, Jason Sent: Tue 5/22/2012 11:52 AM To: Flash Coders List Subject: [Flashcoders] RE: Can Javascript Listen to Flash Events? You would have to add code to the .swf, but yes, Javascript can listen for Flash events and vice versa. Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Tuesday, May 22, 2012 11:44 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Can Javascript Listen to Flash Events? So I have a swf that needs to run locally and make an ExternalInterface.call ... I am unable to make settings changes to the users Flash Players ... so as of now it seems unpossible! My thoughts was to see if the javascript can listen for a flash event (the end of a flv in FLVPlayback to be specific) Any thoughts? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact
RE: [Flashcoders] Updating to 10.3 or 11 External player in cs5.5?
Maybe I'm missing something here - what is stopping you from keeping your SWF open in a browser window (with the debug Player of your choice) and simply hitting F5 after you've republished? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Peter Ginneberge Sent: Thursday, 9 February 2012 6:47 AM To: Flash Coders List Subject: Re: [Flashcoders] Updating to 10.3 or 11 External player in cs5.5? Just looked it up real quick: The IDE player dll is located in: {FLASH DIR}\Common\Configuration and is called: authplay.dll If you look at the file's properties you'll notice it says: Adobe Flash Player 10.2 r153 Doing a trace inside the IDE gives: WIN 10,2,153,2 import flash.system.Capabilities; trace(Capabilities.version); In short, you're screwed :( regards, Peter - Original Message - From: Peter Ginneberge p.ginnebe...@telenet.be To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 08, 2012 8:24 PM Subject: Re: [Flashcoders] Updating to 10.3 or 11 External player in cs5.5? Is there any way to fix this? Have you installed the FP11 debug player? If not, download and install it! If I remember correctly, installing FP11 won't change a thing. The Flash IDE uses a .dll (on windows) for preview/testing inside the IDE. The only way to update that player dll is to actually wait for Adobe to release an updated version. I haven't used Flash in a long time, so things may have changed, but that's how it used to be. regards, Peter ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] animation memory leak ... please help
If you're already manually removing event listeners and deleting created objects, and you really wanna nail this and don't mind spending a few hours learning something new then I totally recommend the Temple Library for ActionScript 3 by MediaMonks http://code.google.com/p/templelibrary/ Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct' method, and view/test the results in the 'Memory' class. It's saved my bacon, hope it's useful to you too. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p t i c o n] Sent: Wednesday, 19 October 2011 7:31 AM To: Flash Coders List Subject: Re: [Flashcoders] animation memory leak ... please help yes, i delete it and mark it null.. thx all On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafani ross.sclaf...@gmail.comwrote: Are you disposing of the image after it is offscreen? Have you run the profiler to see what's happening? Ross P. Sclafani Design | Technology | Creative 347.204.5714 http://ross.sclafani.net http://www.twitter.com/rosssclafani On Oct 18, 2011, at 4:00 PM, Adrian Zając zajac.adr...@gmail.com wrote: I think I had this problem once... How many of images do you have? Maybe it will be better to make the same number of movie clips, and download every jpg only once? Adrian W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze: Hi All, I have an excrutiating memory leak. Here's what i'm doing. first some specs: AS2, FP10+, Linux OS, ff browser I load a jpg into one of two movie clips...once a specified amount of time has expired i load the next image (download it using moviclip loader) and animate the visible movieclip off stage (slide it to the left or right) and at the same time i animate it i also fade it (mc._alpha -= mc._alpha-someAmount). i swap their depths and repeat this process. what i'd like to know is why after so many hours (8-24) flash starts slowing down and ultimately throws up the abort script dialog when i'm not really doing anything all that intensive.. can someone explain how flash handles animations internally for example...it creates a copy of the image in memory..moves it then blits it the screen. can anyone give me some pointers as to where to begin looking for this leak or if you think this is flash player bug all advise helpful thanks percy ___ 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 -- . : . [ p e r c e p t i c o n ] . _ _ _ _ _ _ _ _ _ _ . ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] array problem,loop.plot
Nasim, As you already know, pre-calculating all those data points is too much work for Flash, and it's also way more points than any monitor can show at one time. Why don't you try calculating only the points you need, only when you need them? Tell your boss that 'having an array of points' from -1 to 1 is the wrong solution. A solution that will work in Flash is to start by deciding how many points you can reasonably plot (for example 1000), then define the 'zoom' of your graph by specifying the START and END values, and then plot ONLY 1000 POINTS between your start and end values. Zooming in and out just means changing the START and END values. The onscreen display will remain the same size, but the shape of the plotted line will change as you zoom in and out. Also, if you can, you should buy Keith Peter's excellent book ActionScript 3 Animation - Making Things Move. It deals specifically with the issues you're experiencing. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of nasim h Sent: Tuesday, 23 August 2011 2:13 PM To: Flash Coders List Subject: Re: [Flashcoders] array problem,loop.plot Dear Kerry Hi I am really apreciate u , one of my bigest problem is when i want create point , my boss want to have an array of point that has distance between -1 to 1 or more than it because when the user want scale graph i should use that stoored point to calculate new graph , but the prolem is when i want to store data in array this loop take a lot of time and flash dont do anything until the loop finished , and after 15 s it get me eror of time or hang the program and close it in my program i should fine soulotion to draw online point plz help me --- On Mon, 8/22/11, Kerry Thompson al...@cyberiantiger.biz wrote: From: Kerry Thompson al...@cyberiantiger.biz Subject: Re: [Flashcoders] array problem,loop.plot To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Monday, August 22, 2011, 3:34 PM Sure. I knew there would be bugs in my code :-) Actually, you have so many points, you probably don't need to use curveTo(). lineTo() would probably work for you, and it just takes two parameters. Here's a class I wrote that draws something. It's probably not what you want, but it works, at least. You can take it from here. (I created this class in a Flex AS3 project--that's why I defined the stage size in line 6. If you do it in Flash, you won't need that--just set the stage size to what you want). Cordially, Kerry Thompson package { import flash.display.Sprite; import flash.display.Graphics; [SWF(width='1024',height='768',backgroundColor='#FF',frameRate='24')] public class GraphTst extends Sprite { private var pointX:Vector.Number; //vectors are much faster than arrays private var pointY:Vector.Number; private var ndx:int = 0; private var len:int; public function GraphTst() { init(); createPoints(); drawGraph(); } private function init():void { // You have to create the vector in a new code line pointX = new Vector.Number(); pointY = new Vector.Number(); } private function createPoints():void { // first fill the vectors for (var i:Number= -100; i100; i++) { pointX[ndx]=i + 100; pointY[ndx]=5*Math.sin(20*i); ndx++; } } private function drawGraph():void { // prepare to draw the graph graphics.lineStyle(2, 0X00); //set the line to 2 pixels wide, black len = pointX.length - 1; // Now draw the graph graphics.moveTo(pointX[0], pointY[0]); for (ndx = 1; ndx len; ndx++) { //trace(ndx: + ndx); graphics.lineTo(pointX[ndx], pointY[ndx]); } } } } On Mon, Aug 22, 2011 at 2:08 PM, nasim h iranebah...@yahoo.com wrote: Dear Kerry I 'am really appreciate u ,but the first problem that i didnt use curve to is it's parameter it needs 4 parameter and i cant guess how to define curve point do u have any idea plz tell me --- On Mon, 8/22/11, Kerry Thompson al...@cyberiantiger.biz wrote: From: Kerry Thompson al...@cyberiantiger.biz Subject: Re: [Flashcoders] array problem,loop.plot To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Monday, August 22, 2011, 9:41 AM Gerry and Henrik have the right answer. Your computer monitor isn't capable of displaying 20 million points, and Flash will hang, as you have found out. This is untested e-mail AS3, but I would do it something like this: var pointX:Vector.Number; //vectors are much faster than arrays
RE: [Flashcoders] Gaia Transitions
Hi Ryan, Here's what you need. Would it be OK for me to post this class on the Gaia forums? It would be helpful to anyone else looking at the conversation we had... C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ryan P Sent: Friday, 8 April 2011 10:50 AM To: Flash Coders List Subject: Re: [Flashcoders] Gaia Transitions Thanks dude!! I really appreciate your time on this! On Thu, Apr 7, 2011 at 5:06 PM, Chris Foster cfos...@catalystinteractive.com.au wrote: Hi Ryan, I posted a reply on the Gaia forums for you at: http://www.gaiaflashframework.com/index.php/topic,4035.0.html C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ryan P Sent: Friday, 8 April 2011 8:20 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Gaia Transitions Hey Guys, Been trying to solve this for the past three days.. Need your guys pro help on this one. I am trying make a pretty simple transition using Gaia Framework. Here is the a test animation of the what I am trying todo: http://www.pixeltheory.la/clients/visionsteen/motionComp/movement2.html The first to buttons only work. I want to add this animation to the nav so its all be in one place. I have my nav.as working with the buttons and pages loading in, but I can seem to figure out where to hijack and release to make this happen correctly. Steven Flash Master, tired to help me with the transition but I couldn't seem to get it working. Here is what he said: Here is the way to do: beforeTransitionOut, your swipe will animate in, releaseGaia, then afterTransitionIn it will animate out revealing the page underneath. I seems easy enough looking at it, but can seem to figure out where it goes in the nav.as. Here is what I have so far, most of the code so far is just for the navArray. package pages { import com.gaiaframework.templates.AbstractPage; import com.gaiaframework.events.*; import com.gaiaframework.debug.*; import com.gaiaframework.api.*; import flash.display.*; import flash.events.*; import com.greensock.TweenMax; import com.greensock.*; import com.greensock.easing.*; public class NavPage extends AbstractPage { public var home_btn:MovieClip; public var topBlue:MovieClip; public var bottomWhite:MovieClip; public var facilities_btn:MovieClip; public var whatWeDo_btn:MovieClip; public var aboutUs_btn:MovieClip; public var contactUs_btn:MovieClip; public var backShadow1:MovieClip; public var backShadow2:MovieClip; public var backShadow3:MovieClip; public var backShadow4:MovieClip; public var navArray:Array; public var releaseGaiaNav:Function = Gaia.api.afterGoto(onAfterGoto); public var releaseGaia:Function = Gaia.api.afterTransitionOut(onTransitionOut, true); public function NavPage() { super(); alpha = 0; home_btn.branch = Pages.HOME; facilities_btn.branch = Pages.FACILITIES; whatWeDo_btn.branch = Pages.WHAT_WE_DO; aboutUs_btn.branch = Pages.ABOUT_US; contactUs_btn.branch = Pages.CONTACT_US; navArray = [home_btn, facilities_btn, whatWeDo_btn, aboutUs_btn, contactUs_btn] for each (var button:MovieClip in navArray) { button.buttonMode = true; button.mouseChildren = false; button.addEventListener(MouseEvent.CLICK, onClick, false,0,true); } } override public function transitionIn():void { super.transitionIn(); TweenMax.to(this, 0.3, {alpha:1, onComplete:transitionInComplete}); } override public function transitionOut():void { super.transitionOut(); TweenMax.to(this, 0.3, {alpha:0, onComplete:transitionOutComplete}); for each (var button:MovieClip in navArray) { button.removeEventListener(MouseEvent.CLICK, onClick); } } private function onTransitionOut(e:GaiaEvent):void { releaseGaia(); } private function onClick
RE: [Flashcoders] Gaia Transitions
Hi Ryan, I posted a reply on the Gaia forums for you at: http://www.gaiaflashframework.com/index.php/topic,4035.0.html C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ryan P Sent: Friday, 8 April 2011 8:20 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Gaia Transitions Hey Guys, Been trying to solve this for the past three days.. Need your guys pro help on this one. I am trying make a pretty simple transition using Gaia Framework. Here is the a test animation of the what I am trying todo: http://www.pixeltheory.la/clients/visionsteen/motionComp/movement2.html The first to buttons only work. I want to add this animation to the nav so its all be in one place. I have my nav.as working with the buttons and pages loading in, but I can seem to figure out where to hijack and release to make this happen correctly. Steven Flash Master, tired to help me with the transition but I couldn't seem to get it working. Here is what he said: Here is the way to do: beforeTransitionOut, your swipe will animate in, releaseGaia, then afterTransitionIn it will animate out revealing the page underneath. I seems easy enough looking at it, but can seem to figure out where it goes in the nav.as. Here is what I have so far, most of the code so far is just for the navArray. package pages { import com.gaiaframework.templates.AbstractPage; import com.gaiaframework.events.*; import com.gaiaframework.debug.*; import com.gaiaframework.api.*; import flash.display.*; import flash.events.*; import com.greensock.TweenMax; import com.greensock.*; import com.greensock.easing.*; public class NavPage extends AbstractPage { public var home_btn:MovieClip; public var topBlue:MovieClip; public var bottomWhite:MovieClip; public var facilities_btn:MovieClip; public var whatWeDo_btn:MovieClip; public var aboutUs_btn:MovieClip; public var contactUs_btn:MovieClip; public var backShadow1:MovieClip; public var backShadow2:MovieClip; public var backShadow3:MovieClip; public var backShadow4:MovieClip; public var navArray:Array; public var releaseGaiaNav:Function = Gaia.api.afterGoto(onAfterGoto); public var releaseGaia:Function = Gaia.api.afterTransitionOut(onTransitionOut, true); public function NavPage() { super(); alpha = 0; home_btn.branch = Pages.HOME; facilities_btn.branch = Pages.FACILITIES; whatWeDo_btn.branch = Pages.WHAT_WE_DO; aboutUs_btn.branch = Pages.ABOUT_US; contactUs_btn.branch = Pages.CONTACT_US; navArray = [home_btn, facilities_btn, whatWeDo_btn, aboutUs_btn, contactUs_btn] for each (var button:MovieClip in navArray) { button.buttonMode = true; button.mouseChildren = false; button.addEventListener(MouseEvent.CLICK, onClick, false,0,true); } } override public function transitionIn():void { super.transitionIn(); TweenMax.to(this, 0.3, {alpha:1, onComplete:transitionInComplete}); } override public function transitionOut():void { super.transitionOut(); TweenMax.to(this, 0.3, {alpha:0, onComplete:transitionOutComplete}); for each (var button:MovieClip in navArray) { button.removeEventListener(MouseEvent.CLICK, onClick); } } private function onTransitionOut(e:GaiaEvent):void { releaseGaia(); } private function onClick(e:MouseEvent):void { Gaia.api.goto(e.target.branch); } private function onAfterGoto(e:GaiaEvent):void { for each (var button:MovieClip in navArray) { if(button.branch == Gaia.api.getCurrentBranch())
RE: [Flashcoders] Loader Max Question
Hi Marco, Nice work so far! OK, my first suggestion would be that you register for the Gaia forum and post this kind of question there. Most of what you're asking about here relates to best practices for working within Gaia (with a little crossover into plain ol' AS3 knowledge). The folks on the forum are very helpful with this kind of 'how should I be doing this?' question. That being said, I *think* what you want to do is treat each jpeg asset as a Gaia 'BitmapSpriteAsset' - This next bit is straight from the Gaia docs: --- BitmapSpriteAsset (AS3 only) This is a version of the BitmapAsset that you can add interactivity to because BitmapSpriteAssets are wrapped inside a Sprite container, and the asset provides a proxy to the Sprite methods. Set the type=sprite in the asset node to turn a BitmapAsset into a BitmapSpriteAsset. import com.gaiaframework.api.IBitmapSprite; // IBitmapSprite(assets.myBitmap).buttonMode = true; IBitmapSprite(assets.myBitmap).addEventListener(MouseEvent.CLICK, onClickBitmap); --- Then you can easily create your own container MovieClip, reparent the jpeg asset (because you can now treat it as a Sprite) into your new MovieClip, create a textfield in your MovieClip, and create any interactivity (via Sprite events like ) and tweening you want. Here's an example of how to add the interactivity you want to the loaded image (which is now treated as a Sprite) --- public var loadedImage:BitmapSpriteAsset = new BitmapSpriteAsset(); loadedImage.addEventListener(MouseEvent.MOUSE_OVER, myMouseOverEventHandler) -- To access linkURL and caption attributes in yoru asset XML I think you need your XML asset node to look like this: asset id=myAssetID src=myAsset.jpg type=sprite linkURL=http://www.random.com; caption=Caption text for my loaded image/ ...and in your Design.as where you have the line: myBitmap = IBitmap(assetArray[i]).content; you *should* be able to access the 'linkURL' and 'caption' attributes of the node something like this: var caption:String = assetArray[i].node.@caption I'm a little fuzzy on the specific syntax, but I now you can definitely access the XML content of your 'assets' XML, so try searching the Gaia forums if my suggestion doesn't work immediately. Hope that's some help... C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Marco Terrinoni Sent: Thursday, 24 March 2011 3:42 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] Loader Max Question Many thanks for the tip Chris, I decided to try and load the assets via an external xml file as jpgs instead of swfs to make the application as scalable as possible without having to recompile anything as suggested. I still have some way to go, I've got the jpgs loading and positioned where I want them on the stage but am still struggling to: a) Convert the bitmap to a movieclip - and reference 'linkURL' attribute in the xml file b) add captions - I have two lines that need to be added, one for the title, another for the date. I have followed the advice in the Gaia documentation - loading the assets xml file into the index page in the site.xml file with the following code in my index.as var assetNodes:XMLList = IXml(assets.projectAssets).xml.asset; var designPage:IPageAsset = Gaia.api.getPage(index/nav/design); Gaia.api.addAssets(assetNodes, designPage); TweenMax.to(this, 0.3, {alpha:1, onComplete:transitionInComplete}); } Then In my design.as file } override public function transitionIn():void { super.transitionIn(); TweenMax.to(this, 0.3, { alpha:1, onComplete:transitionInComplete } ); var assetArray:Array = page.assetArray; var len:int = assetArray.length; for (var i:int = 0; i len; i++) { trace(assetArray[i]); myBitmap = IBitmap(assetArray[i]).content; myBitmap.visible = true; myBitmap.x=(i % 4) * 240; myBitmap.y = int(i / 4) * 180 + 60
RE: [Flashcoders] Loader Max Question
Hi Marco, I've always found it much easier to let the Gaia framework manage my loading by adding items (like SWFs, images, mp3, flv etc.) as assets to the Gaia page. It's easier because I don't have to write code to solve the kind of problem you're asking about... The Gaia documentation is pretty thorough about how you can use the assets... In the case of your SWFs it looks like you'd need to create some buttons onstage (like a menu screen) and give them each a 'click' event handler to make the loaded SWF visible (and to hide any other loaded SWFs that are currently visible). Here's the docco on using assets: http://www.gaiaflashframework.com/wiki/index.php?title=Assets#How_To_Use _Assets Probably the most useful and important thing to know is that once your SWF assets are loaded, they're positioned at 0,0 and their 'visible' property is set to false. To display them, all you need to do is set the 'visible' property to true. And assuming that 'captions' means a single text title for each asset, you can place this info in an attribute of the asset node in Gaia, like this: asset id=mySWF src=something.swf caption=Insert Caption/ ...and then access this XML via E4X by using the 'node' property of the asset, like this: assets.mySWF.node.@caption ...and use that to populate a textfield. Keeping the caption in the XML means you can easily change the SWF as well as the caption without needing to recompile anything later. Hope that helps, C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Marco Terrinoni Sent: Tuesday, 22 March 2011 8:14 AM To: 'Flash Coders List' Subject: [Flashcoders] Loader Max Question Hi all I am using Loadermax to load an array of swf files into a Gaia project file, this all works fine but I would like to know how I would go about creating a link for each swf file and adding other information externally such as captions? Here is my code //create an array of image file names var urls:Array = [brakes.swf, hp_xmas.swf, drambuie.swf, ftfe.swf, hillbillyAnim.swf ]; //create the LoaderMax queue into which we'll put the ImageLoaders _queue = new LoaderMax({name:childQueue, requireWithRoot:this.root, maxConnections:1, onChildComplete:_childCompleteHandler}); //loop through the file names, create an SWFLoader and place it on the stage using special properties like x, y, width, height, etc. The images will also be scaled to fit within the width/height defined. for (var i:int = 0; i urls.length; i++) { _queue.append( new SWFLoader(urls[i], { container:this, x:(i % 4) * 240, y:int(i / 4) * 180 + 60, width:220, height:160, bgColor:0x141414}) ); } //prepend all of the urls in the LoaderMax instance with assets/swf _queue.prependURLs(assets/swf/); //start loading _queue.load(); } // EVENT HANDLERS function _childCompleteHandler(event:LoaderEvent):void { TweenMax.to(event.target, 0.5, {delay:1, ease:Circ.easeInOut}); trace(loaded + event.target); } Many thanks in advance! Marco Terrinoni - Director MULARAM PRODUCTIONS web design // animation // illustration uk: +44 7876 652 643 e: mailto:ma...@mularam.com ma...@mularam.com w: http://www.mularam.com/ www.mularam.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___
RE: [Flashcoders] FDT, version control and project files
I work with a team of 3 developers and 4 designers. The developers all use the FDT Eclipse plugin version, and we use Subclipse to manage our Subversion repos. We never commit our project files (mainly to stop noobs from accidentally changing project settings unintentionally) and all our compilation and deployment is done from ANT scripts. The designers usually install Tortoise SVN client and (usually after a few mistakes) are competent enough to leave on their own. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Alias Cummins Sent: Friday, 11 March 2011 11:03 PM To: Flash Coders List Subject: [Flashcoders] FDT, version control and project files Hey guys, Been a while since I posted here. I'm going to assume that you are all still alive and that not everyone has quit coding with actionscript and started using HTML5 for your website banner builds just yet... Anyway, I have a question about FDT and version control: What are people doing regarding working with teams of developers and using SVN in FDT? The new version of FDT has now removed its out of the box for subversive, which, although it has (many many) faults, is pretty much the best of a bad bunch when it comes to IDE integrated SVN. Anyway, I was wondering whether people have any thoughts on the (related) issue of working in teams and controlling your projects. Do you ignore the project files completely and let each developer do what he or she likes with them? Do you agree on a standard configuration? Or do you add your project files to svn and check out an FDT project via the import... project from SVN route? This third approach is what I usually do, and it's great for teams of developers about 99% of the time. However, that 1% of times when you have a version control problem, it's REALLY a problem. Your entire team grinds to a halt, you can't commit, everything goes basically pear shaped. Anyway, I was wondering is anyone has come up with a better solution than just using a seperate SVN client and manually managing all their files. Subversive has some very useful features and it's really nice once you get used to it. And I'm used to it. I guess I'm just set in my ways. Thanks in advance Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] IE not releasing memory after unloading Flash object
Hi list, I'm using SWFObject 2.2 (dynamic embed) to display my Flash content. In IE7 on WinXP the Windows Task Manager shows that the 'iexplore' process isn't releasing memory after the window containing my Flash is closed. I've tried explicitly calling SWFObject's 'cleanupSWFs' and 'removeSWF' methods in the 'onbeforeunload' event of my HTML page, but with no change in the result. Is it correct to assume that (regardless of Flash memory management and garbage collection issues) closing the browser window should remove the Flash Player from the IE DOM and release the memory it was using? Any advice appreciated, C: This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] IE not releasing memory after unloading Flash object
I *think* my listeners are all under control Karl - but I'm still interested in whether my assumption is correct or not - does closing the browser window Completely remove the Flash Player instance from the IE DOM and release the memory it was using? (not Flash memory, but memory used by IE, as visible in the Task Manager) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Friday, 4 March 2011 9:53 AM To: Flash Coders List Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash object Hi Chris, Do you have any listeners that look for the system? IE: system capabilities, monitor size, mouse position, etc, or just listeners in general. Try removing the listeners before garbage collection and unload. HTH, Karl On Mar 3, 2011, at 4:45 PM, Chris Foster wrote: Hi list, I'm using SWFObject 2.2 (dynamic embed) to display my Flash content. In IE7 on WinXP the Windows Task Manager shows that the 'iexplore' process isn't releasing memory after the window containing my Flash is closed. I've tried explicitly calling SWFObject's 'cleanupSWFs' and 'removeSWF' methods in the 'onbeforeunload' event of my HTML page, but with no change in the result. Is it correct to assume that (regardless of Flash memory management and garbage collection issues) closing the browser window should remove the Flash Player from the IE DOM and release the memory it was using? Any advice appreciated, C: This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.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] IE not releasing memory after unloading Flash object
Yeah, the SWF is definitely not caching... But I've also found something that does seem to work... instead of calling window.close(), calling window.location.refresh() clears the previously consumed memory. It's only a hack at the moment, but it seems repeatable, so if needs be I can work this into a solution. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Friday, 4 March 2011 12:08 PM To: Flash Coders List Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash object One last thought, have you tried a no-cache on your swf? Best, Karl On Mar 3, 2011, at 6:07 PM, Karl DeSaulniers wrote: My *guess* is it does not release until you 1. close IE all together, or 2. Pull up the same file name and it not be the exact same file, IE:edits were made to the file. Pulled new from the server. or 3. have more time go before letting the page change or window close. (Not the best recommendation) It eventually will catch up and it will clear, but garbage collection as a whole is an unpredictable beast. I have always had a problem with IE caching my SWFs and almost fighting to let them go. Does this same behavior happen for you in other browsers? Or just IE? Have you looked into a Javascript DOM garbage collection? Maybe do garbage collection on the swf, the swfObject and the DOM? Sorry not much more help. Best, Karl On Mar 3, 2011, at 5:23 PM, Chris Foster wrote: I *think* my listeners are all under control Karl - but I'm still interested in whether my assumption is correct or not - does closing the browser window Completely remove the Flash Player instance from the IE DOM and release the memory it was using? (not Flash memory, but memory used by IE, as visible in the Task Manager) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Friday, 4 March 2011 9:53 AM To: Flash Coders List Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash object Hi Chris, Do you have any listeners that look for the system? IE: system capabilities, monitor size, mouse position, etc, or just listeners in general. Try removing the listeners before garbage collection and unload. HTH, Karl On Mar 3, 2011, at 4:45 PM, Chris Foster wrote: Hi list, I'm using SWFObject 2.2 (dynamic embed) to display my Flash content. In IE7 on WinXP the Windows Task Manager shows that the 'iexplore' process isn't releasing memory after the window containing my Flash is closed. I've tried explicitly calling SWFObject's 'cleanupSWFs' and 'removeSWF' methods in the 'onbeforeunload' event of my HTML page, but with no change in the result. Is it correct to assume that (regardless of Flash memory management and garbage collection issues) closing the browser window should remove the Flash Player from the IE DOM and release the memory it was using? Any advice appreciated, C: This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.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] Flash CS5 - Component Live Preview Disapearing
Hi Karim, This might happen if your Live Preview is linked to an external SWF, rather than embedded in your component (see your Component Definition dialog box). C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent: Tuesday, 1 March 2011 3:42 AM To: Flash Coders List Subject: [Flashcoders] Flash CS5 - Component Live Preview Disapearing Hello live... I am currently developing a component for Flash CS5 (AS3), I have stumbled on an issue where the live preview disappears leaving a blank space where the component should be. This only happens when the component is turned into a complied clip. It's there but not visible, which obviously would not be a good thing for the designers. Has anyone found any solutions for this issue ? Thanks Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Subtle XML/Font loading/CSS issue, limited test capabilities - looking for suggestions
Thanks Karl, appreciate the help. I'll reply with my solution as soon as it works! Cheers, C -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Friday, 14 January 2011 9:58 PM To: Flash Coders List Subject: Re: [Flashcoders] Subtle XML/Font loading/CSS issue,limited test capabilities - looking for suggestions Oh and one last thing, keep your fonts folder inside your css folder.. well thats what worked best for me anyways. Something about relative paths and php email blasts led me to this, it wouldn't embed if it had to go outside of the css folder to find the font. But if it was inside where the css lived, the email server allowed it with a spam setting of Same Domain or Allow Same Domain, one of the two. Can't remember off the top. GL, Karl On Jan 13, 2011, at 7:42 PM, Chris Foster wrote: No, thanks Karl, I haven't tried that... C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Friday, 14 January 2011 11:37 AM To: Flash Coders List Cc: Flash Coders List Subject: Re: [Flashcoders] Subtle XML/Font loading/CSS issue,limited test capabilities - looking for suggestions have you tried embedding your fonts in your css? this might help in that. http://fontsquirrel.com/fontface/generator I use the bulletproof(smiley) Best, Karl Sent from my iPhone On Jan 13, 2011, at 6:07 PM, Chris Foster cfos...@catalystinteractive.com.au wrote: Folks, I'm currently working on a large eLearning project... hundreds of static (ugh!) screens. We're using the Gaia framework with great success. I've built a CS4 text display component that our designers use (uses component parameters pointing to external XML, CSS and font files, displays styled HTML text in the Flash IDE and at runtime). It lets them lay out screens without needing to create or style the text (we use HTML-monkeys to build the external XML files holding the text). Recently a small number of users began reporting an issue that we can't replicate in-house... The runtime text isn't appearing. I can't replicate the issue yet. Our content is usually deployed via a 3rd party hosted LMS to users on our corporate network, but the recent issue has surfaced with users who aren't on our corporate network. Things I've tried (without success) to replicate the issue: - Matching users' OS and browser (Win7 and IE8) - Trying other OS and browser combinations (XP, Vista, Firefox, IE7) - Testing from inside our corporate network - Using a 3G USB modem to get 'outside our network' and then access the LMS - Using 'Charles' to throttle the connection speed down to ridiculous levels - Viewing the log in 'Charles' for anything unusual The SWFObject embed statement is specifying Flash Player 10.0.32.18 If you've got any suggestions about the possible source of the issue, or other steps you've found useful in isolating and replicating a tricky issue I'd love to hear them. Thanks, Chris This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.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
[Flashcoders] Subtle XML/Font loading/CSS issue, limited test capabilities - looking for suggestions
Folks, I'm currently working on a large eLearning project... hundreds of static (ugh!) screens. We're using the Gaia framework with great success. I've built a CS4 text display component that our designers use (uses component parameters pointing to external XML, CSS and font files, displays styled HTML text in the Flash IDE and at runtime). It lets them lay out screens without needing to create or style the text (we use HTML-monkeys to build the external XML files holding the text). Recently a small number of users began reporting an issue that we can't replicate in-house... The runtime text isn't appearing. I can't replicate the issue yet. Our content is usually deployed via a 3rd party hosted LMS to users on our corporate network, but the recent issue has surfaced with users who aren't on our corporate network. Things I've tried (without success) to replicate the issue: - Matching users' OS and browser (Win7 and IE8) - Trying other OS and browser combinations (XP, Vista, Firefox, IE7) - Testing from inside our corporate network - Using a 3G USB modem to get 'outside our network' and then access the LMS - Using 'Charles' to throttle the connection speed down to ridiculous levels - Viewing the log in 'Charles' for anything unusual The SWFObject embed statement is specifying Flash Player 10.0.32.18 If you've got any suggestions about the possible source of the issue, or other steps you've found useful in isolating and replicating a tricky issue I'd love to hear them. Thanks, Chris This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Subtle XML/Font loading/CSS issue, limited test capabilities - looking for suggestions
No, thanks Karl, I haven't tried that... C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Friday, 14 January 2011 11:37 AM To: Flash Coders List Cc: Flash Coders List Subject: Re: [Flashcoders] Subtle XML/Font loading/CSS issue,limited test capabilities - looking for suggestions have you tried embedding your fonts in your css? this might help in that. http://fontsquirrel.com/fontface/generator I use the bulletproof(smiley) Best, Karl Sent from my iPhone On Jan 13, 2011, at 6:07 PM, Chris Foster cfos...@catalystinteractive.com.au wrote: Folks, I'm currently working on a large eLearning project... hundreds of static (ugh!) screens. We're using the Gaia framework with great success. I've built a CS4 text display component that our designers use (uses component parameters pointing to external XML, CSS and font files, displays styled HTML text in the Flash IDE and at runtime). It lets them lay out screens without needing to create or style the text (we use HTML-monkeys to build the external XML files holding the text). Recently a small number of users began reporting an issue that we can't replicate in-house... The runtime text isn't appearing. I can't replicate the issue yet. Our content is usually deployed via a 3rd party hosted LMS to users on our corporate network, but the recent issue has surfaced with users who aren't on our corporate network. Things I've tried (without success) to replicate the issue: - Matching users' OS and browser (Win7 and IE8) - Trying other OS and browser combinations (XP, Vista, Firefox, IE7) - Testing from inside our corporate network - Using a 3G USB modem to get 'outside our network' and then access the LMS - Using 'Charles' to throttle the connection speed down to ridiculous levels - Viewing the log in 'Charles' for anything unusual The SWFObject embed statement is specifying Flash Player 10.0.32.18 If you've got any suggestions about the possible source of the issue, or other steps you've found useful in isolating and replicating a tricky issue I'd love to hear them. Thanks, Chris This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ 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] Advice on calling subscriber script on another server
Hi Paul, Are you relying on the other server to return information for you to use in your game? Or are you simply required to send new subscriber information to the distant server? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven Sent: Friday, 26 November 2010 5:37 AM To: 'Flash Coders List' Subject: [Flashcoders] Advice on calling subscriber script on another server My flash game needs to call a script on another server to update a subscriber list with a name and and email address. I thought all was working fine while testing from the IDE but have just realised it doesn't work when testing in a browser. I realise this is probably something that requires a crossdomain.xml file on the other server but this is not possible. I therefore seek advice on if there is any other solution to call a script and pass parameters to a script on another server. The script I am calling is a ashx file which I believe is asp. Any help really appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Advice on calling subscriber script on another server
Thanks Paul, I assume by 'client' you mean your Flash game, right? If that's so then I think you have a crossdomain issue, but a workaround 'may' be to still use your containing HTML page to send and verify the data, and only use your SWF to trigger the submission of the form using the ExternalInterface class. It might be more than you can achieve given your tight deadline, but it's another option... Does that make sense? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven Sent: Friday, 26 November 2010 7:57 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] Advice on calling subscriber script onanother server Hi Chris I simply need to send the new subscriber information to the distant server I was given an html form by my client that had to be converted to Flash for the game. The form has 2 hidden variables and then 3 other variables, name, email and telephone. The flash form submitted the data to the script on the remote server (signup.ashx) fine when running from the IDE as the client was able to confirm the data was added but due to the security restrictions of flash it doesn't work from in the browser as my game is on one domain and the script on another. Any advice appreciated Thanks Paul -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Chris Foster Sent: 25 November 2010 20:51 To: Flash Coders List Subject: RE: [Flashcoders] Advice on calling subscriber script on another server Hi Paul, Are you relying on the other server to return information for you to use in your game? Or are you simply required to send new subscriber information to the distant server? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven Sent: Friday, 26 November 2010 5:37 AM To: 'Flash Coders List' Subject: [Flashcoders] Advice on calling subscriber script on another server My flash game needs to call a script on another server to update a subscriber list with a name and and email address. I thought all was working fine while testing from the IDE but have just realised it doesn't work when testing in a browser. I realise this is probably something that requires a crossdomain.xml file on the other server but this is not possible. I therefore seek advice on if there is any other solution to call a script and pass parameters to a script on another server. The script I am calling is a ashx file which I believe is asp. Any help really appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ 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] Advice on calling subscriber script on anotherserver
No problem Paul, As a rough guide, I'm suggesting that the form data submission is handled by a javascript function in your containing HTML page. Your SWF would then use the ExternalInterface class to call that function directly (and pass arguments if you need to), rather than the SWF sending the form data itself. That way the SWF never needs to look outside its domain, and the data can still be sent. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven Sent: Friday, 26 November 2010 8:27 AM To: Flash Coders List Cc: Flash Coders List Subject: Re: [Flashcoders] Advice on calling subscriber script on anotherserver Thanks Chris I have never used externalinterface before but will google it now and give it a go. Thank you for your help - it is really appreciated. Thanks Paul On 25 Nov 2010, at 21:09, Chris Foster cfos...@catalystinteractive.com.au wrote: Thanks Paul, I assume by 'client' you mean your Flash game, right? If that's so then I think you have a crossdomain issue, but a workaround 'may' be to still use your containing HTML page to send and verify the data, and only use your SWF to trigger the submission of the form using the ExternalInterface class. It might be more than you can achieve given your tight deadline, but it's another option... Does that make sense? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven Sent: Friday, 26 November 2010 7:57 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] Advice on calling subscriber script onanother server Hi Chris I simply need to send the new subscriber information to the distant server I was given an html form by my client that had to be converted to Flash for the game. The form has 2 hidden variables and then 3 other variables, name, email and telephone. The flash form submitted the data to the script on the remote server (signup.ashx) fine when running from the IDE as the client was able to confirm the data was added but due to the security restrictions of flash it doesn't work from in the browser as my game is on one domain and the script on another. Any advice appreciated Thanks Paul -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Chris Foster Sent: 25 November 2010 20:51 To: Flash Coders List Subject: RE: [Flashcoders] Advice on calling subscriber script on another server Hi Paul, Are you relying on the other server to return information for you to use in your game? Or are you simply required to send new subscriber information to the distant server? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven Sent: Friday, 26 November 2010 5:37 AM To: 'Flash Coders List' Subject: [Flashcoders] Advice on calling subscriber script on another server My flash game needs to call a script on another server to update a subscriber list with a name and and email address. I thought all was working fine while testing from the IDE but have just realised it doesn't work when testing in a browser. I realise this is probably something that requires a crossdomain.xml file on the other server but this is not possible. I therefore seek advice on if there is any other solution to call a script and pass parameters to a script on another server. The script I am calling is a ashx file which I believe is asp. Any help really appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ 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
RE: [Flashcoders] Using an embedded font
Hi Kerry, I think this is one that gave me headaches a while ago... My solution was to apply the textFormat AFTER the text has been applied to the textField. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry Thompson Sent: Thursday, 23 September 2010 11:05 AM To: Flash Coders List Subject: [Flashcoders] Using an embedded font I've been banging my head up against this for 4 hours, and the client has to ship tonight. FlashBuilder 4, Windows 7. I am just trying to make a little demo of how to embed a font, but when I pull together code that has worked before into one simple class, it doesn't show the text. It draws the outline of the text field, but there is no text. When I comment out one line, textField.embedFonts = true, it works, but not with the embedded font. I've tried different fonts, and can't get any of them to work. Can somebody spot what I'm doing wrong? Cordially, Kerry Thompson public class FontEmbedding extends Sprite { public function FontEmbedding() { showText(); } /** * Embeds the Garamond 3 font */ [Embed( source='../fonts/GaramThrSC.ttf', fontName='Garamond3' )] private static var Garamond3Embedded: Class; private function showText():void { var textFormat:TextFormat; var textField:TextField; registerFonts(); textFormat = new TextFormat(); textFormat.color = 0x00; textFormat.font = Garamond3Embedded; textFormat.align = left; textField = new TextField(); textField.defaultTextFormat = textFormat; textField.border = (true); textField.embedFonts = true; textField.text = Hello Autovod!; textField.width = 100; textField.height = 30; addChild(textField); textField.x = 100; textField.y = 60; } public static function registerFonts(): void { Font.registerFont(Garamond3Embedded); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Isometric Graphics Libraries
Assuming that you're after AS3 libraries, go here: http://fluxdb.fluxusproject.org/ and type 'Isometric' into the 'Search' box in the top-right corner. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Tom Gooding Sent: Thursday, 9 September 2010 12:43 AM To: Flash Coders List Subject: [Flashcoders] Isometric Graphics Libraries Hi - is anyone aware of any pre-existing free or commercial isometric graphic libraries - for characters and props? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 library management tool
A friend of mine has started building a Flex and Actionscript library/package management repository (think RubyGems or Per CPAN). The first part (a database of AS3 libraries) is already built (http://fluxdb.fluxusproject.org/). Next will be a command line interface to the database, followed by a GUI to download, manage and update your local version. If you're on GitHub you can 'watch' it at http://github.com/jasonm23/Fluxus/ And if you have time and skills, the project would love some help from the community. Chris www.flashgrind.com This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Loading external fonts into a CS4 Component LivePreview
I've made a TextArea-style component that connects to external text (HTML CDATA tags in XML), external CSS, and external fonts (load a SWF, register the contained fonts). It displays the loaded, styled text in the IDE and at runtime, but unless I explicitly embed the fonts in the component LivePreview FLA library I don't get good anti-aliasing in the IDE. I'd prefer not to do this because I'd need to publish a separate LivePreview SWF for every different project. Has anyone here dynamically loaded external fonts into an AS3 component LivePreview? Alternatively, how can I force the draw() method of the LivePreview to respond to IDE events? (this would help me with finding alternatives) Thanks in advance for ANY suggestions! :) Chris Foster Multimedia Team Leader cfos...@catalystinteractive.com.au Phone: +612 6233 8900 - Fax: +612 6233 8947 - Mobile: +61 414 394 524 Catalyst Interactive Pty Ltd www.catalystinteractive.com.au Level 4, 11 Lancaster Place, Majura Park, Canberra, ACT PO Box 5418, Kingston 2604 a KBR company --- IMPORTANT: The Information contained in this electronic message is confidential and intended only for the named recipient(s). Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] RIA Secure Coding
A while ago Hewlett-Packard released a tool (custom decompiler) for 'exposing Flash Application vulnerabilities'. It might make an easy starting point for further investigation. http://www.communities.hp.com/securitysoftware/blogs/spilabs/archive/200 9/03/20/exposing-flash-application-vulnerabilities-with-swfscan.aspx C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Boerner, Brian J Sent: Thursday, 3 June 2010 6:55 AM To: Flash Coders List Subject: [Flashcoders] RIA Secure Coding This one is for all the RIA developers on the list. I haven't really seen secure coding widely addressed here but was hoping someone had knowledge that could get me started. I'm leading effort to develop flash coding standards in corporate environment so there are fewer (or no) security risks and so there's a knowledge base of what to look for. I gather that this is not an exciting topic for FC but I have to do a thorough job documenting vulnerabilities, best practices, common pitfalls. I'm hoping someone here has had to wrestle with security for financial app or hotel booking... I understand that the player itself is the main concern but I don't know how it can be hacked... I don't even want to google 'hacking flash' for fear an adobe goon will hunt me down (and take my iPod touch). Any of you familiar with OWASP? I have to write a report based on these top ten vulnerabilities (link). I can see the value but it hurts my web designer brain :^) http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] changing url without reloading page/swf in as2.0
http://www.asual.com/swfaddress/ http://www.padizine.com/blog/swfaddress-tutorial-for-actionscript-2-0/ C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Amol Sent: Thursday, 8 April 2010 3:33 PM To: Flash Coders List Subject: [Flashcoders] changing url without reloading page/swf in as2.0 Hi list I've seen a site a while back that as you went through it, it would change the url without reloading the page/swf. I want to know how do i build a Flash navigation as the movie plays or if click on buttons have it change the url and the html text but leave the swf playing? I am using flash action script 2.0 thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Transition from AS2 to AS3... with minimum pain
FWIW, I made the transition to AS3 about a year ago (eLearning lags a little behind the rest of the commercial world). Here's what made my journey easy... 1) Use the GAIA framework as a starting point for all my projects. 2) Watched Colin Moock's 'Lost Actionscript Weekend' DVDs 3) Purchased 'Essential Actionscript 3' 4) No practice runs, just started building projects with the new tools GAIA reduced the amount of 'housekeeping programming' significantly. No need to write loaders, preloaders, asset management, plus excellent site creation utility (scaffolding) and a solid user community. The 'Lost Actionscript Weekend' videos mirror the Essential Actionscript 3' book structure. I found the book too heavy to sit through, but the videos brought it to life for me (and made the book more useful as a 'more information' tool). Just biting the bullet and using these tools immediately on commercial work was MUCH less headache than I'd anticipated. The problems I needed to solve were about the work at hand, and not about chasing down housekeeping bugs. Next on the horizon is RobotLegs - it seems to be gaining traction, and appears to play nice with GAIA. Anyone else shared this path? Or have an alternative to offer? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Thursday, 1 April 2010 11:50 AM To: Flash Coders List Subject: Re: [Flashcoders] What good is a Controller? I agree Taka. I need to kick it into hight gear is the consensus I am hearing. So I am on it. I don't think it will be as painful as I was thinking, but we'll see what my learning curve is. I must admit (at the risk of brown nosing) I have enjoyed reading all of the posts on this list about AS3. It has helped and I am not even doing AS3 yet. There are a lot of professionals on this list. People who really know their stuff. I feel lucky to have found it. And Dave rocks.. My hat is off to all of you and my thanks for tolerating my dinosaur ass... :)) Karl On Mar 31, 2010, at 7:39 PM, Taka Kojima wrote: Hey, if you're doing well with AS2, there's nothing wrong with that. It's not going away for a long time. Jason is right, and to his point: The interactive industry is probably one of the the fastest changing industries in the world. If you aren't willing to change (and I am not saying you are not willing Karl), pick a different career. As web developers, competence, being able to quickly learn and pick up on new technologies, etc. go hand in hand with being good at what we do. Sure that could be said for any field of work, but I think it's extremely relevant for this field. AS2 will be completely dead and irrelevant in 3 years, in 10 years from now Flash Player will probably not even support AS 2 content, if Flash Player itself is still relevant then. Talking about the web's future 10 years from now is generally not a good idea, so I am not going to go down that path. On Wed, Mar 31, 2010 at 5:27 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: Hey Karl - a few more things - check out the Migration Cheat Sheet for AS3 here: http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet- for-act ionscript-20/ (Some of the other cheat sheets will be useful too.) Read through that and you'll start to get comfortable with the changes. It can seem painful at first, but start slow - for example, create a test project where you use AS3 to insert a Textfield on the screen and set a value on it - then create a button that removes it or something. Pretty soon you'll be off and running - and we'll be here to help. Jason Merrill Bank of America Global Learning Learning Performance Solutions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Wednesday, March 31, 2010 6:08 PM To: Flash Coders List Subject: Re: [Flashcoders] What good is a Controller? I tend to agree with Jason here, I am a freelancer and I have missed out on a lot of jobs because I am not an AS3 developer. Your probably right on the ease of use and the functionality of AS3 being better, otherwise what would be the use of creating AS3. Again, thanks for all your comments. I am going to try to migrate as soon as I can. I know its just an amount of getting into it and getting it done. Best Regards, Karl DeSaulniers On Mar 31, 2010, at 5:01 PM, Merrill, Jason wrote: Hey, if you're doing well with AS2, there's nothing wrong with that. It's not going away for a long time. I disagree with that - what happens when you lose your job and have to put your resume out there? And IMO, it's nearly almost gone away anyway.
Re: [Flashcoders] Flex 3 newbie: how to use Sprite's, how to find parent's dimensions
So the short answer is: No, you can't add your sprite to the 1st Canvas. Long answer: One of the most important base classes within Flex is Container (the parent of Canvas). In container's addChild() documentation there's this gem: Note: While the child argument to the method is specified as of type DisplayObject, the argument must implement the IUIComponent interface to be added as a child of a container. All Flex components implement this interface. So basically there is a wall: On one side of it there are Flex components, on the other side there are Flash display primitives. This is a feature, not a bug. :) You have two (similar) options: The first is to create a Deck 'wrapper' UIComponent that contains your deck. This will allow you to re-use your deck in pure ActionScript projects if needed in the future. The other is to make Deck extend UIComponent instead of Sprite. This requires a little less code, and may look cleaner, depending. Here is an example for a 'wrapper' : package { import mx.core.*; public class DeckComponent extends UIComponent { [Bindable] public var label:String; private var deck:Deck; public function DeckComponent() { super() } protected override function createChildren():void { super.createChildren(); deck = new Deck(); //add your event listeners here addChild(deck); } protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); deck.resize(unscaledWidth, unscaledHeight); //perhaps you'll want to change the size of the deck? } } } And then you can do this: mx:TabNavigator width=100% height=100% myPackage:DeckComponent label=Playing table width=100% height=100% / mx:Canvas label=Score width=100% height=100% /mx:Canvas or: mx:TabNavigator width=100% height=100% mx:Canvas label=Playing table width=100% height=100% myPackage:DeckComponent width=100% height=100% / /mx:Canvas mx:Canvas label=Score width=100% height=100% /mx:Canvas Peace C On Sat, Mar 20, 2010 at 3:24 PM, Alexander Farber alexander.far...@gmail.com wrote: Thank you for the explanations and - On Sat, Mar 20, 2010 at 7:04 PM, Chris zomgfore...@gmail.com wrote: http://livedocs.adobe.com/flex/3/html/help.html?content=ascomponents_advanced_2.html I've started to read it. But maybe someone can give me a start: If I have a Canvas in Flex: mx:TabNavigator width=100% height=100% mx:Canvas label=Playing table width=100% height=100% /mx:Canvas mx:Canvas label=Score width=100% height=100% /mx:Canvas can't I just somehow add my Sprite to the 1st Canvas above? In Flash I'd just: _deck = new Deck(); _deck.addEventListener(CardEvent.CLICKED, handleCardClicked); _deck.addEventListener(CardEvent.PLAYED, handleCardPlayed); addChild(_deck); Regards Alex ___ 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] Flex 3 newbie: how to use Sprite's, how to find parent's dimensions
Hehe, that's a lot of questions, but I'll try to answer as many as i can. When porting a game to Flex for the purposes you mention, I'd recommend that you create a 'modular' extension of UIComponents. For example, for your main game, extend the main game view's class with UIComponent. If you have, say, a scoreView, then do the same with what. Don't extend *everything* with UIComponent, you will see a significant performance problem. I'd recommend that you think of your game in terms of at-most 4-5 UIComponents. I'd also recommend that you do not extend your game views with mxml. MXML has no purpose in this instance, it is more useful when you are creating a final view. If you have a tabNavigator and you want to get the parent's width, I believe that the UIComponent.parent property will work as intended. I would suggest tho that before you go down that road, that you think about your Flex development from a Flex perspective. Check this out: http://livedocs.adobe.com/flex/3/html/help.html?content=ascomponents_advanced_2.html The flex display hierarchy is made in such a way that you should probably not be looking at your paren't width/height to figure out the size of your component. Use the updateDisplayList() function to determine the size of your component, and lay it out as expected. As an aside, attempt to use the 'invalidation' methodology prevalent in Flex, as it will make your life easier. For example, say your game requires a value object that represents the model of the game. You need to pass that to your view, which will then draw it. You could write something like this: public function initializeGame(gameData:GameData) { //...initialize game } This is not a very flex way of doing it. The reason being that you'll probably want to use data binding and states to pass data around. The more flex way of doing it would be private var _gameInvalidated:Boolean=false; private var _gameData:GameData; [Bindable] public function get gameData():GameData { return _gameData; } public function set gameData(newVal:GameData):void { _gameData = newVal; _gameInvalidated = true; invalidateProperties(); } override protected function commitProperties():void { super.commitProperties(); if(_gameInvalidated){ ///.initialize game _gameInvalidated = true; ///perhaps invalidate your display list also... } } This works better with Flex's component life cycle. The more you know about this life cycle, the better your life will be. An invaluable resource for this is to check out the Flex source from SVN and read it all the time. As a fun example, let's just say we wanted to make World of Warcraft as a Flex app. :) The main game viewport would be one UIComponent, made up of, say, an Away3D engine and flash primitives. The minimap in the corner would be another component. All the popup windows would be their own components, with tab controls,etc. And each one would use Flex's LayoutManager to dynamically place the objects upon screen resize, etc. The key to making this design work is to harness flex for what its good at: layout/ui controls, and flash for what its good at: animation, effects. cool games. Sorry this turned out to be so long. Looks like my girlfriend is out of the shower, g2g! :D C On Sat, Mar 20, 2010 at 8:33 AM, Alexander Farber alexander.far...@gmail.com wrote: Hello, I'd like to port a game of mine to a Flex app, because I'd like to use tabs, controls and charts. I'm reading the docs for already a week, there are lots of them and well explained. But what do I do with my Sprites? My app consists mostly of Sprites, for example user avatars with names+ score, playing cards and a playing table holding 32 cards. Should I create a custom components as separate .mxml files for them? Should I change extends Sprite to extends UIComponent in my classes? Or should I somehow use rawChildren (of the container?) I' mostly confused by: if you create a custom .mxml control, how do you draw stuff inside it, how do you maintain the children Sprites of it? And how can you get the dimensions of the parent. For example if I use TabNavigator with Canvas's which have width=100% height=100% and put my playing cards into a Canvas, how could I find its real width x height please? Regards Alex ___ 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] Re: Pop up window locally
Don't call the 'window.open' method from Flash, write a function in the HTML page and call that function from Flash. Here's an example of the function on the HTML page: loadPopup = function(pageName, width, height) { var newPopupWindow; var left = screen.width/4; var top= screen.height/4; var props = width=+width+,height=+height+,top=+top+,left=+left+,resizable=n o,status=no,toolbar=no,menubar=no,location=no; newPopupWindow = window.open(pageName, content1, props); } ...and from AS3 you would call: ExternalInterface.call(loadPopup(' + myURLStringHere + ', 740, 560)); -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Fahim Akhter Sent: Thursday, 4 March 2010 5:58 AM To: Flash Coders List Subject: Re: [Flashcoders] Re: Pop up window locally Test on different version of IE too, sometimes older version of IE prove to be a bitch. regards, Fahim Akhter http://www.behance.net/fahimakhter http://twitter.com/fahimakhter On Wed, Mar 3, 2010 at 11:40 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Mozilla opens pop up correctly. This strange thing happened only on IE 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: I test it from html script language=javascript if (AC_FL_RunContent == 0) { alert(This page requires AC_RunActiveContent.js.); } else { AC_FL_RunContent( 'codebase', ' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=9,0,0,0 ', 'width', '550', 'height', '400', 'src', 'test', 'quality', 'high', 'pluginspage', ' http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'test', 'bgcolor', '#ff', 'name', 'test', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', 'test', 'salign', '' ); //end AC code } /script 2010/3/3 Nathan Mynarcik nat...@mynarcik.com: When you test locally, are you testing your swf embedded in an HTML file? Or are you testing it from when Flash shows you the published swf? --Original Message-- From: natalia Vikhtinskaya Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Re: Pop up window locally Sent: Mar 3, 2010 11:58 AM But if locally I test script like getURL (javascript:NewWindow=window.open(' http://www.somename.com/key16.html ','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,s crollbars=No,status=No,resizable=No,fullscreen=No');void(0);); this script works in IE and opens pop up window 2010/3/3 natalia Vikhtinskaya natavi.m...@gmail.com: Hi I cannot find solution for this small problem Simple code getURL (javascript:NewWindow=window.open('key16.html','newWin','width=400,he ight=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,r esizable=No,fullscreen=No');void(0);); That opens pop up window when I test it from the server and does not open pop up window when I test it locally on computer. Thanks for any help. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply
Re: [Flashcoders] can I get some recommendations for development tools?
A lot of people like Flex Builder and Flash Develop. I prefer a language-agnostic editor than something specific to Flash so I use jEdit. http://jedit.org Compiling with the Flex SDK in jEdit on mac is easy with fcshtl: http://hasseg.org/blog/?p=194 http://ubergeek.tv/article.php?pid=146 Of course it is not as easy to set up as Flash builder but has the added benefit of working consistently. On Thu, Dec 17, 2009 at 7:12 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: flashdevelop + flash cs3 / flex 3 sdk On Thu, Dec 17, 2009 at 1:56 PM, Steven loe stevenloe5...@yahoo.com wrote: FDT is a well-liked dev tool. Not cheap. But worth it On Dec 17, 2009, at 12:21 AM, Cor c...@chello.nl wrote: Flash CS4 FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Lafser Sent: donderdag 17 december 2009 6:27 To: Flash Coders Subject: [Flashcoders] can I get some recommendations for development tools? I'm trying to figure out what are some good tools to use for developing flash apps and could use some recommendations. Thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.716 / Virus Database: 270.14.111/2569 - Release Date: 12/16/09 20:52:00 ___ 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] AS2 static var persisting when movie unloaded
I would recommend a couple paths: Add a removeInstance() method to your singleton(s) that will clear you singleton upon removing your application. Use the MultiCore version of PureMVC which is a 'multiton'. Then you can create a new 'core' and remove the old one if it exists. Essentially this is the same as above, but encapsulated as a design pattern. This is a very clean way to make sure everything is correctly dereferenced, but you are probably too far into the project to think about applying a framework. Peace c On Thu, Dec 3, 2009 at 12:41 PM, Andrew Sinning and...@learningware.com wrote: Of course this makes complete sense, but now I need to rethink how my AS2 singletons are structured. mark.jonk...@comcast.net wrote: Yes it should persist. When you load a movie, its classes get loaded into memory and they stay in memory regardless if you offload the movie. AS3 has some additional processes that do allow classes to eventually offload for *some* loaded movies that are loaded into their own application domains. When you load another movie, if it has a class with the same name and same package, then that class is ignored, it doesn't replace the existing one. Basically think of it as once loaded, always loaded, once loaded, never replaced. First version in is the version for the rest of the session. Hope that helps. Sincerely Mark R. Jonkman - Original Message - From: Andrew Sinning and...@learningware.com To: Flash Coders flashcoders@chattyfig.figleaf.com Sent: Thursday, December 3, 2009 12:06:29 PM GMT -05:00 US/Canada Eastern Subject: [Flashcoders] AS2 static var persisting when movie unloaded I load in a movie into a container movie. The loaded-movie uses _lockRoot = true. A singleton instance of a class is created and set as a static variable of the class. The movie is then unloaded and another instance of the movie is loaded into the same container. Should static members in classes be preserved or not? What I'm finding is that my singleton is persisting. This is not what I expected. Thanks! ___ 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] AIR: Application opened by someone else?
What you are mentioning sounds like the most logical course of action. You're basically implementing a 'lock' file within the application. The only issue with this approach is 'wedging' which can occur. If a user opens the application and their computer crashes, the file will be locked with no way to unlock without prompting the user to unlock. An approach to this is to add a timestamp to the lock and have the app refresh the timestamp every minute or so. Then if a timestamp is older than one minute (and change) you can be assured that the user with the lock is no longer working on the file. Peace C On Wed, Dec 2, 2009 at 7:43 AM, Eric E. Dolecki edole...@gmail.com wrote: I was wondering if there is a framework for determining if an AIR application has been opened by more than one person on a network? I have a data file that the AIR application opens and allows editing for. Works great, however instances of the application all open the same data file. The chances are slim that more than one person will be accessing that single data file at a time, but I think I need to allow for detection and alert a user that someone else is also accessing the data therefore they could stomp on each other's changes. I was going to use a simple XML file and when the app loads, check a value in the XML. Each time someone opens the app, it checks the number and adds 1 to it writes to the XML. Each time the app (instance) is quit, it decrements the number until 0 (no one else is accessing). Not sure if this is a good approach or not since it's based solely on happening when one starts the application up and I was going to avoid polling the XML to see if it changed over time. So looking for an easy to implement solution to this problem. Perhaps my XML file thing is the way to go - not sure. Thanks for any insight, Eric ___ 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] Detect child parent
It sounds like what you are doing is correct. Perhaps your child isn't on the stage. Try something like this: if(child.parent){ child.parent.removeChild(child); } Which will only attemp to remove child if the parent exists. If you expect your child to always be parented, you might want to yell loudly about it: if(child.parent){ child.parent.removeChild(child); }else{ throw new Error(This child doesn't currently have a parent.); } On Sun, Nov 22, 2009 at 1:15 PM, Ktu ktu_fl...@cataclysmicrewind.comwrote: Are you sure that the child you are trying to remove is in a display list? Ktu On Sun, Nov 22, 2009 at 3:08 AM, Karl DeSaulniers k...@designdrumm.com wrote: Maybe.. var childParent:Object = mychild.parent; childParent.removeChild(mychild) or var childParent:Object = mychild._parent; childParent.removeChild(mychild) Karl On Nov 22, 2009, at 1:58 AM, Karl DeSaulniers wrote: mychild.parent.removeChild(mychild) Karl DeSaulniers Design Drumm http://designdrumm.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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] GlowFilter vs. custom StrokeFilter?
I'm trying to get some thoughts on how the best way to do this is. I am adding some dynamic strokes on things, and right now I'm using the trick of adding a GlowFilter to sprites to create a stroke around objects (by setting the strength at about 8 i believe). Its seems like a bit of a hack, so I started thinking about how I could make something faster, but was stumped. It seems that there is essentially no functional difference between a GlowFilter and a StrokeFilter, except the threshold, ie. strength. Is this correct? Thanks, Chris Hill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] JSFL dynamic textfield antialiasing question...
Hi, I'm using JSFL to modify a bunch of FLAs created by a designer. I need to change the antialiasing on a large number of textfields from 'bitmap' to 'antialias for animation' but the only parameters I can see are 'standard', 'device', 'bitmap', 'advanced' and 'customThicknessSharpness'. 'advanced' changes the textfield to 'antialias-for-reading', which I don't want. Anyone know how to change this to 'antialias for animation'? Thanks, C: Chris Foster Multimedia Team Leader cfos...@catalystinteractive.com.au chris.fos...@kbr.com Phone: +612 6233 8900 - Fax: +612 6233 8947 - Mobile: +61 414 394 524 Catalyst Interactive Pty Ltd www.catalystinteractive.com.au 8 Townsville Street Fyshwick ACT 2609 PO Box 722 Fyshwick 2609 a KBR company --- IMPORTANT: The Information contained in this electronic message is confidential and intended only for the named recipient(s). Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] JSFL dynamic textfield antialiasing question...
Thanks guys, that's confirmed my suspicions. Much appreciated, C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Latcho Sent: Wednesday, 18 November 2009 10:47 AM To: Flash Coders List Subject: Re: [Flashcoders] JSFL dynamic textfield antialiasing question... Did a quick test. I think Stanley is wright: not possible. My ASV swf decompiler creates JSFL to reconstuct a FLA. I created a bunch of different textfields, compiled to swf and decompiled with ASV. Got ASV creating JSFL rebuild script for recreating a FLA. For antialias for readability fields it creates JSFL code that creates the textfield from scratch. For antailias for animation textfields it creates a new symbol-SWF of the textfield graphic and ads that as a symbol directly into the library; Just to complement Stanley's idea that it might not be in the power of JSFL otherwise ASV would just implement that 100% scriptwise, loosing the additional imported SWF's. Latcho jared stanley wrote: hmm good question - i don't know if that's accessible from jsfl. you could probably just loop through everything on the stage, and if it's a text field then select it - that dropdown will affect all selected textfields. not exactly what you're looking for though, maybe someone else has a better solution. jared On Tue, Nov 17, 2009 at 6:04 PM, Chris Foster cfos...@catalystinteractive.com.au wrote: Hi, I'm using JSFL to modify a bunch of FLAs created by a designer. I need to change the antialiasing on a large number of textfields from 'bitmap' to 'antialias for animation' but the only parameters I can see are 'standard', 'device', 'bitmap', 'advanced' and 'customThicknessSharpness'. 'advanced' changes the textfield to 'antialias-for-reading', which I don't want. Anyone know how to change this to 'antialias for animation'? Thanks, C: Chris Foster Multimedia Team Leader cfos...@catalystinteractive.com.au chris.fos...@kbr.com Phone: +612 6233 8900 - Fax: +612 6233 8947 - Mobile: +61 414 394 524 Catalyst Interactive Pty Ltd www.catalystinteractive.com.au 8 Townsville Street Fyshwick ACT 2609 PO Box 722 Fyshwick 2609 a KBR company --- IMPORTANT: The Information contained in this electronic message is confidential and intended only for the named recipient(s). Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ 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] Placing sprites on the circumference of a circle
hi Wyert, If this is the kind of thing you might do more than once then I strongly recommend checking out the 'hype' AS3 framework from Joshua Davis and Branden Hall. http://hype.joshuadavis.com There's a very approachable set of intro videos here: http://www.vimeo.com/channels/hype C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Weyert de Boer Sent: Tuesday, 10 November 2009 7:56 AM To: Flash Coders List Subject: Re: [Flashcoders] Placing sprites on the circumference of a circle After a bike ride down hill to the supermarket and cooking I just tried out all your suggestions and I have to say it appears to work! Really nice, only the problem I am currently happening is the issue when I am creating sprites dynamically during runtime the origin is not in the bottom center but in the top left which goofs up everything. And when I try to do: x = -( b.width / 2 ); y = -( b.height ); Before I am updating the positions as calculated the trigonometry formulas. I am quite sure I am overseeing something, though. Not sure what is wrong even when I do this after the setting x,y to the values of nx, ny it still fails for me. The current code I am using is as follows: http://www.innerfuse.biz/dropbox/code.txt Anyone know what I could be doing wrong? Thanks again, you guys are lifesavers :) (really need to get a book about mathematics again to fresh up) Yours, Weyert de Boer ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] How to test URLVariables members
Hi Alex, You could use a 'try/catch' block... e.g. try { if (vars.myname != undefined){ // do something } } catch (e:Error) { trace(ERROR: your error info here); } -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Alexander Farber Sent: Thursday, 5 November 2009 10:08 AM To: Flash Coders List Subject: [Flashcoders] How to test URLVariables members How do you test (without warnings and errors) if a var vars:URLVariables contains something on an Event.COMPLETE? For example if there is a vars.myname set? (I.e. otherwise vars.myname would be undefined - according to http://help.adobe.com/en_US/AS3LCR/Flash_10.0/package.html#undefined ) Is the following correct: if (vars.myname != undefined) Can you compare undefined to undefined? Thank you Alex ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Job Postings OK?
I have not actively participated in this list for years, sorry :). I was wondering if it would be ok to put a job posting up? Thanks, Chris ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Looking for Actionscripters
Sony Online Entertainment Tucson is looking for various people to help us make video games. We're looking for three types of people: Mid/Senior Level Actionscript Developer - On-site long-term contractor position. Mid/Senior Level ActionScript Game Developer - Off-site short-term contract(s) for mini-game development. Intern/Junior Level Developer - On-site Development/Learning Program. Detailed information below. == Middle/Senior Actionscript Developer == This is a FULL TIME contract position for on-site work. Game development knowledge a plus, but unnecessary. We are looking for quality coders. If you've wanted to work in games this position is perfect for a seasoned developer to migrate over. You will be working on a team developing game subsystems within a larger game environment. Skills sought : * Ability to work in a team using agile methodology. * A solid understanding of a Cairngorm-style MVC programming style. * Ability to write quality modular, loosely coupled code. * A working knowledge of Flash. == Middle/Senior Actionscript Game Developer == This is a SHORT-TERM contract position for off-site work. Based upon performance and workload we may have more work for you afterwards. Each contract is approximately 2-3 weeks. You will be developing mini-games based upon our specifications and artwork. You will be given a rough spec and be expected to work with our in-house team to deliver a finished game on a quick timeline. Skills sought : * Experience in game development. * Stellar communication ability. * Ability to conform to our internal coding guidelines. * A solid understanding of a Cairngorm-style MVC programming style. * Ability to write quality modular, loosely coupled code. * A working knowledge of Flash. == Intern/Junior Level Developer == This is a PART-TIME position for on-site work. If you are in the Tucson area and are just getting started in programming or computer science, we can probably help each other. We are looking for beginners who can take on small tasks and learn on the job. Skills sought : * Potential to be a great programmer. Bonus points for reading this far. You may respond to me at chill at soe dot sony dot com. Please do not reply with your private info to the list. :) Please reply with: Resume Availability Pricing/Rate info. Thanks, Chris Hill Sony Online Entertainment ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AS2 SharedObject with Red5
Hi Andrew, This page might be helpful to you... http://www.zehnet.de/2008/04/11/red5-remote-sharedobject-experience-tips / Specifically: --- A Client can connect to a SO using the following Actionscript lines: // at first you need to establish a connection to the server of course nc = new NetConnection(); nc.connect( rtmp://localhost/red5test/, true ); // when the NetConnection is successfully established // (you have to listen to NetStatusEvent.NET_STATUS event) // you can connect to a remote SharedObject e.g. named chat so = SharedObject.getRemote(chat, nc.uri, false); // when the connection to the SO is successfully established, // you can begin to specify its contents so.setProperty(message,hello to all); --- C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew Sinning Sent: Thursday, 15 October 2009 8:27 AM To: Flash Coders Subject: [Flashcoders] AS2 SharedObject with Red5 Is there a way to connect a SharedObject to a NetConnection in AS2? This appears really easy using AS3, but under AS2 the implementation of the NetConnection object is quite different, and SharedObject lacks the connect() method. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AS2 SharedObject with Red5
Hi Andrew, Under Flash Communication Server (OK, it was a long time ago!) I'd do this using a Remote Shared Object. That would provide persistent stored information that could be accessed by multiple clients. Is that what you want to do? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew Sinning Sent: Thursday, 15 October 2009 8:27 AM To: Flash Coders Subject: [Flashcoders] AS2 SharedObject with Red5 Is there a way to connect a SharedObject to a NetConnection in AS2? This appears really easy using AS3, but under AS2 the implementation of the NetConnection object is quite different, and SharedObject lacks the connect() method. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] monitor outgoing http requests
I like using 'Charles' - an HTTP sniffer from http://xk72.com/ C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew Sinning Sent: Friday, 9 October 2009 8:28 AM To: Flash Coders Subject: [Flashcoders] monitor outgoing http requests I'm trying to track down an issue with a cross-domain policy violation. Something in one of my movies is making requests to an outside server, but I can't seem to track it down. I get a request for resource at www.domain.com was denied message, but I need to figure out what exactly was being requested so I can track down the origin. Is there a utility or a FF extension that I can install that will log all of my outgoing http requests, preferable with a filter? I searched for port-sniffers, but everything I found was either not-free or way to complicated to figure out on my limited timeline. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back to Anti-alias for animation
Oops - forgot to include the thread I mentioned... http://www.actionscript.org/forums/showthread.php3?t=139754 C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of matt stuehler Sent: Friday, 9 October 2009 8:47 AM To: Flash Coders List Subject: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back to Anti-alias for animation All, Apologies in advance... this is a very specific question that's not exactly about programming. Rather, a problem I'm having when programming in the Flash CS3 IDE. Here's the issue. Occasionally, when I'm working on an application that uses very small fonts, I find that I get better results if I use device fonts rather than anti-aliased fonts. (I know I can use bitmap text or a bitmap font, but I find that the kerning in these fonts is pretty crappy, and device fonts usually render better). However, I notice that SOMETIMES, if a save an FLA that uses Static Text fields with the Use Device Font setting, the next time I open Flash to edit the file, all of those fields have reverted back to Anti-alias for animation. Strangely, this does not happen with text fields that are set to Dynamic Text or Input Text. This is hugely frustrating... I typically have to go through my entire FLA and manually reset every static text field back to Use Device Fonts. This doesn't affect the compiled SWF - once compiled, the fonts stay the way they should. It ONLY affects the FLA. Many thanks in advance for any advice or insight. Cheers, Matt Stuehler ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back to Anti-alias for animation
Hi Matt, I haven't experienced your problem, but (if it persists) then I'd recommend making use of JSFL to eliminate the time wasted by manually re-setting the textfields. This thread shows a couple of relevant examples, and I've attached a couple of short JSFL script I wrote to do a similar replacement. I'm cc-ing your personal address too (it'll catch the attached versions of the JSFL scripts). To use JSFL you'll need to drop the scripts into: C:\Documents and Settings\YOUR_USERNAME_HERE\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Commands and they'll appear in your Flash 'Commands' menu. It should reduce your rework time to a few seconds. Hope that helps... C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of matt stuehler Sent: Friday, 9 October 2009 8:47 AM To: Flash Coders List Subject: [Flashcoders] Flash CS3 IDE reverting Use Device Fonts back to Anti-alias for animation All, Apologies in advance... this is a very specific question that's not exactly about programming. Rather, a problem I'm having when programming in the Flash CS3 IDE. Here's the issue. Occasionally, when I'm working on an application that uses very small fonts, I find that I get better results if I use device fonts rather than anti-aliased fonts. (I know I can use bitmap text or a bitmap font, but I find that the kerning in these fonts is pretty crappy, and device fonts usually render better). However, I notice that SOMETIMES, if a save an FLA that uses Static Text fields with the Use Device Font setting, the next time I open Flash to edit the file, all of those fields have reverted back to Anti-alias for animation. Strangely, this does not happen with text fields that are set to Dynamic Text or Input Text. This is hugely frustrating... I typically have to go through my entire FLA and manually reset every static text field back to Use Device Fonts. This doesn't affect the compiled SWF - once compiled, the fonts stay the way they should. It ONLY affects the FLA. Many thanks in advance for any advice or insight. Cheers, Matt Stuehler ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] [MEMORY LEAK]
Hi T, No solution here, but this might relate to your current problem: http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of TS Sent: Thursday, 1 October 2009 10:53 AM To: 'Flash Coders List' Subject: [Flashcoders] [MEMORY LEAK] Hello, this issue is killing me. I had a swf that loaded an xml file then loaded images from the xml file and then killed the display list, xml, images etc... then restarted based on a timer. Every time it reloads however, I watch firefox take away memory consistently and when I refresh that page memory use drops back to normal. So, I said screw this, I'm going to create an empty swf and load the swf with all the magic in it and add it to the empty swf. I figured if I add the swf to the main stage and kill that one reference to the swf when I was done with it, I should have fixed my problem. Here's my code. Can someone please tell me what is going on? stop(); var mLoader:Loader = new Loader(); function startLoad() { var mRequest:URLRequest = new URLRequest(hasch_flash/currently_watched_videos.swf); //var mRequest:URLRequest = new URLRequest(currently_watched_videos.swf); mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler, false, 0, true); mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler, false, 0, true); mLoader.load(mRequest); } function onCompleteHandler(loadEvent:Event) { trace(load + loadEvent.currentTarget.content); trace(loadTarget + loadEvent.target); addChild(loadEvent.currentTarget.content); } function onProgressHandler(mProgress:ProgressEvent) { var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal; trace(percent); } startLoad(); TimerExample(); // Set off timer to kill carousel and restart movie function TimerExample() { var myTimer:Timer = new Timer(3, 0); myTimer.addEventListener(timer, timerHandler); myTimer.start(); } function timerHandler(event:TimerEvent):void { trace(this.removeChildAt(0)); // remove from display list mLoader = null; mLoader = new Loader(); // clear from memory startLoad(); trace(timerHandler: + event); } Thanks for any advice. T ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Searching all ActionScript in an FLA
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
RE: [Flashcoders] Flash Cache in IE FF
Hi Don, The conventional way to avoid loading cached content into Flash is to call a unique URL for the content every time. One way to do this is to append a random number or UTC timecode (in milliseconds) to your URL, for example (AS3): var l:Loader = new Loader(); var req:URLRequest = new URLRequest(your url here); var vars:URLVariables = new URLVariables(); req.method = URLRequestMethod.POST; vars.antiCache = Math.round(Math.random()*99); req.data = vars; l.load(req); Hope that helps... C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Don Schnell - TFE Sent: Friday, 25 September 2009 1:07 PM To: William Chadwick Cc: Flash Coders List Subject: Re: [Flashcoders] Flash Cache in IE FF Thanks William, I am not sure why there was no text in my original post but my issue is how to prevent data from being cached in IE Firefox. My SWFs load in data from a flat text file and I tried using the following No-Cache settings before the head but they don't seem to prevent this issue. // prevent browser cache header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); header(Cache-Control: no-store, no-cache, must-revalidate); header(Cache-Control: post-check=0, pre-check=0, false); header(Pragma: no-cache); William Chadwick wrote: Not sure what you want, as there is no text in your message. But if you want to know about how SharedObject's work, here you go. Local SharedObjects (AKA 'Flash Cookies') are stored in the following path in a directory with a random name: C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash Player\#SharedObjects There are some really clear articles on them on Adobe's devnet. William Chadwick On Thu, Sep 24, 2009 at 5:06 PM, Don Schnell - TFE dschn...@toolsforeducation.com mailto:dschn...@toolsforeducation.com wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com mailto: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 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash Cache in IE FF
Sorry - formatting got screwed up there... one more try... AS3 example of 'anticache' technique. - var l:Loader = new Loader(); var req:URLRequest = new URLRequest(your url here); var vars:URLVariables = new URLVariables(); req.method = URLRequestMethod.POST; vars.antiCache = Math.round(Math.random()*99); req.data = vars; l.load(req); Regards, C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Don Schnell - TFE Sent: Friday, 25 September 2009 1:07 PM To: William Chadwick Cc: Flash Coders List Subject: Re: [Flashcoders] Flash Cache in IE FF Thanks William, I am not sure why there was no text in my original post but my issue is how to prevent data from being cached in IE Firefox. My SWFs load in data from a flat text file and I tried using the following No-Cache settings before the head but they don't seem to prevent this issue. // prevent browser cache header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); header(Cache-Control: no-store, no-cache, must-revalidate); header(Cache-Control: post-check=0, pre-check=0, false); header(Pragma: no-cache); William Chadwick wrote: Not sure what you want, as there is no text in your message. But if you want to know about how SharedObject's work, here you go. Local SharedObjects (AKA 'Flash Cookies') are stored in the following path in a directory with a random name: C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash Player\#SharedObjects There are some really clear articles on them on Adobe's devnet. William Chadwick On Thu, Sep 24, 2009 at 5:06 PM, Don Schnell - TFE dschn...@toolsforeducation.com mailto:dschn...@toolsforeducation.com wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com mailto: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 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] RE: Flash speech-to-text
Hi Juju, You can't currently do speech-to-text in Actionscript. It's not that people are choosing not to answer you, there just aren't any useful solutions to your question. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of juju Sent: Thursday, 27 August 2009 2:20 PM To: Flash Coders List Subject: Re: [Flashcoders] RE: Flash speech-to-text I wonder, if I offered $50 for an answer, how many replies with actual useful information would be posted to answer this question... :) Or $100? On Wed, Aug 26, 2009 at 12:02 PM, juju jlee...@gmail.com wrote: Hi Jonathan, I'm trying to do speech to text. AFAIK Flash API cannot record the microphone input. It can listen for the sound level of the microphone input, and you could create interactivity with this (like shooting a bullet by clapping your hands). But how do you record a person's voice and convert this to text when you can't record the microphone input with Flash? Has anyone tried Ribbit to create voice interactive applications, like speech to text and voice-recognition? Would like to get some guidance before going into Ribbit development. I've tried SpeechXML but this needs SAPI 5 and TMK it only works on a local machine. I'm looking for speech-to-text solution and voice-recording/analysis that can be done via a Flash RIA. Am hoping that there's some actionscript library out there that gives this functionality. Or hopefully, the next version of Flash/Actionscript will have this functionality. Thanks, juju On Tue, Aug 25, 2009 at 8:48 PM, jonathan howe jonathangh...@gmail.comwrote: Are you trying to do text-to-speech or speech-to-text? The latter is better searched for under 'voice recognition'. Seems like there are a bunch of results for the former: http://www.bing.com/search?q=flash+text-to-speechform=QBLHqs=n -jonathanhttp://www.bing.com/search?q=flash+text-to-speechform=QBLH qs=n%0A-jonathan On Tue, Aug 25, 2009 at 5:30 AM, juju jlee...@gmail.com wrote: HI All, I searched Google and the forums but could not find an answer, hope you actionscript sages can help. There's plenty of text to speech solutions, but how do you do Speech-to-text with Flash? Can you do speech-to-text with ribbit http://www.ribbit.com/? Thanks, juju ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- -jonathan howe ___ 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 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] RE: Flash speech-to-text
Dunno for sure Juju, but while you wait for any other answers on this list... http://developer.ribbit.com/download Sign up, download the SDK, view the samples, and join the forums... I imagine it wouldn't take more than a couple of hours to find the right people to answer in detail. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of juju Sent: Thursday, 27 August 2009 3:01 PM To: Flash Coders List Subject: Re: [Flashcoders] RE: Flash speech-to-text Thanks Chris, not even with Ribbit? That's what I really want to know: can Ribbit + Flash provide speech to text capability. Thanks, juju On Thu, Aug 27, 2009 at 12:32 PM, Chris Foster cfos...@catalystinteractive.com.au wrote: Hi Juju, You can't currently do speech-to-text in Actionscript. It's not that people are choosing not to answer you, there just aren't any useful solutions to your question. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of juju Sent: Thursday, 27 August 2009 2:20 PM To: Flash Coders List Subject: Re: [Flashcoders] RE: Flash speech-to-text I wonder, if I offered $50 for an answer, how many replies with actual useful information would be posted to answer this question... :) Or $100? On Wed, Aug 26, 2009 at 12:02 PM, juju jlee...@gmail.com wrote: Hi Jonathan, I'm trying to do speech to text. AFAIK Flash API cannot record the microphone input. It can listen for the sound level of the microphone input, and you could create interactivity with this (like shooting a bullet by clapping your hands). But how do you record a person's voice and convert this to text when you can't record the microphone input with Flash? Has anyone tried Ribbit to create voice interactive applications, like speech to text and voice-recognition? Would like to get some guidance before going into Ribbit development. I've tried SpeechXML but this needs SAPI 5 and TMK it only works on a local machine. I'm looking for speech-to-text solution and voice-recording/analysis that can be done via a Flash RIA. Am hoping that there's some actionscript library out there that gives this functionality. Or hopefully, the next version of Flash/Actionscript will have this functionality. Thanks, juju On Tue, Aug 25, 2009 at 8:48 PM, jonathan howe jonathangh...@gmail.comwrote: Are you trying to do text-to-speech or speech-to-text? The latter is better searched for under 'voice recognition'. Seems like there are a bunch of results for the former: http://www.bing.com/search?q=flash+text-to-speechform=QBLHqs=n -jonathanhttp://www.bing.com/search?q=flash+text-to-speechform=QB LH qs=n%0A-jonathan On Tue, Aug 25, 2009 at 5:30 AM, juju jlee...@gmail.com wrote: HI All, I searched Google and the forums but could not find an answer, hope you actionscript sages can help. There's plenty of text to speech solutions, but how do you do Speech-to-text with Flash? Can you do speech-to-text with ribbit http://www.ribbit.com/? Thanks, juju ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- -jonathan howe ___ 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 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ 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] FLV export - size(w, h) vs data rate
Depending on how important your 'older machine' users are then you might also consider not using the On2 codec. It does a great job, but is very CPU intensive and often grinds on older/slower machines. The trade-off is quality - Sorenson encoded video will play back much faster on the older machines, but the visual quality is lower than On2. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andy Andersson Sent: Wednesday, 26 August 2009 7:25 AM To: Flash Coders List Subject: Re: [Flashcoders] FLV export - size(w, h) vs data rate Hi, Normally on larger commercial sites, you usually have a few different versions of videos and the code/cookies determines what kind of speed you have on computer/network and load the correct video to match your ability to play the video. As far as a single big file like you have, i would look into the Akamai settings and see if you could increase the buffer a bit so it loads in more of the video before it plays. And also make sure the site/video player you have is optimized and supports streaming video, especially of a video size like that. Hope that helps. On Aug 25, 2009, at 2:07 PM, jared stanley wrote: Hey all, wondering if anyone can give me direction on this: I have a large video site, the vid area is 1000x600. Videos are streaming from Akamai. It's playing fine on large computers w/fast connections; Needless to say it's getting chugging on slower/older setups. I would like to enable the range of computers it works on by optimizing the video. which one of the following would work better: 1. shrink the data rate from like 850kbps to like 550kbps 2.export the video at like 800x400 and then stretch it up. Obviously I could just try this, but I'm wondering what the logic behind it is and if there are any best practices. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Andy Andersson Interactive Creative Director Senior Flash Developer/Designer 714-809-7095 awebme...@sbcglobal.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] mailto problem in flash
Hi Anna, Try getURL(mailto://n...@name.com;); C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ana mock Sent: Tuesday, 25 August 2009 11:50 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] mailto problem in flash Hi, I am creating a website with flash 8 , and on that is a page , that have an send email-button (it suppose to open outlook window). When I publish the file in swf , the email button works just fine, but as soon as I publish the file with HTML extension, the send email button is dead in browser.( I have tested on Fire Fox and Internet Explorer). Hear is my code: on(release){ getURL(n...@name.com); } Is there some code I can add or something? Thanks in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] mailto problem in flash
Hi again, My mistake... try this: getURL(mailto:n...@name.com;); C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ana mock Sent: Tuesday, 25 August 2009 11:50 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] mailto problem in flash Hi, I am creating a website with flash 8 , and on that is a page , that have an send email-button (it suppose to open outlook window). When I publish the file in swf , the email button works just fine, but as soon as I publish the file with HTML extension, the send email button is dead in browser.( I have tested on Fire Fox and Internet Explorer). Hear is my code: on(release){ getURL(n...@name.com); } Is there some code I can add or something? Thanks in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash security issue
You could also use a standalone webserver - I've used 'Server2Go CD-ROM Webserver' before, it's quite customisable, and also gets me past all those annoying security issues. I like it as a solution because I don't need to do an extra version (as an .exe) of my projects, and I don't need to force users to change settings they wouldn't normally need to know about, and my ExternalInterface interactions will still function as expected. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gregory Boland Sent: Saturday, 22 August 2009 1:14 AM To: Flash Coders List Subject: Re: [Flashcoders] Flash security issue thats why i'm saying create a wrapper file for that swf. take the swf that is given to you from ad wonder and import it into a .fla file. then make an .exe file out of that. On Fri, Aug 21, 2009 at 10:13 AM, Bill Jones bjo...@backemarketing.comwrote: Unfortunately, AdWonder controls the entire process. It builds the files and I simply download a stuffit file that contains the html, swf and support files. On 8/21/09 10:08 AM, Gregory Boland breakfastcof...@gmail.com wrote: create an .exe file so that when you run it from a CD you can run it standalone. Not sure about what your using, if it allows you to do that but maybe if you create a wrapper swf and load the other swf into your wrapper swf you can create an .exe file greg On Fri, Aug 21, 2009 at 9:52 AM, Bill Jones bjo...@backemarketing.com wrote: I am creating a Demo file using EyeWonder's AdWonder. It generates an html with accompanying swf and support files. I can copy the html and file folder to a disk so the client can view the finished piece locally on a stand alone laptop. Unfortunately, to view it from a CD, you have to adjust flash security setting through the Flash Player Security Manager (something the client has no idea how to do). Is there a way to bypass the security settings, or can I add some javascript (link a js file) to the html mage that will make the change transparent to the end user? _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ 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 _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ 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 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Security Sandbox Violation: Tried to accessincompatible context
No suggestion, just some additional feedback from my debug window... -- using receiverConnName:RN2MP NOT ROUTE using receiverConnName:MP2RN Error: Request for resource at http://www.mappingmainstreet.org/mmsquery.php?route=recent by requestor from http://mappingmainstreet.org/development/0819/roadmap.swf is denied due to lack of policy file permissions. *** Security Sandbox Violation *** SecurityError using receiverConnName:RN2MP NOT ROUTE using receiverConnName:MP2RN *** Security Sandbox Violation *** --- -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jesse Shapins Sent: Friday, 21 August 2009 7:38 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Security Sandbox Violation: Tried to accessincompatible context Hi all, I've been banging my head against the wall for days trying to solve an issue. You can see it at this URL using Firefox: http://mappingmainstreet.org/development/0819/index05_jms.html The proper user experience is to be able to do the following: - Click on any of the Features buttons (e.g. Chattanooga, TN) and then load the Media Player (displaying photographs from Ronceverte, WV) and also load the Route Navigator (displaying visualization of Current Route: Building). In this state, the Paths tab should be highlighted (darker than the Map and Features tab) - From this state, the user should be able to: 1) Switch to the Map tab and view a map visualization (the Media Player does not change with this action). 2) Search for any city name. If the city searched has photos (e.g. San Francisco CA) then the the Media Player will display photos from that place while a Google Map loads with that location. If the city does not have photos, it will display a Street View or aerial photograph in the middle player field. 3) Search for a state (e.g. Caliifornia). This will load photos from the state in the Media Player and display the Paths navigation for that state. HOWEVER...Once you have loaded the Media Player and Route Navigator, it is not possible to switch to the Map Tab or Search. I receive this error in my Flash Tracer: *** Security Sandbox Violation *** SecurityDomain ' http://mappingmainstreet.org/development/0819/index05_jms.html' tried to access incompatible context I believe this indicates an error in the interaction between the Flash and the JavaScript. If anyone has any suggestions, I would greatly appreciate it. Thank you very much, Jesse ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] as3 -re-dimensioning spirte but not its children
Or you could create a new 'duplicate' sprite (instead of scaling the original) and re-parent the children to the new sprite using: newParent.addChild(objectToReparent); C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ashim D'Silva Sent: Thursday, 30 July 2009 3:38 PM To: Flash Coders List Subject: Re: [Flashcoders] as3 -re-dimensioning spirte but not its children I'd say extend a new class from Sprite, and override the getters and setters for width and height, and scaleX and scaleY if you need them. However, if you don't want to do that, make two sprites inside your sprite. One with things you want to change and one width those you don't. Then just resize the sprite that you want to. Ashim The Random Lines My online portfolio www.therandomlines.com 2009/7/30 Isaac Alves isaacal...@gmail.com: Hi list, Is it possible to alter the width or height of a sprite dynamically without altering the width and height of its children ? Even when I add children to a Sprite that had its dimensions altered dynamically, these children have their dimensions changed. Could I do something like sprite.resetScaleXandY ? What do you suggest in this kind of situation? Thanks in advance, Isaac ___ 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 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Invitation to connect on LinkedIn
LinkedIn Flash, I'd like to add you to my professional network on LinkedIn. - Chris Learn more: https://www.linkedin.com/e/isd/527719995/tXIOXmOJ/ -- What is LinkedIn and why should you join? http://learn.linkedin.com/what-is-linkedin -- (c) 2009, LinkedIn Corporation ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Are you waiting ages for your copy of CS4?
Thanks for the optimism, Weyert. No, Adobe has twice 'lost' my fax, and my email of the scanned document required to do a crossgrade (the letter of software destruction) has been 'in processing' for over three weeks. I had one Adobe representative lie to me and tell me that the product had been shipped, just to get me off the phone. Then I found out that he was lying, and pretty much nothing has happened. I have complained, I have written and called numerous times, and they won't ship it, nor will they refund our money. Very much at a loss as to why this is happening. I thought perhaps if others have the same problem it could explain this mysterious behavior. Perhaps its just a personal grudge because I call too much. C On Tue, Dec 23, 2008 at 4:59 PM, Weyert de Boer w...@innerfuse.biz wrote: Maybe the courier lost the package? Maybe ask for a tracking number ;) ? Hi, Sorry to be slightly off-topic, but I am forced to extreme measures. I have been waiting since late October for my copy of CS4 Design Premium to ship. We have been told its 'in processing' and all number of things. I've even been told its been shipped by one representative, even though that was a complete lie. I'm pretty sure there is something going on. It shouldn't take two months to ship out a cd, and they won't refund our money. Does this sound like you? Please email me on or off list... Thanks Chris Hill ___ 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] Are you waiting ages for your copy of CS4?
Hi, Sorry to be slightly off-topic, but I am forced to extreme measures. I have been waiting since late October for my copy of CS4 Design Premium to ship. We have been told its 'in processing' and all number of things. I've even been told its been shipped by one representative, even though that was a complete lie. I'm pretty sure there is something going on. It shouldn't take two months to ship out a cd, and they won't refund our money. Does this sound like you? Please email me on or off list... Thanks Chris Hill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Automatically Declare Stage Instances andinheritance.
Thanks for the tips. I think unchecking that box is the best way to handle this, but the other options presented are useful for working around these issues. My main worry seems to be incompatibilities with people who may write code using the box checked, which it is by default. It seems that this checkbox forks all AS3 code into two exclusive camps. I hope I make the right choice. :( C On Mon, May 12, 2008 at 3:58 AM, Cor [EMAIL PROTECTED] wrote: This will do the trick: private var okButton:SimpleButton = getChildByName('okButton') as SimpleButton; -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Meinte van't Kruis Verzonden: zondag 11 mei 2008 12:54 Aan: Flash Coders List Onderwerp: Re: [Flashcoders] Automatically Declare Stage Instances andinheritance. If you want to have the flexibility of not having to define it, you can always make the class dynamic On Sun, May 11, 2008 at 12:42 AM, Chris [EMAIL PROTECTED] wrote: Ok, so I've done a bit of googling and found nothing. And the mailing lists search features are less than ideal (sorry). Apologies if this has been gone over before: I have created an example problem here: http://ubergeek.tv/inheritance_declare_problem.zip The inheritanceDemo.fla shows that classes linked to symbols that extend class with items on the timeline causes a compiler error: 1152: A conflict exists with inherited definition AlertBase.okButton in namespace public. While if I uncheck the 'Automatically Declare Stage Instances' checkbox and declare my okButton manually everything works. This seems like a big deal to me. Since we re-use code as much as possible, it seems like we either need to assume this box is checked or not and base our code on this. Additionally we can assume incompatibilities with 3rd party code based upon whether they checked this box. It would seem that this checkbox shouldn't exist and that all stage vars should be declared manually. I must be doing something wrong. What are the best practices here? Besides unchecking that box, is there any way to get around these errors? Thanks Chris Hill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- M.A. van't Kruis http://www.malatze.nl/ No virus found in this incoming message. Checked by AVG. Version: 8.0.100 / Virus Database: 269.23.15/1426 - Release Date: 5/10/2008 11:12 AM ___ 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] Undefined property in one fla, but not in the other.
Hi Jon, Appreciate the response, but I have figured it out. The flas I was using had 'Automatically declare stage instances' checked, while the fla I was needing to work in did not have it checked. This was a real stumper, and it didn't help that the checkbox was hidden under Publish Settings -Flash-Actionscript 3.0 Settings. Thanks, Chris Hill On Sat, May 10, 2008 at 6:09 AM, jonathan howe [EMAIL PROTECTED] wrote: Here's my guess: The classpath in your work fla is incorrect or the linkage is not actually pointing to the original PilotBase. Sounds like you copied the symbol, instantiated it, but Flash is using it's self-created constructor for a symbol in the library. I would go into the linkage properties for the symbol and verify that the path to the class is correct (with the little green check). Otherwise, you're just getting the automatically generated in the SWF upon file export version, which still extends movie clip (thus otherwise behaves normally), but lacks your new properties. -jonathan On Thu, May 8, 2008 at 11:43 PM, Chris [EMAIL PROTECTED] wrote: I have a movie clip symbol 'Pilot', extending a class 'PilotBase'. The movie clip has three clips inside, gX, gY, gZ. I have a class that extends MovieClip. I copy the symbol from the demo fla to the work fla and flash complains: 1120: Access of undefined property gX.� ... ... The clip instance exists. If I copy the symbol into another empty fla, it works fine. I cannot understand why it bombs out in the fla that I need to copy it to. Any ideas? Thanks C ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- -jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101 ___ 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] Automatically Declare Stage Instances and inheritance.
Ok, so I've done a bit of googling and found nothing. And the mailing lists search features are less than ideal (sorry). Apologies if this has been gone over before: I have created an example problem here: http://ubergeek.tv/inheritance_declare_problem.zip The inheritanceDemo.fla shows that classes linked to symbols that extend class with items on the timeline causes a compiler error: 1152: A conflict exists with inherited definition AlertBase.okButton in namespace public.� While if I uncheck the 'Automatically Declare Stage Instances' checkbox and declare my okButton manually everything works. This seems like a big deal to me. Since we re-use code as much as possible, it seems like we either need to assume this box is checked or not and base our code on this. Additionally we can assume incompatibilities with 3rd party code based upon whether they checked this box. It would seem that this checkbox shouldn't exist and that all stage vars should be declared manually. I must be doing something wrong. What are the best practices here? Besides unchecking that box, is there any way to get around these errors? Thanks Chris Hill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is Adobe fixing this big FP9 problem?
ON TOPIC: I can see that most of us feel very strongly about this bug. Adobe has made it clear that their formal channel to do something about it is to vote in their ticketing system for the bug. If there already is a bug, can someone link to it? Otherwise let's get a bug in there. And then let's vote for it. I'm pretty sure that based upon the support here we can make this the #1 bug in their database. Apologies if someone has already mentioned this. This thread is long and noisy. C ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Flashcoders Digest, Vol 5, Issue 32
-- Bounce Digital Ltd 7 Greenland Street London NW1 0ND +44 (0)20 7209 3620 -Original Message- From: [EMAIL PROTECTED] Date: Sat, 23 Feb 2008 12:04:12 To:flashcoders@chattyfig.figleaf.com Subject: Flashcoders Digest, Vol 5, Issue 32 Send Flashcoders mailing list submissions to flashcoders@chattyfig.figleaf.com To subscribe or unsubscribe via the World Wide Web, visit http://chattyfig.figleaf.com/mailman/listinfo/flashcoders or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of Flashcoders digest... Today's Topics: 1. Re: re: Looking for Expanding menu along a curved path (Pedro Kostelec) 2. Re: re: Looking for Expanding menu along a curved path (Pedro Kostelec) -- Message: 1 Date: Sat, 23 Feb 2008 16:21:21 +0100 From: Pedro Kostelec [EMAIL PROTECTED] Subject: Re: [Flashcoders] re: Looking for Expanding menu along a curved path To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8 Isn't there a way to get the source code? On Fri, Feb 22, 2008 at 7:16 PM, Norman Cousineau [EMAIL PROTECTED] wrote: Very cool. Worth a look for everybody. Requires Flash Player 9. http://flash-ripper.com/tests/bezier.ru/demo/test.swf -- Message: 18 Date: Fri, 22 Feb 2008 13:09:54 +0300 From: Ivan Dembicki [EMAIL PROTECTED] Subject: Re: [Flashcoders] Looking for Expaning menu along a curved path To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8 Hello Norman, You can see example of moving point along curved path here: http://flash-ripper.com/tests/bezier.ru/demo/test.swf (6 and 7 example) Sourcecode here: http://code.google.com/p/bezier/source/checkout I hope it can help you. -- iv http://www.bezier.ru http://bezier.googlecode.com -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders End of Flashcoders Digest, Vol 5, Issue 30 ** _ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Pedro D.K. -- Message: 2 Date: Sat, 23 Feb 2008 16:31:55 +0100 From: Pedro Kostelec [EMAIL PROTECTED] Subject: Re: [Flashcoders] re: Looking for Expanding menu along a curved path To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8 I like it. But in exemple 7, is there no way to limit the lenght of the curve? If you drag one pont quite fast the length of the curse is huge, how could i limit it, i.e make the mx lenght of the curve 700 pixels or something like that. On Sat, Feb 23, 2008 at 4:21 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: Isn't there a way to get the source code? On Fri, Feb 22, 2008 at 7:16 PM, Norman Cousineau [EMAIL PROTECTED] wrote: Very cool. Worth a look for everybody. Requires Flash Player 9. http://flash-ripper.com/tests/bezier.ru/demo/test.swf -- Message: 18 Date: Fri, 22 Feb 2008 13:09:54 +0300 From: Ivan Dembicki [EMAIL PROTECTED] Subject: Re: [Flashcoders] Looking for Expaning menu along a curved path To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8 Hello Norman, You can see example of moving point along curved path here: http://flash-ripper.com/tests/bezier.ru/demo/test.swf (6 and 7 example) Sourcecode here: http://code.google.com/p/bezier/source/checkout I hope it can help you. -- iv http://www.bezier.ru http://bezier.googlecode.com -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders End of Flashcoders Digest, Vol 5, Issue 30 ** _ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Pedro D.K. -- Pedro D.K. -- ___ Flashcoders mailing list
[Flashcoders] Re: [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura
Should had mentioned that Danny Dura will in Sydney to do this presention. On Jan 16, 2008 9:08 AM, Chris Velevitch [EMAIL PROTECTED] wrote: Thursday, 24th January. Flex 3 and AIR are getting close to launch and in preparation, Danny Dura from the Platform Evangelism Team will be specifically in Sydney to show off the great new features for this exciting launch. Check the listings below to hook up with the local user group in the city closest to you and join us for an evening of Flex and AIR. Don't miss out on the opportunity to see and hear about this highly anticipated release of Flex 3 and AIR during this special pre-release tour. Plus, in addition to giving away some one of a kind Flex/AIR branded schwag, each event will also be raffling off a copy of Flex Builder 3 Professional (pending availability) and a full commercial copy of CS3 Web Premium! Details and RSVP on http://sydneyflashdev2008prelaunchtour.eventbrite.com -- Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au -- Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Your new list server
Somehow, in setting up your new list server, you re-activated all the e-mail addresses that had been previously UNSUBSCRIBED from the list, (3 in my case). Now that's annoying - especially if you have multiple mailboxes filling up with messages. I can't unsubscribe, because your password reminder button doesn't seem to work. Can you please unsubscribe me? Chris Ivey ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Multilingual video with Flash
For a guaranteed solution I'd recommend using separate videos, each with their own soundtrack. It'll completely remove any sync issues that would surface with separated audio tracks. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Cousineau Sent: Thursday, 13 September 2007 2:24 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Multilingual video with Flash I've used separate audio / video once and had syncing problems. To correct it, I set the video time to match the audio time at a fixed interval. It was a talking head type video, and the results were satisfactory, although there's a little jump in the video sometimes. -Original Message- From: Volker Scarpatetti - Advertis Interactiva [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 4:27 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Multilingual video with Flash Hi, What would be the best way to a flash video project with multilingual audio? - A copy of the video for each language (means several video files) ? or - One video and different audiotraks ? As I am not streaming from a server but from a CD, I have a limited space condition. The video is about 5 minutes long, and I remeber, in earlier versions, separated audio didn´t syncronize to good in longer videos. Any suggestions ? Thanks ! -- Volker Scarpatetti Dirección Interactiva - Advertis Interactiva ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Developers wanted.
We are looking for quality flash developers for contract and full-time positions. Telecommute is ok. Please email me offlist with your resume and availability. Must be based in US, sorry. Thanks, Chris ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] [Show] Flash game community
Hi guys! First of all, sorry for just so blatantly posting our own site! We just released http://nonoba.com/ and is in desperate need of content and beta testers :) The site is as the subject implies a flash game community where developers can upload their games, and users can play and comment on these. We think its rather cool, but I would be really really happy for some feedback from you developers; * What kind of features do you want? * How can we make the site the best developer community out there? * Anything we totally forgot about which is obvious? I hope you will use a few mins to take a look! Thanks alot, Chris Benjaminsen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Modifying Publish Settings with JSFL
I know this has been talked about before but I figured I'd revisit it since CS3's been out: We're merging two subversion repositories, and I need to migrate about 20 or so flash files to export to a different directory. Of course I can go ahead and modify them all by hand, and I may do that after all, but that'd be silly. What I really want is for JSFL to come to the rescue so I don't have to do this again in the future. Barring that I think that maybe Ant with some regular expressions and jsfl love may be able to provide a solution. Has anyone solved this problem before? I could really use some tips. Thanks C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Modifying Publish Settings with JSFL
Great! Exactly what I'm after. I don't know why Google didn't hit that. Argh, that's annoying as we set our classpaths on a per-file basis quite often. Hmm...and no way to modify the classpaths of the files by jsfl, huh? Big piratey arrrgh. Thanks, Steve, Chris Steven Sacks wrote: I blogged about this last August. http://www.stevensacks.net/2006/08/06/using/ Keep in mind that due to a known and really nasty bug that STILL hasn't been fixed, when you import a publish profile.xml, all class paths for that file are erased. It really sucks, but the trade off is you don't have to manually enter all those publish paths. ;) Chris Hill wrote: I know this has been talked about before but I figured I'd revisit it since CS3's been out: We're merging two subversion repositories, and I need to migrate about 20 or so flash files to export to a different directory. Of course I can go ahead and modify them all by hand, and I may do that after all, but that'd be silly. What I really want is for JSFL to come to the rescue so I don't have to do this again in the future. Barring that I think that maybe Ant with some regular expressions and jsfl love may be able to provide a solution. Has anyone solved this problem before? I could really use some tips. Thanks C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Intro to OOP using ActionScript
I see it as something of a Math class (my degree is in math so bear with me). People aren't just going to be thrown into Calculus before at least learning algebra. There is some argument that teaching calculus sooner could be beneficial (i'm in that camp but theres a whole different set of issues there), but at the same time its hard to imagine learning calculus without at least having some concept of what infinite means. Same would go for OOP - you couldn't learn it without first knowing what function means. Sure you could teach it during the class, but why not get all of that out of the way along with other simpler concepts in a foundations class before actually brining OOP into the picture. Much the same way you are taught how to compute area, and limits, before being thrown into derivatives and integrals. -CD On 8/21/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: most college programming courses have prerequisites right? personally i know many programmers who don't have a background in programming who jumped right into oop...just looking at the code i can tell what they understand about programming let alone oop... my 0.02 pieces of lint p ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Need special 3D Charting / Graphing solution...
Does anyone know where I can find a nice-looking charting component that can not only draw a line graph, but *also* allow me to scroll left or right ... In a perfect world this will download a dynamically generated XML file that matches up with the position of the scroll bar. I'm open to free, or commercial implementation... Thanks! -Chris Notice: This e-mail message and any attachment to this e-mail message may contain information that is confidential, proprietary, privileged, legally privileged and/or exempt from disclosure under applicable law. If you are not the intended recipient, please accept this as notice that any disclosure, copying, distribution or use of the information contained in this transmission is strictly prohibited. National Financial Partners Corp. reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily express those of National Financial Partners Corp. Although this transmission and any attachment are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by NFP, its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you have received this e-mail in error, please immediately contact the sender by return e-mail or by telephone at 212-301-4000 and destroy the material in its entirety, whether electronic or hard copy format. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash Player and IT Security Policies
A large corporate/government organisation's IT department has refused to update the flash player due IT security policy. Any ideas on why they would do that and what can be done to convince them to change? -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:Watch vs listener/broadcaster
I have used watch in the past to check for when a Boolean swaps between true and false and use that to trigger functions to make things visible/invisible. It allowed for a way to link a variable that changes (Number, Boolean, String) to a function without implementing a full listener. On 8/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I'm aware of watch, but have never really used it. I was wondering if perhaps I am missing out on a really useful tool. Can someone give me an example of when it would make sense to use watch instead of setting up a listener broadcaster? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] keyboard shortcuts and flash v2 components
Does anyone know of any tutorials etc discussing how to implement keyboard shortcuts with flash v2 components? I'm talking about things like ctrl-c for cut ctrl-v for paste etc. I have tried using an onEnter function that uses the Key object to check for combinations that interest me, but some of the v2 components will still see the keys if they have focus. They even mis-interpret things, like ignoring the ctrl key and just processing the v. Any pointers would be appreciated. -- Chris Bare [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] CDATA Html Text not working
So I'm working on a project... I'm reading xml nodes and placing each node into dynamic text fields... XML: content![CDATA[Blah blah a href=somelink.comsomeLink/a b some bold text /b]]/content The problem is the XML Node is not reading as a string and the html text field reads the node as a literal string instead of html text. I mean it prints something like Blah blah a href=somelink.comsomeLink/a b some bold text /b in my text field. AS: var tt:TextField = m.createTextField(txt,m.getNextHighestDepth(),0,0,0,0); tt.autoSize = true; tt.selectable = false; tt.embedFonts = true; tt.antiAliasType = advanced; tt.html = true; tt.htmlText = local.ob.content; // myXml value tt.setTextFormat(local.tTextFormat); Does anyone have a solution for this? I think it's because the text is not reading as a String... I've tried toString() and it doesn't work... If I try and perform any other simple String function like substr() or anything it doesn't work either! I'm sorta new at XML and Flash, I've been doing Flash for a while but I usually don't use XML. Any help would be very much appreciated Thanks! Chris Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545433 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] CDATA Html Text not working
here is the snipit of code: local.obCredits[this.firstChild.childNodes[i].firstChild.childNodes[j].nodeName] = this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes; local.obCredits --- This is passed as an object later to a Class. [this.firstChild.childNodes[i].firstChild.childNodes[j].nodeName] --- this loops the node names and places them as properties of the local.obCredits object, one of them being the content this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes;--- this is how I am trying to access the content of that node. First off, I'm guessing I should use .nodeValue? Will that give me the entire node with ![CDATA[]]? Is it even possible to read the html value for html text? Thanks so much! -Chris --- Danny Kodicek [EMAIL PROTECTED] wrote: XML: content![CDATA[Blah blah a href=somelink.comsomeLink/a b some bold text /b]]/content The problem is the XML Node is not reading as a string and the html text field reads the node as a literal string instead of html text. I mean it prints something like Blah blah a href=somelink.comsomeLink/a b some bold text /b in my text field. AS: var tt:TextField = m.createTextField(txt,m.getNextHighestDepth(),0,0,0,0); tt.autoSize = true; tt.selectable = false; tt.embedFonts = true; tt.antiAliasType = advanced; tt.html = true; tt.htmlText = local.ob.content; // myXml value How are you getting this local.ob.content? That's the key issue, really. Have you tried a trace() of this value? My guess is that you're including the [CDATA bit of the field, which means you're telling the field to render the text literally, which is exactly what it's doing. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] CDATA Html Text not working
Great! That works! Thanks so much!! I'll look into that XPath... Maybe not for this project since it's on a tight deadline, but for the future! Thanks! Chris --- Alan MacDougall [EMAIL PROTECTED] wrote: Chris W. Paterson wrote: this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes;--- this is how I am trying to access the content of that node. First off, I'm guessing I should use .nodeValue? Will that give me the entire node with ![CDATA[]]? Is it even possible to read the html value for html text? Yep, there's the problem. The content of an XML node is a node in itself -- it's just a text node. It looks like this: foomy text/foo foo -- part of node A my text -- node B /foo -- part of node A So to get the text inside that foo tag, let's say we have: var fooNode:XMLNode; var textNode:XMLNode = fooNode.firstChild; var myText:String = textNode.nodeValue; myTextField.htmlText = myText; // now it should look right As you can see, the child node of foo is an XMLNode which contains the text -- it's not the string itself. I've used CDATA in XML plenty of times, and your HTML text fields will interpret the HTML as long as you're getting the string value of the text node. As for all that confusing child.firstChild.childNodes[n].child business, may I suggest XFactorStudios' excellent XPath implementation? www.xfactorstudio.com -- and then you can specify your XML with simple syntax like this: // gets an Array of XMLNodes; specifically, all bar inside a foo, starting from rootNode var nodes:Array = XPath.selectNodes(rootNode, foo/bar); It's a less confusing than manually walking the XML tree, and allows some pretty complex searches once you really get into it. ( http://www.w3.org/TR/xpath is very dense, but section 2 may give you an example of XPath's power.) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Setting symbolBackgroundColor for CheckBox
Trying to setup a CheckBox component to show red/green when its checked correctly/incorrectly and I am having trouble setting the symbolBackgroundColor style to make it show red or green. If i understand the steps I'm taking are: Drag CheckBox onto stage and name it cb1. Goto File-import external library - find the sampleTheme and drag the CheckBoxAssets library into my library Set CheckBoxAssets to export in first frame In the first frame of my FLA I put: cb1.setStyle(symbolBackgroundColor, 0xFF); However when i test the movie it shows up as just a regular checkbox with no change in color. What am i doing wrong here or am i missing something? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] webservices or SOAP help
Hi guys, I'm a fairly adavanced flash programmer but i've been thrown into the deep end with some web services. I have no idea where to begin, i have looked at documentation..but nothing has helped so far. Below is the xml they have given me saying this is the request format, they will also give me the URL to access this.. i guess it is a wsdl? Or is that different because it is SOAP? Can i use the webserivce component to connect to this? How do i send the all of variables that it is asking me for? If i look at the documentation for flash it says: wsConn.WSDLURL = http://www.flash-mx.com/mm/tips/tips.cfc?wsdl;; wsConn.operation = getTipByProduct; wsConn.params = [Flash]; And this all makes sense! But i can't relate it to this xml below. soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body s0:ReportRequest name=LiveInventory language= xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/ xmlns:s0=http://URI/interfaces/ReportRequest.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns:s1=http://www.w3.org/2005/XQueryX s0:Specification responseType=Csv returnTotalRecords=true s0:CountPerPage10/s0:CountPerPage s0:Page1/s0:Page s0:OrderBy direction=asc/s0:OrderBy s0:LogonIdadmin/s0:LogonId s0:Locations s0:LocationId1/s0:LocationId /s0:Locations /s0:Specification s1:whereClause s1:expr/ /s1:whereClause s0:Destination s0:Email s0:From/s0:From s0:FromPersonal/s0:FromPersonal s0:To/s0:To s0:ReplyTo/s0:ReplyTo s0:Subject/s0:Subject s0:Body/s0:Body /s0:Email /s0:Destination /s0:ReportRequest /soapenv:Body /soapenv:Envelope ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] I'm a Shared library dumb dumb
I learned that the problem with my current approach. If a parent loads a child, none of the clips in the child's library can be attached to the parent's timeline and vice-versa. From Ian Thomas that in AS2, you can't attach a symbol from one .SWF's library into another movie's timeline. He says The only exception is when using shared libraries. And Fumio Nonaka pointed out this kb article: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15638slice Id=2 Instances of imported symbols must be manually placed on the Timeline during authoring. So, I'm ready to try this shared library approach. The problem is, I've never used a shared library before and I just don't get it. Can anyone point me in the right direction on how to set up a test for my main problem? Thanks, Chris Bell ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] attachMovie fails on embedded clip in a movie, why?
2nd try: Forgive if this is a repeat post. I didn't see my first request make it to the list: Hi Flash Friends, attachMovie works on a clip that is inside a clip that has been loaded by attachMovie but fails on a clip that is inside a clip loaded with loadMovie. This should be so easy, but it is simply not working. I'd appreciate any tips pointing me to the part that I don't understand ... The setup: - Main movie (mainMovie) - A symbol (person1) - A symbol (template1) that contains a movieClip (chair1) - A swf (template2) in the same folder as the Main movie that contains a similar movieClip (chair2) THIS WORKS: Load the symbol (template1) using attachMovie attachMovie(template1, mainMovie, 250); //hardcoded depth here for clearness On release of a button, attach a symbol to a the chair1 movieClip inside template1 template1.chair1.attachMovie(person1, person1, 101); //hardcoded depth here for clearness THIS DOESN'T WORK: (keeping everything the same except loading the movie from an external source...) Load the swf (template2.swf) using loadMovie mainMovie.loadMovie(chosenTemplate); On release of a button, attach a symbol to a the chair2 movieClip inside template1 Template2.chair2.attachMovie(person1, person1, 101); //hardcoded depth here for clearness Is there some limitation to attachMovie that I'm missing? Any guesses, suggestions, ideas? Thanks, Chris Chris Bell IT Manager University of Colorado Law School My home phone which forwards to me while I'm out of town: 303-443-9621 [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Missing characters in XML
you might have to go nodeValue.toString() first.. c. On 6/22/07, Danny Kodicek [EMAIL PROTECTED] wrote: I'm having trouble reading and writing some characters to XML. I've got a file with . characters and I'm trying to read them and swap them for arrows (u2192). But for some reason it's not managing to see them (nodeValue.indexOf(.) is giving -1) I think the problem may be something to do with encoding. Is there any way to find out what encoding Flash thinks the file has, or to force it to read the file with a particular encoding? I'm wondering whether it thinks it's UFT8 when it's actually ANSI. Thanks Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] URLRequest caching XML problems AS3
Hi people, I'm trying to load XML data from an RFID reader via HTTP(the reader has a webserver on it), if i use the xml.load method in CS2 it works absolutely fine. But trying to rewrite the code in CS3, i have come across what seems to be a caching problem, although there is something weird going on. The problem is if i put a tag in front of the reader, the XML remains the same, as i said in CS2, everything works fine and the XML is returned updated. I can get the CS3 application to update it's XML if i load the XML url into internet explorer which shows me the xml how it would be updated. So either the CS2 and internet explorer are sending some type of flush command to the RFID reader, or there is a caching problem somewhere.. Can anyone shed any light on why the http request might be different? This is the code i have to set the http headers and make the request to the, it returns xml, so the url is working fine. Code: var header:URLRequestHeader = new URLRequestHeader(Cache-Control, no-cache, no-store, max-age=0, must-revalidate); var request:URLRequest = new URLRequest(url); request.data = new URLVariables(oper=queryTagsraw=1); request.method = URLRequestMethod.GET; request.requestHeaders.push(header); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] attachMovie fails on embedded clip in a movie, why?
Hi Flash Friends, attachMovie works on a clip that is inside a clip that has been loaded by attachMovie but fails on a clip that is inside a clip loaded with loadMovie. This should be so easy, but it is simply not working. I'd appreciate any tips pointing me to the part that I don't understand ... The setup: - Main movie (mainMovie) - A symbol (person1) - A symbol (template1) that contains a movieClip (chair1) - A swf (template2) in the same folder as the Main movie that contains a similar movieClip (chair2) THIS WORKS: Load the symbol (template1) using attachMovie attachMovie(template1, mainMovie, 250); //hardcoded depth here for clearness On release of a button, attach a symbol to a the chair1 movieClip inside template1 template1.chair1.attachMovie(person1, person1, 101); //hardcoded depth here for clearness THIS DOESN'T WORK: (keeping everything the same except loading the movie from an external source...) Load the swf (template2.swf) using loadMovie mainMovie.loadMovie(chosenTemplate); On release of a button, attach a symbol to a the chair2 movieClip inside template1 Template2.chair2.attachMovie(person1, person1, 101); //hardcoded depth here for clearness Is there some limitation to attachMovie that I'm missing? Any guesses, suggestions, ideas? Thanks, Chris Chris Bell IT Manager University of Colorado Law School My home phone which forwards to me while I'm out of town: 303-443-9621 [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flv problems, cpu usage
Problem fixed...i was using some old html templates to display the swf in the browser...when i used CS3 with the new AC_RunActiveContent.js it fixed everything! CPU usage is down to about 11% fantastic...now i have another problem about the component not working if i export all my classes on a frame rather thatn frame 1. i'll write a new message for this. c. On 6/15/07, Latcho [EMAIL PROTECTED] wrote: if you use on2vp6 codec with variable bitrate, big (dimension) videos can eat a lot of cpu. possible fixes: -try to encode with a lower variabillity rate if you can acces this setting within your encoding program. - use static 1-pass bitrate. - encoding with the older sorenson codec might free up your cpu reserves too, at the cost of filesize and quality. Good Luck, Latcho 2lakes wrote: In firefox the CPU usage hovers around 60% which is acceptable, even though it still seems quite high, for videos of 320x280 pixels. In internet explorer though it is around 97% of the cpu and as a result the videos stutter. hi i have similar issues with firefox vs safari on some nested video's on my site. Safari seems to refresh to screen much more efficiently than FF. Also FF default cache size is 1 meg?! Good analysis, gives me some things to consider. cheers Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] flvplayback export classes to another frame
Hey guys, Anyone worked otu how to export classes on a differnt frame of the timeline, but still have the flvplayback component working? thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] flv problems, cpu usage
I'm using the flvPlayback component to playback a series of dynamically loaded flv files. In firefox the CPU usage hovers around 60% which is acceptable, even though it still seems quite high, for videos of 320x280 pixels. In internet explorer though it is around 97% of the cpu and as a result the videos stutter. If i press pause on the component, the video stops but the cpu remains at 97%! Whats running in that component that is causing that? if i unload the MovieClip from the stage it drops back down to 0%. If i look at youtube.com videos the cpu usage in internet explorer is 40-50 even though the videos are larger than mine. I have also tried using a lower quality encode, but makes no difference to the CPU. The flvplayback component is running insde nested movieClips in a externally loaded swf file. It looks like it is a problem with the nesting. If i put the flv on the main timeline of the loaded swf, the cpu usage drops down to about 80-90% If i run the swf with the flv alone in the browser, the cpu usage is around 45%. Anyone experienced this, or have any idea how i can get around this? thanks chris. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Contractors and Full-Time needed
We are looking for up to 2 of each in either the Phoenix, AZ or Tucson, AZ areas: ActionScript Programmer Flash Production Artist More information about all open positions is at: http://terralever.com/about-us/careers/ We are also looking to make contact with more freelancers (telecommute ok). If you have emailed me before, I'm sorry but I have lost all my contact information. Please email me again! Thanks, Chris Hill Director of Interactive Terralever 520 393 3240 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Dynamic E4X
The as3 examples for XML show the following: var node:String = zip; trace(employees.employee[0].address[node]); // 98765 What I'd like to do is something like this: var node:String = zip; trace(employees..[node]); // 98765 ie: Find all nodes that are called 'zip' in the document, but do it dynamically. any ideas? C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Dynamic E4X
That works great! Thanks a lot. C Juan Carlos Anorga wrote: check out the docs for the descendants method in the XML class. http://livedocs.adobe.com/flex/2/langref/XML.html#descendants() you should be able to do this: var node:String = zip; employees.descendants(node); - juan On May 16, 2007, at 4:57 PM, Chris Hill wrote: The as3 examples for XML show the following: var node:String = zip; trace(employees.employee[0].address[node]); // 98765 What I'd like to do is something like this: var node:String = zip; trace(employees..[node]); // 98765 ie: Find all nodes that are called 'zip' in the document, but do it dynamically. any ideas? C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Load flash content - version 9.0.45
Hi everyone, Been working with flash a while now but recently been confused with something. It may be IE7 causing me probs or my flash knowledge fading away. I have a simple image loader below: //---CODE --- var loadingBar_mc:MovieClip; var loadBar_mc:MovieClip = loadingBar_mc.loadBar_mc; var mcLoader:MovieClipLoader = new MovieClipLoader(); var listener:Object = new Object(); listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void { loadBar_mc._xscale = (bytesLoaded/bytesTotal)*100; } //run now mcLoader.addListener(listener); mcLoader.loadClip(_images/largeimage.jpg, container_mc); loadBar_mc._xscale = 0; //---CODE- http://www.ckm-designs.com/alg/loadtest.html Also the pre-loaders in this other page i created don't work in IE7 either http://www.catrionamccarthy.com/gallery.html For some reason the swf works perfectly in safari but not in my IE7, just installed CS3. have i missed something the browser world? ** This email and any files transmitted with it contains confidential and privileged information intended solely for the use of the individual whom they are addressed. This information does not constitute an invitation to buy, or the solicitation of an offer to sell securities or to provide any other products or services in any jurisdiction, to any person to whom it is unlawful to make such an offer or solicitation. If you have received this email in error please inform the sender and delete it. You may not use/distribute or copy it, take any action as a consequence of its content. Recipients are reminded that email is an insecure communication medium and we accept no responsibility for any losses, incurred as a result of fictitious or falsified messages. If in doubt recipients should take action to verify the authenticity of any message received. This footnote also confirms that this email message have been swept by mimesweeper for the presence of computer viruses. Ashburton (Jersey) Limited is regulated in the conduct of investment business by the Jersey Financial Services Commission within the terms of the Financial Services (Jersey) Law 1998. www.ashburton.com ** ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Programatic anmation to Quicktime/AVI
Swf2video has always worked for me http://www.adshareit.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of pedr browne Sent: 04 May 2007 10:34 To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Programatic anmation to Quicktime/AVI Hello, Got an animation that uses nested MCs and programatic animation. Need to export it to either AVI or uncompressed Quicktime, and obviously using Flash's own export is a no-no. Was wondering how other people would approach this. Have tried a few swf to AVI apps, but found them prone to dropping frames. To compound matters I am using a Mac, though I can run PC apps through Parralells. Any advice gratefully appreciated. P ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash / Java Communication with ExternalInterface
Java 6 has a new Scripting engine /Script manager so you could use External interface and write some sort of javascript gateway to bridge Flash and Java -- maybe. Just a thought... http://java.sun.com/javase/6/docs/api/javax/script/package-summary.html T. Michael Keesey [EMAIL PROTECTED] wrote: On 5/3/07, Alain Rousseau wrote: Hi All, we're at a point in a project where we need good communication between Flash and Java. ATM we are using SWT Flash and it's FSCommand handling. I would like to go a bit further to be able to send complex objects via ExternalInterface. I know there is Javaflash (HYPERLINK http://www.osflash.org/javaflash/http://www.osflash.org/javaflash/) out there but the official website is so slow and it seems to be still in beta. Basically, we are using Flash as GUI for a Java backend. We'll need to send back and forth some complex objects. We are currently exploring the possiblity of using XML to send values. I'm confused. Communicating with a back end would be better done with mx.rpc classes or something like that, no? ExternalInterface is usually for communicating with JavaScript, not Java. Which version of Flash are you using? -- Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] xmlsa with xmlsocket
Does anyone know if it is possible to use XMLSocket xml with XMLSA, instead of laoding an XML file? How would i go about it? thanks! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] flvplayback component skins for mp3 player
Hi all, I've just spent a few hours redisgning a skin for an flv playback component. Now the next section of the website is an mp3 section, is there a simple way to use the skin i made for the flvplayback for an mp3 player? Or to use any of the flvplayback skins for an mp3 player? It's a simple mp3 player, not a kind of itunes/winamp clone, but just plays one file at a time. thanks! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Entities are Hell!
try puttign this into your movie.. System.useCodepage = true; On 4/4/07, Steven Loe [EMAIL PROTECTED] wrote: I'm loading xml with special characters. These display as their entity codes i.e. as . If I put enitity codes in the xml, I still get entity codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! Screen Output: Akbar Jeffapos;s ActionScript Hut my_xml.xml: hut_data titleAkbar Jeff's ActionScript Hut/title /hut_data class: class LoadXml { private static var xmlUrl:String = my_xml.xml; private var rootRef; private var theClip:MovieClip; function LoadXml(rootRef) { this.rootRef = rootRef; var xmlDoc:XML = new XML(); xmlDoc.ignoreWhite = true; xmlDoc.onLoad = function(success:Boolean) { if (success) { this.owner.displayData(this); } else { trace(error loading xml); } }; Object(xmlDoc).owner = this; xmlDoc.load(xmlUrl); } private function displayData(xmlDoc:XML) { var xmlNode:XMLNode = xmlDoc.firstChild; if (xmlNode.nodeName.toString() == hut_data) { theClip = this.rootRef.createEmptyMovieClip(theClip, 1); theClip.createTextField(txt, 10, 10, 10, 250, 20); theClip.txt.html = true; theClip.txt.text = xmlNode.firstChild.firstChild; } } } Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com