[osflash] was made with flash or flex?
Glen Pike
postmaster at glenpike.co.uk
Tue May 20 17:55:18 PDT 2008
A quick check - not always a guarantee, but look out for the loading bar
when the thing starts. Flex has a default that people don't always skin
- it loads in the Flex framework, and possibly other libs, at the start.
If you can decompile your SWF - you need the beta of ASV6 from
buraks.com - and look in the first frame:
For Flex it will likely have 2 frames, Frame 1 AS starts like this -
look for the following
"package {
import mx.core.*;
import mx.managers.*;
import flash.system.*;"
public class _main_mx_managers_SystemManager extends SystemManager
implements IFlexModuleFactory {
"
Whereas a Flash file can have 1-N frames and by the look of the
decompiled AS, your 1st frame begins with:
package filename_fla {
where filename is the name of your FLA or SWF, probably SWF, but I am
not 100% on this because mine are usually the same.
After the import lists there is a class signature. If this is the
default class for the main timeline (unless you set your own Document
class value):
public dynamic class MainTimeline extends MovieClip {
If not, or you use FlashDevelop to compile, you get whatever your class
signature looks like so here is an example:
package {
import flash.events.*;
import flash.text.*;
public class Main extends Sprite {
There may be other ways, but that's what I can think of off the top of
my head.
HTH
Glen
Raul Verdecia wrote:
>
> How can i know if a swf was made with flash or with flex?
>
>
>
> raul
>
>
> ------------------------------------------------------------------------
>
> Enviado desde Correo Yahoo!
> <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52431/*http://es.docs.yahoo.com/mail/overview/index.html>
> La bandeja de entrada más inteligente.
> ------------------------------------------------------------------------
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20080521/ed172f90/attachment.html
More information about the osflash
mailing list