tia_kamakshi
asked on
New code in .as file is not picking by action script
Hi,
I am new to action script 3.0. I am working on existing project created in flash
There are many .swf files call internally one after the other and there are many different .as files linked to one flash file
I have one flash file code where user submits the data called submitform.fla and code behind file for this file is submitform.as
This submitform.as is importing another file called UserData.as where we have all get and set properties defined
I am adding another property in this UserData.as file called setTitle() and getTitle()
It works good when I run my .fla file by exporting to .swf (I mean by runnig using command ctrl+enter)
But when I copy the same .swf file to the website where code is running my submit button stop working because I have added title to the UserData.as file
Now when I rename my UserData.as file to UserData2.as and change the reference everywhere in the code then it start working, but then I have issue with other .as file where I made changes.
I cannot rename all my .as files.
Why my submitform.as file is not including latest code in all refernced .as files.
Please help me if i have to do some kind of settings before publishing my .swf file
Please suggest
Many Thanks
I am new to action script 3.0. I am working on existing project created in flash
There are many .swf files call internally one after the other and there are many different .as files linked to one flash file
I have one flash file code where user submits the data called submitform.fla and code behind file for this file is submitform.as
This submitform.as is importing another file called UserData.as where we have all get and set properties defined
I am adding another property in this UserData.as file called setTitle() and getTitle()
It works good when I run my .fla file by exporting to .swf (I mean by runnig using command ctrl+enter)
But when I copy the same .swf file to the website where code is running my submit button stop working because I have added title to the UserData.as file
Now when I rename my UserData.as file to UserData2.as and change the reference everywhere in the code then it start working, but then I have issue with other .as file where I made changes.
I cannot rename all my .as files.
Why my submitform.as file is not including latest code in all refernced .as files.
Please help me if i have to do some kind of settings before publishing my .swf file
Please suggest
Many Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
as I already mention you have save your FLA file as CS4. Giro File_>Save As....
ASKER
Thanks for your reply.
I am trying to attach my .fla file by renaming to .txt file, still I am not ableto upload my file.
Error message says that
The extension of one or more files in the archive is not in the list of allowed extensions: saveForm.xfl
How should I attach my file.
Please guide me how I myself fix the problem. That will help me more in future
Many Thanks