|
-
Displaying different movie based on current webpage
I want to display a different movie on my webpage based on the filename of the current webpage displayed. Using ASP code, how can I determine the filename of the current page, so I can use that filename to display a different movie (i.e. using "IF" or "SELECT CASE" statements).
Thank you, Dean
Dean Vayder
www.MoreTimeForAnalysis.com
-
Flashkit historian
I'm having a hard time following.
If you have different web pages why not just
use different swf's with object embeds?
as for scripting that's best handled by scripting
and backend
But here's your hint.
use javascript
ObjectId.TLoadMovie("_Level0/","MovieName.swf")
-
Sorry I didn't make that clear. I am using a DreamWeaver template. The flash movie is part of the template; there may be some pages that I would rather show a different movie, thus I'm looking for the ASP code that can tell me which page is being viewed. I don't want to remove the flash movie from the uneditable portion of the template or I will have to code every page independently.
Hope that helps...
Dean Vayder
www.MoreTimeForAnalysis.com
-
Flashkit historian
Well swish has no way of knowing which page is loaded.
It can't recieve or send variables.
ergo
You would need to code the page.
If each page is coded with a different object embed
for a different swf that's one way.
If not. then you might try as I suggested and use
javascript in each page to load a separate swf
as mentioned earlier.
As for asp scripting well that's scripting regardless
of what you are using as an editor.
Which is why I suggested the scripting and backend forum.
http://www.flashkit.com/board/forumd...p?s=&forumid=4
If your movie is made with flash
umm I'm assuming that they offered up the fla.
in which case you might be able to achieve something
but once again like I said that's really about scripting
Yes flash can accept variables that can control things
such as load movie however storing external variables
is scripting.
If your movie was made with swish......
swish currently can't store variables.
So it would be a page scripting thing.
Frets
-
Thanks for the reply, I'd just figured it out when I noticed your post... imagine that, all that time and all I did in the end was delete the 'T'...
all that hair.. lost.. :P
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|