[Flashcoders] The Real Story Behind Adobe’s Failed Mobile St rategy

2010-04-23 Thread John McCormack
http://www.businessinsider.com/the-underlying-story-behind-adobes-failed-mobile-strategy-2010-4 



John

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flash for Android: resources?

2010-04-23 Thread Zeh Fernando
From what I've tried on the Nexus One, there's no download or anything.
playerversion.com says there's no flash installed either. I know some models
(HTC Hero?) come with Flash Lite 4 installed, but they're all supposed to be
replaced by Flash when it's released (automatically as an update, I'm
guessing).

So it's flash capable, it's just not installed.

Zeh

On Fri, Apr 23, 2010 at 12:09 AM, Jared jared.stan...@gmail.com wrote:

 Hmm...I assumed the devices were flash-capable and when flash was detected
 it would dl the plugin...guess not?

 Sent from my iPhone


 On Apr 22, 2010, at 6:50 PM, Zeh Fernando z...@zehfernando.com wrote:

  This is how it's gonna be soon, but not now. Android 2.1 (Nexus One, et
 al)
 come without any kind of Flash Player installed, so you can't see Flash
 content.

 Zeh

 On Thu, Apr 22, 2010 at 6:30 PM, jared stanley jared.stan...@gmail.com
 wrote:


 And as far as I understand it:


 flash player 10.1 is available on android, meaning you can view flash
 content when you browse the web in android.
 AIR 2 is available on android, and with this you can export files(apps)
 to
 be installed on your phone
 I don't know the specifics on how to do so, but this article:

 http://blogs.adobe.com/air/2010/04/adobe_air_applications_for_and.html

 has links to multiple videos; this link implies that it's easy to do.

 Jared








 On Thu, Apr 22, 2010 at 2:11 PM, Matt S. mattsp...@gmail.com wrote:

  So (and pardon me if these are stupid questions), does the final app
 get converted to an Android format? Or does it actually go to the
 phone still in AIR format? Is there not equivalent conversion similar
 to packager for iPhone?

 .m

 On Thu, Apr 22, 2010 at 5:07 PM, Zeh Fernando z...@zehfernando.com

 wrote:

 It will be pretty much the same as 'normal' Flash, but with less

 CPU/memory

 and with additional APIs.

 For optimization tips:
 http://help.adobe.com/en_US/as3/mobile/index.html

 For the additional APIs, I guess we have to wait for the proper (?) AIR

 2

 documentation. But NativeMenu and such should be a good indication of

 how

 things will work. I think I've seen a list of the tentative APIs (for
 multi-touch, geo location, and such), but nothing too final.

 Zeh

 On Thu, Apr 22, 2010 at 4:46 PM, Matt S. mattsp...@gmail.com wrote:

  I'm guessing some of y'all have already dove into the world of
 developing Flash for Android, I'm wondering if there are
 sites/books/resources you can recommend to get started?

 thanks,

 .matt
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flash for Android: resources?

2010-04-23 Thread Dave Watts
Adobe is now accepting applicants for the private beta for FP 10.1 and
AIR 2 on Android 2.1:
http://androidandme.com/2010/04/news/sign-up-for-flash-player-and-adobe-air-betas-for-android/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Real Story Behind Adobe’s Fa iled Mobile Strategy

2010-04-23 Thread jared stanley
interesting perspective, thanks for sharing





On Fri, Apr 23, 2010 at 4:17 AM, John McCormack j...@easypeasy.co.ukwrote:


 http://www.businessinsider.com/the-underlying-story-behind-adobes-failed-mobile-strategy-2010-4

 John

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Lehr, Theodore
How can I have a function called as long as MOUSE_OVER

I am trynig:

bn1.addventListener(MouseEvent.MOUSE_OVER,func);

function func(e:Event) {
trace(e.target.name);
}

I would like it to fire off as long as the mouse is over
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Matt S.
bn1.addEventListener(MouseEvent.MOUSE_OVER,funcOver);
bn1.addEventListener(MouseEvent.MOUSE_OUT,funcOut);

function funcOver(e:MouseEvent) {
   trace(e.target.name);
   bn1.addEventListener(Event.ENTER_FRAME,func,false,0,true);

}

