A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Newbie Needs Urgent Help!

Hybrid View

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    1

    Newbie Needs Urgent Help!

    So the story...

    While developing a website I needed to create a small flash presentation. Since I have no knowledge in flash coding and since it was a pretty simple powerpoint type animation... I just created the flash by making the slides in power point and then using ispring pro 3 to convert it into the final swf product. Worked like a charm, everything.

    The problem comes around a month later when I need to duplicate the flash presentation but so it directs to a different page instead of the original one... problem is I must of accidently deleted the original ppt presentation where I would be making the changes (within the ispring plugin).

    So my only option then was to use a swf decompiler to extract the .fla file and change the redirection code, and then export it again. All went fine, up until the point where I open the resulting .fla file in an editor, change the code, export to a swf -- and then find that the resulting file doesn't work/play anything -- and in the output report there were a total of 100 ActionScript errors... all with the same fundamental error:

    [bold]This statement is not permitted in a class definition.[/b]

    I'd really like to avoid having to spend hours I don't have recreating the flash presentation from scratch... if anyone can offer any help/advice - you'd make me REALLY happy!

    If it's any help, I can upload the original working swf file as well as the decompiled .fla file -- just let me know!

    Cheers!

  2. #2
    Senior Member
    Join Date
    Jan 2010
    Location
    England
    Posts
    268
    yeah upload your swf, lets have a look at it. my first thought was that maybe it wasnt saved as the right actionscript version. but if worst comes to worst you might have to recode it all. but your graphics are safe if you have the decompiled .fla file. and if its just a powerpoint presentation style swf then some simple button code wont take long to redo.

  3. #3
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    From the error it sounds like you chose AS3 instead of AS2 (or AS1) as actionscript version.

    gparis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center