Re: [flexcoders] Label must be a simpler identifier
Try a clean and rebuild. Also look for stray punctuation, especially a colon. On 6/16/10 7:51 PM, ilikeflex ilikef...@yahoo.com wrote: Hi I have the following class.. package com.vzw.mpi.rss.bussvalidations { public class BussValidation { public var message:String; public var isError:Boolean; } } when i try to do something like this var object:BussValidation = new BussValidation(); object.message = Error Number 1 ; //any string i get the error Label must be a simpler identifier Do anybody no why is this happening??? Thanks ilikeflex -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] datagrid refresh
When I use CF9 as the datasource; I'm missing the option to refresh the dataProvider. Eg. getAllRecords_paged.lastResult.Refresh() is missing. Does anyone know how I can refresh the datagrid? Thanks. sj
[flexcoders] Re: Strange and Frustrating amfPHP behaviour Unsupported Datatype: array
In the end I found my solution. It just so happens that my value objects were incorrectly formed on the server side. Hence, some properties were as arrays where the flex was expecting value objects. It took me a while to find out since the incorrect objects where deeply buried in the object hierarchy but thanks to charles and the magic instruction return (print_r($someObject, true)); I got everything working again. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I return arrays of objects (Or just single objects) all the time although I use WebORB instead of PHP. What does Charles (http://www.charlesproxy.com) say? What does the PHP error log show? --- In flexcoders@yahoogroups.com, ouaqa abenefice@ wrote: Hello all, I've been stuck for a couple of days with a very weird error provoked by AMFPhp. My Flex client sends to the server a fairly complex value object. This object is composed of basic attributes (string , int , ...) , value object attributes and an array of value objects (also complex objects ). I can perform any treatment on this object on the php side. However, when I want to send the value object back, I get an Unsupported Datatype: array error. In order to simplify my explanations, let's say that this variable is called $array. I tested the following : - gettype($array) returns array. - I can return any properties of my array, either by $array[someIndex] (returning the value object held at someIndex) or by $array[someIndex][someValueObjectAttribute] - I can use print_r and see the content of $array. - I can create an array on the server side and return it (even if it contains value objects). I just tested to copy each value of $array in a temporary variable and return it to the server but nothing different happened. Any help would be appreciated, this is getting very very frustrating.
Re: [flexcoders] Label must be a simpler identifier
This mostly happens when you forget var keyword but you intend to put it. The label must be simple identifier error means that the compiler believed that construction to be a loop label. The error isn't in the code as you show it, but you probably have more of it. Basically, just check the syntax errors, it often happens to me that I write vat instead of var and so on.
[flexcoders] how to call multiple action script files into one Mxml
Hi all, how to call multiple action script files into one mxml file and also how to access one action method into another action script file. plz send sample code regard's Venkatreddy
[flexcoders] Hai Ths Is Sridhar : Regarding Flex Plz Help Me
How to integrate a HTML page inside the flex, i tried a lot using iframeetc but everything redirects to another page , i need the HTML page inside the flex without redirecting... Plz guide me how to process... Waiting 4 ur Replies
[flexcoders] Re: Amfphp Error
Before you even bother to look at the service browser, I would look at the gateway.php it will print a installed correctly message if all is good in amfphp land. Next get a good proxy debugger. I like Charles Proxy debugger the best but there are a few out there. This will come in handy for testing from the swf it's self. Plus I use it for all kinds of web work out side of flash stuff too. You can use Charles for free to get started. I would give a try from your app to see if it is calling the correct service class and method. If so then check to see if it's getting all the arguments it needs. The proxy debugger will help show you all that. If all else fails then I would do a simple hello world and try the service browser as stated before. Just to see if you can even get amfphp to do a simple test. The problem with the service browser is it takes the method checking out of context from your app and there maybe other problems leading up to it out side of amfphp, example you may not be calling the correct service class. From the service browser at best you will only know that the server side is working or not. Plus any info you get in the service browser will also be seen in the proxy debugger so might as well test from the app it's self to see the whole picture from the get go. FYI: if you use flash develop for editing your php that could also be a problem as the encode for the file when saved has massed things up for me in the past. Try to save in note pad or dream weaver. But that's just my 2 cents. I still don't event know mxml yet. - Josh Chernoff | GFX Complex --- In flexcoders@yahoogroups.com, K~SATHYAN~M ksathy...@... wrote: Hi, Use this http://localhost/amfphp/browser/ and check whether your class is error free or not.. otherwise replace it with amfphp 1.9 version from www.amfphp.org - - - - - - - - - With Regards, Sathya Moorthi K On Thu, Jun 17, 2010 at 3:18 AM, Christophe christophe_jacque...@...wrote: Hello, I have this error: AMFPHP runtime error Do you have such an error ? Thx, Christophe,
[flexcoders] how to place cursor in textinput
Hi everyone, i was setthe focus to the TextInput component, (this is component in login window). This highlights my TextInput component, but it is not place cursor in textinput Regard's VenkatReddy s
Re: [flexcoders] how to call multiple action script files into one Mxml
Hi, mx:Script source=scriptFileNamePath / Using this, you can access that file from mxml.. - - - - - - - - - With Regards, Sathya Moorthi K On Thu, Jun 17, 2010 at 11:13 AM, venkat reddy venkatreddy_...@yahoo.comwrote: Hi all, how to call multiple action script files into one mxml file and also how to access one action method into another action script file. plz send sample code regard's Venkatreddy
[flexcoders] Re: Hai Ths Is Sridhar : Regarding Flex Plz Help Me
do a google on IFrame Alistair Rutherford this might help --- In flexcoders@yahoogroups.com, sridhar s sweetsrihe...@... wrote: How to integrate a HTML page inside the flex, i tried a lot using iframeetc but everything redirects to another page , i need the HTML page inside the flex without redirecting... Plz guide me how to process... Waiting 4 ur Replies
[flexcoders] Re: flex 4 - NavigatorContent question / element parent
Thanks for the info. I won't need an example as your explanation has given me an insight. Very useful. --- In flexcoders@yahoogroups.com, Netaman rtigr...@... wrote: I use viewStack.removeAllChildren(); also, what I do with the NavigatorContent, is everytime I create a new NavigatorContent container I load the resulting child UI component object into an arrayCollection then when I need to get to the object inside the NavigatorContent I use the viewStack.selectedIndex as an index to the ArrayCollection to manipulate the object, or generate a popup, etc... public function setNavContent(navLabel:String, newView:*):void { var itemNav:NavigatorContent = new NavigatorContent(); itemNav.label = navLabel; itemNav.addEventListener(MouseEvent.DOUBLE_CLICK, circleD.editForms); itemNav.doubleClickEnabled = true; itemNav.minHeight = 300; itemNav.minWidth = 400; itemNav.addElement(newView); circleD.peViewStack.addChild(itemNav); } Where navLabel is a tab string and newView is a UI component usually a composite component If you need a whitewashed code example let me know. Randy --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: myPanel.owner is the same as myPanel.parent so that won't work. Making it a property would work. What would the disadvantages be with using myPanel.parent.parent.parent (a trace shows this to be the navigatorcontent)? I wonder why there is no such property like 'elementParent' to go with addElement() analagous to 'parent' and addChild()? one follow up question - I'm now adding the NavigatorContent to a viewstack. When i do viewstack.removeChild(nc), how do i make sure nc (naviagtorcontent) is destroyed? thanks --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: Or make nc a property of the class so you can use it in any method. --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Try myPanel.owner On 6/9/10 8:23 AM, bhaq1972 mbhaque@ wrote: I added a Panel component into a NavigatorContent public function aMethod():void { var nc:NavigatorContent = new NavigatorContent(); nc.addElement(myPanel); } Now, in another method I want to access this NavigatorContent eg public function anotherMethod(myPanel:Panel):void { var nc:NavigatorContent = myPanel.parent as NavigatorContent; however nc is not myPanel.parent. doing a trace, the navigatorContent is actually the myPanel.parent.parent.parent Is there not a property/method which gets me a reference to the element Parent (a bit like addChild() / parent relationship) -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
RE: [flexcoders] datagrid refresh
Nevermind; it's been moved. However, code hinting doesn't bring it up either. It's now: dataGrid.dataprovider.refresh(); addItem() appears to take as well so I assume it's there too. Neither show in code hinting. sj From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Scott Sent: Thursday, June 17, 2010 2:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrid refresh When I use CF9 as the datasource; I'm missing the option to refresh the dataProvider. Eg. getAllRecords_paged.lastResult.Refresh() is missing. Does anyone know how I can refresh the datagrid? Thanks. sj -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean.
[flexcoders] Flex builder problems
I am using Flex Builder 3.0.2 and 3 things that use to work do not anymore 1- Outline window is always empty 2- No intellisense. 3- Double clicking or right click - Go To on an error in the Problem Window does not go to the error line in the source How these can be fixed? Thanks
[flexcoders] Finding a file on a shared drive using AIR File
I have a small program I am building for work that looks to see if a file is put on a shared network drive and if it exists, do something with it. While looking through the AIR notes I see you can set a literal path to the file. var fl = new File(S:\shared\folder\filename.txt); I tried this an it comes up and not existing even though I am looking right at it. I also tried something on my C:\ drive and it didnt work either. Any ideas on how to make this work?
Re: [flexcoders] Finding a file on a shared drive using AIR File
Found it: Add to nativePath and added the double slashes '\\' On 6/17/2010 11:43 AM, Wally Kolcz wrote: I have a small program I am building for work that looks to see if a file is put on a shared network drive and if it exists, do something with it. While looking through the AIR notes I see you can set a literal path to the file. var fl = new File(S:\shared\folder\filename.txt); I tried this an it comes up and not existing even though I am looking right at it. I also tried something on my C:\ drive and it didnt work either. Any ideas on how to make this work?
[flexcoders] Question about FXP file type
Hey all, I am still using 3.5 with FlashBuilder and I have a question for you all. Can I take a FXP image file and embed it in Flex like a jpeg or png file? Thanks, timgerr
[flexcoders] Re: flex3 upload function seems not calling the php script
Charles has a demo version that is fully functional but will exit after 30 minutes. Charles is invaluable for tracking down network issues. It has paid for itself many times over for me. The only thing that may be wrong that I can see is the value of HOST. I would put a breakpoint in your try block and check to see that the filereference and URLRequest is setup correctly. Also, you may want to download a file upload component and try that (That is what I did). These components have been tested and known to work. They also add extra functionality like progress bars etc so you don't have to re-invent the wheel. --- In flexcoders@yahoogroups.com, David Pariente xxmapach...@... wrote: I get all alerts but the one of the catch error. i dont get any warning or errors. at first the try/catcch was inside the subeArchivo function...but i moved it to the object itself for test and leave code more clear for me. same result. i didn't try charles (commercial, and don't think i could install it here) but tryied with httpfox and i can't see the call to the php file when click upload. (I see any other communication). thnks for the help...i continued trying but still have no hint...:( De: valdhor valdhorli...@... Para: flexcoders@yahoogroups.com Enviado: mié,16 junio, 2010 14:47 Asunto: [flexcoders] Re: flex3 upload function seems not calling the php script What alerts actually show? Does the try block produce an error? If so, what error? What happens if you include the try block inside the subeArchivo function rather than using getChildByName? What does Charles (http://www.charlesproxy.com) show? --- In flexcoders@yahoogroups.com, David Pariente xxmapachexx@ wrote: Hi all, I have a website with an upload code that stopped to work...if ever did (thought this was tested). After checking for many hours i still can't find a reason why is not working, or stopped to. I checked with httpFox, and looks like the php file is never called...so i wonder if the upload(request) is not being called, and why...:( this is an extract of the upload function: public function subeArchivo(fm_id:Number, filename:String):void { var request:URLRequest=new URLRequest(HOST + /php/collection/collection_image_upload.php); var params:URLVariables= new URLVariables(); request.method = URLRequestMethod.POST; if (fm_id==1){ params.folderbase=album; } if (fm_id==2){ params.folderbase=product; } params.web=this.web; params.photo=filename; request.data = params; fm_saving_load(); //Alert.show(filename: +request.data); (this.getChildByName(fm_image_upload) as form_Image_Upload).uploadfile(request); } and this is the function called in the fm_image_upload form: [Bindable] public var thefile:FileReference = new FileReference(); public function uploadfile(request:URLRequest):void{ try { this.thefile.upload(request); } catch (error:Error) { trace(Unable to upload file.); Alert.show(Unable to upload file); } Alert.show(uploading: +request.data); Alert.show(url: +request); } This is all the code invloved. I can't manage the php to do anything i ask it to do, and then after using httpfox i noticed there is no call to the php file. The alerts show perfectly, so the uploadfile function is executing, and the request data seems correct. If someone could bring some light into this...i didn't worked in this code for a year, and can't find a hint of what's wrong about it :( Thank you very much!
[flexcoders] FlexUnit
Hello all. I am using Flex 4 and am trying to do My First FlexUnit Project :) following the instructions at: http://docs.flexunit.org/index.php?title=Setting_up_a_FlexUnit_4_Project It appears that org.flexunit.listeners.UIListener does not exist in the FlashBuilder 4 Professional installation. Can anyone tell me what replaced it or where it is? The code from the page above is below. Thanks, Libby import org.flexunit.listeners.UIListener; import sampleSuite.SampleSuite; private var core:FlexUnitCore; public function runMe():void { core = new FlexUnitCore(); core.addListener(new UIListener(uiListener)); core.run( sampleSuite.SampleSuite );
[flexcoders] Re: FlexUnit
Hi: To use the UIListener you need 1 more Library, called the UIListener. You can get this from the downloads page at FlexUnit.org (it comes with all of the other FlexUnit downloads) If you are using FlashBuilder 4, you don't need this UIListener as they create their own when you indicate you want to run a unit test. HTH, Mike --- In flexcoders@yahoogroups.com, libbychantel libbychan...@... wrote: Hello all. I am using Flex 4 and am trying to do My First FlexUnit Project :) following the instructions at: http://docs.flexunit.org/index.php?title=Setting_up_a_FlexUnit_4_Project It appears that org.flexunit.listeners.UIListener does not exist in the FlashBuilder 4 Professional installation. Can anyone tell me what replaced it or where it is? The code from the page above is below. Thanks, Libby import org.flexunit.listeners.UIListener; import sampleSuite.SampleSuite; private var core:FlexUnitCore; public function runMe():void { core = new FlexUnitCore(); core.addListener(new UIListener(uiListener)); core.run( sampleSuite.SampleSuite );
[flexcoders] How do i embed a SWF in AS3?
Hey all, The title says it all. I know how to embed a symbol from a SWF, but everything i try when trying to embed a complete SWF fails: [Embed(source=assets/some.swf, mimeType=application/octet-stream)] private var MySWF:Class; var movie:MovieClip = new MySwf() as MovieClip This does not work which is slightly obvious as its a octet stream. So now i use a loader and try loadByes(new MySWF() as ByteArray) This tells me .swf contains invalid data. So i have no idea how to embed a SWF. Can anyone give me some help? Cheers, Clark.
[flexcoders] word stops
It appears upgrading to the latest Java on my Mac has affected my ability to tab double-click for certain word stops. Things like : and other symbols (. still works) that used to stop a double click selection or a tab no longer do. Others have had the same experience as well and we all believe it's the latest update to Java on the Mac. Any solutions? (Yes, I'm using FDT instead of Flash Builder until I figure this out... good bye Library projects... I miss you .)
Re: [flexcoders] How do i embed a SWF in AS3?
Remove the mimeType and use –keep to see the generated code. You should be able to use what gets generated in order to just embed a SWF as bits. On 6/17/10 10:02 AM, Clark Stevenson a.scots...@gmail.com wrote: Hey all, The title says it all. I know how to embed a symbol from a SWF, but everything i try when trying to embed a complete SWF fails: [Embed(source=assets/some.swf, mimeType=application/octet-stream)] private var MySWF:Class; var movie:MovieClip = new MySwf() as MovieClip This does not work which is slightly obvious as its a octet stream. So now i use a loader and try loadByes(new MySWF() as ByteArray) This tells me .swf contains invalid data. So i have no idea how to embed a SWF. Can anyone give me some help? Cheers, Clark. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] how to place cursor in textinput
Hi, Assuming your login window is popped up using the PopupManager you can set the loging window component to implement IFocusManagerContainer. mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=355 height=217 implements=mx.managers.IFocusManagerContainer creationComplete={init();} . . . import mx.managers.IFocusManagerContainer; . . . private function init():void { focusManager.setFocus(login_userName); } . . . PopUpManager.createPopUp() : http://livedocs.adobe.com/flex/3/langref/mx/managers/PopUpManager.html#createPopUp%28%29 Hope that helps... Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, mobile: +44(0)774 035 5424, blog: http://blog.middleweek.co.uk } ); On 17 June 2010 06:34, venkatreddy_006 venkatreddy_...@yahoo.com wrote: Hi everyone, i was setthe focus to the TextInput component, (this is component in login window). This highlights my TextInput component, but it is not place cursor in textinput Regard's VenkatReddy s
Re: [flexcoders] Re: flex3 upload function seems not calling the php script
Hi, well, i guessed Charles would make exactly the same as httpFox, but since have to be installed, i should look for a PC where i could get it installed, at home for example. The host value is . It's there for control the host when i work on production or development servers. I used it the same way all over the site, working perfectly. The difference is that in the other places, it's just normal xml loader calls, while in this case, it's sent with UPLOAD from the file reference object. The uploaders i tried, back to the starts of flex3, where bug full, and crashed often, and in no means dependable at all. If there is a simple one, for upload a simple file, i would not miss upload bars and bulk uploads. If you say they work, they must have improved developments A LOT. A simple upload script will take 10 lines, not the kind of thing i need a commercial product for...1 or 2 more lines for have a progress bar. Now the main goal is to make the code works again. a little might have been deleted accidentally or something is wrong and can't see it. :( I guess not much people do any upload at all in their websites :( Well, thank you anyway, and if someone see something wrong or have any simple working code to compare with, it would be much wellcome... Thnx. De: valdhor valdhorli...@embarqmail.com Para: flexcoders@yahoogroups.com Enviado: jue,17 junio, 2010 18:29 Asunto: [flexcoders] Re: flex3 upload function seems not calling the php script Charles has a demo version that is fully functional but will exit after 30 minutes. Charles is invaluable for tracking down network issues. It has paid for itself many times over for me. The only thing that may be wrong that I can see is the value of HOST. I would put a breakpoint in your try block and check to see that the filereference and URLRequest is setup correctly. Also, you may want to download a file upload component and try that (That is what I did). These components have been tested and known to work. They also add extra functionality like progress bars etc so you don't have to re-invent the wheel. --- In flexcoders@yahoogroups.com, David Pariente xxmapach...@... wrote: I get all alerts but the one of the catch error. i dont get any warning or errors. at first the try/catcch was inside the subeArchivo function...but i moved it to the object itself for test and leave code more clear for me. same result. i didn't try charles (commercial, and don't think i could install it here) but tryied with httpfox and i can't see the call to the php file when click upload. (I see any other communication). thnks for the help...i continued trying but still have no hint...:( De: valdhor valdhorli...@... Para: flexcoders@yahoogroups.com Enviado: mié,16 junio, 2010 14:47 Asunto: [flexcoders] Re: flex3 upload function seems not calling the php script What alerts actually show? Does the try block produce an error? If so, what error? What happens if you include the try block inside the subeArchivo function rather than using getChildByName? What does Charles (http://www.charlesproxy.com) show? --- In flexcoders@yahoogroups.com, David Pariente xxmapachexx@ wrote: Hi all, I have a website with an upload code that stopped to work...if ever did (thought this was tested). After checking for many hours i still can't find a reason why is not working, or stopped to. I checked with httpFox, and looks like the php file is never called...so i wonder if the upload(request) is not being called, and why...:( this is an extract of the upload function: public function subeArchivo(fm_id:Number, filename:String):void { var request:URLRequest=new URLRequest(HOST + /php/collection/collection_image_upload.php); var params:URLVariables= new URLVariables(); request.method = URLRequestMethod.POST; if (fm_id==1){ params.folderbase=album; } if (fm_id==2){ params.folderbase=product; } params.web=this.web; params.photo=filename; request.data = params; fm_saving_load(); //Alert.show(filename: +request.data); (this.getChildByName(fm_image_upload) as form_Image_Upload).uploadfile(request); } and this is the function called in the fm_image_upload form: [Bindable] public var thefile:FileReference = new FileReference(); public function uploadfile(request:URLRequest):void{ try { this.thefile.upload(request); } catch (error:Error) { trace(Unable to upload file.); Alert.show(Unable to upload file); }
[flexcoders] Spring-BlazeDS TestDrive using MySQL
Hi, Has anyone tried the Spring BlazeDS Integration Test Drive using MySQL? http://www.adobe.com/devnet/flex/articles/spring_blazeds_testdrive.html The example in the test drive used H2 database and included jdbc:embedded-database id=dataSource type=H2 / in infrastructure-configure.xml I can't figure out the tag to use for MySQL database. Thanks for the help. Fernando
[flexcoders] Question in regards to html-wrapper, and secured connections (SSL)
I am deploying a Flex app that utilizes BlazeDS and runs on HTTPS. I have properly configured BlazeDS to work over SSL. Everything works great.. I have one small annoying issue that I cannot seem to resolve. the HTML generated by the html-wrapper compilation process is generating code that contains http references as opposed to https references, for instance the object tags codebase attribute is http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab; This causes IE to report the Commingle http and https elements warning. I would assume that there would be an argument in the html-wrapper task that instructs the compiler to indicate https for URL references as opposed to http references in the generated HTML file but that does not seem to be the case. Note: I am generating the deployed SWF and HTML wrappers via ant (flexTasks.tasks in flexTasks.jar) Anyone have any idea in regards to this setting? thanks in advance - Dave
[flexcoders] Re: How do i embed a SWF in AS3?
I think you can only load a swf at runtime, via a Loader or SWFLoader --- In flexcoders@yahoogroups.com, Clark Stevenson a.scots...@... wrote: Hey all, The title says it all. I know how to embed a symbol from a SWF, but everything i try when trying to embed a complete SWF fails: [Embed(source=assets/some.swf, mimeType=application/octet-stream)] private var MySWF:Class; var movie:MovieClip = new MySwf() as MovieClip This does not work which is slightly obvious as its a octet stream. So now i use a loader and try loadByes(new MySWF() as ByteArray) This tells me .swf contains invalid data. So i have no idea how to embed a SWF. Can anyone give me some help? Cheers, Clark.
[flexcoders] Re-installing an AIR application on Windows
The online documentation on this subject is mostly contradictory and out of date due to changes that Adobe made with AIR 1.5.3. I am building and deploying a new AIR application using 1.5.3. As far as I can tell it should be possible to silently un-install an AIR application and then re-install a new one in its place. However, the documention here talks about publisher ids: http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf and the documentation here says publisher ids are deprecated: http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html So, I am at a loss as to figure out how to obtain the Upgrade/Component GUID under windows so that I can call msiexe to uninstall an AIR application. Can anyone shed light on this?
[flexcoders] How much does FXG affect performance?
I saw a comment recently that large FXG usage can affect performance. For example, FXG in skins. But I also read it affects file size??? If it's vector shouldn't it in most cases be smaller in size than a rasterized representation of the vector? What about If the vector skin art is relatively static how much of it is getting redrawn every frame? If it is redrawn every frame what is the use of Show redrawn regions in the Flash Player context menu? To quote Ted P, Internally the player sweeps the DisplayList and processes all graphics, then processes all frame bytecode, then processed events. If there are things to do in each phase, the phase will expand potentially slowing down the frame speed. http://tinyurl.com/2erm72a Has this behavior changed in Flash Player 10.1? BTW Is there a limit to the number of questions I can ask in a single post? Have I past that limit? If so will any of my questions get answered or is the whole post disqualified? If so how do I get it re-qualified? Separate posts for each question? JP
[flexcoders] Development enviroment setting for Flash Player 10.1 application?
Hi, I plan to develop a multitouch flex app with Flash Builder 4 ,Flash player 10.1 support multitouch features. I just want to know if I need change some previous setting for Flash Builder 4.which settings I need change. Thanks Marks
Re: [flexcoders] Re: How do i embed a SWF in AS3?
You can definitely embed an entire SWF. By default the SWF is encoded as a bytearray and the bytearray is the source for a MovieClipLoaderAsset. Works great but then you can’t easily access the SWF because it has been wrapped. But somewhere in the generated code should be the clue for just getting the SWF as a bytearray. On 6/17/10 10:16 AM, Josh Chernoff j...@gfxcomplex.com wrote: I think you can only load a swf at runtime, via a Loader or SWFLoader --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Clark Stevenson a.scots...@... wrote: Hey all, The title says it all. I know how to embed a symbol from a SWF, but everything i try when trying to embed a complete SWF fails: [Embed(source=assets/some.swf, mimeType=application/octet-stream)] private var MySWF:Class; var movie:MovieClip = new MySwf() as MovieClip This does not work which is slightly obvious as its a octet stream. So now i use a loader and try loadByes(new MySWF() as ByteArray) This tells me .swf contains invalid data. So i have no idea how to embed a SWF. Can anyone give me some help? Cheers, Clark. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui