Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Load Movie using variable
From: Dave Hollinden
Date: Mon, 4 Oct 1999 16:32:44 +0100

Hi Waldo,

You need to set the URL in your Load Movie action to Expression because the
URL you are supplying is a variable. Try putting a Trace command right
before the Load Movie to make sure that value of url1 is correct and that
you are targeting it correctly. Also, the swf file that corresponds to url1
has to be located where the URL says it is, or you will get the "Error
opening" message.

Here is an example of how I use Load Movie with variables. It loads a
randoml selected banner ad into the Movie Clip "randbanners".

Load Movie ("banners/banner" & random & ".swf", "../bannerdrop/randbanners")

Dave Hollinden
dhollindenatsonicfoundry [dot] com

-----Original Message-----
My problem: How can i pass the value of that variable (called url1) to
the comand "load movie"?
I tried both ABC string as Expression, but both didn't work.:

1. ABC string:
Load Movie ("/:url1", 1)

Resulting in the error " Error opening URL ":url1" "

and

2. Expression:
Load Movie (/:url1, 1)

With result " Error opening URL "C:\Temp\FlashFiles\url1" "

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratchinwag [dot] com


Replies
  Re: FLASH: Load Movie using variable, Waldo Smeets

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]