Solved

unable to get fla to publish to swf

Posted on 2013-01-21
4
282 Views
Last Modified: 2013-02-06
We have a flash player and i would like to add a facebook icon and twitter icon to it. we used to have flash developers but now we don't so i have been asked to get this to work so i have downloaded the swf decompiled it and opened it in flash and have imported the icons.

I thought i could then just republish the swf but it is giving me an error

1084: Syntax error: expecting identifier before rightparen.

Now, my skills are very limited when it comes to flash so i have uploaded all the nescessary files to http://www.hobartsinranelagh.com/audio/audioplayer.zip

Help would be greatly appreciated
0
Comment
Question by:jonathanduane2010
  • 3
4 Comments
 
LVL 8

Expert Comment

by:section25
Comment Utility
Line 291 of your main.as file looks like this:

public function switchPlaylistItem (param1:String, param2:int = ) : void

You need to remove the "=" sign or assign it a value. Either way will work, but you can't just leave the = sign hanging out there like that.
0
 
LVL 8

Accepted Solution

by:
section25 earned 420 total points
Comment Utility
After further investigation, that is just the beginning of your problems. You have hundreds of errors in you program. Sorry, but I don't have the time to fix them all. You may have to pay someone to do it. It will take quite a while.

Generally decompiling and then recompiling does not work without some effort. It is not usually a clean conversion. You really need to source .fla file to do this right. Otherwise, you will spend a lot of time and effort basically re-writing it.
0
 

Author Comment

by:jonathanduane2010
Comment Utility
where is the best place to get someone to pay to do this? (and cheapest!)
0
 
LVL 8

Expert Comment

by:section25
Comment Utility
Sorry, I can't help with that. There are a lot of developers out there. You can probably find one here on EE.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
The goal of the tutorial is to teach the user how to how to record live broadcast.

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now