function funcOut(e:MouseEvent) {
   trace(e.target.name);
   bn1.removeEventListener(Event.ENTER_FRAME,func);
}

function func(e:Event) {
   trace(Running as long as mouse is over...);
}

On Fri, Apr 23, 2010 at 1:24 PM, Lehr, Theodore
ted_l...@federal.dell.com wrote:
 How can I have a function called as long as MOUSE_OVER

 I am trynig:

 bn1.addventListener(MouseEvent.MOUSE_OVER,func);

 function func(e:Event) {
    trace(e.target.name);
 }

 I would like it to fire off as long as the mouse is over
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread ekameleon
Hello :)

you can try MouseEvent.MOUSE_MOVE or you can use Event.ENTER_FRAME, you run
the enterFrame in the mouseOver event and you stop it with the mouseOut.

EKA+ :)

2010/4/23 Lehr, Theodore ted_l...@federal.dell.com

 How can I have a function called as long as MOUSE_OVER

 I am trynig:

 bn1.addventListener(MouseEvent.MOUSE_OVER,func);

 function func(e:Event) {
trace(e.target.name);
 }

 I would like it to fire off as long as the mouse is over
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] skew and perspective

2010-04-23 Thread Lehr, Theodore
Any quick ways to skew an image and add some perspective via as3? I have found 
some stuff online but it looks old
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Lehr, Theodore
Thanks!


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ekameleon 
[ekamel...@gmail.com]
Sent: Friday, April 23, 2010 1:41 PM
To: Flash Coders List
Subject: Re: [Flashcoders] addEventListener - repeat function call

Hello :)

you can try MouseEvent.MOUSE_MOVE or you can use Event.ENTER_FRAME, you run
the enterFrame in the mouseOver event and you stop it with the mouseOut.

EKA+ :)

2010/4/23 Lehr, Theodore ted_l...@federal.dell.com

 How can I have a function called as long as MOUSE_OVER

 I am trynig:

 bn1.addventListener(MouseEvent.MOUSE_OVER,func);

 function func(e:Event) {
trace(e.target.name);
 }

 I would like it to fire off as long as the mouse is over
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] skew and perspective

2010-04-23 Thread Henrik Andersson

Lehr, Theodore wrote:

Any quick ways to skew an image and add some perspective via as3? I have found 
some stuff online but it looks old


Let's see here, we have traditional skewing by transformation matrix, we 
have the z property and we have the option to use a 3d transformation 
matrix, yeah, I think we got everything covered.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] skew and perspective

2010-04-23 Thread Merrill, Jason
Papervision3d. :) 


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr,
Theodore
Sent: Friday, April 23, 2010 1:49 PM
To: Flash Coders List
Subject: [Flashcoders] skew and perspective

Any quick ways to skew an image and add some perspective via as3? I have
found some stuff online but it looks old
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Merrill, Jason
I would recommend using the Timer class instead of the EnterFrame event.  Timer 
gives you more control, less overhead, more elegant.  

Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our Instructional 
Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ekameleon
Sent: Friday, April 23, 2010 1:41 PM
To: Flash Coders List
Subject: Re: [Flashcoders] addEventListener - repeat function call

Hello :)

you can try MouseEvent.MOUSE_MOVE or you can use Event.ENTER_FRAME, you run the 
enterFrame in the mouseOver event and you stop it with the mouseOut.

EKA+ :)

2010/4/23 Lehr, Theodore ted_l...@federal.dell.com

 How can I have a function called as long as MOUSE_OVER

 I am trynig:

 bn1.addventListener(MouseEvent.MOUSE_OVER,func);

 function func(e:Event) {
trace(e.target.name);
 }

 I would like it to fire off as long as the mouse is over
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] can't get swfObject flashvars to work

2010-04-23 Thread Mendelsohn, Michael
Hi list...

I'm trying to pass along navigator.userAgent to flahsvars through swfObject and 
I can't get it to work.  Here's what I have:

script type=text/javascript
var flashvars = {};
flashvars.navUA = navigator.userAgent;
var params = {};
params.allowScriptAccess = true;
swfobject.embedSWF(mySWF.swf, myswf, 660, 510, 9.0.28, false, 
flashvars, params, {});
/script

In the document class in the swf, I have this line:
ExternalInterface.call(getVar, root[navUA]);

