A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: _level position...

  1. #1
    Sporadic Member therhomworkshop's Avatar
    Join Date
    Oct 2001
    Location
    floating
    Posts
    276
    hi,

    have read the faq on this but cant quite seem to get my head round it..

    all i would like to happen is that when i click a button a swf with a movie in it loads into my current movie and is positioned where i want it on the stage..

    i have tried to just use _level1._x = 200; but this isnt working..

    any help would be great...

    also ive put my video preloader in the MC that im loading in... is this good practice or does it need to be in the main movie that im loading from?

    thanks

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Load it into empty movieclip container.

  3. #3
    Sporadic Member therhomworkshop's Avatar
    Join Date
    Oct 2001
    Location
    floating
    Posts
    276
    wicked... so something along the lines of...

    loadMovie("video01.swf", "targetclip");

    will give it a go...


  4. #4
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    That's it !!

  5. #5
    Sporadic Member therhomworkshop's Avatar
    Join Date
    Oct 2001
    Location
    floating
    Posts
    276
    nice one!

    got it to work..!


  6. #6
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    I've had good luck getting this to work on the _level as well, but you need to make sure the movie is there first.

    Use an OnEnterFrame (dynamically) or an onClipEvent(enterFrame) to check for something like:
    Code:
    If (_level20._alpha==100) {
          _level20._x=200;
          _level20._y=150;
          this.onEnterFrame =null;  (to end the loop onEnterFrame)
    }
    This way you can still stream.

    5G

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center