Flash Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignFlash Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 17th, 2004, 01:47 PM
awojton awojton is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 awojton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Back Button Resets Form!!!!

I have a form in flash that has several comboboxes. Depending on how you answer the 8 different questions a dynamic button appears at the bottom of the page. This button take you to a different frame. But then when I create a back button it takes me back to frame 1 BUT all the answers are blank. How can I make sure when I come back to frame 1 all the same answers are chosen???
I have tried the setSelectedIndex, but can not seem to get it to work. HELP!!!!

Reply With Quote
  #2  
Old March 24th, 2004, 03:49 AM
julian_boolean julian_boolean is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 7 julian_boolean User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to julian_boolean Send a message via MSN to julian_boolean
Try this:-

Select all the items that make up the form and convert them to a symbol. Make sure that this symbol is in its own layer in the main timeline and that you give it an instance name. Make sure that this layer is extended over all the frames of the main timeline.

In the button that lets users move the main movie to another frame, use a Set Property action in the button to set the visibility of the form instance to nothing. The code will look like this:-

on (release) {
gotoAndStop(aFrameNumber);
setProperty(_root.formInstanceName, _visible, 0);
}

Then put another Set Property action in the 'back' button, this time to make the form instance visible again.

The two buttons will alternately hide/show the form instance and the selections in the form should remain as entered.

Reply With Quote
  #3  
Old May 14th, 2009, 06:45 PM
Ensuddell Ensuddell is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Location: Bosnia and Herzegovina
Posts: 1 Ensuddell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 51 sec
Reputation Power: 0
Send a message via ICQ to Ensuddell
That is why so many fools on the Internet?

That is why so profuse fools on the Internet?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignFlash Development > Back Button Resets Form!!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
Stay green...Green IT