I'm getting nothing.  Anyone know of a working technique?

Thanks!
- Michael M.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] can't get swfObject flashvars to work

2010-04-23 Thread Merrill, Jason
FlashVars should be available immediately when your .swf runs.  AFAIK,
you don't call them via ExternalInterface - which is more for calling
Javascript.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
Mendelsohn, Michael
Sent: Friday, April 23, 2010 2:38 PM
To: Flash Coders List
Subject: [Flashcoders] can't get swfObject flashvars to work

Hi list...

I'm trying to pass along navigator.userAgent to flahsvars through
swfObject and I can't get it to work.  Here's what I have:

script type=text/javascript
var flashvars = {};
flashvars.navUA = navigator.userAgent;
var params = {};
params.allowScriptAccess = true;
swfobject.embedSWF(mySWF.swf, myswf, 660, 510, 9.0.28,
false, flashvars, params, {}); /script

In the document class in the swf, I have this line:
ExternalInterface.call(getVar, root[navUA]);

I'm getting nothing.  Anyone know of a working technique?

Thanks!
- Michael M.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Matt S.
Although its not as accurate as is sometimes believed:

Programming with Timers: Don’t be fooled.
http://www.bit-101.com/blog/?p=910

On Fri, Apr 23, 2010 at 2:21 PM, Merrill, Jason
jason.merr...@bankofamerica.com wrote:
 I would recommend using the Timer class instead of the EnterFrame event.  
 Timer gives you more control, less overhead, more elegant.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Merrill, Jason
Yes, although he says in that post, So I'm not saying it's a bad thing [to use 
the Timer class], just realize that timers are susceptible to being slowed down 
by intensive code and slow CPUs, just like enterFrame is.



Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our Instructional 
Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S.
Sent: Friday, April 23, 2010 2:53 PM
To: Flash Coders List
Subject: Re: [Flashcoders] addEventListener - repeat function call

Although its not as accurate as is sometimes believed:

Programming with Timers: Don't be fooled.
http://www.bit-101.com/blog/?p=910

On Fri, Apr 23, 2010 at 2:21 PM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:
 I would recommend using the Timer class instead of the EnterFrame event.  
 Timer gives you more control, less overhead, more elegant.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Quick question about dynamic groupings

2010-04-23 Thread Eric E. Dolecki
Hey all,

I am beginning the authoring a class to manage objects dynamically. The main
functionality is to group/ungroup the objects. I was thinking of starting
out by having each object be it's own group.

[{id:1, name:foo, group:1}, {id:2, name:bar, group:2}, {id:3,
name:mustaine, group:3}];

And then be able to move them in and out of group objects in the class  be
able to report them back to another class, etc.

Is this the best way to handle it - would internal XML be better, or is an
array of objects that gets manipulated around a better solution?

Eric
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Henrik Andersson

Merrill, Jason wrote:

Yes, although he says in that post, So I'm not saying it's a bad thing [to use the 
Timer class], just realize that timers are susceptible to being slowed down by intensive 
code and slow CPUs, just like enterFrame is.


There is also the fact that no matter how accurate they end up being, 
they will not sync to the rendering. Use enterframe if it matters how 
many frames has been displayed since the last time.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Quick question about dynamic groupings

2010-04-23 Thread Merrill, Jason
In my opinion, instead of anonymous objects with values that are not typecast, 
it's best to create ValueObjects (VOs, also called Data Transfer Objects or 
DTOs) - which are basically simple classes that have no constructor, no methods 
at all (maybe a getter or setter if you prefer) - just a class to store public 
properties.  So for those, I would write a VO class like this:

package
{
class MyVO
{
public var id:int;
public var name:String;
public var group:Number;
}
}

(you can also set default values this way if you like). If you end up writing 
functions in your VO classes, you're doing something wrong and missing the 
point of VOs.

Then, all you have to do is create them:

var myVO:MyVO = new MyVO();
myVO.id = 4;
myVO.name = foo;
myVOP.group = 7;

