A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Anyone who knows why loadMovie don't work with SWF STUDIO

Hybrid View

  1. #1
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    I've created a projector and decided to check the SWF studio program. Everything was fine but the LoadMovie action didnt work. The strange thing is that the same thing happened when I tried another program (SWFTools if I remember correctly) a month ago.
    Anyone who knows something?
    Thanks.

  2. #2
    Senior Member
    Join Date
    Jun 2001
    Posts
    136
    I'm having a simular problem with loading variables from a remote location. However this is seperate from your problem with load movie, which for some reason does work where load variables does not.

    The reason it isn't working in your case is probably because SWF Studio doesn't embed the flash movie with a 'base' movie path. This means your SWF movie does not know where it is, and cannot find any file paths relative to it's location on your file system.

    The way around this is to load your movie from a remote HTTP location, or use a full file path in your SWF movie when loading it in.

    Alternatively if you wanted to create your own C++ window to contain your swf, you would include the base URL variable in the embed, and hence your swf would know where it was and could use relative paths.

    Hope this helps.

    Mike Carlisle

  3. #3
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    Thanks 4 the answer Mike

  4. #4
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    Much thanks to Mike for pointing this out in another thread and causing me to hang my head in shame for not trying it sooner...

    I've included the file:/// fix in SWF Studio and the next build (this weekend, maybe sooner) will have support for web based loadMovie(), loadVariables() and XML socket functions.


  5. #5
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    Originally posted by Northcode
    Much thanks to Mike for pointing this out in another thread and causing me to hang my head in shame for not trying it sooner...

    I've included the file:/// fix in SWF Studio and the next build (this weekend, maybe sooner) will have support for web based loadMovie(), loadVariables() and XML socket functions.

    Northcode your software seems very interesting and the fix u r up to is a major improvement but my problem is local and not web based. Is there any chance to fix it too?

  6. #6
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    Loading local variables and movies works in SWF Studio. If you contact [email protected] I'll take a look at what you're trying to do and walk you through it.

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