Navigating a FORMS application



  • 1. Loading Dynamic Text
    Here's the prob... I've created a dynamic text field, and I'm loading text from an external file using the following code: loadVariablesNum("testimonials1a.txt",0); Works fine... The problem occurs when I attempt to place that Flash document into another Flash document, using the following code: mc_loader.loadMovie("testimonials.swf"); The document loads fine; however, the dynamic text field does not load the text. So, it works as a standalone document, but not when it's embedded into another Flash document. The key is probably in the loadVariablesNum("testimonials1a.txt",0); part of the equation; however, the solution seems to elude me. Any help would be appreciated. Andy Anderson
  • 2. Targeted action for nested movie
    Hi there. I have a problem and am hoping someone here can help. I have a movie (let's call it index.swf). Within this movie is a nested movie with content (nested so I can ensure it is centred when the window is resized using the resizelistener) - lets call that nested.swf. I want to have buttons in the index.swf that, when clicked, perform an action on nested.swf. For a bit of context, nested.swf is a booklet-type flash movie. As it is centred on resize, I want the buttons to behave differently - to remain in a consistent location on the page, hence putting them in index.swf. The buttons are intended to take the booklet to a specific page. The actions I've used to go to a specific page WITHIN nested.swf (instance name 'nested') are: on (release) { book.flipGotoPage(7); } on (rollOver) { book.flipOnClickProp = false; } on (rollOut) { book.flipOnClickProp = true; } However, I'm unsure how to target this to the same effect from within index.swf. Any ideas? Many thanks.
  • 3. Flash mixing linked classes on commonly named attached MC from different swf files
    I load 2 different swf files a.swf and b.swf, using LoadMovie, in two different movie clips of my scene. The two swf files both defines a movieclip exported as "CommonlyNamedMC" but linked with different classes, ClassA in a.swf and ClassB in b.swf. The root of these files can attach these movie clips on demand. I load a.swf, then make him attach "CommonlyNamedMC" : the movie defined in a.swf is displayed, and linked with ClassA, everything's fine Then I load b.swf and make him attach "CommonlyNamedMC" : the movie defined in b.swf is displayed, and linked with ClassB, everything is fine again But Then I make the container movieclip that previously loaded a.swf attach "CommonlyNamedMC" : The movie defined in a.swf is display BUT it is linked with ClassB !! apparently if an export identifier is defined in different swf files, the class instanciated when attaching one of the clips defined with this identifier will be the one defined in the latest loaded swf !!! does anybody know about this behaviour ? Am I missing something and this is not a bug ? is it a known bug that will be resolved in future versions ? I am using flash CS3 professional version 9.0 Thank you in advance
  • 4. DateField, ComboBox, Array, How to match?
    i have a date field which exports the selected date to text box.(variable1) i have a combo box which exports the selected to a text box (variable2) //to select which array now i have an array made up of Var1, Var2 = Value (var3) How do i match Var1 with Var2 to get Var 3 from the array... I am on the right track using the array or do i use the dataset component? any help appreciated. yours Jon //Date = Var 1 Honeymoon = Var2 Price = Var 3 var honeymoon:Array = new Array(); honeymoon.push({name:"Mon Jun 30 00:00:00 GMT+0700 2008", price:"7,500"}); if there is no simple solution I will probably export to database... additionally how do i change the date field not to show the time?

Navigating a FORMS application

Postby DonH » Sat, 29 Oct 2005 06:56:20 GMT

I have a very basic structure

MAIN is the base screen

Screen1 and Screen2 are child screens

Under Screen1 I have Screen11.

So the normal flow is to go into Screen1 down to Screen11.  Then make a 
selection and that takes you to Screen2 where info is displayed.

Here comes the problem.  I want a button that will send you back to 
Screen11.  It won't do it.  No matter what path I use for the screen it 
won't go there.  Is this a bug or something?  I can't even get it to go to 
the MAIN screen.

So how do I get a form application to go to a screen it has already passed 

Re: Navigating a FORMS application

Postby madmaximus » Sat, 29 Oct 2005 09:56:02 GMT

Have you tried saving a reference (using "this")  to screen11 and passing it to screen2?


Re: Navigating a FORMS application

Postby DonH » Sun, 30 Oct 2005 02:24:00 GMT

Yes, I have.  Apparently in a forms application you can only move forward 
and not back.  That is strange.  The only way I have found to go "back" to a 
screen is to set a cookie with the screen I want to go to, and then getURL 
the page and read the cookie and navigate there.  This is total humbug.

It is easier to just use MC's to do all this.

Similar Threads:

1.Form Application, how to make not clickable thing in parent form

I am making  a form application and in one form i have some child forms. 
 When i open (make visible) one of the child objects all the clickable items in 
the parent form are still working.

 how can i "deactivate" them?

 i have seen that it happens the same not only with parent-child forms but also 
with the "brothers" forms, even if the clickable items are not shown.

2.flash 2004 pro combobox (navigate to through forms)

I am designing a flash 2004 pro form application.
the structure is built as follow:

nested => Base
nested => resume (form where a combobox with dates are selectable) 
nested => _1990
                  _1992 etc etc

I want the user to select a date from the combobox and use an event listener "close" to access the combobox data as in:

listenerObject.close = function(eventObject) {
	         var theDate =;     
                   //access the data from combobox       
                   //data is: _root.base.resume.1990 (or any date)
                 var theDate_obj= new Object(theDate); 
                    //transform theDate from string to Object

	  theDate_obj.setVisible(true); //Set the form to visible 
TypeOfResume.addEventListener("click", listenerObject);  //Trigger the listener object

This do not work!
I cannot set a path to the form from a combobox and set the visibility to true!

Why Why??????TextText

3.Screen reveal event not firing in Form Application

newbie here.... 

 I have a flash form application and I have the following actionScript in a 
nested  form object:

 on (reveal) {

 When I run it, and the form is set to "_visible=true", nothing happens.

 I also tried the reverse with the "hide" event with similar results.

 any ideas??


4.Flash Form Application Animation

I'm trying to use Flash Form Application instead a standard project but I am 
having a bit of difficulty.  I can get the buttons to jump to the different 
screens alright but all the animations on all screens start running all at 
once.  I've tried clicking the screen then the Properties Tab and putting false 
on autoload & visible but that doesn't do the trick.
      How can I tell Flash not to run the animations until I open each screen?


5.Form Application Development Tutorials?

Are there any really good tutorials on full scale form application development? 
 Books?  Or *anything* that will give me more than just the typical.. "you show 
a form like this..." stuff.  I need a really good tutorial that goes into a lot 
of advanced detail.  I have been looking ALL over, but I can't seem to anything 
anything that gives me more than basic information.

 Also, the same goes for any tutorials on the new Flash Remoting components.  
I've been able to find more stuff there, but a good tutorial on using the 
Remoting Connector would be great.

6. Flash form application

7. Loader in Flash FORM APPLICATION

8. Need working form application example

Return to FLASH


Who is online

Users browsing this forum: No registered users and 18 guest