This is a discussion on "loadMovie function (and absolute/relative URL's)" within the Flash & Multimedia Forum section. This forum, and the thread "loadMovie function (and absolute/relative URL's) are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
loadMovie function (and absolute/relative URL's)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
loadMovie function (and absolute/relative URL's)
Hows come when I use the loadMovie() function in Flash, I can just enter the filename [ie: loadMovie("thefile.jpg", _root.theContainer)], and it works fine when it's on my local machine, but then when I upload it, it wont display local URL's for the file (yes, I have the file uploaded in the same directory as the .swf file). In other words, in order for me to get the loadMovie function to work on the web, I have to use an absolute url pointing to the picture (ie: loadMovie("http://www....").
You get the picture. At this point, I have two questions: 1. Why does Flash do this? 2. Is there any way within Flash (or other external languages), that I can get the directory that the .swf file is in, into the flash movie as a variable, because the exact URL for the image is not going to be static. |
|
|
![]() |
| Tags |
| loadmovie, function, absoluterelative, urls |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Absolute Div, wrapped in Relative Div (IE6 - AARRRGGHH) | tenderfoot | Web Page Design | 3 | Feb 7th, 2008 18:43 |
| positioning - relative or absolute? | Web Page Design | 13 | Nov 8th, 2007 16:00 | |
| help please?!:about loadMovie function in layered MCs | baitwens | Flash & Multimedia Forum | 4 | Sep 18th, 2007 17:51 |
| loadmovie function not working when in browser | nikising | Flash & Multimedia Forum | 2 | May 19th, 2007 20:20 |
| CSS Challenge... absolute AND relative positionning | Trollivier | Web Page Design | 5 | Feb 9th, 2007 16:41 |