Solved

unable to get fla to publish to swf

Posted on 2013-01-21
4
291 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

914 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

19 Experts available now in Live!

Get 1:1 Help Now