Can't get mc properties directly after loadMovie("mc") action.

I want to create a new MC "picture" by using:
on (relaese){
this.createEmptyMovieClip("picture", 100);
this.picture.loadMovie ("photo8.jpg");
height=this.picture._height;
width=this.picture._width;
but this returns always "0" for the variables "height" and
"width"
I learned that MX 2004 has the functionallity to add some
listeners to this script (MovieClipLoader) in order to determine
when the file "photo8.jpg" has done loading. Than the width and
height could be read of photo8.jpg...
My first question: can I do the same with a slightly
different script in MX 6?
Second question: what is the right syntax of the
moviecliploader-thing wich I need in MX 2004? the help file isn't
that very clear, I'm afraid.
Thanks!

Hi,
as you have guessed you have to wait until the first frame
(if there are frames) or the whole Image has loaded before you can
access the properties of the loaded clip. The MovieClipLoader class
helps you a great deal in that, but it is only available since
Flash / in Flash & you would have to check with your own method
for example usinf setInterval to chaeck for the loaded size of the
movie/picture vs. the total size.
I don't think that the Help file is unclear, just look up the
examples in the Actionscript dictionary and do those on your own.
It often happens that the concept of event listeners is hard
to grasp for those that haven't used for a while them, but there
are some tutorials out there on that topic...

Similar Messages

  • I have an hp office jet 4500 and os maverick 10.9.4 and I can't get it to print after last upgrade, multiple malfunctions and error, help?

    I have an hp office jet 4500 and os maverick 10.9.4 and I can’t get it to print after last upgrade, multiple malfunctions and error, help? I have tried deleting and resetting printer and re-installing update 6 times. Last update attempt showed none available??? I can’t load the software directly from HP because their only option is to use the software update option on the mac....frustrated!!! Help!!
    I get blank pages that just run through the printer and a stats window that just 33% complete and goes no further.

    I am going on the guess that an old driver is still installed...
    Use Finder Go > go to folder, and go to /Library/Printers and delete the HP folder(s).
    Reset the Printing System:
    OS X Mavericks: Reset the printing system
    Now, Add the printer in Print & Scan prefs.

  • I can not get itunes to open after I have downloaded it and closed it and tried to get bck into it

    I can't get itunes to open after i download it.  I close it to come back to it and it won't open or anything like it wasn't downloaded at all. Help please

    The file that I'm have issues with in itunes is the file called iTunes Libary.itl. 
    So just to get itunes to open I had to delete that file and then sync all of my music back into itunesday, is there anyway so I do not have to keep doing that?

  • I can't get imovie to open after trying to shift the image to my TV by clicking fn F3.  If I hold the mouse on the imovie icon for a few seconds the imovie window opens but if I click anywhere on the window it disappears

    I can't get imovie to open after trying to shift the image from my macbook pro to the tv screen like I have done many times before.  If I double click on the imovie icon, imovie doesn't open, but the strip across the top shows iMovie, file, edit , clip, view, text share window help tabs across the top.  The iMovie window will appear if I click on the iMovie icon on the dock for a few seconds, or if I do control F3 at the same time, but when I click on the window it disappears.  When I hover the mouse over the iMovie window that appears the window has a blue border around it.  when I move the mouse outside the iMovie window the blue border goes away.  If I sweep 4 fingers from the top of the screen down, the screen dims a little but the iMovie window doesn't appear. If I click play under the view tab I can hear audio, but still no iMovie window.  It's as if the window is being blocked by the desk top somehow.

    Similar issues here.
    I purchased five movies for download and having nothing but problems getting them downloaded. I keep receiving error messages and the download stops and I have to restart it, just to get another minute worth of download with each restart. Now Apple has my money and I have nothing.

  • Can you get your photos back after the iphone does a restore

    Can you get your photos back after the iphone does a restore?

    Actually, wrong.
    The tech support people can help with Playbook purchased apps. If you've called and they said they cannot, you were lied to.
    Even in the link you posted, in #10, it states clearly "App Refund related matters are handled by BlackBerry Customer Care." That, my friend is accessed by the support number. Again, if you were told otherwise, you should inform them of such or ask for a manage/supervisor.
    And, you don't have a "Partner ID" because you are not a "Partner". The section you're referring to applies to mobile providers, which are the Partners.
    Good luck.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can you get a calendar back after deleting it

    How can you get a calendar back after deleting it

    You will have to restore the device from a backup on icloud.  (this assumes you have backups turned on in settings>icloud)
    http://support.apple.com/kb/HT1766?viewlocale=en_US&locale=en_US
    Go to Settings>General>Reset and tap Erase All Content and Settings.  This will erase your device.  Then you will go through the setup screens again as you did when your device was new, and when given the option, select Restore from iCloud Backup.

  • How can i get back my data after i restored my iphone and accidentally created a new iphone ac.

    how can i get back my data after i restored my iphone and accidentally created a new iphone ac.
    it did a back up when i started my restored iphone and i cant retrieve my previous backup while i didnt back up on icloud....
    the new ac is actually the same apple id as the one i used. I lost all my contact, photos and data of whatsapp...
    what can i do...help!

    I don't know if this is a similar problem but I wrote 2 notes yesterday on my iphone. I opened my mail to print them and they appeared as notes but wouldn't load. Then I looked at them on my iphone and I could see the notes but they quickly updated to blank with a time of the last edit the same time I tried opening them on my computer.
    Yesterday I updated to 4.3.4  I don't know if somehow that affected them. Are they stored somewhere else. Can I get them back?

  • Hi, may i know how can i get all data back after update ios 6

    Hi,
    May i know how can i get all data back after update ios 6 and all my data lost ?

    You can restore the phone and when prompted to restore choose from icloud account. BUT MAKE SURE there is 1.) an icloud backup for your phone. 2.) you are using the same apple id.
    apl

  • How can I get my texts back after IOS update?

    How can I get my texts back after an IOS update?

    Hi Clembo60,
    Welcome to the Apple Support Communities!
    I understand that your text messages are missing after an update on your iPhone. If you have a backup of your device on either iTunes or iCloud, you can restore from that backup and bring your information back. Please review the attached article, which covers how to back up and restore from backups, for more information. 
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    Best regards,
    Joe

  • Can't get icloud to restore after crash from ios 8.1 update, says server not avaible, any suggestions?

    Had ipad2 crash during ios 8.1 update, tried different things to make it work, ended up booting as new.  Tried on a couple different days to restore from clould and it says server  not avaible, would love to get the info back, any suggestions?

    Can someone tell me the implications of using the command RESET DATABASE on my system days after I did the open reset logs? I opened the database with the ALTER DATABASE OPEN RESETLOGS in SQL not RMAN and I see the below note.....
    Re: Can't get dataguard to recover after SAN crash.
    To reset the incarnation of the target database in the RMAN repository, which means to do either of the following actions:
    •Inform RMAN that the SQL statement ALTER DATABASE OPEN RESETLOGS has been executed and that a new incarnation of the target database has been created. Note that if you run the RMAN command ALTER DATABASE OPEN RESETLOGS (not the SQL statement with the same keywords), then RMAN resets the target database automatically so that you do not have to run RESET DATABASE. By resetting the database, RMAN considers the new incarnation as the current incarnation of the database.

  • Can't get iMovie to play after recorded on disk

    Can't get iMovie to play after recorded on dvd

    Hi ..
    Better to post your topic in the iMovie community >  iMovie for Mac: iLife: Apple Support Communities

  • I can't get it to open after download. Get message "the item referred to by this shortcut cannot be accessed. You may not have the appropriate permissions."

    I can't get Firefox to open after I download it. I don't understand why I am getting the error message I am getting. I am the only user of the PC- what does I don;t have appropriate permissions mean or why do I get it?

    Ok. seems like I am in bigger problem than what i thought..So i did what you asked me and here is the log from the scan
    Malwarebytes Anti-Malware (Trial) 1.62.0.1300
    www.malwarebytes.org
    Database version: v2012.07.25.04
    Windows 7 Service Pack 1 x64 NTFS
    Internet Explorer 9.0.8112.16421
    [administrator
    Protection: Enabled
    7/25/2012 8:34:03 PM
    mbam-log-2012-07-25 (20-42-53).txt
    Scan type: Quick scan
    Scan options enabled: Memory | Startup | Registry | File System | Heuristics/Extra | Heuristics/Shuriken | PUP | PUM
    Scan options disabled: P2P
    Objects scanned: 239337
    Time elapsed: 7 minute(s), 52 second(s)
    Memory Processes Detected: 0
    (No malicious items detected)
    Memory Modules Detected: 0
    (No malicious items detected)
    Registry Keys Detected: 1
    HKLM\SOFTWARE\Google\chrome\Extensions\fdloijijlkoblmigdofommgnheckmaki (PUP.Funmoods) -> No action taken.
    Registry Values Detected: 0
    (No malicious items detected)
    Registry Data Items Detected: 0
    (No malicious items detected)
    Folders Detected: 0
    (No malicious items detected)
    Files Detected: 3
    C:\Users\mer\Downloads\7zip_Setup.exe (PUP.Bundle.Installer.OI) -> No action taken.
    C:\Users\mer\Downloads\Setup.exe (PUP.Bundle.Installer.OI) -> No action taken.
    C:\Users\mer\Downloads\SoftonicDownloader_for_mkv-player.exe (PUP.ToolbarDownloader) -> No action taken.
    So I removed everything and did the restart but still didn't work, the I used Microsoft Security Essentials and find this one: TrojanDownloader:ASX/Wimad.DS and the alert level was severe so I removed too and the problem was still there even after restarting the computer, Now I am kinda lost and I dont Know what to do.

  • Can't get iWork 09 functional after clean install...

    Can't get iWork 09 functional after clean install.  Could use migration assistant and restore from TM, but don't want to bring all apps...just iWork suite.  Original purchased iWork via a trial download, then paid for license.  Here is my error message when trying to open Pages: 
    Process:         Pages [2838]
    Path:            /Applications/iWork '09/Pages.app/Contents/MacOS/Pages
    Identifier:      com.apple.iWork.Pages
    Version:         4.3 (1048)
    Build Info:      Pages-10480000~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [173]
    Date/Time:       2013-01-18 19:59:57.810 -0600
    OS Version:      Mac OS X 10.7.5 (11G63)
    Report Version:  9
    Interval Since Last Report:          62361 sec
    Crashes Since Last Report:           13
    Per-App Crashes Since Last Report:   4
    Anonymous UUID:                      33AE1986-2E77-4022-B824-C159014BAFF2
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: @rpath/Inventor.framework/Versions/C/Inventor
      Referenced from: /Applications/iWork '09/Pages.app/Contents/MacOS/Pages
      Reason: image not found
    Binary Images:
        0x1000 -   0x354fe3  com.apple.iWork.Pages (4.3 - 1048) <3F2BE397-E81E-3355-C0DE-8B0F014E897B> /Applications/iWork '09/Pages.app/Contents/MacOS/Pages
      0x3ec000 -   0xefdffb  com.apple.sfcompatibility (1.0 - 0.0.1d1) <2237C99F-3144-0918-47A2-403A125BA9D0> /Library/Application Support/iWork '09/*/SFCompatibility.framework/Versions/A/SFCompatibility
    0x15e6000 -  0x15ffff7  com.apple.Keynote.sfstyles (1.0 - 1.0) <25A20E06-8C1E-1BD9-7F0C-8B4027676DFD> /Library/Application Support/iWork '09/*/SFStyles.framework/Versions/A/SFStyles
    0x1610000 -  0x1acbfeb  com.apple.SFTabular (1.0 - 1.0) <BB41B4DC-2F8E-B7E3-6274-7A92437B8FF4> /Library/Application Support/iWork '09/*/SFTabular.framework/Versions/A/SFTabular
    0x1c8b000 -  0x1d45ff3  com.apple.Keynote.sfutility (1.0 - 0.0.1d1) <ED93C91F-C30E-541E-BDD3-04A25579EAFB> /Library/Application Support/iWork '09/*/SFUtility.framework/Versions/A/SFUtility
    0x1db7000 -  0x1f48ff3  com.apple.Keynote.sfdrawables (2.0 - 2.0) <7D531D66-A640-D293-817E-6D5C8D15E26D> /Library/Application Support/iWork '09/*/SFDrawables.framework/Versions/A/SFDrawables
    0x2005000 -  0x2278fef  com.apple.Keynote.SFWordProcessing (1.0 - 20030221_1) <F7952C77-8CF1-30F4-7FA7-A3A45FA2E184> /Library/Application Support/iWork '09/*/SFWordProcessing.framework/Versions/A/SFWordProcessing
    0x2397000 -  0x23e2ff7  com.apple.Keynote.SFControls (1.0 - 20030306_1) <37F86C48-E752-688E-9A75-3F4D3BA5C054> /Library/Application Support/iWork '09/*/SFControls.framework/Versions/A/SFControls
    0x240f000 -  0x2468ff7  com.apple.Keynote.sfarchiving (1.0 - 0.0.1d1) <E489EE3A-D0D0-749C-E38B-C9E87AA2BEE3> /Library/Application Support/iWork '09/*/SFArchiving.framework/Versions/A/SFArchiving
    0x249a000 -  0x25a8fef  com.apple.Keynote.sfrendering (1.0 - 1.0) <A817A67F-149D-85C4-4625-5DB753E8A4FF> /Library/Application Support/iWork '09/*/SFRendering.framework/Versions/A/SFRendering
    0x260a000 -  0x2692fff  com.apple.Keynote.proofreader (0 - 1) <6442D80E-854E-F13A-0C69-AFF7F7D927F7> /Library/Application Support/iWork '09/*/SFProofReader.framework/Versions/A/SFProofReader
    0x26a0000 -  0x275afef  com.apple.Keynote.sfinspectors (1.0 - 1.0) <B9BB5F5B-F7CE-8F1A-F308-43A11E6617A5> /Library/Application Support/iWork '09/*/SFInspectors.framework/Versions/A/SFInspectors
    0x27b6000 -  0x2b20ff7  com.apple.Keynote.sfcharts (2.0 - 2.0) <0A1A116C-2AE2-7C65-E93B-1A54B1153626> /Library/Application Support/iWork '09/*/SFCharts.framework/Versions/A/SFCharts
    0x2d52000 -  0x2d97fe7  com.apple.Keynote.SFAnimation (1.0 - 0.0.1d1) <057D09D4-072E-995E-D3D0-42D1E0AAC07C> /Library/Application Support/iWork '09/*/SFAnimation.framework/Versions/A/SFAnimation
    0x2dc2000 -  0x2decfe3  com.apple.Keynote.sflicense (1.0 - 0.0.1d1) <6399F656-7AD7-1357-F477-CB6128248032> /Library/Application Support/iWork '09/*/SFLicense.framework/Versions/A/SFLicense
    0x8fe6e000 - 0x8fea0aa7  dyld (195.6 - ???) <60FD3471-A1D7-342E-99A7-3EDECDAEC6EC> /usr/lib/dyld
    0x91f32000 - 0x921e4ff7  com.apple.AddressBook.framework (6.1.3 - 1091) <B8CC707C-6368-3CDD-BE38-D2335B7CC2DE> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x928f0000 - 0x928f0ff0  com.apple.ApplicationServices (41 - 41) <C48EF6B2-ABF9-35BD-A07A-A38EC0008294> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x95317000 - 0x95396ff7  com.apple.iLifeMediaBrowser (2.6.4 - 502.4.5) <5C10CC72-586E-3497-9873-A0ACFB6156C3> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
    0x95fe4000 - 0x96a79ff6  com.apple.AppKit (6.7.5 - 1138.51) <B9D3DCA0-9765-354E-9730-75A45A97DDFD> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x972ab000 - 0x972f3ff7  com.apple.SystemConfiguration (1.11.3 - 1.11) <C8DE66D7-0880-3F5F-A4BA-215B52DEFC74> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x97c14000 - 0x97debfe7  com.apple.CoreFoundation (6.7.2 - 635.21) <4D1D2BAF-1332-32DF-A81B-7E79D4F0A6CB> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x98162000 - 0x9846cff3  com.apple.Foundation (6.7.2 - 833.25) <4C52ED74-A1FD-3087-A2E1-035AB3CF9610> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x999db000 - 0x999dbfff  com.apple.Carbon (153 - 153) <6CB9BB2F-2707-3B9D-8F3F-0BFEEDE96494> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x9a61b000 - 0x9a629fff  com.apple.opengl (1.8.1 - 1.8.1) <766AFB12-A2CB-3A55-B662-FC9FFCAE0008> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    Model: iMac11,2, BootROM IM112.0057.B01, 2 processors, Intel Core i3, 3.06 GHz, 4 GB, SMC 1.64f5
    Graphics: ATI Radeon HD 4670, ATI Radeon HD 4670, PCIe, 256 MB
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.67.5-P2P
    Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: WDC WD5000AAKS-40V6A0, 500.11 GB
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: USB 2.0 Hub [MTT], 0x1a40  (TERMINUS TECHNOLOGY INC.), 0x0201, 0xfd130000 / 5
    USB Device: Mass Storage Device, 0x058f  (Alcor Micro, Corp.), 0x6361, 0xfd133000 / 10
    USB Device: DYMO LabelWriter 400 Turbo, 0x0922  (Dymo Corporation), 0x001a, 0xfd131000 / 9
    USB Device: USB 2.0 Hub, 0x1a40  (TERMINUS TECHNOLOGY INC.), 0x0101, 0xfd137000 / 8
    USB Device: PTZ-431W, 0x056a  (WACOM Co., Ltd.), 0x00b7, 0xfd132000 / 7
    USB Device: composite_device, 0x04f9  (Brother International Corporation), 0x01e5, 0xfd134000 / 6
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: UPS CP1000AVRLCD, 0x0764  (Cyber Power Systems, Inc.), 0x0501, 0xfa140000 / 6
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfa130000 / 5
    USB Device: Apple Keyboard, apple_vendor_id, 0x0220, 0xfa132000 / 7
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 9
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 3
    FireWire Device: OneTouch III, Maxtor, 400mbit_speed
    FireWire Device: HDD, Iomega, 400mbit_speed
    FireWire Device: My Book 111D, WD, 800mbit_speed

    You didn't save the iWork trial.dmg  somewhere by any chance?
    You have not move enough parts of iWork over to the new computer. There are files in
    Users > your name > Library > Application support > iWork. Get the iWork folder
    MacHD > Library > Application Support > iWork '09. Get the folder
    To get into the users Library you have to on Mountain Lion in the Finder click on Go in the menu while pressing down the Option key.

  • I can't get internet connection even after wi-fi set is done with cisco

    I can't get internet connection even after wi-fi set up is done with cisco

    Not sure what Cisco is but if you are having problems with your wifi this link might help
    On the iPad...  tap Settings / General / Reset / Reset NetworkSettings.
    Or here is a link that might help http://support.apple.com/kb/TS1398

  • I bought a movie on iTunes and it plays half the movie and stops. I can not get it to play after it stops. What can I do to get it to play the rest of the movie?

    I bought a movie on iTunes and it plays half the movie and stops. I can not get it to play after it stops. What can I do to get it to play the rest of the movie?

    Hi, Jjenjen30. 
    Thanks for the question and I believe we have a solution.  The best option would be to delete the movie that is giving you an issue and redownload it via the iTunes store past purchase option.  I have included a couple articles that will show you how to process these steps.
    Deleting files from the iTunes library and your computer
    http://support.apple.com/kb/ht3842
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    If this does not resolve the issue, then iTunes might need to be notified to let them know there is a problem with the content.  I have included the steps on how to let them know.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933
    Cheers,
    Jason H.

Maybe you are looking for

  • Problem with Datasources

    I Guys I am new to BW, I activate a Datasource in RSA5, but when I try to replicate in BW I cannot see it, Do I have to create a Source System for R3 for this to work. I went to SM59 and create a RFC pointing to the Client I want to extract the data.

  • Tecra M11-120 Mini Displayport to HDMI

    Hey there.. I received my new notebook, and bought a mini display port to HDMI adapter. On my Television, I putted the connector in, so I did to the adapter. I also swtiched the option in windows 7 on, that I would like to ampilfy my screen to the te

  • Screen transport error

    Hi friends screen object already transported to QA1 by some othe user and i have changed one of the screen field properties and trying to transport my changes to QA. i am getting below transport error .   Main import   Transport request___: D10K94513

  • How to send meeting invites from iphone?!

    can invites send from iphone or just by iCal ?

  • Restore Ipod - not working?

    When I plug my ipod into my pc it's saying that the ipod is in recovery mode and i order to use it I have to restore it. No problem with that so follow the icons to restore it and complete that. The status bar on the ipod fills and the ipod restarts.