Throw those into an array and you're set.  You can pass VOs through events, 
manage them in the model, have your other classes accept VOs, whatever. It's 
what Cairngorm and other design patterns use to move groups of related data 
around inside an application. This also allows for code completion on your VO 
in apps like Flexbuilder and FlashDevelop. What I typically do is load in XML 
data and create VOs from that (in my Model class) to use in my app.  I wouldn't 
recommend using XML calls throughout your app, because then your app relies on 
XML and it's structure.  With VOs, the data source can change (say you switch 
from XML to a Webservice) and your app doesn't break.  All you have to do is 
change the parsing of the data into VOs in your model.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our Instructional 
Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki
Sent: Friday, April 23, 2010 3:22 PM
To: Flash Coders List
Subject: [Flashcoders] Quick question about dynamic groupings

Hey all,

I am beginning the authoring a class to manage objects dynamically. The main 
functionality is to group/ungroup the objects. I was thinking of starting out 
by having each object be it's own group.

[{id:1, name:foo, group:1}, {id:2, name:bar, group:2}, {id:3, 
name:mustaine, group:3}];

And then be able to move them in and out of group objects in the class  be 
able to report them back to another class, etc.

Is this the best way to handle it - would internal XML be better, or is an 
array of objects that gets manipulated around a better solution?

Eric
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Quick question about dynamic groupings

2010-04-23 Thread Eric E. Dolecki
Interesting take - thank you for your feedback. I don't think I would have
considered something like that. I think FB4 will like this approach as well.

Eric

On Fri, Apr 23, 2010 at 3:52 PM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 In my opinion, instead of anonymous objects with values that are not
 typecast, it's best to create ValueObjects (VOs, also called Data Transfer
 Objects or DTOs) - which are basically simple classes that have no
 constructor, no methods at all (maybe a getter or setter if you prefer) -
 just a class to store public properties.  So for those, I would write a VO
 class like this:

 package
 {
class MyVO
{
public var id:int;
public var name:String;
public var group:Number;
}
 }

 (you can also set default values this way if you like). If you end up
 writing functions in your VO classes, you're doing something wrong and
 missing the point of VOs.

 Then, all you have to do is create them:

 var myVO:MyVO = new MyVO();
 myVO.id = 4;
 myVO.name = foo;
 myVOP.group = 7;

 Throw those into an array and you're set.  You can pass VOs through events,
 manage them in the model, have your other classes accept VOs, whatever. It's
 what Cairngorm and other design patterns use to move groups of related data
 around inside an application. This also allows for code completion on your
 VO in apps like Flexbuilder and FlashDevelop. What I typically do is load in
 XML data and create VOs from that (in my Model class) to use in my app.  I
 wouldn't recommend using XML calls throughout your app, because then your
 app relies on XML and it's structure.  With VOs, the data source can change
 (say you switch from XML to a Webservice) and your app doesn't break.  All
 you have to do is change the parsing of the data into VOs in your model.


 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)






 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki
 Sent: Friday, April 23, 2010 3:22 PM
 To: Flash Coders List
 Subject: [Flashcoders] Quick question about dynamic groupings

 Hey all,

 I am beginning the authoring a class to manage objects dynamically. The
 main functionality is to group/ungroup the objects. I was thinking of
 starting out by having each object be it's own group.

 [{id:1, name:foo, group:1}, {id:2, name:bar, group:2}, {id:3,
 name:mustaine, group:3}];

 And then be able to move them in and out of group objects in the class  be
 able to report them back to another class, etc.

 Is this the best way to handle it - would internal XML be better, or is an
 array of objects that gets manipulated around a better solution?

 Eric
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] can't get swfObject flashvars to work

2010-04-23 Thread Jared

 try root.loaderinfo.parameters

Sent from my iPhone

On Apr 23, 2010, at 11:37 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com 
 wrote:



Hi list...

I'm trying to pass along navigator.userAgent to flahsvars through  
swfObject and I can't get it to work.  Here's what I have:


script type=text/javascript
   var flashvars = {};
   flashvars.navUA = navigator.userAgent;
   var params = {};
   params.allowScriptAccess = true;
   swfobject.embedSWF(mySWF.swf, myswf, 660, 510, 9.0.28,  
false, flashvars, params, {});

/script

In the document class in the swf, I have this line:
ExternalInterface.call(getVar, root[navUA]);

I'm getting nothing.  Anyone know of a working technique?

Thanks!
- Michael M.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders