Re: [flexcoders] Disable NativeWindow completely AIR application
in the app xml: initialWindow visiblefalse/visible /initialWindow On 13 May 2013, at 08:22, sony antony pow_like_me...@yahoo.co.in wrote: ere any way we can disable the whole window of AIR application, including menu, minimize, maximize, and close buttons? I have been trying in many ways for two days now. Please help me to got out of this situation. Thanks a lot in
Re: [flexcoders] Disable NativeWindow completely AIR application
Maybe you need a chrome less window, and implement your own exit / minimise ( etc ) handlers ? On 13 May 2013, at 08:39, sony antony pow_like_me...@yahoo.co.in wrote: Hello there, I dont think that's what I needed. I would explain my scenario. When I try to close my application, it will prompt to save the changes before closing, using an Alert. When the Alert window is there, I am able to click on close button, minimize and maximize as well. Also my menu is also active. If the user go for a try on every options that is clickable, it creates a weird situation where my application is grabbed by a number of windows turning itself to blurred view. See, if we close our Flashbuilder, we won't be able to click on any other thing on the background. That's what my desired functionality is. Thanks, Sony. From: Karim Beyrouti ka...@kurst.co.uk To: flexcoders@yahoogroups.com Sent: Monday, 13 May 2013 12:59 PM Subject: Re: [flexcoders] Disable NativeWindow completely AIR application in the app xml: initialWindow visiblefalse/visible /initialWindow On 13 May 2013, at 08:22, sony antony pow_like_me...@yahoo.co.in wrote: ere any way we can disable the whole window of AIR application, including menu, minimize, maximize, and close buttons? I have been trying in many ways for two days now. Please help me to got out of this situation. Thanks a lot in -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: flexcoders-dig...@yahoogroups.com flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Disable NativeWindow completely AIR application
how about something like this: http://forums.adobe.com/thread/490031 On 13 May 2013, at 10:35, sony antony pow_like_me...@yahoo.co.in wrote: Oh alright, In my case that is not possible. It's ok, I will see something. Anyway, Thanks for your suggestions. From: Karim Beyrouti ka...@kurst.co.uk To: flexcoders@yahoogroups.com Sent: Monday, 13 May 2013 2:23 PM Subject: Re: [flexcoders] Disable NativeWindow completely AIR application Maybe you need a chrome less window, and implement your own exit / minimise ( etc ) handlers ? On 13 May 2013, at 08:39, sony antony pow_like_me...@yahoo.co.in wrote: Hello there, I dont think that's what I needed. I would explain my scenario. When I try to close my application, it will prompt to save the changes before closing, using an Alert. When the Alert window is there, I am able to click on close button, minimize and maximize as well. Also my menu is also active. If the user go for a try on every options that is clickable, it creates a weird situation where my application is grabbed by a number of windows turning itself to blurred view. See, if we close our Flashbuilder, we won't be able to click on any other thing on the background. That's what my desired functionality is. Thanks, Sony. From: Karim Beyrouti ka...@kurst.co.uk To: flexcoders@yahoogroups.com Sent: Monday, 13 May 2013 12:59 PM Subject: Re: [flexcoders] Disable NativeWindow completely AIR application in the app xml: initialWindow visiblefalse/visible /initialWindow On 13 May 2013, at 08:22, sony antony pow_like_me...@yahoo.co.in wrote: ere any way we can disable the whole window of AIR application, including menu, minimize, maximize, and close buttons? I have been trying in many ways for two days now. Please help me to got out of this situation. Thanks a lot in -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: flexcoders-dig...@yahoogroups.com flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Centreing the Initial Preloader
Hello Flexcoders, I have an AIR app ( desktop AIR 2.7 / Spark App ) - and the initial preloaded is not centred. Now - this is not essential - but it's bugging me. Any know how to centre the initial/default preloader ?. Thanks in advance. - karim
[flexcoders] Flash Builder 4.5 / Code Folding OsX
This one has been bugging me for a while, and did not find anything on google: can't get the shortcut to fold all code and comments to work on OsX ( CDM-SHIFT+/ ). anyone else with the same problem ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: flexcoders-dig...@yahoogroups.com flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] can flex app send a flag/text back to the wrapper html
Yep - have a look at ExternalInterface: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html On 8 Sep 2010, at 23:09, coder3 wrote: Hi all, I have a flex app. and of course there is a standard html that launchs this .swf. now what i want is, if the flex app (swf) has an error, it can send a boolean/text/exception back to the html, so that the html can call some javascript to do something. how to do this?? thanks C -- View this message in context: http://old.nabble.com/can-flex-app-send-a-flag-text-back-to-the-wrapper-html-tp29642289p29642289.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Error #2063: Error attempting to execute IME command.
Had the same problem a while ago - and seem to remember it's got something to do with FP 10.1... On 20 Aug 2010, at 13:25, Brian J. Ackermann wrote: I've never even heard of it until I started getting this message... As an update...I've since replaced all the Alert's with traces, and while they work fine now, the problem isn't limited to Alerts in the apps creationComplete(), but its affecting all Alert dialogs, regardless of position. Brian J. Ackermann brian.ackerm...@gmail.com 952.373.1626 On Fri, Aug 20, 2010 at 1:10 AM, Alex Harui aha...@adobe.com wrote: Do you have IME installed on your system? On 8/19/10 1:37 PM, Brian J. Ackermann brian.ackerm...@gmail.com wrote: Hi, I'm getting the following error message, from a simple 'Alert.show(foo)' call, in my mx:Application's creationComplete handler. I see other examples of this working on the web Error: Error #2063: Error attempting to execute IME command. at flash.system::IME$/set enabled() at mx.managers::FocusManager/focusInHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\FocusManager.as:642] at flash.display::Stage/set focus() at mx.core::UIComponent/setFocus()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9544] at mx.controls.alertClasses::AlertForm/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\alertClasses\AlertForm.as:265] at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7933] at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:863] at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:384] at mx.managers::PopUpManager$/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:193] at mx.controls::Alert$/show()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\Alert.as:618] at adminTrak::AdminTrak/init()[C:\SVN\webstore\trunk\tmpFlex_RenameMe\Flex\AdminTrak\src\adminTrak\AdminTrak.mxml:60] at adminTrak::AdminTrak/___AdminTrak_Application1_creationComplete()[C:\SVN\webstore\trunk\tmpFlex_RenameMe\Flex\AdminTrak\src\adminTrak\AdminTrak.mxml:11] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528] at mx.core::UIComponent/set initialized()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1627] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072] in fact, this works: ?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 http://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx http://ns.adobe.com/flex/mx minWidth=955 minHeight=600 creationComplete=init() fx:Declarations !-- Place non-visual elements (e.g., services, value objects) here -- /fx:Declarations fx:Script ![CDATA[ import mx.controls.Alert; private function init():void { Alert.show(Starting the program); } ]] /fx:Script /s:Application I read up on IME, and I don't see anything in there that I'm the least bit familiar with. Certainly nothing that I've added to my code. Any ideas? Brian J. Ackermann brian.ackerm...@gmail.com 952.373.1626 -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Error #2063: Error attempting to execute IME command.
I think it will depend what version of FP you are exporting to... sorry for being so vague - it's been a while since i have had this error... and i cant quite remember how i fixed it... also - some details of Flex / Flash Builder version or are you using FDT?... On 20 Aug 2010, at 16:34, Brian J. Ackermann wrote: Hmm...peculiar. I ran the app in IE, FF, and GC. IE and FF are both 10.0 installs, and GC is on 10.1 somehow. IE doesn't work, throws all sorts of IME errors. FF seems to work perfectly. GC, doesn't throw errors, but also isn't working perfectly. I'm going to update my all my flashplayers, see what happens. time passes IE now works, but now FF(mis) behaves the same way as GC. Well, at least its some kind of progress, thanks! Brian J. Ackermann brian.ackerm...@gmail.com 952.373.1626 On Fri, Aug 20, 2010 at 8:51 AM, Brian J. Ackermann brian.ackerm...@gmail.com wrote: I don't recall updating my flash player yesterday.hmm.. Additionally. I've searched my entire project for the string IME, and nothing is foundI'm not using this little beastie at all. Brian J. Ackermann brian.ackerm...@gmail.com 952.373.1626 On Fri, Aug 20, 2010 at 8:38 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Had the same problem a while ago - and seem to remember it's got something to do with FP 10.1... On 20 Aug 2010, at 13:25, Brian J. Ackermann wrote: I've never even heard of it until I started getting this message... As an update...I've since replaced all the Alert's with traces, and while they work fine now, the problem isn't limited to Alerts in the apps creationComplete(), but its affecting all Alert dialogs, regardless of position. Brian J. Ackermann brian.ackerm...@gmail.com 952.373.1626 On Fri, Aug 20, 2010 at 1:10 AM, Alex Harui aha...@adobe.com wrote: Do you have IME installed on your system? On 8/19/10 1:37 PM, Brian J. Ackermann brian.ackerm...@gmail.com wrote: Hi, I'm getting the following error message, from a simple 'Alert.show(foo)' call, in my mx:Application's creationComplete handler. I see other examples of this working on the web Error: Error #2063: Error attempting to execute IME command. at flash.system::IME$/set enabled() at mx.managers::FocusManager/focusInHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\FocusManager.as:642] at flash.display::Stage/set focus() at mx.core::UIComponent/setFocus()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9544] at mx.controls.alertClasses::AlertForm/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\alertClasses\AlertForm.as:265] at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7933] at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:863] at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:384] at mx.managers::PopUpManager$/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:193] at mx.controls::Alert$/show()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\Alert.as:618] at adminTrak::AdminTrak/init()[C:\SVN\webstore\trunk\tmpFlex_RenameMe\Flex\AdminTrak\src\adminTrak\AdminTrak.mxml:60] at adminTrak::AdminTrak/___AdminTrak_Application1_creationComplete()[C:\SVN\webstore\trunk\tmpFlex_RenameMe\Flex\AdminTrak\src\adminTrak\AdminTrak.mxml:11] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528] at mx.core::UIComponent/set initialized()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1627] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072] in fact, this works: ?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 http://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx http://ns.adobe.com/flex/mx minWidth=955 minHeight=600 creationComplete=init() fx:Declarations !-- Place non-visual elements (e.g., services, value objects) here -- /fx:Declarations fx:Script ![CDATA[ import mx.controls.Alert; private function init():void { Alert.show(Starting the program); } ]] /fx:Script /s:Application I read up on IME, and I don't see anything in there that I'm the least bit familiar with. Certainly nothing that I've added to my
Re: [flexcoders] How to display a LARGE dataset of images
how about an image pool - so you cache a number of images - better if you have thumbnails available to load otherwise, i would recommend resizing the bitmap data ... 2 at once is a lot - if it's a list type thing you want, I found Spark lists with a custom item-renderer worked well with pools of images - especially as the spark list uses pools of object for it's list items - so you wont have to load all that at once.. your app should load the images as required... it's what i used for the AIR app @ http://gedit.kurst.co.uk/ - but - well, definitely not tested for so many images. MXML List I used : s:List id=imageList itemRenderer=com.kurst.galleryEditor.skins.DataListItemRenderer dataProvider={galleryData.imageCollection} creationComplete={dataController.imageList = imageList} left=10 right=0 top=0 bottom=0 dragEnabled=true dropEnabled=true dragMoveEnabled=true borderVisible=false borderAlpha=0.0 contentBackgroundAlpha=0.0 !-- ++ -- !-- DATA - IMAGE LIST LAYOUT-- !-- ++ -- s:layout s:TileLayout columnWidth=130 rowHeight=130 horizontalGap=10 verticalGap=10 / /s:layout /s:List Item Renderer: http://kurst.co.uk/transfer/DataListItemRenderer.mxml And object pool: http://kurst.co.uk/transfer/DataListItemController.as won't compile but might give you and idea, the only thing i did not build into the pool was a size limit. code is is not commented ( sorry ), but might help... and not tested for 2 images... but that should be the concept. good luck - karim On 6 Aug 2010, at 21:44, Oleg Sivokon wrote: Just have one Loader and one Bitmap (or probably 16 or about that number in the second case). When you handle the load complete you get the loader's content and draw it to the bitmapdata, remember where it was the last time, load next image, draw again and so on... However it will work, I would imagine that it will take some time to load all the images... I still don't understand why would anyone want to view so many images simultaneously... Can you maybe convince the customer that seeing 2 images at once isn't the best user experience? I mean, what will they see on an image 10x10? you won't be even able to tell if that's a man portrait or a flowers pot...
Re: [flexcoders] Apple Mac detection
Here you go: /** Determines if the current system is a mac */ public static function isMac() : Boolean { return ( Capabilities.os.indexOf( Mac ) != -1 ) } On 20 Jul 2010, at 09:59, Christophe wrote: Hello, How to know if the client computer is a Mac or a PC ? To add specific instructions for the Mac version. Thank you, Christophe,
Re: [flexcoders] Out of curiosity, what would Adobe lose if Flash were open sourced?
I think ( just a guess ) - they want to avoid different implementations of the flash player - with different players supporting different features... that could cause problems ( sounds like a headache to me ) ... however - if they can avoid that - it could then also be a question of revenue. i think an open source player - controlled by 'adobe' could be a great thing. Also, one thing i have been wondering about lately, and can't think of an answer... Director shockwave was quite fast and had ok 3D ( a little out of date now ). Used to really like director... why can't do the same with the flash player today... i know historically they want to keep distributable file size low - and reach the lowest common denominator - however - i just wonder why is this not achievable now days... - k On 4 May 2010, at 00:19, Baz wrote: I don't know much about how to answer this, so I'm not trying to take a position or anything: purely out of curiosity, what would Adobe lose if Flash were open sourced? Is it that competitors would more easily be able to make competing IDEs? Cheers, Baz
[flexcoders] Collapse Code and JavaDoc - Shortcut Not working OsX
Hello All - This has been bugging me for a while - the shortcut key to collapse / fold functions / javadoc in Flash Builder ( and Flex ) does not seem on OsX ( 10.6 ), and i have never been able to get it to work ( CMD - SHIFT - NumPad / ) . Any idea why? Cheers Karim
[flexcoders] reseting s:List and all list items...
Hi List, quick question: I am trying to iterate through a spark List component's itemRenderers / list items and would like to call a function in the ItemRenderers. How would i approach this? basically i need to reset a list and remove all active items ( and run a clean up function in each list item )... more info (in case you have time): I am using the s:list component for a thumbnail gallery (air app) and am not too sure about my approach to using itemRenders for this. I dynamically generate the thumbnails from larger images - if i do this every time there is a 'dataChange' event - then the list constantly rebuild the images ( i guess the spark list component uses a pool of list items ). The ItemRenderer's thumbnail bitmap is dynamically resized and resampled from a larger JPG. This is then assigned to a 'mx:Image' component. When re-assigning new Data - i would like to clean / clear all bitmaps in the list - to keep a low memory footprint. Hense why i am trying to iterate through the items in the list to clean / clear the bitmaps. is this the best approach? If you've made it this far, and feel somewhat inclined to help, here is the code i am using for my item renderer: http://kurst.co.uk/transfer/ListItemRenderer.txt Many thanks - Karim
Re: [flexcoders] reseting s:List and all list items...
Thanks Oleg - i was already starting to think the same thing - re: implementing own pool...and had already started - so far it works a treat. It's good to know i was not going mad with late night coding. Also removed the mx:image... as it's a bit of an overkill for what a sprite can do thanks again - very appreciated - karim On 25 Apr 2010, at 21:21, Oleg Sivokon wrote: A quick answer: You can use itemRendererFunction to create item renderers (in which case you will not be able to use virtual layout), but if you do the pool on your own, that might not be the worst approach. You can also let the renderers register themselves upon creation in some sort of array in the parentDocument - not the best approach regarding encapsulation, but would also work. If you care about performance I would't use Image component, it is huge comparing to Bitmap. I did something similar by doing this: - created an image loader class that would also take care of caching and reusing the images. - let every item renderer call that manager to acquire the image it should display. The manager than had a certain limit for how many images it may store + TTL concept, that is the images loaded first, in case there are to many images requested would be also unloaded first to give space to the new ones. So that it was sort of a compromise between the loading speed and the memory usage. Best. Oleg
Re: [flexcoders] Re: Performance feedback PLEASE
27 FPS - MacBook Pro 13 / OsX 10.6 - Core2 Duo 2.53GHz... On 9 Apr 2010, at 14:50, Jeff wrote: 60 fps Intel Core2 Duo 2.67GHz 4 GB RAM 64-bit Windows 7 --- In flexcoders@yahoogroups.com, Allan Pichler dreamc...@... 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. 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...@... 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] Accordion - Opaque / transparent background
Hi All. I have been trying to make the accordion's background opaque / transparent. So it's see through. The 'backgroundAlpha' property does not work. Wondering if anyone has any tips here? Using Flash Builder 4, project is an AIR application using 'Wireframe' theme. Code: mx:Accordion backgroundAlpha=0.0 width=200 right=0 top=0 bottom=0 creationComplete=initAc() id=testAc s:NavigatorContent label=Accordion Pane 1 width=100% height=100% backgroundAlpha=.25 /s:NavigatorContent /mx:Accordion Regards Karim Beyrouti