ZX9RNICK
04-29-2003, 09:29 PM
Hiya Folks, this is my first (but not last) post...
Im stuck. Up to my neck in quicksand and sinking quick, so to speak.
Up until today, I only used Flash for displaying my 3D content, with a basic grasp of actionscript thrown in for good measure, so If you can help with this, I'll be truly thankful:
Ive been asked to help make a movie that loads 2 sets of information and puts them into a movie. All the backend stuff is done with an ASP file in between, to which the movie has been tested, and it works! but.. it only works if the URL of the file is embedded in the actual movie actionscript.
When the ASP file is called, which we will call "www.mydomain.com/flashcontent.cmsx?itemID=125" I get two variables to play with, itemtitle, and itemcontent. I have got it working so they put the remote info into two textbox's called (suprisingly) itemtitle and itemcontent, which are based inside of a movie clip that allows me to scroll the content in the itemcontent textbox up and down.
Up till now, im ok with what Im doing, but I would like to make it truly dynamic by being able to load a variable from the webpage that the movie sits in, meaning that instead of making several pages with several movies in that all have different asp pages to retrive the data, i would just have one movie in a page (say for example www.mydomain.com/flashresultspage?URL=whatever, where "URL" would be the asp page to download the content from. With me so far?
I have been playing around with the object embed tags today, trying to pass on the variable to the movie, but with no success. It could be one of two things.
1) My html code is crap, and it wont work because of it, or
2) My actionscript in the flash movie is wrong
I would go with number two, cause im having problems letting it know what to do with the variables!!!
I was getting _root error mesages earlier, but they have stopped now. I still dont know what the hell _root is!!!
I have put a zip file up on some temporary hosting, including the html file, the .fla and the .swf. If someone could have a look at it for me and tell me what Im doing wrong, that would be great.
The address zip file with the offending items are attached to this post, and there is a readme explaining the vars I have used in my movie in there for good measure. please read the readme!!
The actionscript that is used to control the functions is in frame one on the main timeline, and frame one of the scroller movie clip. If you could email it back to me at nick@idea-media.co.uk with a verbal punishment for being so stoopid, that would be great!!!! Thanks in advance.
Im stuck. Up to my neck in quicksand and sinking quick, so to speak.
Up until today, I only used Flash for displaying my 3D content, with a basic grasp of actionscript thrown in for good measure, so If you can help with this, I'll be truly thankful:
Ive been asked to help make a movie that loads 2 sets of information and puts them into a movie. All the backend stuff is done with an ASP file in between, to which the movie has been tested, and it works! but.. it only works if the URL of the file is embedded in the actual movie actionscript.
When the ASP file is called, which we will call "www.mydomain.com/flashcontent.cmsx?itemID=125" I get two variables to play with, itemtitle, and itemcontent. I have got it working so they put the remote info into two textbox's called (suprisingly) itemtitle and itemcontent, which are based inside of a movie clip that allows me to scroll the content in the itemcontent textbox up and down.
Up till now, im ok with what Im doing, but I would like to make it truly dynamic by being able to load a variable from the webpage that the movie sits in, meaning that instead of making several pages with several movies in that all have different asp pages to retrive the data, i would just have one movie in a page (say for example www.mydomain.com/flashresultspage?URL=whatever, where "URL" would be the asp page to download the content from. With me so far?
I have been playing around with the object embed tags today, trying to pass on the variable to the movie, but with no success. It could be one of two things.
1) My html code is crap, and it wont work because of it, or
2) My actionscript in the flash movie is wrong
I would go with number two, cause im having problems letting it know what to do with the variables!!!
I was getting _root error mesages earlier, but they have stopped now. I still dont know what the hell _root is!!!
I have put a zip file up on some temporary hosting, including the html file, the .fla and the .swf. If someone could have a look at it for me and tell me what Im doing wrong, that would be great.
The address zip file with the offending items are attached to this post, and there is a readme explaining the vars I have used in my movie in there for good measure. please read the readme!!
The actionscript that is used to control the functions is in frame one on the main timeline, and frame one of the scroller movie clip. If you could email it back to me at nick@idea-media.co.uk with a verbal punishment for being so stoopid, that would be great!!!! Thanks in advance.