Loading movie in new level from variable

What I'm trying to do is load a movie in another level wich
is defined by a variable (i)
On level 0 there is this piece of code
i = 10;
loadMovie("Home.swf", 10); (I've entered 10 instead of i
because otherwise I wouldn't get anything at all)
Now every time I go to another 'chapter' it has to load a
movie into the next level
From Home.swf I click the button to the next chapter wich
contains:
on (release) {
unloadMovie(_level0.i)
i++
loadMovie("chapter01.swf", _level0.i);
This obviously doesn't work otherwise I wouldn't be posting
here :p This whole thing does absolutely nothing :s
Anyone any idea?
Thanks in advance

ur code works for me only if i use loadMovieNum instead of
loadMovie......if u r using levels to load movie then use
loadMovieNum and unloadMovieNum.....u use loadMovie when u ve to
load a movie on a movieClip and loadMovieNum when u want to load on
some level..try this m sure it ll help u

Similar Messages

  • How do I load movies into my ipad from itunes?

    I'm trying to load movies onto my ipad from itunes, I've already synced my ipad with all the current songs and the movies, but I go to videos on my ipad and do not see it.  So I go to itunes, hit movies and still see nothing but movies for purchase only.  I'm going on a trip on Wednesday and would love to sync all my mp4 movies into my ipad but can't find them on my ipad, can anyone give me some advice?  I've been searching the forums, but nothing seems to work for me.  Appreciate it guys.

    ohmyyikes wrote:
    wondershare video converter.     
    I wouldn't bother with Wondershare. While iSkySoft has some excellent products (e.g. FreeSync), their video converters are generally (sometimes far) slower than HandBrake (check out the benchmarks at http://www.macworld.com/article/1150757/dvdripping_roundup.html and http://www.iphonelife.com/blog/87/benchmark-excellent-multimedia-converter-handb rake-vs-commercial-apps if you want to see some figures). And vastly overpriced, while HandBrake is free and so is its batch companion. Finally, it's really a one-second drag-and-drop to drop the files it creates into iTunes.

  • HT201304 I want to buy new level from candy crush, but unfortunately apple required to accept terms and condition first before I can buy. But once I click yes no more option to click I agree with the condition. what should I do?

    I want to buy new level from candy crush, but unfortunately apple required to accept terms and condition first before I can buy. But once I click yes no more option to click I agree with the condition. what should I do?

    Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • Remove loaded movie after new loadMovie has been loaded

    i need to unload a movie once the new loadMovie is fully
    loaded because once i click on my button to do so, my current
    loaded movie goes away & the screen is white until the new
    loaded movie is loaded. (i hope that made sense)

    well I've done it a few ways successfully.
    The most recent, I dynamically create new movie clips.
    see ---
    http://www.13studios.com/erin
    --- Its a figurative painter's portoflio, so while its oil paint it
    is perhaps a bit [NSFW].
    Anyway, the panning effect kinda killed my normal process, so
    when you click a new button, it goes like this...
    PSEudoCODE
    //tickerVariable is defined on frame 1
    holder.create a new movie clip with name "something +
    tickerVariable"
    play preloader(tickerVariable);
    on completion of preloader {
    holder[something+(tickerVariable-1)].unloadMovie();
    //do anything else you need to do
    tickerVariable++
    I hope I didn't just make that more confusing.

  • Loading libray to new computer from my ipod?

    How can I load the content from my 30 gig ipod to a new computer if the old one has crashed?

    check this post by Zevoneer.
    JGG

  • Can't get my messages too down load on my new phone from my old phone

    cant upload my messages from my old phone to my new phone

    Carl3 wrote:
    I can't get my work email onto my Droid X.   Anyone know the trick? 
    First quesiton I have is do you have authorization to access your work email from your Droid X? Just knowing the email address and password is enough for you to get your personal email, but your employer must approve remote access.
    If it's okay with your employer, you may also need to know the incoming and outgoing email server addresses, the port number, and your username on your employer's email server. If you're not sure what they are, check with your IT admin AFTER you get confirmation that it's okay to get your email.

  • Loading movies on the iPad from two commuters

    I have 2 imacs, One is the "home base" for my ipad. on the other imac there is a movie I would like to put on my ipad, is there a way I can put this movie on my ipad without deleting all the information currentlly on my ipad?

    Send the movie to your 'Home base' iMac then sync it from there. Here's the easy Airdrop Method http://support.apple.com/kb/ht4783
    John Hough wrote:
    ...is there a way I can put this movie on my ipad without deleting all the information currentlly on my ipad?
    Syncing the Movies section to your iPad form computer #2 will remove any movies you have that are not on computer #2 form your iPad.

  • Loading movies/videos over wan from airport disk.

    I try to load videos in quicktime from a remote airport disk but it loads so slow due to the upstream rate at the airport disk it just freezes quicktime! Any ideas on how I could force quicktime to buffer the video on the local hard drive, basically treating it like a stream.

    Hi,
    i also seem to have big performance issues. This happens when i do a time machine backup on one machine and try to work on the time capsule with another one. I shifted my itunes and iphoto library on the time capsule and it is so slow!
    Even when using 802.11n ...
    Backups take forever (i was not able to backup my mac mini yet as it only supports 802.11 b/g)
    any suggestions?
    is this poor performance normal?
    Regards,
    somi

  • Controlling position of loaded movie within a level

    Hi guys
    I am trying to control the position of an external swf file,
    which has been loaded in using onload, but want to know is it
    possible to control the X and Y position of the loaded swf -
    possibly without having to use a container empty movie clip to load
    into.
    Many thanks!

    cool thank u so much! I've tried to change the X and Y on the
    code that is attached to the frame, but its still loading in in the
    same place. Take it its here that you set the positions? whats the
    100 value that is attached to the button?

  • Use flash player ActiveX component to load movie from resource

    How can I use a Flash Player 9 ActiveX component to load
    movies into my application from program resources.
    Thank you in advance.

    try this:
    // Load text as variable and assign it to the
    // dynamic text field
    var features_lv:LoadVars = new LoadVars();
    features_lv.onLoad = onText();
    features_lv.load("safetyFeatures.txt");
    function onText(success:Boolean) {
    if (success) {
    myText_txt.text = features_lv.safetyfeatures;
    } else {
    myText_txt.text = "unable to load text file.";
    or this
    // Load text as variable and assign it to the
    // dynamic text field
    var features_lv:LoadVars = new LoadVars();
    features_lv.onLoad = function(success) {
    if (success) {
    myText_txt.text = features_lv.safetyfeatures;
    } else {
    myText_txt.text = "unable to load text file.";
    features_lv.load("safetyFeatures.txt");

  • Move up one level in path and make new folder

    How do I get applescript to make a new folder one level up from myFolder i.e.
    set myFolder to ¬
    (choose folder with prompt "Where are the image files for which you want to change exif data ?") as reference
    make new folder at myFolder with properties {name:"Gallery JPEGs"}
    makes a new folder inside myFolder, but how do I tell it to move up one level from myFolder and make a new folder?
    Thanks.
    Pedro

    You can use statements such as the following ones:
    *tell application "Finder" to make new folder at container of myFolder with properties {name:"Gallery JPEGs"}*
    or
    *tell application "Finder" to make new folder at container of container of myFolder with properties {name:"Gallery JPEGs"}*
    and so on…
    And if you want the folder “myFolder” to be contained by the folder “Gallery JPEGs”, use the following statements:
    *tell application "Finder"*
    *make new folder at container of myFolder with properties {name:"Gallery JPEGs"}*
    *move myFolder to the result*
    *end tell*
    Message was edited by: Pierre L.

  • I now have itunes for windows 8 on my laptop and I cannot transfer a new song from my library to a playlist on my iPad mini using IOS 8.1.3

    I upgraded to iTunes for windows on my Windows 8.1 64 bit laptop.  I have not done any iTunes manipulations for many months.  I just purchased a new song.  I now have IOS 8.1.3 on my iPad Mini and I tried to move the new song from my library from my purchased file to a playlist.  I can no longer click and drag the song from anything to the playlist.  In addition, when I sync my iPad to my laptop none of my music from the iPad shows up in iTunes on the computer.  Why does Apple continuously mess around with the simple actions of the program.  It is very disheartening to be treated like this as a long time customer.  This has happened so many times that I am getting the feeling that they seem to enjoy screwing up the users ability to use the program

    Get more information about your computer. Go to the Apple in the upper left corner of any window, then  "About This Mac".  Write down what it says about "version"and report that here.  Now continue to "More Info..."  Copy and paste the information here, but omit the serial number and Hardware UUID (if present).
    Check system requirements:
    Snow Leopard 10.6 Technical Requirements - http://support.apple.com/kb/SP575
    The main issue might be having too little RAM.  Most computers run newer systems more smoothly with more RAM than Apple says is a "minimum" for running that system version
    After installing 10.6.3 run the updater to 10.6.8, then upgrade iTunes.
    Jan. 2014 post by Kappy on doing all this: https://discussions.apple.com/message/24599931
    The new system should install on top of the old one.  That said, things have been known to go wrong and it makes sense to do a backup before installing the new system.  In fact you seem to care about your files and things so you need to always have a backup because one day you will wake up and you hard drive will be dead and everrything on it gone.  Buy an external hard drive and start using Time Machine or something to back up. The other risk is when you install the new iTunes.  It doesn't happen frequently given the millions of users but there are daily posts here from people who for some reason the installation wiped out their whole library.  If you have a backup then there's nothing to worry about. 
    This is well within what many people can do at home.  It's a matter of inserting an optical disc and clicking you way through menus.

  • Load tunes to new comp

    load tunes to new comp from ipod,,,, old comp died

    See this older thread from another forum member Zevoneer on different ways to copy content from your iPod back to your PC.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Controlling main timeline from loaded movie

    I have loaded an external movie onto the main movie in a
    movie clip called "mainholder" - In the main timeline on the main
    movie there is a "stop" command on frame 1. From the loaded movie,
    I want to control the main timeline and tell it to go to frame 2.
    Can someone tell me the actionscripting to do this, I have tried
    several commands and getting frustrated. ;-)
    Thanks

    movies are loaded into levels. The main movie is always
    considered level0 a.k.a _root in the AS. When you load a movie into
    another, the main movie is also considered the parent of that
    loaded movie a.k.a. this._parent in AS where this refers to the
    loaded movie. If you want something in the loaded movie to control
    the main timeline you could call it like this...
    _root.gotoAndStop(2); or _root.gotoAndPlay(2); depending on
    what you want.
    but because of the parent/child relationship, it can also be
    done like this....
    this._parent.gotoAndStop(2); or this._parent.gotoAndPlay(2)
    Although the first method is less to remember, the second
    method proves the most friendly and re-usable. Let me explain...
    Say that you did something like this....
    [MAIN MOVIE]
    [LOADED MOVIE]
    {Loaded Movie with buttons to control LOADED MOVIE}
    Your main movie loads a movie and when this loaded movie
    reaches it's 10th frame, it loads another movie where the buttons
    reside for controlling that clip. If you used _root in the button
    movie, it would cause the main movie (_root) to be called and not
    the LOADED MOVIE as you had intended during its design prior to
    trying to make this new main movie (and it would work as intended
    if you opened the LOADED MOVIE's fla file and exported). If you use
    this._parent in the button movie, it will always make it's calls to
    the LOADED MOVIE's timeline and not the main clips timeline.
    Sorry if this confuses you but it's important to
    understand.

  • Quicktime wont load because the installer thinks I have a newer level quicktime installed already.

    quicktime wont load because the installer thinks I have a newer level quicktime installed already.  Thus the newest level of iTunes and quicktime will not install, help... Thanks.

    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. (The results from mydigitallife and Major Geeks are worth checking.)
    After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any QuickTime entries and click "Remove".
    Restart the PC, and try another install. Does it go through properly this time?

Maybe you are looking for

  • Home hub 3 droping link

    had a problem 3 weeks ago with all devices in the house loosing internet conectivity, contacted BT help desk and they insisted it was something in the house interferibng with the signal both they and me reset the signal and the next day I found out t

  • Change over from reorder planning to forecast -reg

    Hi, Currently we are using for some parts manual  reorder point planning  wth MRP type V1 and strategy 40 We require to change to forecast based planning where in we can change MRP type to VV and  what strategy we have to put any specific for forecas

  • Cfreport landscape orientation?

    Running ColdFusion 8. We're using the cfreport tag to bring up reports designed in coldfusion report builder. They were designed in landscape orientation. We have cfreport's format set to flashpaper. when the report is brought up on screen it shows i

  • Recovery Disc & new ProBook 4530s

    How do I create a recovery disc for a new ProBook 4530s with Windows 7?  I can't find Recovery Manager software on the pc and the pc didn't ask me if I wanted to create a recovery disc.

  • How secure is information that is submitted using adobe forms?

    I am using adobe forms to creat an online application for students.  How secure is the information submitted?