Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
smokingdrum webforumsuser@macromedia.com #1
base ="." attribute not working as expected
Hi,
I am trying to construct a site and implement the <base = "."> attribute in the object and embed tags of the flash navigation, but it is not working as I expected.
My flash navigation movie sits in the root of the html directory. It is supposed to refer to html pages in individual subdirectories (such as "home", "guarantees") like this:
home/home.html
guarantees/guarantee_privacy.html
guarantees/guarantees_security.html
solutions/solutions_light.html
All fine and good.
The actionscript call in the flash movie looks like this:
getURL("solutions/solutions_light.html");
When the button is pressed in flash, it should refer from the html directory, into the solutions directory, and find the "solutions_light.page" but instead it is trying to do this:
html/nav.swf/solutions/solutions_light.html
So the stupid thing is trying to include the flash movie filename in the path! Is this my error or is this a bug in Flash?
According to Macromedia, using <base = "."> means that "all the paths in the flash movie player are relative to the directory in which the movie file is located".
Many thanks for your help. I'll buy anyone a beer who can help me fix this.
Cheers
John Bloor
smokingdrum webforumsuser@macromedia.com Guest
-
#39588 [NEW]: unpack("a*", "abc\0") does not work as expected
From: pprasse at actindo dot de Operating system: linux 2.6.10 PHP version: 4.4.4 PHP Bug Type: Scripting Engine problem Bug... -
"Acrobat PDF file format is having difficulties expected a non-negative integer"
Posted this in a wrong folder before. Opening many of my AI 10 docs in AI CS is getting me this error message: "Acrobat PDF file format is having... -
"Expected a dict object" with Acrobat Prof 6.0 = lock up
Trying to view a PDF from a website (www.skidmorednagenealogy.com)(PDF entitled "Family Genetics Project") Using Adobe Acrobat Professional 6.0... -
"wrong argument type nil (expected String)" from Dir.chdir
I'm running Ruby 1.6.8. Can anybody tell me why this line: Dir.chdir("/") results in the error "wrong argument type nil (expected String)"... -
#26122 [Opn->Bgs]: Logical Operator "and" not functioning as expected
ID: 26122 Updated by: iliaa@php.net Reported By: iam at nimajneb dot com -Status: Open +Status: ...



Reply With Quote

