A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Load Movie Issues

Hybrid View

  1. #1
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,979
    Okay, maybe it is just me, but is anybody else having issues with LoadMovie within Flash 5?

    Also, is there any way possible that we can get a printable version of the FAQ? Well, just that portion. I MUST be doing something wrong.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    547
    this is the text from the FAQ on the site. I'm sorry if it's a little confusing. I will try to rewrite it shortly. Until then, feel free to copy/paste/print or do whatever.

    Thanks:

    There are two ways of working with SWfX-generated SWFs with larger Flash projects.

    One option is to import your SWF into Flash. However, Flash can only import certain Flash 4 files into Flash. Because of the actionscript contained in WildFX, you can not import most Flash 4 SWfX into Flash, but you can import all SWfX-generated Flash 3 (non-highlighted) effects. Simply select "File" -> "Import".

    The other option, which works with all SWfX effects, is to employ the "Load Movie" action. You will need to align your SWF with your larger Flash file. There are ways of making alignment within your Flash movies easier.

    1. Set the size (width and height) of the SWfX effect movie to match the size of your main movie. Align the text where you think it should be, and save the movie. If you place the target movie clip for the "Load Movie" command in the exact center of the stage, the text effect should appear properly aligned inside your movie when you load it.

    2. Use "Load Movie" into a target movie clip in Macromedia Flash and use the "SetProperty" ActionScript (for _x and _y) to move the effect into its proper place. Use the "Trace" ActionScript command with the "GetProperty" command to find the current coordinates of the loaded movie. For example: Trace("x:" & GetProperty("/path/to/load/movie/target", _x)) and Trace("y:" &
    GetProperty("/path/to/load/movie/target", _y)) Make sure that you enable "Trace actions" in your "Publishing Settings for Flash" to view the Trace information in the "Output" window.

    These methods should make it easier to align and place your movie. In
    addition, ActionScript can use used to skew, scale, rotate, and change the alpha value of any SWfX effect you use via the "Load Movie" command. Tweens may also be applied to the target movie clip to transform and move the effect on the stage.

    ----
    r

  3. #3
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,979

    cool, thanks...

    man, this is a time saver...

    having to switch between the browser and the program was about to make me go nuts. still having an issue (not so much confusion as it is my lack of knowledge on how to use actionscripts/load movie) but, I will test again tonight.

  4. #4
    Junior Member
    Join Date
    Sep 2000
    Posts
    4
    SWFx team
    Would it be possible for the SWfX team to make a tutorial with fla to show exactily how to load SWfx files into FLASH. I think that will help us all implement this great tool with flash with the minimum of stress.
    Im new to actionscript and have found your faq confusing without a test case to see if what we are trying to do is the right way.

    Thankyou so much

  5. #5
    Senior Member
    Join Date
    Aug 2000
    Posts
    547
    technopagan:

    Yes, I will try to put together something a bit more simple and clear than what we have now.

    Until then, you might want to check out this technote on the Macromedia site. Loading SWfX SWFs is the same as loading any swf.

    http://www.macromedia.com/support/fl...ovie_clips.htm

    Thanks!

    r

  6. #6
    Junior Member
    Join Date
    Sep 2000
    Posts
    4
    That would be great. Thankyou for your prompt reply. Great customer service


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