A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: MediaDisplay and target Levels

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Location
    Memphis
    Posts
    27

    MediaDisplay and target Levels

    I have an annoying problem I need some help with. I have a project that uses several separate SWF's that load into different levels. At one point, one of the files is supposed to show a MediaDisplay component with a linked FLV. The SWF that contains this component is in Level 1. As the playhead reaches the frame with the component, the movie hangs up and, after a short wait, I get an error message that says "There is a script that is making Flash run slow. If you choose to continue the script, Flash may shut down." (my paraphrase)

    What makes this so annoying is that I can play this SWF by itself (Level 0) and it runs just fine. Since there is no AS on the frame with the component, other than stop();, I can only imagine that the Levels have something to do with this. I can't find any documentation for or against this. Does anyonme know what the problem might be? If you need more info, let me know.

    Thanks!
    Dane

  2. #2
    Junior Member
    Join Date
    Mar 2003
    Posts
    5
    try this (on first frame of swf containing component):

    _lockroot=true

  3. #3
    Junior Member
    Join Date
    Jan 2002
    Location
    Maine
    Posts
    19

    FLV level

    I had this problem the other day. Very strange... I tried using lockroot and no dice. I messed with it for a while, but nothing seemed to work. A work around is to create a blank movie clip on your _level0 and use the loadMovie command to swap in the swf for the blank movie clip.

    loadMovie("my.swf","movHolder_mc");

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