A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    May 2002
    Posts
    70

    help change code

    this movie is one done in Flash 4 originally. When I take it into Flash MX and call it to the page it displays a still that is larger than the swf and will not drag. It works beautifully on its ownand has such simple code. Do I need to swith it to Mx codes to use it in an MX page -if so what do I need to change? I have already removed the forward slashes of Flash 4


    Here is the code inside the movie swf itself. This is all the code used:

    startDrag("hidden", true);
    setProperty("movie2", _x, Number(getProperty("movie1", _x))+3557);
    setProperty("movie2", _y, getProperty("movie1", _y));
    stop();


    What am I missing?

  2. #2
    Senior Member
    Join Date
    Mar 2003
    Location
    Ottawa, Canada
    Posts
    104
    Try this...


    hidden.startDrag();
    movie2._x = movie1._x+3557;
    movie2._y = movie1._y;
    stop();
    MX User.
    ------------------
    http://www.michaeldilts.com

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