?
Solved

New code in .as file is not picking by action script

Posted on 2011-10-10
3
Medium Priority
?
379 Views
Last Modified: 2013-11-11
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
0
Comment
Question by:tia_kamakshi
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
dgofman earned 2000 total points
ID: 36944986
Hi,
If you are using Flash CS IDE you may have dependencies in other frames. The easiest for you to attach your FLA and experts will fix your problems.
P.S.
EE allowing attaching the FLA files only in CS4 format.
0
 

Author Comment

by:tia_kamakshi
ID: 36946604
Hi,

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
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36946652
as I already mention you have save your FLA file as CS4. Giro File_>Save As....
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question