Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: A little/lot confused.... |
From: | Willem van den Goorbergh |
Date: | Tue, 13 Jun 2000 21:29:41 +0100 |
What they want, I think, is being able to change the url's without
going into the flash file.
The idea is that the url's are stored in a .txt file (flashtext.txt)
and called by the FSCommand.
I never did it this way. but I do use a similar system using load
variables from a text file and calling them later in a get url
statement.
The advantage is that you don't have to bother with urls (spelling,
availability, relative position to the .swf etc.) all this is left to
the responsibility of the client. (imagine changing over 100 geturl
statements from ##.htm to ##.html: YEGH!)
The idea is quite simple:
a) Create a text only document with all the urls. No line breaks,
spaces tabs etc; just one continuous string of text in which the
variables to be loaded (the urls to be called) are separated by an
ampersand (&)
like this:
URL1=thefirsturl.htm&URL2=thesecondurl.htm&URL3..... etc.
b) Load these variables early in you movie on level_0 (thus they are
avialable throughout) by giving a frame the following action:
Load Variables ("kaarturls.txt", 0)
c) Finally he geturl statements should read:
On (Release)
Get URL (/:URL#, window="_whereyouwantitloaded")
End On
This works perfectly for me (think Flash4 plugin is needed though)
HTH
Willem
>I'm designing an ad for a major search engine, and I have to create a link
>in my Flash ad to send the user to a particular URL.. That's fine. But,
>the company sent me some specs, and they don't make sense, and I'm wondering
>if anyone else can figure out what this means? :
>
>
>"Instead of embedding clickthrough urls into .swf file, use the FSCommand
>statement as demonstrated below.
>
>SCREEN SHOT {Not available yet}
>On Actions tab in Flash
>
>Use Get URL Action
>URL= FSCommand:URL1
>Window: arg1
>Variables: Don�t Send
>
>Send also, one .txt file
>Text file includes the appropriate clickthrough urls and filenames as below:
>
>1. Must be named flashtext.txt
>2. Field Headings (such as �file� and �url1�) are spelled
>exactly as listed
>above and separated from their respective fields by a single equals
>mark=(and not a space or TAB).
>3. Default gif is named through the use of the alternate heading
>
>Send an alternate .gif file"
>
>
>I'm just looking at this going, "WHA?" -- I didn't know that FSCommand was
>used in the GetUrl action.. (or is that an older version of Flash??)
>
>ANY help, or ANY light shed on this would be greatly appreciated!! :)
>
>Thanks.
>
>Glen
>
--
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31)30-2719512
or by fax: (+31)302719687
Visit our website at: http://www.geografiek.nl
Take a peek at our FLASH site under construction:
http://www.geografiek.nl/test2000
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: A little/lot confused...., Glen Rhodes
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]