To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-27-2007, 04:13 PM   #1
kernelgpf
Junior Member
 
Join Date: Mar 2007
Posts: 27
[RESOLVED] [F8] I don't even know WHAT to title this problem.

Okay- I have a photography website that, upon entering a frame, uses a dynamic text box to display "click the arrows to view the pictures". It should only do that the FIRST time that frame is loaded. I figured the first time it'd run, I'd have it set a variable, then test if that variable was set or not, and if it WASN'T, have it run the code that sets the dynamic text box.

Here's my code that is on my "actions" layer on the corresponding frame.

if(testr == undefined){
onEnterFrame = function() {
textbox="click the arrows to view the pictures";
var testr:String="yes";
trace(testr);
}
}

That code should only be running once, and loading the text once. Then, two buttons are on that frame, and when somebody clicks on one of them, the dynamic text should load to "loading the image..". But the above code resets the "loading image.." code back to "click the arrows to view the pictures", which I don't want it to. Here's my code on the buttons:

on(press)
{
textbox="loading image..";
}
kernelgpf is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT -4. The time now is 05:19 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.