Old 04-01-2009, 11:57 PM   #1 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 5
Default other dir

What do I have to change for having the index.html file in another directory the one under whioch the Menu Multilevels will be running

using test/menu.swf and test/swfobject.js was not ok

thx
pauldh is offline   Reply With Quote
Old 04-02-2009, 11:09 PM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

I am sorry but I don't understand what you mean. Could you be more specific, maybe post a sample link , please ?
Adrian is offline   Reply With Quote
Old 04-03-2009, 03:01 PM   #3 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 5
Default other directory

Now the index.html file is in the test-subdir

What must be changed to have index.html in another directory

thx
pauldh is offline   Reply With Quote
Old 04-03-2009, 06:55 PM   #4 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Sorry, but you're not helping me at all. If I understood well, all the files should be relative to the html file that embeds the swf, in order to work.
Adrian is offline   Reply With Quote
Old 04-03-2009, 08:45 PM   #5 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 5
Default

Is my english than really so bad? .. I can really not explain it in another way.

- The directory MenuMultiLevel has two subdirs: source and test
- the index.html is normally in the test subdirectory
- I will put the index.html in the MenuMultiLevel durectory
- What must be changed and how

I did the following: I 've placed index.html in the MenuMultiLevel directory with the following modifications (references to "swfobject.js" and to "menu.swf") :

...
<script type="text/javascript" src="test/swfobject.js"></script>
...
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("test/menu.swf", "flash", "800", "600", "8", "#333");
so.write("flashcontent");
// ]]>
</script>

So, what's wrong with it and what must be done?

Last edited by pauldh; 04-03-2009 at 08:48 PM.
pauldh is offline   Reply With Quote
Old 04-03-2009, 11:29 PM   #6 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

you should add:

Code:
<script type="text/javascript">
   // <![CDATA[
  var so = new SWFObject("test/menu.swf", "flash", "800", "600", "8", "#333");
so.addVariable("xml", "test/data.xml");
  so.write("flashcontent");
  // ]]>
</script>
Adrian is offline   Reply With Quote
Old 04-04-2009, 12:40 AM   #7 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 5
Default

OK thanks, I will test it a.s.a.p.
pauldh is offline   Reply With Quote
Old 04-04-2009, 12:48 AM   #8 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 5
Default

It's ok now
thankx
pauldh is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:50 AM.