Solved

unable to get fla to publish to swf

Posted on 2013-01-21
4
299 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
ID: 38806188
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
ID: 38806215
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
ID: 38806257
where is the best place to get someone to pay to do this? (and cheapest!)
0
 
LVL 8

Expert Comment

by:section25
ID: 38807327
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
extract audio from DVD 21 93
copying mp4 filename to title 4 118
How to add a m3u Playlist to IPTV on PLEX 7 6,559
Stream live video from Raspberry Pi camera 22 161
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 how to create burn videos onto a DVD using Nero Suite including creating a DVD menu and chapters.
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…

803 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