Convert swf to mxml

344 views
Skip to first unread message

Ramya Arumugam

unread,
Jul 16, 2009, 9:47:07 AM7/16/09
to flex_...@googlegroups.com
Hi All,

I have created a mxml file using Adobe Flex Builder and moved the
compiled swf file into our tomcat sever and other files were storing @
my desktop.

Last week, i have formated my deskop and lost all mxml files. I dont
have any back ups for the mxml file.

Now i need to do some changes on the mxml file. But right now i have
only swf file.

Is any possible there to conver the swf into mxml with old format?

Please let me know your reply.......


Thanks,
Ramya

Devaraj

unread,
Jul 16, 2009, 10:00:52 AM7/16/09
to Flex India Community
SWF cannot be decompiled to MXML:
Reason, whether MXML or AS you used as source, it is converted to AS
at compile time (on pre compilation).

Result: you can see only AS output on decompilation.
Regards,
Devaraj

Ramya Arumugam

unread,
Jul 16, 2009, 10:04:09 AM7/16/09
to flex_...@googlegroups.com
Thank yor for ur reply.

How to decompile the MXML into AS?
and
How will get the original code of MXML?

Thanks,
Ramya

Ravi Mishra

unread,
Jul 17, 2009, 3:05:32 AM7/17/09
to Flex India Community
Hi,

I don't think you can decompile MXML from AS. As deveraj said,
everything gets converted to actionscript before getting compiled to
swf. So for AVM its actionscript only, no matter if you have written
your code in MXML or AS. Max what you can get back is AS only.

HTH,

-Ravi

On Jul 16, 7:04 pm, Ramya Arumugam <friendramya2...@gmail.com> wrote:
> Thank yor for ur reply.
>
> How to decompile the MXML into AS?
> and
> How will get the original code of MXML?
>
> Thanks,
> Ramya
>

Surendra Chintham

unread,
Jan 13, 2016, 4:46:46 PM1/13/16
to Flex India Community, friendr...@gmail.com
Hello All,
I have found this conversion when i tried to find out solution for the same problem(SWF files are in production and I don't have back for them to edit and do change order.)
As per this conversion and info on some websites like SOTHINK.com,what i understood is we can get AS files using any de-compiler.
My question is how Does these converted AS files will useful for knowing original MXML code?
Can you please suggest me on this, i hope you might have an idea about the conclusion to this problem as you faced it earlier.

rodol...@gmail.com

unread,
Jan 14, 2016, 5:26:00 AM1/14/16
to flex_...@googlegroups.com, friendr...@gmail.com
Sorry about that but im not working on adobe flex , flash builder for year .
It deprecated so far.!

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flex_india+...@googlegroups.com.
To post to this group, send email to flex_...@googlegroups.com.
Visit this group at https://groups.google.com/group/flex_india.
For more options, visit https://groups.google.com/d/optout.

Satish Sharma

unread,
Jan 15, 2016, 4:56:00 PM1/15/16
to flex_...@googlegroups.com, friendr...@gmail.com
Hi All,

We have some urgent requirement for UX Developer and and UI Developer 3-4 years. Position is based in Gurgaon/Noida.
--
Regards
-----------------------------
Satish Sharma
12/503 - Max City "Park Sapphire"
 

Rama Krishna

unread,
Aug 6, 2017, 4:16:29 PM8/6/17
to Flex India Community, friendr...@gmail.com
Hi friends , 

I have the same problem to manipulate the compiled SWF  and recompile it back to SWF and deply to production.
I had tried 2 options but no luck on both the options.

1) converting swf to fla to AS3 , i was able to edit the AS3 file , then I am not able to move forward to create the new FLA & new SWF file.
2) converting swf to flex project and importing to flex builder , then while publishing it says that i dod not main MXML file to get new SWF.

if u had any known options please let me know ,  i will be monitoring the thread!..

Rama Krishna

unread,
Aug 6, 2017, 4:16:29 PM8/6/17
to Flex India Community, friendr...@gmail.com
hi All , 

i have the same problem to manipulate the compiled SWF  and recompile it back to SWF and deply to production.
I had tried 2 options but no luck on both the options.

1) converting swf to fla to AS3 , i was able to edit the AS3 file , then I am not able to move forward to create the new FLA & new SWF file.
2) converting swf to flex project and importing to flex builder , then while publishing it says that i dod not main MXML file to get new SWF.

If u had any known options to achieve this , please let me know ,  i will be monitoring the thread!..
Reply all
Reply to author
Forward
0 new messages