Re: [Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Bill Mackin

Joe,

In my experience, using some kind of javascript like SWFObject or UFO  
is the best way to go.  There is a project named SWFFix that looks  
promising, but it appears that no work has been done on it since Feb.


http://www.swffix.org/devblog/

As for using AS3 to detect for the version of flash, you are correct  
to assume that older versions of the Flash player will have problems.


Cheers,

- Bill


On May 24, 2007, at 12:48 AM, Joe Cutting wrote:


Hello,
  I'm building a web project in AS3 using Flash CS3. Originally my  
idea was
that the swf would do a version check at the start of the program  
and if the user wasn't running

Flash 9 they would be redirected to download the upgrade.
Now, I've done some thinking about this and realised that if the  
user isn't running Flash 9 then they
won't be able to run the swf at all so it wouldn't be able to run  
the version check.
Can anyone confirm that this is the case? If so it looks like that  
the only ways to check if

users can run AS3 swfs are:
- use some kind of javascript like SWF Object
- use another version detection swf written in AS2. My  
understanding is that this would have to call the

AS3 swf rather than wrapping it.

I'd be interested to know how other people have got on with this  
issue.


Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number   
___

Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: SPAM-LOW: [Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Derek Vadneau
If you load a Flash 9 SWF into _level0 the SWF won't be contained in the 
Flash 8 (or previous) SWF, it will be the main movie.

So, technically you could use a SWF published for a previous version and 
detect the version of Flash Player installed, then display a message or 
load the Flash 9 SWF into _level0 (loadMovieNum).

However, if the user doesn't have the Flash Player installed at all you'll 
have to use another solution anyhow. SWFObject or another would be a 
better option.


Derek Vadneau

- Original Message - 
From: Joe Cutting
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, May 23, 2007 10:48 AM
Subject: SPAM-LOW: [Flashcoders] Detect Flash version in AS3


Hello,
   I'm building a web project in AS3 using Flash CS3. Originally my idea 
was
that the swf would do a version check at the start of the program and
if the user wasn't running
Flash 9 they would be redirected to download the upgrade.
Now, I've done some thinking about this and realised that if the user
isn't running Flash 9 then they
won't be able to run the swf at all so it wouldn't be able to run the
version check.
Can anyone confirm that this is the case? If so it looks like that
the only ways to check if
users can run AS3 swfs are:
- use some kind of javascript like SWF Object
- use another version detection swf written in AS2. My understanding
is that this would have to call the
AS3 swf rather than wrapping it.

I'd be interested to know how other people have got on with this issue.

Cheers

Joe


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Muzak
http://www.google.com/search?hl=en&q=flash+version+detection&meta=

have a look at:
http://blog.deconcept.com/swfobject/



- Original Message - 
From: "Joe Cutting" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, May 23, 2007 4:48 PM
Subject: [Flashcoders] Detect Flash version in AS3


> Hello,
>   I'm building a web project in AS3 using Flash CS3. Originally my idea was
> that the swf would do a version check at the start of the program and if the 
> user wasn't running
> Flash 9 they would be redirected to download the upgrade.
> Now, I've done some thinking about this and realised that if the user isn't 
> running Flash 9 then they
> won't be able to run the swf at all so it wouldn't be able to run the version 
> check.
> Can anyone confirm that this is the case? If so it looks like that the only 
> ways to check if
> users can run AS3 swfs are:
> - use some kind of javascript like SWF Object
> - use another version detection swf written in AS2. My understanding is that 
> this would have to call the
> AS3 swf rather than wrapping it.
>
> I'd be interested to know how other people have got on with this issue.
>
> Cheers
>
> Joe


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Joe Cutting

Hello,
  I'm building a web project in AS3 using Flash CS3. Originally my idea was
that the swf would do a version check at the start of the program and 
if the user wasn't running

Flash 9 they would be redirected to download the upgrade.
Now, I've done some thinking about this and realised that if the user 
isn't running Flash 9 then they
won't be able to run the swf at all so it wouldn't be able to run the 
version check.
Can anyone confirm that this is the case? If so it looks like that 
the only ways to check if

users can run AS3 swfs are:
- use some kind of javascript like SWF Object
- use another version detection swf written in AS2. My understanding 
is that this would have to call the

AS3 swf rather than wrapping it.

I'd be interested to know how other people have got on with this issue.

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com