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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flash coding help

Status
Not open for further replies.

MasterSyde

Programmer
Sep 19, 2003
1
US
Hi. Im new here, and was told this is a good place to find help. I have downloaded a free web template, and jumped right in to work with flash. Guess i always start the hard way....

anyway, i'm having a few problems with some of the code...
1- i can't get the links to open in a new window like they are coded to do.
2- the resume window, won't read the text file. this i think i just coded wrong...

here is the code for the resume window... the first one is from the 2nd text window that works, and the 2nd one is from the 3rd text window that doesn;t..

2nd window-

tell target (win2){
//notice the win2
loadvariables ("text2.txt","text_box2");
//load text file
loaded2 = 1;
}
tell target (win2){
//notice the win2
loadvariables ("text2.txt","text_box2");
//clear text
loaded2 = 0;
}

3rd window-

tell target (win3){
//notice the win3
loadvariables ("text3.txt","text_box3");
//load text file
loaded? = ?;
}
tell target (win3){
//notice the win3
loadvariables ("text3.txt","text_box3");
//clear text
loaded? = ?;
}

What should i code into the question marks????

last question i have is.. my links wont open in the new window.. this is the cod ei have for it.. is it correct?

on(release){
getURL("hxxp://}

thanx for any and all info on this matter....
 
Hard to say what's wrong with the loading of the text files, without having a look at the whole .fla. BTW, you're using Flash 4 syntax... What version are you now running?
You should post a link to your .fla or e-mail it to me. You'll find e-mails if you hit my handle.

As for your link problems, this should be the right coding...

on(release){
getURL("}


Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top