[flexcoders] Animations with Flex
Hello, I am searching a Swc library for doing Swf animations from images, with the setup of a timer between the display of the images. Thank you, Christophe,
Re: [flexcoders] Animations with Flex
Look for tweener library It also comes in swc format, very recomended Enviado desde mi iPhone 3G El 12-04-2010, a las 5:04, Christophe christophe_jacque...@yahoo.fr escribió: Hello, I am searching a Swc library for doing Swf animations from images, with the setup of a timer between the display of the images. Thank you, Christophe,
Re: [flexcoders] FlashBuilder 4 Linux Released!
On Friday 09 Apr 2010, feiy wrote: u can download the fb4linux from :http://code.google.com/p/fb4linux/ No you can't, the apptor.zhongyusuye.com link is dead. Why are you having such bad hosting problems ? -- Helping to interactively iterate bandwidth as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Flebuilder 3 manage project
On Thursday 08 Apr 2010, aceoohay wrote: We are experiencing a variety of problems with flexbuilder when everyone is using the same project. The same what ? The exact same files on a network share ? You've not checked the 'dot files' in the project root into source control have you ? -- Helping to synergistically optimize ROI as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Performance feedback PLEASE
On Friday 09 Apr 2010, Allan Pichler wrote: I was wondering if anyone could take a quick glance at my AS3 3d renderer http://api.pluton.webhouse.dk/pool3d/pool3d.html and reply what FPS they get on their gear. If you could also provide your CPU info that would be extremely helpful. 15fps, maxed out one 3GHz core. FireFox 3.6 on Linux with the 10.1 player. -- Helping to dramatically coordinate distributed fourth-generation developments as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Re: With the latest eula agreement from Apple
On Friday 09 Apr 2010, Battershall, Jeff wrote: Reportedly Unity 3D was told that this new EULA would not apply to them, yet on the face of it, it should. Doesn't Unity work by using a real Xcode project ? Unlike CS5... -- Helping to advantageously supply unique best-of-breed next-generation environments as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Performance feedback PLEASE
64bits system and 64bits flashplugin. thomas parquier http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2010/4/9 thomas parquier mailingli...@web-attitude.fr crunchbang (ubuntu) AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ flashplayer 10.0.32.18 : 40-41fps great visual result thomas parquier --- http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2010/4/9 Allan Pichler dreamc...@gmail.com I was wondering if anyone could take a quick glance at my AS3 3d renderer http://api.pluton.webhouse.dk/pool3d/pool3d.html and reply what FPS they get on their gear. If you could also provide your CPU info that would be extremely helpful. For the curious the engine sports the following features: Subpixel positioning (1/4 pixel on both x y) Antialiasing Ambient light Specular light Best regards and have a wonderful day! *Allan Pichler* RIA Architect - ColdFusion/Flex/Ajax/UI Email: dreamc...@gmail.com Phone DK: +45 22 68 08 88 Phone US: +1 (415) 683 0313 Skype:apichler Yahoo:allan_pichler Facebook: www.facebook.com/apichler LinkedIn: www.linkedin.com/in/apichler
[flexcoders] Bitmapdata heavy usage - memory disaster (spark/FB4)
Hi all. I was wondering if you could help me out... I've got a flex component which works pretty well but unfortunately turns into a disaster once used in a datagroup item renderer of about 40-50 items. Essentially it uses bitmapdata to take screenshot of a fully-rendered webpage in mx:HTML (this version of webkit rocks btw, miles better than flex 3). The code is pretty self-explanatory I think. http://noben.org/show/PageGrabber.mxml I've optimized it all I could, browsed, search for answers and already trimmed it down a lot, I'm desparate to reduce the memory usage (about 600mb after 100 draw) The Garbage collector has little effect. Thanks! Nic
RE: [flexcoders] Re: With the latest eula agreement from Apple
Doesn't matter, the wording doesn't mention XCode, just the languages it's originally written in. They'll still be fine though, Apple is free to ignore the agreement when it suits them, and they aren't going to cut off Unity. They'll just reject anything written for Flash / DotNet. At the end of the day, Apple get a disproportionate amount of media coverage to their actual market share. Apple blocking the iPhone is annoying, but we still have the market leader (RIM), Android, etc. Flash Player 10.1 will end up on more devices than the whole iPhone install base. I'd rather call myself a mobile developer than restrict myself to being an iPhone developer, and that hasn't changed. Gk. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton Sent: 12 April 2010 10:21 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: With the latest eula agreement from Apple On Friday 09 Apr 2010, Battershall, Jeff wrote: Reportedly Unity 3D was told that this new EULA would not apply to them, yet on the face of it, it should. Doesn't Unity work by using a real Xcode project ? Unlike CS5...
[flexcoders] How to get the visible items on a Spark List with virtual layout
Hello, I have: - an ArrayCollection of Numbers;- a List using the above ArrayCollection as it's dataprovider, and virtualLayout=true;- a custom ItemRenderer that shows a label with: a) the numberb) an y position depending on the number AND the highest number visible In another words, if I have 10 numbers in the AC, and only 5 appear on the screen, the y position of those 5 will depend on the value of the maximum number for those 5. When the user scrolls, of course those 5 elements change so the position of the label in item renderers will change. My questions: 1) How can I get the list of items that are currently visible?2) Which event/method to override will help me know that the List was scrolled/the visible items changed? Thank you, João Saleiro
[flexcoders] Showing other video format in Flash player
Does anyone know a server side solution to convert .mov, .avi, .wmv, etc videos in Flash Player as a flv? Something like what youTube must do to show everyones videos. Client side is not a solution since clients wont do it ;-)
[flexcoders] Re: Showing other video format in Flash player
ffmpeg is the most common one. --- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote: Does anyone know a server side solution to convert .mov, .avi, .wmv, etc videos in Flash Player as a flv? Something like what youTube must do to show everyones videos. Client side is not a solution since clients wont do it ;-)
Re: [flexcoders] Showing other video format in Flash player
Never mind. Found the right Google keywords and got more options that I can read through. However, ANYONE have any knowledge or experience with ffmpeg?
[flexcoders] How to prevent a click on a button or a switch of the active tab
I'm trying to prevent the click event of a button to fire when a text input field has the focus but its value has been changed to an invalid value. I've tried to cancel the valueCommit focusOut events of the text input field but that doesn't seem to do the trick. Please find below some code that DOESN'T do the trick. Anyone an idea on how to fix this annoying problem? ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx minWidth=955 minHeight=600 fx:Script ![CDATA[ import mx.controls.Alert; import mx.events.FlexEvent; import mx.managers.FocusManager; protected function textinput1_focusOutHandler(event:FocusEvent):void { trace(focusOut); } protected function ti_valueCommitHandler(event:FlexEvent):void { // Validation fails - how to prevent a tab navigator change or click on a button?? event.preventDefault(); event.stopPropagation(); event.stopImmediatePropagation(); trace(valueCommit); } protected function btn_clickHandler(event:MouseEvent):void { trace(click); } ]] /fx:Script mx:TabNavigator s:NavigatorContent label=Tab 1 s:VGroup s:TextInput id=ti valueCommit=ti_valueCommitHandler(event) focusOut=textinput1_focusOutHandler(event)/ s:Button id=btn label=Click me click=btn_clickHandler(event) / /s:VGroup /s:NavigatorContent s:NavigatorContent label=Tab 2 s:Button label=Click me 2 / /s:NavigatorContent /mx:TabNavigator /s:Application
RE: [flexcoders] Re: With the latest eula agreement from Apple
Well put, Gregor. It does in fact seem that Apple is treated as more important than it really is, in terms of market share. Give that to their marketing and the support of fanatical fan boys and tech pundits. Just heard an ad last night for a Netbook touting that it's Flash Enabled - its possible that Apple's strategy of exclusion might backfire. It certainly seems silly on Apple's part to limit apps because of the source. That's like saying we only want e-books for our device that were written using a specific word processor. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Monday, April 12, 2010 6:53 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: With the latest eula agreement from Apple Doesn't matter, the wording doesn't mention XCode, just the languages it's originally written in. They'll still be fine though, Apple is free to ignore the agreement when it suits them, and they aren't going to cut off Unity. They'll just reject anything written for Flash / DotNet. At the end of the day, Apple get a disproportionate amount of media coverage to their actual market share. Apple blocking the iPhone is annoying, but we still have the market leader (RIM), Android, etc. Flash Player 10.1 will end up on more devices than the whole iPhone install base. I'd rather call myself a mobile developer than restrict myself to being an iPhone developer, and that hasn't changed. Gk. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton Sent: 12 April 2010 10:21 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: With the latest eula agreement from Apple On Friday 09 Apr 2010, Battershall, Jeff wrote: Reportedly Unity 3D was told that this new EULA would not apply to them, yet on the face of it, it should. Doesn't Unity work by using a real Xcode project ? Unlike CS5...
Re: [flexcoders] Re: With the latest eula agreement from Apple
On Monday 12 Apr 2010, Gregor Kiddie wrote: Doesn't matter, the wording doesn't mention XCode, just the languages it's originally written in. That was my point; Unity uses Apple's C environment (almost like a macro language), where as Adobe doesn't. -- Helping to economically optimize extensible fifth-generation infomediaries as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Wierd error in instanting an mxml component in actionscript in Flex 4
I am getting a null object reference error while trying to instantiate an mxml component from actionscript. This same code works if compiled from Flash Builder Beta 2 version. I am getting the error only if the code is compiled in Flash Builder 4 (Flex 4 release version). The problem seems to be related to creation policy of the component but I have not been able to figure out how to resolve it. I have already specified creation policy as all. Please help. Pradeep Following is the prototype example of code. -- CustomAccountGrid.mxml ?xml version=1.0 encoding=utf-8? mx:DataGrid xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx width=100% height=100% rowHeight=22 showHeaders=false x=0 y=20 verticalGridLines=false fontSize=12 fontWeight=normal borderVisible=false mx:columns mx:DataGridColumn dataField=name width=200/ mx:DataGridColumn id=registerBalance textAlign=right width=100/ /mx:columns /mx:DataGrid AccountView.mxml ?xml version=1.0 encoding=utf-8? s:Panel xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx xmlns:cust=test.custom.component.* width=100% height=100% cornerRadius=4 title=Spending Accounts fontSize=15 fontWeight=bold creationPolicy=all s:Group height=24 left=10 right=10 top=10 fontSize=12 fontWeight=normal s:layout s:HorizontalLayout gap=5 verticalAlign=middle/ /s:layout mx:LinkButton label=Add height=24 paddingBottom=2/ mx:LinkButton label=Manage height=24 paddingBottom=2/ mx:LinkButton id=accountTransferLink label=Account Transfer height=24 paddingBottom=2/ mx:LinkButton label=Refresh height=24 paddingBottom=2/ /s:Group mx:Accordion width=100% height=100% top=44 fontSize=12 fontWeight=normal creationPolicy=all s:NavigatorContent label=Money width=100% bottom=0 contentBackgroundAlpha=0xFF height=70% cust:CustomAccountGrid id=moneyAccount / /s:NavigatorContent s:NavigatorContent label=Credit width=100% height=70% cust:CustomAccountGrid id=creditAccount / /s:NavigatorContent /mx:Accordion /s:Panel - AccordionTest.mxml ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx minWidth=955 minHeight=600 xmlns:ui=test.custom.ui.* creationComplete=creationComplete(event) fx:Declarations !-- Place non-visual elements (e.g., services, value objects) here -- /fx:Declarations fx:Script ![CDATA[ import mx.events.FlexEvent; import test.custom.ui.AccountView; private var _spendingAccount : AccountView; function creationComplete(event:FlexEvent):void{ _spendingAccount = new AccountView(); _spendingAccount.moneyAccount.dataProvider = {}; _spendingAccount.creditAccount.dataProvider = {}; } ]] /fx:Script !-- This works fine. creating through script gives error. ui:SpendingAccountView/ -- /s:Application
[flexcoders] I get these random errors when using tree and viewstack?
I'm pulling my hair out on this problem which seems to me to be a problem with the main framework not my code. I have a tree and then viewstacks on the right side when a user clicks on a nav option in the tree the viewstack appears on the right. I keep getting a ReferenceError: Error #1065: Variable is not defined. getDefinitionByName() I'm using a call to get the child by name from the XML source mainviewstack.selectedChild = Container(mainviewstack.getChildByName(selectedno...@hidden.tostring())); But the viewstack works fine then on some occasions it randomly throws that error issue? So I resorted to also I've trying to use a simple mainviewstack.selectedIndex = selected_number; but still sometimes the error gets thrown? I've uploaded my code to for full source if anyone has a moment please tell me what might be the issue http://www.megaupload.com/?d=E4A1X14T
[flexcoders] Charts - complex label
For my line chart I need a label which will be made of two labels. I was trying to use custom labelRenderer where I added another label but this either not possible or I did something wrong. Can you give me some tips for doing this in a right way? Thanks! G.
[flexcoders] question for SWFLoader?
Hi, I load and show a big swf. May I do play, pause,stop,replay the swf? That will like video player. Thanks Mark S
[flexcoders] Security problem when load swf?
Hi, I have following code to load/play swf file,but I get follow security error.Do you have a idea to fix that. Thanks for help. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=OnCreationComplete() mx:Script ![CDATA[ import mx.core.UIComponent; private var loader:Loader; private function OnCreationComplete():void { var url : String =assets/swfload.swf; loader = new Loader(); var request:URLRequest = new URLRequest(url); loader.load(request); loaderHolder.rawChildren.addChild(loader as DisplayObject); } private function onStop():void { var mc : MovieClip = loader.content as MovieClip; mc.stop(); } private function onPlay():void { var mc : MovieClip = loader.content as MovieClip; mc.play(); } ]] /mx:Script mx:VBox width=100% height=100% horizontalAlign=center verticalAlign=middle mx:Canvas id=loaderHolder width=500 height=500/ mx:Button label=Stop click=onStop()/ mx:Button label=Play click=onPlay()/ /mx:VBox /mx:Application Error Message: Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: Security sandbox violation: file:///C:/Users/user/Documents/Flex Builder 3/ swfTest/bin-debug/swfTest.swf cannot load file:///C:/Users/user/Documents/Flex Builder 3/swfTest/bin-debug/assets/swfdemo.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other.
[flexcoders] Variable-height popup
In the context of: mx:PopUpButton mx:popup mx:VBox /mx:VBox /mx:popup /mx:PopUpButton Is there a simple way to give the popup a height of, say, 50% of the current application height, along with a min and max height?
[flexcoders] Re: I get these random errors when using tree and viewstack?
I was to find the issue's I think so far no errors while testing I removed all trace statements on creationcomplete and added creationpolicy=all to viewstack which didn't work the first time I tried. Hopefully I don't see them again though. --- In flexcoders@yahoogroups.com, advancedonsite nos...@... wrote: I'm pulling my hair out on this problem which seems to me to be a problem with the main framework not my code. I have a tree and then viewstacks on the right side when a user clicks on a nav option in the tree the viewstack appears on the right. I keep getting a ReferenceError: Error #1065: Variable is not defined. getDefinitionByName() I'm using a call to get the child by name from the XML source mainviewstack.selectedChild = Container(mainviewstack.getChildByName(selectedno...@...())); But the viewstack works fine then on some occasions it randomly throws that error issue? So I resorted to also I've trying to use a simple mainviewstack.selectedIndex = selected_number; but still sometimes the error gets thrown? I've uploaded my code to for full source if anyone has a moment please tell me what might be the issue http://www.megaupload.com/?d=E4A1X14T
[flexcoders] Re: Simply Cannot Insert Values into My Database From Flex
No idea. I get data and insert data to/from MySQL databases via PHP every day without issue. Could you post your app code and the PHP code? Also, I would STRONGLY recommend getting a copy of Charles (http://www.charlesproxy.com). It costs $50 but it saves oodles of time when trying to track down network issues such as yours. --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: I'm trying to learn how to insert values from my flex app to my mysql database via a php file. I've followed the following example to the letter but it simply will not work for me:- http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html When I click the button in the app which should do the insert it just does not do it. It's bizzare. I have uploaded the app to my server along with the php file and changed the url within the code to my php file etc and it all looks perfect but I try to do the insert then when I go to my mysql database it just isn't there and the table is still empty. Can anybody suggest why this might be?
[flexcoders] Re: render tree click problem with viewstack
That is very possible. You may like to look at calllater to run that code. --- In flexcoders@yahoogroups.com, advancedonsite nos...@... wrote: If I put in an Alert statement before the mainviewstack.selectedChild = Container(mainviewstack.getChildByName(selectedno...@hidden)); then everything works fine ? It's like the viewstack is not created in time but adding the alert slows it down and allows it to be created, very weird. --- In flexcoders@yahoogroups.com, advancedonsite nospam@ wrote: Let me give more details... Sometimes the viewstack shows sometimes it throws the error even on the same viewstack? its like something is not rendered in time or such? --- In flexcoders@yahoogroups.com, advancedonsite nospam@ wrote: I've been using this code to choose a viewstack based on name of the canvas ID... and it works but as the tree grew a bit larger I've noticed that certain items throw an error of ReferenceError: Error #1065: Variable is not defined. getDefinitionByName() === // Event handler for the Tree control change event. public function treeChanged(event:Event):void { selectedNode=Tree(event.target).selectedItem as XML; trace(selectedno...@hidden); mainviewstack.selectedChild = Container(mainviewstack.getChildByName(selectedno...@hidden)); } mx:XMLList id=treeData root label=Root Tree main label=Announcements hidden=announcements view label=Add hidden=announcements_add/ view label=Remove hidden=announcements_remove/ /main main label=Stations hidden=stations view label=Information hidden=stations_information/ mx:Tree id=RootTree width=15% height=100% labelField=@label showRoot=false dataProvider={treeData} change=treeChanged(event)/ mx:ViewStack id=mainviewstack width=85% height=100% mx:Canvas backgroundColor=#FF id=announcements mx:Text text=TEST fontWeight=bold paddingTop=10 paddingLeft=10 / /mx:Canvas mx:Canvas backgroundColor=#CC id=announcements_add mx:Text text=This is test viewstack fontWeight=bold paddingTop=10 paddingLeft=10 / /mx:Canvas
[flexcoders] Re: With the latest eula agreement from Apple
Just as a thought, couldn't Adobe output an XCode project that you just need to compile? --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Friday 09 Apr 2010, Battershall, Jeff wrote: Reportedly Unity 3D was told that this new EULA would not apply to them, yet on the face of it, it should. Doesn't Unity work by using a real Xcode project ? Unlike CS5... -- Helping to advantageously supply unique best-of-breed next-generation environments as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: Flex Builder Out of Memory Errors
I'm on a Mac so I don't have an eclipse.ini file. Does anyone know how to set the memory limit using FB3 (standalone, not plugin) on a Mac? Thanks. --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: Ok I was getting this all day today until I remebered that in FB3 I had manually changed the eclipse vm args in eclipse.ini.
Re: [flexcoders] Security problem when load swf?
Check your use-network options and your trust files On 4/12/10 9:19 AM, markflex2007 markflex2...@yahoo.com wrote: Hi, I have following code to load/play swf file,but I get follow security error.Do you have a idea to fix that. Thanks for help. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=OnCreationComplete() mx:Script ![CDATA[ import mx.core.UIComponent; private var loader:Loader; private function OnCreationComplete():void { var url : String =assets/swfload.swf; loader = new Loader(); var request:URLRequest = new URLRequest(url); loader.load(request); loaderHolder.rawChildren.addChild(loader as DisplayObject); } private function onStop():void { var mc : MovieClip = loader.content as MovieClip; mc.stop(); } private function onPlay():void { var mc : MovieClip = loader.content as MovieClip; mc.play(); } ]] /mx:Script mx:VBox width=100% height=100% horizontalAlign=center verticalAlign=middle mx:Canvas id=loaderHolder width=500 height=500/ mx:Button label=Stop click=onStop()/ mx:Button label=Play click=onPlay()/ /mx:VBox /mx:Application Error Message: Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: Security sandbox violation: file:///C:/Users/user/Documents/Flex Builder 3/ swfTest/bin-debug/swfTest.swf cannot load file:///C:/Users/user/Documents/Flex Builder 3/swfTest/bin-debug/assets/swfdemo.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Recalling Validator recreating/duplicating errorString even when its cleared
I have a static helper method I call that validates required field. var text:TextInput= new TextInput(); if I run this twice: validateRequired(text); validateRequired(text); My text.errorMessage = This field is required\nThis field is required I noticed that we keep pushing errorMessage to the private errorObjectArray/errorArray in UIComponenet. What can I do to 'clear' the error state so that errorObjectArray gets flushed accordingly? setting errorString to nul/ doesnt seem to help as it gets rebuild on the next validate(). Should I remove some eventListeners? public static function validateRequired(control:UIComponent) : Boolean { control.errorString = ; var reqFieldValidator:Validator = new Validator(); reqFieldValidator.source = control; reqFieldValidator.required = true; reqFieldValidator.property = text; reqFieldValidator.listener = control; return (reqFieldValidator.validate().type != ValidationResultEvent.VALID); }
[flexcoders] Re: Recalling Validator recreating/duplicating errorString even when its cleared
I understand this problem can easily be fixed by avoiding Flex validators and just checking control[text] != null control[text] != then control.errorString = This field is required.; but I would like to reuse Validators for other scenarios (like email validation) and the same issue pops up. --- In flexcoders@yahoogroups.com, tntomek tnto...@... wrote: I have a static helper method I call that validates required field. var text:TextInput= new TextInput(); if I run this twice: validateRequired(text); validateRequired(text); My text.errorMessage = This field is required\nThis field is required I noticed that we keep pushing errorMessage to the private errorObjectArray/errorArray in UIComponenet. What can I do to 'clear' the error state so that errorObjectArray gets flushed accordingly? setting errorString to nul/ doesnt seem to help as it gets rebuild on the next validate(). Should I remove some eventListeners? public static function validateRequired(control:UIComponent) : Boolean { control.errorString = ; var reqFieldValidator:Validator = new Validator(); reqFieldValidator.source = control; reqFieldValidator.required = true; reqFieldValidator.property = text; reqFieldValidator.listener = control; return (reqFieldValidator.validate().type != ValidationResultEvent.VALID); }
[flexcoders] AIR with database advice
Hi, I want to make desktop AIR application. This application must have access to its database which is made in MS SQL Server. Now I have created .NET application (Web Service) that access this database. And initial thought was to host this service somewhere but problem is that my clients want to have their databases on their computers and that computers will not be connected to the internet. Now I don't know what to do. 1) To use other technology? 2) To use SQLite - I have never work with this, I don't know is data security, can I daily make database backup etc. 3) Any other suggestion? Thanks
[flexcoders] Does filterFunction create a new array behind the scenes?
Hi, Anyone know what filterFunction on an ArrayCollection does to the source array behind the scenes? Does it create a new subset array with the filtered items? Does it hide elements in the same array somehow? Thanks, Baz
[flexcoders] Re: Does filterFunction create a new array behind the scenes?
You can easily check by looking at @objectId but I think no since filterFunction is native part of Array --- In flexcoders@yahoogroups.com, Baz li...@... wrote: Hi, Anyone know what filterFunction on an ArrayCollection does to the source array behind the scenes? Does it create a new subset array with the filtered items? Does it hide elements in the same array somehow? Thanks, Baz
[flexcoders] How to know how long time a swf file will play?
Hi, I have a question how to get swf file information after I load the swf with swfLoder. Thanks Mark S
[flexcoders] Re: Security problem when load swf?
Hi Alex, Thanks. I have question how to check this? which software I need to use.Thanks Mark --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Check your use-network options and your trust files On 4/12/10 9:19 AM, markflex2007 markflex2...@... wrote: Hi, I have following code to load/play swf file,but I get follow security error.Do you have a idea to fix that. Thanks for help. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=OnCreationComplete() mx:Script ![CDATA[ import mx.core.UIComponent; private var loader:Loader; private function OnCreationComplete():void { var url : String =assets/swfload.swf; loader = new Loader(); var request:URLRequest = new URLRequest(url); loader.load(request); loaderHolder.rawChildren.addChild(loader as DisplayObject); } private function onStop():void { var mc : MovieClip = loader.content as MovieClip; mc.stop(); } private function onPlay():void { var mc : MovieClip = loader.content as MovieClip; mc.play(); } ]] /mx:Script mx:VBox width=100% height=100% horizontalAlign=center verticalAlign=middle mx:Canvas id=loaderHolder width=500 height=500/ mx:Button label=Stop click=onStop()/ mx:Button label=Play click=onPlay()/ /mx:VBox /mx:Application Error Message: Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: Security sandbox violation: file:///C:/Users/user/Documents/Flex Builder 3/ swfTest/bin-debug/swfTest.swf cannot load file:///C:/Users/user/Documents/Flex Builder 3/swfTest/bin-debug/assets/swfdemo.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Re: Flebuilder 3 manage project
--- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: We are doing a conversion of 200+ screens from Oracle Forms to Flex, and have 4 developers working on the project. We are experiencing a variety of problems with flexbuilder when everyone is using the same project. Where can I find some hints on how to manage a project with multiple developers? Paul Perhaps this is not the main topic, but I was wondering how did you decide to switch from Oracle Forms to Flex. Currently my company is using Oracle Forms and we are planning to use Flex for some bigger projects but we don't plan to migrate 200+ Forms to Flex.
[flexcoders] Installation of Flex Builder 3 plugin on Eclipse 3.5
Hello All, I have few questions regarding Flex Builder 3 and Eclipse. I would greatly appreciate any help. First, when I have Flex Builder 3 installed do I need to have Flex Builder 3 plug-in installed on Eclipse for LCDS, BlazeDS, and flex with spring plugin. Second, Where do I get a flex builder 3 plug-in for eclipse 3.5 for Windows XP and what are the steps involved in installing it. Could anyone please let me know. Thanks in advance. --- Sneha
[flexcoders] Property values based on Multiple Conditions
I seem to have little success with this and would like to know other ways of accomplishing what I want to do. I'm trying to enable/disable a button based on two pieces of criteria. It would seem that a logical OR or a logical AND would bridge these much like an IF statement, however, I'm struggling to make it work 100%. Consider a button: s:Button enabled={showMe || hideMe}/ This button's enabled property is based upon the binding of the variables for showMe and hideMe. If showMe or hideMe is true then the button is enabled. This works fine when using a logical OR. However, the following - using a logical AND - does not: s:Button enabled={showMe hideMe}/ How do you do a logical AND?? Also, if I wanted to set showMe and hideMe based on several lines of code how would I best do it? How would you bind a function output to a display object? I only see a way to do it based upon event: [Bind (event: some event here] private function myFunction():void{} Thanks in advance!!
[flexcoders] urgent !! need a way to move the horizontal scroll bar automatically
I have 30 columns and 100 rows in an advanced data grid. I am implementing a search functionality in the grid. If I search for a word, it should do a wild card search and highlight the particular column that contains the search text and make that column visible to the user. I have the columnIndex and rowIndex with me for the column that contains the search text. I want a way to calculate the horizontalscrollposition to move the horizontal scroll bar to make that column visible. If any body has idea about this, Please reply to this post.
Re: [flexcoders] Re: Security problem when load swf?
Use-network is an mxmlc option. See the documentation on FlashPlayer trust files. On 4/12/10 1:54 PM, markflex2007 markflex2...@yahoo.com wrote: Hi Alex, Thanks. I have question how to check this? which software I need to use.Thanks Mark --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aha...@... wrote: Check your use-network options and your trust files On 4/12/10 9:19 AM, markflex2007 markflex2...@... wrote: Hi, I have following code to load/play swf file,but I get follow security error.Do you have a idea to fix that. Thanks for help. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=OnCreationComplete() mx:Script ![CDATA[ import mx.core.UIComponent; private var loader:Loader; private function OnCreationComplete():void { var url : String =assets/swfload.swf; loader = new Loader(); var request:URLRequest = new URLRequest(url); loader.load(request); loaderHolder.rawChildren.addChild(loader as DisplayObject); } private function onStop():void { var mc : MovieClip = loader.content as MovieClip; mc.stop(); } private function onPlay():void { var mc : MovieClip = loader.content as MovieClip; mc.play(); } ]] /mx:Script mx:VBox width=100% height=100% horizontalAlign=center verticalAlign=middle mx:Canvas id=loaderHolder width=500 height=500/ mx:Button label=Stop click=onStop()/ mx:Button label=Play click=onPlay()/ /mx:VBox /mx:Application Error Message: Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: Security sandbox violation: file:///C:/Users/user/Documents/Flex Builder 3/ swfTest/bin-debug/swfTest.swf cannot load file:///C:/Users/user/Documents/Flex Builder 3/swfTest/bin-debug/assets/swfdemo.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] urgent !! need a way to move the horizontal scroll bar automatically
I think you just set horizontalScrollPosition to the columnIndex On 4/12/10 12:18 PM, sathish_mca_raja sathish_mca_r...@yahoo.com wrote: I have 30 columns and 100 rows in an advanced data grid. I am implementing a search functionality in the grid. If I search for a word, it should do a wild card search and highlight the particular column that contains the search text and make that column visible to the user. I have the columnIndex and rowIndex with me for the column that contains the search text. I want a way to calculate the horizontalscrollposition to move the horizontal scroll bar to make that column visible. If any body has idea about this, Please reply to this post. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Re: Does filterFunction create a new array behind the scenes?
ArrayCollection creates an internal array of the results. It never alters the source as it is a view of the source. On 4/12/10 1:47 PM, tntomek tnto...@yahoo.com wrote: You can easily check by looking at @objectId but I think no since filterFunction is native part of Array --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Baz li...@... wrote: Hi, Anyone know what filterFunction on an ArrayCollection does to the source array behind the scenes? Does it create a new subset array with the filtered items? Does it hide elements in the same array somehow? Thanks, Baz -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Variable-height popup
Set the height in code in a creationComplete and show handler On 4/12/10 10:14 AM, Richard Rodseth rrods...@gmail.com wrote: In the context of: mx:PopUpButton mx:popup mx:VBox /mx:VBox /mx:popup /mx:PopUpButton Is there a simple way to give the popup a height of, say, 50% of the current application height, along with a min and max height? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Installation of Flex Builder 3 plugin on Eclipse 3.5
Hi Sneha, For First question, You want all of those in one place, then it is suggested to have it installed. For second question, Go to adobe.com and download latest version. I believe Flex 3 Builder is discontinued to download from the site, you could always download the latest version that is Flex 4 [also know as Flash Builder 4] use Flex 3.5 SDK while building the project. If you already have the Eclipse other plugins installed and want the Flex Builder Plugin to install on top of it, it's easy, the installer will guide you through steps u will be able to set it up perfectly. Srinivas On Apr 12, 2010 9:18am, Sneha sneha_mod...@yahoo.com wrote: Hello All, I have few questions regarding Flex Builder 3 and Eclipse. I would greatly appreciate any help. First, when I have Flex Builder 3 installed do I need to have Flex Builder 3 plug-in installed on Eclipse for LCDS, BlazeDS, and flex with spring plugin. Second, Where do I get a flex builder 3 plug-in for eclipse 3.5 for Windows XP and what are the steps involved in installing it. Could anyone please let me know. Thanks in advance. --- Sneha
Re: [flexcoders] How to know how long time a swf file will play?
Mark, If you see the SWFLoader API, you could see that there are few properties which you can use such as bytesLoaded bytesTotal, but these two tells you about SWF or Content loading size not the timeline information of the SWF you load. I don't think there are any API exposed or present which would tell you that. So I suggest you to have a method and expose it from which would basically do your timeline calculation and return the value. When you do this, you could always use a wrapper and call the function and get the timeline information. I hope I was clear on explaining how to achieve this. Regards Srinivas On Apr 12, 2010 1:52pm, markflex2007 markflex2...@yahoo.com wrote: Hi, I have a question how to get swf file information after I load the swf with swfLoder. Thanks Mark S
[flexcoders] Assigning a byteArray to an Image source
Hey All, I’m trying desperately to load an image into flex from a byteArray and for the life of me I cannot seem to get it to work. I have code that uses a FileReference to browse for a *.png file, and then on completion it will set the img.source = fileReference.data. This works great! The fileReference.data is in the form of a byteArray. I then use a RemoteObject to save that byteArray to the database using Coldfusion. That part works perfectly as well. I can the retrieve the byteArray, pass it back to flex, verify that all the properties of the byteArray are exactly the same as the properties were when the image worked, and then assign it to the img.source, and I get a broken image. if I do this: if(this.chat_queue.company_logo.length 0){ var _loader:Loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(e:Event):void { this.imgLogo.source = e.currentTarget.content; }); _loader.loadBytes(new PNGEncoder().encodeByteArray(this.chat_queue.company_logo,90,43)); } Then I get “Error 2030: End of file was encountered.” If I try this: } if(this.chat_queue.company_logo.length 0){ var _loader:Loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(e:Event):void { this.imgLogo.source = e.currentTarget.content; }); _loader.loadBytes(this.chat_queue.company_logo); } Then I get “Error #2124: Loaded file is an unknown type.” And if I just simply do this: this.imgLogo.source = this.chat_queue.company_logo; I get a broken image without error. Keep in mind that this.chat_queue.company_logo is a byteArray, and is stored in the database as a blog. Thanks, I’m at my wits end. Any help would be greatly appreciated. -- ´¨) __o .·´ .·´¨)¸.·´¨) _'\ . (¸.·´ (¸.·´ (¸.·´¨¨ Amanda ¨¨( * ) ( )
Re: [flexcoders] Property values based on Multiple Conditions
On Apr 12, 2010, at 10:31 AM, Doug wrote: I seem to have little success with this and would like to know other ways of accomplishing what I want to do. I'm trying to enable/disable a button based on two pieces of criteria. It would seem that a logical OR or a logical AND would bridge these much like an IF statement, however, I'm struggling to make it work 100%. Consider a button: s:Button enabled={showMe || hideMe}/ This button's enabled property is based upon the binding of the variables for showMe and hideMe. If showMe or hideMe is true then the button is enabled. This works fine when using a logical OR. However, the following - using a logical AND - does not: s:Button enabled={showMe hideMe}/ How do you do a logical AND?? Also, if I wanted to set showMe and hideMe based on several lines of code how would I best do it? How would you bind a function output to a display object? I only see a way to do it based upon event: [Bind (event: some event here] private function myFunction():void{} Thanks in advance!! I haven't tried this, but I suspect that you are being bitten by XML. Try this: s:Button enabled={showMe amp;amp; hideMe}/ -- Rick Genter rick.gen...@gmail.com
Re: [flexcoders] Property values based on Multiple Conditions
Rick is correct. You can also use a local binding function like this: s:Button enabled={enableButton(showMe, hideMe)}/ where enableButton is a function in your Script block that takes two boolean parameters. Or, if you have a presentation model, it could have a computed property buttonEnabled s:Button enabled={model.buttonEnabled}/ Excerpt of presentation model: [Bindable(event=showMeChanged)] [Bindable(event=hideMeChanged)] public function get buttonEnabled():Boolean { return showMe hideMe; } public function set showMe(value:Boolean):void { if (value != this.showMe) { this.showMe = value; dispatchEvent(new Event(showMeChanged)); } } Hope this helps. On Mon, Apr 12, 2010 at 4:31 PM, Rick Genter rick.gen...@gmail.com wrote: On Apr 12, 2010, at 10:31 AM, Doug wrote: I seem to have little success with this and would like to know other ways of accomplishing what I want to do. I'm trying to enable/disable a button based on two pieces of criteria. It would seem that a logical OR or a logical AND would bridge these much like an IF statement, however, I'm struggling to make it work 100%. Consider a button: s:Button enabled={showMe || hideMe}/ This button's enabled property is based upon the binding of the variables for showMe and hideMe. If showMe or hideMe is true then the button is enabled. This works fine when using a logical OR. However, the following - using a logical AND - does not: s:Button enabled={showMe hideMe}/ How do you do a logical AND?? Also, if I wanted to set showMe and hideMe based on several lines of code how would I best do it? How would you bind a function output to a display object? I only see a way to do it based upon event: [Bind (event: some event here] private function myFunction():void{} Thanks in advance!! I haven't tried this, but I suspect that you are being bitten by XML. Try this: s:Button enabled={showMe amp;amp; hideMe}/ -- Rick Genter rick.gen...@gmail.com rick.genter%40gmail.com
Re: [flexcoders] FlashBuilder 4 Linux Released!
the web have clear,please download from fb4linux code site after 4.13 GMT+8 闲云孤鹤 - 清冷香中抱膝吟 On Mon, Apr 12, 2010 at 5:15 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Friday 09 Apr 2010, feiy wrote: u can download the fb4linux from :http://code.google.com/p/fb4linux/ No you can't, the apptor.zhongyusuye.com link is dead. Why are you having such bad hosting problems ? -- Helping to interactively iterate bandwidth as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.Halliwells.com.
[flexcoders] artchitectural suggestion for making any uicomponent draggable?
Hello, I have an application where any uicomponent is draggable relative to the stage. The code is the same for each one. Does anyone have a suggestion on a clean way of enabling that functionality for any uicomponent while minimizing duplication? Here is a snippet of the main (duplicate) dragging logic: private function drag(event:MouseEvent):void { var snapIt:Boolean = false; var distanceX:int = (stage.mouseX - xPosStart); var distanceY:int = (stage.mouseY - yPosStart); if ((snapIt)((distanceX != 0)||(distanceY != 0))) { var snapTo:int = 15; var xMove:int = xStart+distanceX; var yMove:int = yStart+distanceY; var xSnap:int = xMove + (snapTo - xMove % snapTo); var ySnap:int = yMove + (snapTo - yMove % snapTo); this.x=xSnap; this.y=ySnap; } else { this.x=xStart+distanceX; this.y=yStart+distanceY; } event.updateAfterEvent(); }
[flexcoders] Flex Coloring with CMYK
Hi all how to use cmyk in coloring on flex? thanks
Re: [flexcoders] Assigning a byteArray to an Image source
If it is really a PNG file, you should just be able to assign the bytearray directly to the source, but be sure you’ve set the bytearray’s position=0 before doing so. On 4/12/10 4:27 PM, Amanda Machutta amachu...@gmail.com wrote: Hey All, I’m trying desperately to load an image into flex from a byteArray and for the life of me I cannot seem to get it to work. I have code that uses a FileReference to browse for a *.png file, and then on completion it will set the img.source = fileReference.data. This works great! The fileReference.data is in the form of a byteArray. I then use a RemoteObject to save that byteArray to the database using Coldfusion. That part works perfectly as well. I can the retrieve the byteArray, pass it back to flex, verify that all the properties of the byteArray are exactly the same as the properties were when the image worked, and then assign it to the img.source, and I get a broken image. if I do this: if(this.chat_queue.company_logo.length 0){ var _loader:Loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(e:Event):void { this.imgLogo.source = e.currentTarget.content; }); _loader.loadBytes(new PNGEncoder().encodeByteArray(this.chat_queue.company_logo,90,43)); } Then I get “Error 2030: End of file was encountered.” If I try this: } if(this.chat_queue.company_logo.length 0){ var _loader:Loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(e:Event):void { this.imgLogo.source = e.currentTarget.content; }); _loader.loadBytes(this.chat_queue.company_logo); } Then I get “Error #2124: Loaded file is an unknown type.” And if I just simply do this: this.imgLogo.source = this.chat_queue.company_logo; I get a broken image without error. Keep in mind that this.chat_queue.company_logo is a byteArray, and is stored in the database as a blog. Thanks, I’m at my wits end. Any help would be greatly appreciated. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui