dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: hot: a "Load Movie" path in a .txt file!!

  1. #1
    Senior Member
    Join Date
    Dec 2000
    Posts
    107
    Hello everybody!

    This is the challenge:
    I was wondering if we can put a path in a variable inside an independant .txt file.

    I explain myself:
    I want to load several .swf (pictures) files from one folder, but I would like to update the pictures by only changing the path in a .txt file.

    thanks in advance.

    lafish
    lafish@mailcity.com

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    170
    Its not much of a challenge. its simple.

    in the text file make a variable max=x where x equals to the number of wf paths the file contains.

    and for the swf paths use the varaibles like this image1, image2, so on.

    SO when you load the varaibles from the text file all you have to do is the check the number o paths in the file by checking the max variable and than getting the path though image(n).

    I hope I mdae myslef clear enough.

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Posts
    107

    thanks puneet!!

    thanks puneet!!
    i'll try it and i'll give you my news!
    "shadow" got me another answer for this (i don't if it is the same...i'll try them both) and it's on it this address:
    http://board.flashkit.com/board/show...078#post394078

    thanks again!!
    lafish
    lafish@mailcity.com

    Originally posted by Puneet
    Its not much of a challenge. its simple.

    in the text file make a variable max=x where x equals to the number of wf paths the file contains.

    and for the swf paths use the varaibles like this image1, image2, so on.

    SO when you load the varaibles from the text file all you have to do is the check the number o paths in the file by checking the max variable and than getting the path though image(n).

    I hope I mdae myslef clear enough.

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