Is there any way to delay flex from drawing anything until everything is ready to be rendered?
I have this CustomVideoPlayer which uses a skinned VideoPlayer and a button for closing. The problem I see is that when going out of fullscreen mode I can litterally see how the subcomponents of the videoPlayer - background frame etc shrinks and repositions in the middle of the screen cause I have vertical and horizontalCenter and etc. So whiching between both states is not fluent. I don't want to animate it, I just want not to see the glitching resizing and repostioning.
So how can I "wait" till all elements are resized and repositioned in the normal state and then show the new state all at once with no glitching? Is it possible ?
And one more extra question:
I've taken a look inside the VideoPlayer class and I've noticed that when adding skin part for example PlayButton, they add a listener for Click, when they remove the part they remove it. That's ok but as component is removed from it's parent partRemoved is not called so the listener is never removed and would this make the component stuck in memory cause of that listener?
Oh and one more small extra question:
If a skin part is required does this also mean that it must exist in all states?
(cause if it does that would mean I could add it's event listeners in the creation complete or partAdded, but not partRemoved function, since it would never be removed...)
If I do this then I will have my video player in fullscreen disappear for a moment and then reappear out of fullscreen, and I want it not to disappear, but to just jump to the other state fully resized and repositioned with no glitching in between states.
Than you will need to implement your own solution which meets your specific design goals. That's the nature of the beast my friend.
As far as I know dynimic skin parts have another meaning - creating more than one instance at runtime. Also I've read just now (again) partAdded and partRemoved are called on component initialization and skin change. So basicly if I change the skin, it makes sense to remove the eventListeners from the old skin parts. But still, I've read on many places that if an object has event listeners attached to it it will Not be GC unless they are weak, so it will be stuck in memory forever.
So looking at the VideoPlayer and it's skin parts, I'm not seeing any event listener being removed when I remove the instance I have of the VideoPlayer. Why is that? Why the component does not remove it's skin parts event listeners?
Are you changing skins? If so, I bet the parts would be removed as expected. The partRemoved method is not being called because it's not needed. If you remove the parent component, than any reference encapuslated within that component are removed as well.Fire up the profiler if you don't believe me.
I'm interested in the skin parts and states relation. With includeIn and excludeFrom you define in which states the component is added to or removed from as a child (element). So If I have a skin part which is required=true and I have 2 states from one of which it is excluded... whouldn't that result in a runtime error since the part is not there but it is required?
I'm pretty sure that it only checks if the instance exists, and does not care if it has been created and added to the display list. I do not really know for certain though. This could easily be answered with a simple test.
Similar Messages
-
I'm trying to add a playlist manually to my iPhone 4. It won't let me because it's trying to delete all of the music currently on my iPhone. Is there any way to prevent this from happening in order to start manually updating it?
Are you leaving the box unchecked to Manually manage music & videos? You don't need to to add anything to the iPhone.
Simply drag the playlist to the iPhone to manually add it. -
When I listen to music on my iPhone and pause it, if I come back to it later, the playlist has started over. I have a 4S running on iOS 7.0.4. Is there any way to keep this from happening so that my playlist will start off where I last was?
Dear Jody..jone5
Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
Goodluck
Atousa -
Is there any way to transfer music from one iPod touch to another?
Is there any way to transfer music from one iPod to another?
Hello, friend. Yes, you may try this iPod 2 iPod software, it can help you transfer music between iPods.
-
Hi can you help I was having problems with my iPod so I restored it but I
accidentally set it up as a new iPod is there any way to restore it from an old
backup when I right click iPod in iTunes there isn't one anyway to recover one
or find it on computerThe following says how to restore from backup.
iOS: How to back up
If you go to iTunes>Preferences>Devices you can see if you have an iTunes backup. You need one dated before or the exact time you started the restore. -
I formerly had an iPhone 3 with my iTunes account/music on it. I've recently purchased an iPhone 5s. I no longer have the iPhone 3. Is there any way to retrieve music from my account and put on my iPhone 5s?
Yes. Sign in to the iTunes Store with the same Apple ID you used to buy the music in settings on the phone.
Then tap on "purchased" in the iTunes app on the phone and download the music to your new iPhone. -
Is there any way to access files from the Classic environment to my iMac running on Leopard (10.5.8)?
Sorry, no.
-
Is there ANY way to transfer songs from ipod to library???
I have an Ipod mini, and I have received about 200 songs from 3 or 4 of my friends libraries, but now I can't put those songs in MY library. I really want to burn some of them onto cd's etc etc in case my ipod goes down, but the songs need to be from your LIBRARY. Is there ANY way to do this (trick, program, accessory, etc??)
If not, is there any way to burn songs from ipod to a cd?? I want to get a support together in case my computer or ipod break. Thank you!!
By the way, obviously I have Windows. Its XP to if that helps.Hi Jesse welcome to discussions. There is a way, try this Paul Ross, "Copy iPod music to a new computer" #1, 07:54pm Oct 26, 2005 CDT it worked for me.
Good Luck -
Is there any way to prevent Aperture from Auto Cropping an image?
Is there any way to prevent Aperture from auto cropping an image? I use the "Do Not Crop" aspect ratio often and Aperture constantly picks cropping aspects for me, which is driving me crazy. Can I set "Do Not Crop" as the ratio I want on a more permanent basis anyhow? Thanks for the help.
ChrisThis is a current bug. Please report it via "Aperture→Send Aperture Feedback".
Just to clarify, the problem is not auto-cropping, the problem is the the crop tool aspect ratio is arbitrarily set (in my case, always to something close to the current crop aspect ratio). You can reset it (on a per-crop basis) to "Do not constrain".
It is very bothersome.
You might try trashing your prefs. Details on the Trouble-shooting page. I have had the bug return more than once.
Message was edited by: Kirby Krieger -- minor clarifications. -
Is there any way to prevent fields from being overwritten when importing data via xdp-file?
In an pdf-form designed with LCD everytime the form gets merged with an xdp-datafile content of all fields get overwritten, regardless which data-binding (normal, global, none) is assigned to the fields and regardless if the fields are exluded in the xdp-datafile. Is this normal behavior and is there any way to prevent fields from being overwritten?
The xdp-file is first exported from Acrobat Professional 8 (export data as *.xdp) to get the complete structure. Then in the xdp-file some fields are removed manually and other fields are filled with data. When the modified xdp-file is opened again with Acrobat Professional 8 it grabs the original pdf-form and merges the manually filled fields into the form. With the merge all other fields in the form are overwritten, even if they are not defined in the xdp-file. And that is what I want to avoid. I want to merge the xdp-file into the form and keep the data in fields not defined in the xdp-file.
-
Is there any way to transfer photos from ipod touch (2nd generation
Is there any way to transfer photos from ipod touch (2nd generation & OS is 4.2.1) to PC? I am struggling a lot. The OS cannot be upgradable beyond 4.2.1
I am wondering if there could be many other ways to transfer the photos like:
1. with the help of any android app
2. ipod touch to iphone/ipod latest version
3. any 3rd party free softwares (there are paid 3rd party softwares but I dont want to invest)
I did try some of the options:
1. I could emailed only 6 photos in one email (I have almost 800 photos and would be time consuming.
2. I'm trying to access my google account on my ipod but it keeps coming up with "oops! your browser seems to have cookies disabled..." My cookies are not disabled. Safari is the only browser for ipod touch and could not be able to installed not only any new browser but also any iphone apps. Updates for the existing apps not possible at all. So this option of uploading the photos on google drive is ruled out.
Anybody is there to help me out? Sorry for such a long inventory.
Thank you!If they are in the iPod' Saved Photos album then:
iOS: Importing personal photos and videos from iOS devices to your computer
If they were synced to the iPod you need a third-party program like TouchCopy or PhoneView -
Is there any way to transfer itunes from a mac running 10.4 to an iphone 5
Is there any way to transfer itunes from a mac running 10.4 to an iphone 5?
Nope. Very least is to have Snow Leopard and the latest iTunes on the Mac.
-
Having been without my Mac for a month I've been using iCloud mail.on a PC. The new mail boxes that I set up there do not automatically show up in Mail on my replacement Mac. Is there any way to transfer them from ICloud mail to Mail? Thanks.
sure pretty simple. make a backup of your current settings
http://support.apple.com/kb/HT1766?viewlocale=en_US
then restore device from old backup you need pics off of
then import pics to computer
http://support.apple.com/kb/HT4083
you may need to save pics to camera roll first
then restore the new backup and sync pics back to phone via itunes
Peace, Clyde -
My laptop hard drive crashed and I lost my ringtones, but they're still on my iPhone. If I sync my iPhone with the reimaged hard drive, I'll lose the ringtones from my iPhone. Is there any way to transfer ringtones from my iPhone back into iTunes?
Thanks, but ringtones not purchased from iTunes, created them just before computer crashed.just before the next scheduled biweekly backup.
I found and downloaded TouchCopy 12 for PC and was able to copy the ringtones from my iPhone to my Windows laptop very easily. It also enables you to transfer photos, memos, voice messages, etc. -
Is there any way to sync notes from iPhone 4 to MacBook Pro?
Is there any way to sync notes from iPhone 4 to MacBook Pro?
If the phone doesn't power on and isn't seen by the computer then you wouldn't be able to pull data off it with the USB connection to your computer.
You could pursue data recovery if the notes are very valuable, but the cost can be similar to having data recovered from a failed computer drive(possibly prohibitively expensive).
Maybe you are looking for
-
Problems with RECOVER in NOARCHIVELOG
Hi Folks, I've many doubts about recover in noarchivelog mode. I manage Data WareHouse with 2TB, in NOARCHIVELOG (Basic), and I maked weekly full backup from RMAN, in Media Server of Veritas. My problem it is in recover these tablespaces. In my envir
-
tree render grey out no matter what I do the tree render is greyed out in all versions of Photoshop that I have. CC 32 and 64 bit and cc 2014. I have removed and reinstalle dall of them. Thanks for any help.
-
Aperture won't export full-size jpegs
I'm trying to export full-size jpegs, but Aperture is sending out 24 KB images. I'm selecting the edited versions I want, then going File>Export>Version. I have the dialog set to JPEG - Original Size. Still, what comes out is a thumbnail. Aperture 3.
-
Do you understand this error message? Time machine could not complete backup because it says a (filename).sparesbundle is already is in use. What is the sparsebundle extension?
-
I am using iSQLplus on iAS in Windows NT I can log in using full connect identifier: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=www.oracle.com) (PORT=1521)))(CONNECT_DATA=(SID=orashop))) but am unable to log in using tns alias tnsnames.o