A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: What is this code??? Please help

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Posts
    302

    What is this code??? Please help

    Ok, This code works in the old AS but I need to change it to AS2 please help!!

    j = int(playtime/((load/:step)));

    I have know idea what "load/:step" means????

    Thanks,

  2. #2
    Italy Novik2000's Avatar
    Join Date
    Jun 2001
    Posts
    360
    maybe its a loaded variable named step .
    check it bcuz im not sure about what im saying...

  3. #3
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    The...

    /:

    ...is old Flash 4 syntax and means, one timeline up ( _parent ).

    If load is a movieclip it can also mean that the variable step is inside the movieclip step ( more likely ).

    Then...

    j = int(playtime/(load.step));

    ...should probably do it.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.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