How can I have my app create components for all states on startup?
Hi All,
I've got an application with 8 different states. When the user moves from one state to the next for the first time, there's a brief (but perceptible) delay while the Flash Player sets up everything on the next view (state). I would like to see what the increased load time looked like--it may be preferable to have slightly longer load time in order to get "snappier" performance once inside the app.
I initially thought I could set creationPolicy to "all" and then everything would get created immediately, when the app first loads. But that's not working--no change in behavior, and when I inspect objects that on any view besides the first one, they are all null. I have to first change to the state where that component is hosted, and then component is initialized and available.
I read elsewhere that I could use itemCreationPolicy, but that is not a property on the application object... do I need to apply that somewhere else?
I'm on Flex 4.0.
-Josh
Oops I might have replied to the wrong post in http://forums.adobe.com/thread/767099
I think you'll want to look at setting the itemCreationPolicy to immediate.
Check out "Custom Creation and Destruction Policies" section of this spec for more details:
http://opensource.adobe.com/wiki/display/flexsdk/Enhanced+States+Synta x
Similar Messages
-
How can I find an app I paid for but is not on ipod now?
how can I find an app I paid for but is not on ipod now?
Download Past Purchases
http://support.apple.com/kb/HT2519
Log into iTunes using the account the Purchase was made with... Click on Buy... and a notice will come up saying you already have it... do you wish to download it again... Click Yes... -
Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it. Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions and my sight is dropping ! Thx
Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it. Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions and my sight is dropping ! Thx
-
How can I monitor my monthly data usage for all 3 computers in my house? I have an Airport base station and it seems there should be software to monitor it from that point rather than monitoring the usage for each computer and then adding it up.
The following example was one of dozens that showed up on a simple Google search of.....
monitor Internet data use on a Mac
Watch your Internet usage with NetUse Monitor | Macworld
Most service providers have an application for their users as well. -
HT201269 How can I set up same back up for all my apple devices
How can I set up same back up for all my apple devices
I use online tools all from apple devices 2 iPhone 5g & 5s & iPad mini
I want same back up for all devices
Specially I use appointments app
I don't want to loose any appointment
So can I use same backup for I devices
Please help !,,,,,You can also just use the same restore backup for all your devices you will get the same notifications BUT you have to click on Sync over wifi so it can work if not they will only work when you sync them when you sync on computer
-
How can i set a global error page for all error cod
how can i set a global error page for all error code?
i don't want to leave a long list in the web.xml file.could any one help me?
thanksIf u have a common Error JSP named as ErrorPage.jsp
You need to have the following piece of code in the JSP as :
<%@ page isErrorPage ="true"%>
This makes it as the Common Error Page for the Application. Now all you need to do is from other JSP's throw the Exception to teh container. The container will redirect to this Page and process accordingly.
Thanks and regards,
Pazhanikanthan. P -
How can i write the below code using "For all entries"
Hi
How can we write the below code using "for all entries" and need to avoid joins...
Please help
SELECT aaufnr aobjnr aauart atxjcd a~pspel
agstrp awerks carbpl cwerks
INTO TABLE t_caufv
FROM caufv AS a
INNER JOIN afih AS b
ON aaufnr = baufnr
INNER JOIN crhd AS c
ON bgewrk = cobjid
AND c~objty = 'D'
WHERE ( a~pspel = space
OR a~txjcd = space
OR NOT a~objnr IN
( select OBJNR from COBRB AS e
WHERE objnr = a~objnr ) )
AND a~werks IN s_plant
AND a~auart IN s_wtype
AND NOT a~objnr IN
( select OBJNR from JEST AS d
WHERE objnr = a~objnr
AND ( dstat = 'A0081'OR dstat = 'A0018' )
AND d~inact 'X' ).
Reward points for all helpfull answers
Thanks
Ammi.Hi,
SELECT objnr objid aufnr
from afih
into table t_afih.
SELECT objnr
from JEST
into table t_JEST
where stat = 'A0045'
OR stat = 'A0046'
AND inact 'X'.
SELECT objnr
from COBRB
into table t_cobrb.
SELECT arbpl werks objid objty
from crhd
INTO table it_crhd
FOR ALL ENTRIES IN it_afih
WHERE objty eq 'D'
AND gewrk = it_afih-objid.
SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
FROM caufv
INTO table t_caufv
FOR ALL ENTRIES IN it_afih
WHERE aufnr = it_afih-aufnr
And pspel = ' '
AND txjcd = ' '
ANd objnr ne it_crhd-objnr
AND auart in s_wtype
AND werks in s_plant.
AND objnr ne it_jest-objnr.
dont use NE in the select statements, it may effect performance also. Instead use if statements inside
loops.
loop at t_caufv.
read table it_chrd............
if t_caufv-objnr ne it_chrd-objnr.
read table it_jest..........
if if t_caufv-objnr ne it_jest-objnr.
(proceed further).
endif.
endif.
endloop.
hope this helps.
Reward if useful.
Regards,
Anu -
Hi Currently having single Apple ID for my iPad, iPhone 4S and iPhone 5. Can i have a separate Apple ID for my iPhone 4S and iPhone 5. At the moment since the apple id are same the contact are getting sync between the 2 phones which i don't want to be in Sync.Will having two separate apple ID solve the issue or is there any setting that i need to make.. Pls suggest
Thanks
RaviYes, you can certainly create a new Apple ID at appleid.apple.com (which will have to be associated with a different email address from your current ID) and then change the various settings and applications on one of your iPhones to use this new ID.
-
How can I have separate Libraries in iTunes for my Children?
Hi all,
I have bought my children iPod Touch devices for Christmas this year and would like to set up accounts and libraries for each of them (3 in total, one for the Mrs!) so I can sync them and put some games and apps on ready for use.
Is it possible to have multiple Libraries on one computer? I know I can open iTunes accounts for each of them but they're not at that stage yet but will - at some point - require different games, apps and whatnot.
I'm sure a friend of mine has a different iTunes library for him and his wife on the same computer and they don't have any sync'ing problems at all...
I hope someone can help!
Dave.You can likely set up different user accounts on the computer and have a library in each account. I use a Mac so I can't be more specific on user accounts on Windows.
Alternatively you can set up different libraries inside a single user account. I'ts a bit cumbersome switching between them though. You can create and switch betwween libraries by holding down the shift key while starting iTunes, then guide it to the library you wish to use.
Another possibility would be to sync just playlists, not everything. While there are ways to share items between libraries using other methods, this one has the advantage that all the things are in one library and each person makes their selection.
iOS: Syncing with iTunes - http://support.apple.com/kb/ht1386
As for AppleID and accounts, you might consider setting up sooner rather than later. The main problem with Apple purchases is you cannot transfer them between accounts. If you give a child a song for a birthday and purchase it on your account, it is forever tied to your account. If in 10 years your child wants to take with them to college you'll have to give them access to your whole account or always be authorizing their devices which you may not wish to do. -
My Iphone 4 has only 16 GB storage (used 13,5 GB) but my ipad has 64 GB - I have bought ekstra 15 GB storage on icloud but I can'nt seem to use it for all my downloaded/bought music .
how can i use the extra storage on icloud for all my music on itunes ?Welcome to the Apple Community.
You can't use iCloud storage for your music, take a look at these alternatives.
iTunes Match
iTunes in the Cloud -
How can i have the same apple id for my I phone as iv got on my mac book and i pad mini
IV GOT A MAC BOOK PRO, AN I PAD MINI AND I PHONE 4S. MY APPLE ID WORKS ON THE LAP TOP AND I PAD BUT NOT ON THE PHONE. SO CANNOT USE MY PHONE FOR I TUNES. HOW CAN I FIX THIS? WHEN I CHANGE MY I D IT WORKS ON THE LAP TOP AND I PAD BUT NOT ON THE PHONE?
Yes, ideally you should use the same AppleID for all your devices.
LEMONPIE123 wrote:
IV GOT A MAC BOOK PRO, AN I PAD MINI AND I PHONE 4S. MY APPLE ID WORKS ON THE LAP TOP AND I PAD BUT NOT ON THE PHONE. SO CANNOT USE MY PHONE FOR I TUNES. HOW CAN I FIX THIS? WHEN I CHANGE MY I D IT WORKS ON THE LAP TOP AND I PAD BUT NOT ON THE PHONE?
How doesn't it work? -
How can I format footnote fonts in pages--for all footnotes in a document?
I am just starting to use Pages and am writing a paper with footnotes. The paper is in Times New Roman 12, but the footnotes come automatically in Helvetica 10. How can I format all the footnotes so they automatically appear in TNR 12?
Change one word in a footnote
Select that word
In the Style drawer click on the triangle for the Footnote in the paragraph style section. You have to move the cursor to the left to see the trinagle
Choose Redefine style from the selection -
How can I set the default home page for all new users in Firefox 4
I'm trying to deploy FF 4.0rc1 in a corporate environment but I can't find a way to set the default home page or any other settings for that matter.
Is there a way to set the default home page for all new users and lock it so that the users can't change home page?
Best regards
JonasIn Firefox 4 the template folder for new profiles (C:\Program Files\Mozilla Firefox\defaults\profile\
) doesn't exist. You can create that \defaults\profile\ folder and place a file user.js in it with the prefs that you want to initialize.
See:
*http://www-archive.mozilla.org/catalog/end-user/customizing/briefprefs.html
You can also use a mozilla.cfg file to set the default value for prefs.<br />
See: http://kb.mozillazine.org/Locking_preferences
defaultPref(); // set new default value
pref(); // set pref, but allow changes
lockPref(); // lock pref, disallow changes -
How can I disable javascript in Firefox 30 for all users on my Solaris 10 x86 box?
I have a Solaris 10 box in a secure environment (no Internet) with Firefox 30 installed. I need to lock javascript in a disabled state for all users. I realize each individual user can toggle javascript with about:config, but that is only a per/user activity. I want to set the value of javascript.enabled to false for all users. Additionally, no user should be able to modify this setting.
Is there a location with a config or prefs file that will affect all users?Try: http://kb.mozillazine.org/Locking_preferences
-
How can you have the app tabs positioned to the right of the FireFox button when maximized?
App tabs are '''normally''' positioned to the right of the FireFox button. However, when you shrink the window and then maximize again the app tabs appear below the FireFox button.
Anytime an app tab is open and you maximize, adjust window, maximize, the entire tab bar is bumped down under the FireFox button. Having just regular tabs open does not have this problem as they correctly position themselves to the right of the FireFox button when maximized.Zero is in the middle where it says "none".
Maybe you are looking for
-
HI folks, See my requirement is need to setup in "A new custom field on the Line Item to hold the predefined values like: Max, Mini and Average for a sales Contract in the "SAP CRM Standalone", in the sense I need to create one new custom field for s
-
Very Bad Experience in Virginia Beach
Has anyone else had this problem: I bought my iphone from an AT&T store. My First Mistake in some time! I will NEVER buy at an AT&T store again. Poor customer service, lies, failed to acknowledge lack of coverage in my area. What is APPLE thinking ma
-
My computer is talking back, how do I turn it off
I turned on something on my computer by pressing the buttons - control + F5. And now the computer talks back, saying every little thing I do like I am blind but not deaf. When I type is says what every little key I entered. And when I click on anythi
-
MDS 9509 - How to filter interface email alerts
I have configured interface alert filters in the Admin/Events/Filters/Interfaces tab. In this tab I un-clicked the interfaces that I don't want to see alerts on. However, I still get email alerts on these ports that I un-clicked.
-
I've tried searching online, in Adobe, through the Flash Help section, as well as Lynda.com to try and find a SIMPLE "mailto" feature for an email button I created for a portfolio website I have in Flash CS5. It used to be SO SIMPLE in previous versi