A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Loading movies from SwiffCANAVAS

  1. #1
    SwiffCANAVAS is a really cool tool, but i cant load any movie.

    I have got an EXE made in flash. Lets call it somexe.exe. I user the Load Movie command somewhere. It worked till i made the exe in SwiffCANAVAS. The Load Movie command just dont work.

    Please, HELP!

  2. #2
    Junior Member
    Join Date
    Jul 2000
    Posts
    21
    I think this is because SwiffCanvas runs from a random temp directory:

    I've had similar problems with SwiffCanvas: I can load varibles from a text file until I build the file in SwiffCanvas. I think the we've got the same problem. It looks like SwiffCanvas creates a random temp directory and runs everything it needs from that directory. So, if you running the file from c:/ and your projector is in c:/ and the load movie (load varibles in my case) works fine until you build & run with SwiffCanvas. Then the projector runs from c:/windows/temp 46546546 654654 4654654 (some random garbage after "temp"). I thought the solution would be to "back" out of the c:/windows ... and get to the directory where the projector is stored, but either you can't do that, or I've got the syntax wrong.

    After many tries, I've given up on SwiffCanvas for now. I'd love to use it but I can't get around that bug. I'd like to know if anyone else has any ideas ... but I there doesn't seem to be any SwiffCanvas support out there.

  3. #3

    Thumbs up

    I know what to do to load those movies. I have to add those swf files to additional file list in SwiffCANAVAS and then build the projector, but it pisses me off, cause the projector file is getting bigger and bigger.

  4. #4
    Junior Member
    Join Date
    Jul 2000
    Posts
    21

    Two Solutions:

    (1)The folks at SwiffTools wrote to me and said:

    .. you can work around this using the "LaunchPath" variable from the "SwiffCANVAS.dat" file that is placed in the temp.
    directory on every projector launch. It contains the path to the folder from where to projector was launched.

    (2)I picked up this bit of syntax asking the FlashGuru about another problem:

    Load Variables ("file:///c|/txtinfo.txt", 0)

    It makes the path absolute. No matter where I put my projector, it will load the right file. I'm sure it will work for you movies as well.

    - Iceunsafe

  5. #5
    Junior Member
    Join Date
    Mar 2000
    Posts
    19
    This seems to be a common problem: I'll make sure to update the doc's on this issue.

    - Edwin.

  6. #6
    Junior Member
    Join Date
    Jul 2000
    Posts
    21
    Thanks - that would be helpful. I'm glad to see your here @ FlashKit! Nice program, by the way. The demo file is very helpful.

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