dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: problems with #include

  1. #1

    problems with #include

    Ive a problem with include.

    I want to include a couples of variables into a flashmovie.
    Its working fine until I generate a standalone player.
    It seems that the .exe file (and also the .swf file)is caching the variables.

    Does anyone know how to solve this problem?

    Ive done it with .swf files, works fine with this code

    rn=math.round(math.random()*100000);
    loadvariablesnum("blabla.swf?reload="+rn,0);

    Thanks
    Dirk

  2. #2
    Senior Member
    Join Date
    Apr 2001
    Location
    UK
    Posts
    493
    #include is executed as part of the compiling process (publish) of a flash movie. if you want to modify variables only use txt files or xml. if you need to modify code id use a "service" swf and load into the main movie.

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