Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadvariables problem - simple, but annoying question..

Status
Not open for further replies.

basepointdesignz

Programmer
Jul 23, 2002
566
GB
Hi,

On a CD-ROM I'm doing, I'm trying to load text into a movie, which acts as a pop-up window for more information.

I've created and exported the movie and the buttons on the main CD-ROM load it just fine, but I can't get it to load the variable into the relevant dynamic textboxes..

I have the following code on one of the buttons.......

Code:
on (release) {
	loadMovieNum("info\\popup_window.swf", 10);
	loadVariables("info\\popup_html.txt", "popup_text_title");
	loadVariables("info\\popup.txt", "popup_text");
}

Is this correct? I have set up all the correct and same variable names and txt files etc, but for some reason the text won't load. Basically I want to use the same movie to load different text, from different buttons.

Can someone look at the code and suggest what's wrong with it, please..



Cheers,
Paul @ basepoint designz LTD..

basepoint designz LTD
 
fyi - the html button on your site links to your flash site and vice versa for the flash button...

[conehead]
 
No sorry, the HTML site is the only one up and running at present, I'm still trying to develope the FLASH site so I put a little HTML holding page on there. The HTML one contains a little simple Flash in it but is basically standard HTML. Thanks for the response anyway m8

Cheers,
Paul @ basepoint designz LTD..

basepoint designz LTD
 
oh, I assumed that if you were offering the option of html and flash that there would not be flash on the html... my fault...

[conehead]
 
No, not your fault m8, I just don't like static HTML pages so I added a few bits of Flash to make it look a little nicer. I might finally get off my backside and find time to do the FLASH one, lol, which will be much more high-tech, well here's hoping..

The main reason I offered both to be honest was for the differing Internet connections these days, the HTML being really for standard 56k and the Flash one for high-end users. I much prefer Flash sites but had to accomodate for those who still are still running old skool internet connections..


Cheers,
Paul @ basepoint designz LTD..

basepoint designz LTD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top