Re: [Flashcoders] DHTML menus overlaying Flash elements

2007-04-20 Thread Geoff Stearns

er, that should have been:

swf.addParam(wmode, opaque);


On Apr 20, 2007, at 6:21 PM, Riley, Jason wrote:

On the site I am working on, there is an OpenCube DHTML menu system  
that
when moused over causes the drop down menus to overlay on a large  
Flash
element. How can I make it so the menus sit on top of the Flash  
element
rather than behind it? Is this a setting in the Flash file or do I  
need to
do it through the code? If through the code are there any snippets  
somewhere

on this?

Despite the fact that this is likely an old topic, I cannot find much
information on it.


___
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: [Flashcoders] eolas fix for IE7

2007-04-03 Thread Geoff Stearns
even older versions should work fine (i think we were testing it in  
ie7 all the way back to 1.3 or so) - but using the very latest is  
always a good idea.





On Apr 3, 2007, at 12:44 PM, eka wrote:


Hello :)

you use the last version of SWFObject ? (1.5)

http://blog.deconcept.com/swfobject/

EKA+ :)

2007/4/3, Adrian Lynch [EMAIL PROTECTED]:


I'm using it and it works. Got any code to have a look at. Maybe  
you're

using it differently.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of  
Matthew

Ganz
Sent: 03 April 2007 17:20
To: Flashcoders mailing list
Subject: [Flashcoders] eolas fix for IE7


hi.

i've tried implementing the eolas fix using the flashobject.js  
method and
swfobject.js method and they both work for IE6 but not for IE7. is  
there a

different fix needed for IE7?

thanks. -- matt.

___
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


___
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] eolas fix for IE7

2007-04-03 Thread Geoff Stearns
you don't need anything in the /source folder - it's just there so  
you can see the code in an uncompressed way, or if you want to modify  
the expressinstall.swf files.


you only need swfobject.js and (optionally) expressinstall.swf


On Apr 3, 2007, at 12:48 PM, Matthew Ganz wrote:

my foolish mistake. i only had the swfobject.js file and i didn't  
put the swfobject_source.js file into the 'source' directory as  
well as all the other expressInstall files that are included in the  
fix. it's working now.


thanks. matt.
- Original Message - From: Adrian Lynch  
[EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 03, 2007 12:34 PM
Subject: RE: [Flashcoders] eolas fix for IE7


I'm using it and it works. Got any code to have a look at. Maybe  
you're

using it differently.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of  
Matthew

Ganz
Sent: 03 April 2007 17:20
To: Flashcoders mailing list
Subject: [Flashcoders] eolas fix for IE7


hi.

i've tried implementing the eolas fix using the flashobject.js  
method and
swfobject.js method and they both work for IE6 but not for IE7. is  
there a

different fix needed for IE7?

thanks. -- matt.

___
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


___
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] eolas fix for IE7

2007-04-03 Thread Geoff Stearns
that code looks fine to me, are you testing this on a web server? IE  
has different security restrictions for local files vs. internet  
based files, so it's always best to test it on a web server.





On Apr 3, 2007, at 1:37 PM, Matthew Ganz wrote:

actually, all of a sudden it's not working again. here's the code i  
have on my html page:


html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en

head

meta http-equiv=Content-Type content=text/html;  
charset=iso-8859-1 /


titlehome/title

script type=text/javascript src=javascript/swfobject.js/script

/head

body bgcolor=#ff


div id=flashcontent

This text is replaced by the Flash movie.

/div

script type=text/javascript

var so = new SWFObject(home.swf, mymovie, 100%, 100%, 8,  
#FF);


so.addParam(scale, NOSCALE);

so.write(flashcontent);

/script

/body

/html

- Original Message - From: Geoff Stearns  
[EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 03, 2007 12:59 PM
Subject: Re: [Flashcoders] eolas fix for IE7


even older versions should work fine (i think we were testing it  
in  ie7 all the way back to 1.3 or so) - but using the very latest  
is  always a good idea.





On Apr 3, 2007, at 12:44 PM, eka wrote:


Hello :)

you use the last version of SWFObject ? (1.5)

http://blog.deconcept.com/swfobject/

EKA+ :)

2007/4/3, Adrian Lynch [EMAIL PROTECTED]:


I'm using it and it works. Got any code to have a look at.  
Maybe  you're

using it differently.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of   
Matthew

Ganz
Sent: 03 April 2007 17:20
To: Flashcoders mailing list
Subject: [Flashcoders] eolas fix for IE7


hi.

i've tried implementing the eolas fix using the flashobject.js   
method and
swfobject.js method and they both work for IE6 but not for IE7.  
is there a

different fix needed for IE7?

thanks. -- matt.

___
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


___
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


___
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] flash player 9 debugger version detection issues

2007-04-02 Thread Geoff Stearns
i adjusted the detection in swfobject to account for debug players in  
the last update (1.5) which may explain why my test site works and  
youtube doesn't.


but they should still detect that you have a version  7 which is  
what all their videos are encoded for...


are you using firefox or IE? and are you on XP or OS X? Have you  
tried running the uninstaller and then reinstalling it?





On Apr 1, 2007, at 11:48 PM, Ivan Todorov | BLITZ wrote:


Hey Guys,



During the Flex 2 Trial installation I was prompted to replace my
regular Flash Player 9 with the Flash Player 9 Debugger version.  
Since a

lot of detection scripts are failing all over the net including:



SWFObject 1.4 on YouTube - claims I have no Flash Player

AC_OETags.js used all over the place - including when I tried to check
out the Flex PM app: http://radscientist.com/flexpm/demo/ - and -
http://codeazur.com.br/stuff/fc64_final/



However, these sites work fine:

http://blog.deconcept.com/swfobject/swfobject.html

http://www.adobe.com/products/flash/about/



Any ideas of what may be causing the Debugger version to cause  
problems

with detection scripts?



Thx,

Ivan









___
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: [Flashcoders] Site check - Javascript errors (can't figure out)

2007-03-21 Thread Geoff Stearns
can you expand on the problems you had with swfobject? i haven't seen  
any problems like you described while using it.





On Jan 29, 2007, at 5:48 PM, Patrick Lemiuex wrote:


Hey guys and girls:

I am having an issue with javascript flash detection and using  
javascript methods from html form elements to target methods in my  
swf movie.   This is working in Firefox, however in IE i get errors  
on the page.


I'm using the factory adobe flash detection script. ( I tried  
swfobject  - which resets our session and a couple different  
document write methods, all of them have issues)


Can anybody give me a suggestion on this one?

http://me.com/_meslide

Why does not internet explorer have to suck so bad anyway?  I'm a  
javascript luddite anyway.


Thanks,
Patrick
___
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: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Geoff Stearns
I think most people should be very interested in these results, even  
if they don't know it yet.



On Mar 21, 2007, at 11:14 AM, Francis Bourre wrote:


hello!

As I know, I didn't ask ppl to test an application or a site I made.
That's a test that to enlight the fact that EventDispatcher behaves  
weird on mac player.
I think ppl should be interested by these results mac vs pc/linux,  
don't you think ? :)


francis

Le 21 mars 07 à 15:15, Merrill, Jason a écrit :


http://osflash.org/flashcoders/etiquette
___
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: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Geoff Stearns
there's an old article on the adobe dev center that talks all about  
this... go check it out:


http://www.adobe.com/devnet/flash/articles/bitwise_operators.html



On Mar 21, 2007, at 2:21 PM, Alias™ wrote:


Hi guys,

This is annoying me - I'm just trying to get the seperate RGB
component values out of a hex number, then manipulate and reconstruct
them.

var col = 0xFF;

r = col  16;
g = col  8 % 255;
b = col % 255;
trace(r=+r.toString(16));
trace(g=+g.toString(16));
trace(b=+b.toString(16));

col2 = r 16 + g  8 + b;
trace(col2=+col2.toString(16));

Anyone got any idea why this isn't working right? My blue values are
doing all sorts of wierd stuff - getting smaller, flipping out etc -
is it a modulo problem maybe? Should be simple but this always gets
me...

Any help much appreciated,
Alias
___
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: [Flashcoders] shared object default size limit

2007-03-16 Thread Geoff Stearns
the default is 100k, so if you need less than that, you don't need to  
call flush()



On Mar 14, 2007, at 4:44 PM, Matthew Ganz wrote:


hi.

is there a default size for a shared object? i know thru the  
settings you can set it to different values, but when i test a  
flash app that wants to set one, it says the app is requesting 10KB  
of space.


i also read in the flash help glossary that shared objects can be  
created up to a maximum of 100K of data per domain.


thanks. -- matt.
___
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: [Flashcoders] Q: Differences in Mozilla vs IE player...why?

2007-03-16 Thread Geoff Stearns

most performance differences are negligible between the players.

if you are seeing bugs because of slow code execution, you are  
probably writing some Very Bad Code and should consider changing the  
way your app is put together (eg. use callbacks for when dependancies  
finish, etc.)


The getURL issue is odd - are you trying to open two new browser  
windows at the same time or change multiple frames/iframes on a page?  
You could easily call a single javascript function that opens the two  
windows for you instead.


And if you are using it to call javascript, you should be looking  
into the ExternalInterface class instead of using the getURL to call  
javascript (if you are targeting flash player  8, then look into the  
flash/javascript integration kit, which will queue up your js calls  
so they don't get skipped like that)







On Mar 16, 2007, at 6:32 AM, [EMAIL PROTECTED] wrote:


Hi
Though I'd ask the flash community their opinion since this has  
been on my mind lately and has caused no shortage of grief.


Perhaps the title of my post should be 'Why is the Mozilla/Firefox  
Flash Player plugin so much better?'


One thing I've noticed is that an iidentical flash app played in  
both Firefox and IE doesn't always play the same. If there are  
'bugs', they can usually be traced to timing diffences.


In my expereince code/loops seem to execute much slower in the IE/ 
plugin and also there is the 'geturl' bug (or is this a feature?)  
wherby simultaneous geturl calls are correctly resolved in Firefox  
but IE only recognizes the last one.


I'm not a C coder but to me, it would make sense to make it a HUGE  
priority to ensure both versions of the plugin perform identically,


Any thoughts?


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
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: [Flashcoders] xml parse question

2007-03-15 Thread Geoff Stearns
all the attributes are in the attributes object, so you can just do a  
for...in loop and grab them all.


example:

for(a in xObj.attributes) {
obj[a] = xObj.attributes[a];
}



On Mar 15, 2007, at 12:19 AM, Carl Welch wrote:


What if I don't know what the names are going to be? How can I check
how many attributes are in a node? is there anything like
XMLNode.attributes.length (I know that's wrong...) so I can loop
through and find out their names?

--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]

On 3/14/07, Andrew Wright [EMAIL PROTECTED] wrote:

XMLNode.attributes.imageID
XMLNode.attributes.img
XMLNode.attributes.text

etc
 Hi coders,

 I just started working on a new project that is requiring me to  
handle

 an xml format that I haven't had to deal with yet.

 Here is an example of what it looks like:

 image imageID=halLogin img=hal.png text=
 Font=Black,8,Regular,AlignLeft onPanel=true xPos=0.25
 yPos=0.112 /

 I'm used to parsing xml that looks like this:

 something
 blahfoo/blah
 /something

 How do I parse xml that looks like the first example with multiple
 values inside of a single node?

 Thanks.

___
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


___
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] Internet Explorer Problem

2007-03-14 Thread Geoff Stearns

this might help you out:

http://blog.deconcept.com/2006/12/08/corrupt-flash-player-install- 
after-ie-7-upgrade/




On Mar 14, 2007, at 3:03 PM, Juan Anzaldo wrote:

Hi I am using the  swfobject  object from deconcept, and I have a  
strange behavior in some Internet Explorer web browsers, in

some navigators everything works correctly, but in others it appears
the message that or this not installed or does not accept  
Javascript, but

the configurations of the navigator in those machines are the correct
one, have correctly qualified the Javascript options (enable),
What can i do to see where is the problem?
thanks
Ing. Juan Anzaldo
Tel Cel. 614 427-6523
Blog : http://janzaldo.wordpress.com

- Original Message 
From: hank williams [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 14, 2007 9:38:45 AM
Subject: Re: [Flashcoders] Site Check

got all the way through.

On 3/14/07, Adrian Lynch [EMAIL PROTECTED] wrote:


Could I get some of you to check this site:

http://www.simon-mills.co.uk/test/

Some people are saying that it gets stuck at 1% or 2%. Can anyone  
confirm

this?

Cheers.

Adrian Lynch

___
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









__ 
__

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
___
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: [Flashcoders] flash / ajax

2007-03-14 Thread Geoff Stearns
I have an example I never officially released, and i remember seeing  
another example on another blog somewhere.


it's pretty easy to set up, just do a loadvars and pass the raw data  
back to js and it works very similarly to the native xmlhttprequest.




On Mar 14, 2007, at 1:28 PM, bruce wrote:


hi...

looking at implementing an ajax widget and wanted to know if anybody's
combined ajax and flash to be able to implement a cross-domain  
solution?


thanks

-bruce

___
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: [Flashcoders] Flash / Flex specific search engine

2007-03-08 Thread Geoff Stearns

you guys should have it show the number of results under each tab.

it looks like you get no results at all when you search for something  
that's not in the livedocs, but is under other tabs.


or maybe just some indication that there are other results in the  
other tabs?




On Mar 7, 2007, at 11:57 AM, Merrill, Jason wrote:




http://www.gotswf.com

Feedback appreciated.


Trying to figure out what this is - what does Flash / Flex specific
search engine mean?  I went to the site, but still not sure how this
different from a regular search engine (other than that is has far far
less contents/links from search results).

Jason Merrill
Bank of America
Global Technology  Operations, Learning  Leadership Development
eTools  Multimedia Team



___
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: [Flashcoders] Global functions

2007-03-08 Thread Geoff Stearns
a good way to do this would be to make a static class for your  
tracking stuff.


then you can do things like:

StatsTracker.trackPage(url);

from any class or timeline (assuming you import the class first, etc.  
etc.)


then you can use ExternalInterface to make the js call to your  
tracking function.




On Mar 8, 2007, at 5:31 PM, Glen Pike wrote:


Hi,

   I am trying to wrap the getURL function in order to track  
outgoing links using Google analytics...


   e.g.

   function getURLTracked(url, window, method) {
   getURL(url, window);
   getURL(javascript:alert('+ url+'));
  //getURL(javascript:urchinTracker('/app/ + url +'););
 }

   I would like to create a global function that is available to  
AS2 classes and the timeline


   I have tried to write it in an external file and #include this  
file in the constructor of my classes, but still don't get the  
function in scope at compile time.


   Apart from writing a method in my class, which I would have to  
repeat for a few different classes, is there a way of making this  
function available to the timeline and the AS2 classes in one foul  
swoop?


   I have a core application and lots of loaded SWF's with nasty  
timeline buttons to track...

 Thanks

   Glen

___
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: [Flashcoders] Flash / Flex specific search engine

2007-03-07 Thread Geoff Stearns
i searched for swfobject and got a few results. none were the  
official page. that made me sad :(



On Mar 7, 2007, at 11:04 AM, Steve Drucker wrote:



http://www.gotswf.com

Feedback appreciated.

Regards,
Steve Drucker
CEO
Fig Leaf Software
www.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


___
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] swf/html and swf/swf communication

2007-02-27 Thread Geoff Stearns
localconnection i believe is supported in all the browsers - as long  
as you have the minimum flash player requirement (i think flash  
player 6 was the first one to add support?)



as for the getURL question: if you are using flash player 8 or higher  
you should be using external interface, which i don't think has a  
limit (or if it does, it's a very high limit).


BUT, that said, you shouldn't really put javascript code into your  
swfs like that, it's much smarter to put the js code in your html  
page, and then simply call the js functions from your swf when you  
need them to do something.



On Feb 26, 2007, at 3:32 AM, Martin Klasson wrote:




Hi Flashcoders,

I have been searching around, but not found it to be that easy to  
get answers. I know that you people

here tends to know everything, so I will ask you.

first question:
Is LocalConnection the only way to talk between two swf's in a  
browser (when NOT using javascript),
and are there a list of browsers/os that supports this? In my case  
it I will have two swf's on the same
html-page. -or is there a list of browsers/os that LocalConnection  
does NOT work on?



second question:
Inline javascript in flash, are there any problems with that? I  
mean using javascript in a getURL to make
it for example write out another swf in a div. I have used  
javascript to open popups directly from a
getURL -but is there any known limitations of writing javascript in  
the getURL? Maybe the 99 character-bugg

still is there in Flash as well?


Thanks mates!

___
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: [Flashcoders] FMS 2.0 Flash 8 Flv Player Continues Playback after Window Close

2007-01-30 Thread Geoff Stearns
this is a sort-of-known issue - i don't think adobe ever posted a  
knowledge base article about it, but they implemented a fix for it in  
flash player 9 (which was buggy)


i replied to your post here:

http://blog.deconcept.com/swfobject/forum/discussion/123/fms-20- 
flash-8-flv-player-continues-playback-after-window-close/





On Jan 30, 2007, at 5:04 PM, Jeff Harrington wrote:


Hey Andy,

Wow... and duh...  Thanks for making me look at it again, I was
modifying the onunload code for something which gets pushed into a
sub-div.  That fixed it!  The onunload videoController.destroy method
just wasn't getting called.  Thanks for making me reexamine my code.

Ouch!  Still a weird problem though.  This video playback must be  
pretty

deeply-embedded code in the OS.  (This was an IE only problem fwiw).

Jeff

Andy Herrman wrote:

Could you put some javascript in the window the movie actually plays
in (you said it's a browser window, so I'm guessing javascript is
doable) that detects when the window is closed and sends a message to
the Flash movie?  The flash movie can then detect that and stop
playing?

That is weird that it's not stopping when the window is closed.  I
figured the Flash player would shut down the movie once the window
containing it is gone.

  -Andy

On 1/30/07, Jeff Harrington [EMAIL PROTECTED] wrote:

Hi, the guys on the FMS list quasi-suggested I contact you guys as
you might have encountered similar playback enigmae?

I've been working around some strange errors in NetStream codes
(InvalidArg) which prevents seeks from working sometimes and now  
I've
created a player that just will not stop playing the stream until  
the

complete browser - every window - it's in a child window - is
closed.  I'm closing 3 windows to get the stream to stop playing.

What can I do to insure that a browser window close will shut down
the stream?  I've created destroy methods in my AS but they don't
seem to be getting called at least as long as the parent window is
open.  The player is in a child window.

Thanks for any suggestions...

Jeff Harrington
[EMAIL PROTECTED]


___
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




___
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: [Flashcoders] swfObject+externalinterface

2007-01-24 Thread Geoff Stearns
should be fine, do you have any other elements with the same id as  
your movie (mymovie) or is your swf inside a form?




On Jan 24, 2007, at 6:57 AM, Andreas R wrote:

I'm having some trouble catching EI calls when using swfObject,  
anyone else got this working?


div id=flashcontent
 This text is replaced by the Flash movie.
/div
script type=text/javascript
  var so = new SWFObject(display.swf, mymovie, 200, 100,  
7, #336699);

  function sayHello(){
   alert(hello);
  }
  so.write(flashcontent);
/script

where display.swf has this:

testButton.onPress = function(){
   ExternalInterface.call(sayHello);
}
no go for me :(

- A
___
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: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Geoff Stearns

wow you are all making this much harder than it has to be.

If you use SWFObject to embed your swfs, it has a built in function  
that grabs vars from the url string.


an example:

var so = new SWFOBject(mymovie.swf, mymovie, ...);
so.addVariable(myvar, getQueryParamValue(myurlvar));
so.addVariable(myothervar, getQueryParamValue(myotherurlvar));
so.write(target);

get it here:
http://blog.deconcept.com/swfobject/




On Jan 24, 2007, at 4:12 PM, iashido wrote:

dont know in asp (but on my prev research i found many simple .asp  
examples on google)


look at the url then in flash i have sn and fe variables that will  
be filled onfly when u swf its loaded


http://www.iashido.com/test/test.php?sn=34fe=var2

u can use get them in swf like that whatever.com/flash.swf? 
var1=value1var2=value2varn=valuen (its ugly but works :)

or javascript might save your day (search archives/google)







itseveryday.ro
iashido.com



On Jan 24, 2007, at 10:48 PM, Gustavo Duenas wrote:

I don't  think this guys have the phpdo you know how can I use  
this in html?



regards

Gustavo
On Jan 24, 2007, at 3:41 PM, iashido wrote:


sometime i use this ald allways work:

... VALUE=voila.swf?sn=?php print $_GET['sn']; ?fe=?php  
print $_GET['fe']; ? PARAM...


...
PARAM NAME=movie VALUE=voila.swf?sn=?php print $_GET['sn']; ? 
fe=?php print $_GET['fe']; ? PARAM NAME=menu VALUE=false  
PARAM NAME=quality VALUE=high PARAM NAME=bgcolor  
VALUE=#FF EMBED src=voila.swf?sn=?php print $_GET['sn']; ? 
fe=?php print $_GET['fe']; ? menu=false quality=high  
bgcolor=#FF  WIDTH=100% HEIGHT=100% NAME=voila  
ALIGN= ...


then i changes the .html into .php

and i have whatever.php?sn=value1fe=value2

and i have in flash variable sn and fe and amm as many as u want


hope this is what ur looking for







itseveryday.ro
iashido.com



On Jan 24, 2007, at 10:26 PM, Joshua Sera wrote:


You need to pass the variables in the GET query to
flashvars in the object tag. You'll have to use
JavaScript to write out the object tag, and insert the
variables in the right place.


--- Gustavo Duenas [EMAIL PROTECTED]
wrote:


Hi Guys, I'm really concerned for this, Iknow this
might be easy for
you, but I'm knocking my head against the wall.
This is the code in the action script:


var video1 = nbc6;
var video = _root.video;
if (video1 = video){
tellTarget(this.videoLoader){
gotoAndPlay(2);
}
}


and this is the link in the text message:

fullpage.html?video=nbc6

I'd appreciate your help.



Thanks


Gustavo Duenas
___
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






___ 
_

Looking for earth-friendly autos?
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
___
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




___
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


___
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] Embed JS for flash 9 content

2007-01-23 Thread Geoff Stearns
Can you give more details on the 'invalidate our php session in IE'  
problem you mentioned?


Many people use SWFObject with PHP, and I've never heard of a problem  
like this before.





On Jan 21, 2007, at 1:52 PM, {reduxdj} wrote:


Hi There,

I'm using a document write tag in js to avoid the click to activate  
crap.  I'm developing for flash 9 content.  Do you know if there's  
a way to detect and redirect if flash 9 is not being used?  I tried  
using swfobject, which worked, however it would invalidate our php  
session in IE.
I can't use the build in flex/flash 9 detection because these are  
single widgets within an html page, not full browser swf's are  
something.  Here is what my code looks like.  I appreciate the help  
as javascript is not my strong suit.


Here's what I am working with:

function homepageload2()
{

   document.write('object classid=clsid:d27cdb6e- 
ae6d-11cf-96b8-44455354 codebase=http:// 
fpdownload.macromedia.com/pub/shockwave/cabs/flash/ 
swflash.cab#version=8,0,0,0 width=800 height=250 id=landing  
align=middle\n');
   document.write('param name=allowScriptAccess  
value=sameDomain /\n');
   document.write('param name=movie value=/_p/viewer/some.swf / 
param name=quality value=high /param name=bgcolor  
value=#ff /\n');
   document.write('embed src=/_p/viewer/some.swf quality=high  
bgcolor=#ff width=800 height=250 name=homepage  
align=middle allowScriptAccess=sameDomain type=application/x- 
shockwave-flash pluginspage=http://www.macromedia.com/go/ 
getflashplayer /\n');

 document.write('/object\n');
}

Thanks,
Patrick

___
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: [Flashcoders] Flash IE OCX error

2007-01-23 Thread Geoff Stearns
have you tried uninstalling the plugin (using the adobe uninstaller)  
and then reinstalling it?



On Jan 22, 2007, at 3:36 AM, Arindam Dhar wrote:


hi,

  I have encountered  flash ocx error many times which just appears  
without any hint after which I have no other option but to close  
the relevent browser.


  This is what exactly i get in the error popup,

  Internet explorer encountered a problem with addon and needs to  
close.

  The following add-on running when this problem occured
  file:   Flash9.ocx
company  :   adobe systems incorporated
Description   :Adobe flash player 9

  Has anyone faced this or has any explanation and solution?

  thanks,

  Arindam




-

 Real people. Real questions. Real answers. Share what you know.
___
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: [Flashcoders] Will the new iPhone run flash?

2007-01-15 Thread Geoff Stearns

no way, apple already has a widget engine - Dashboard.




On Jan 10, 2007, at 5:05 PM, hosey hosey wrote:


Here is a crack pipe for ya.released in June, Apollo in June
(ish)Apollo runs the widgets on iphone?

Smoke em if ya got em
Hosey

On 1/10/07, Andy Herrman [EMAIL PROTECTED] wrote:


I'm not sure if I believe that.  Analysts are saying that, but I
haven't seen any direct evidence that 3rd parties will be cut off
(haven't seen anything from apple claiming this).

I wouldn't be surprised either way.  I don't tend to install anything
on my phone as it is, so I doubt I would use it, but then again,  
there

might be some really nice things that could be added.

Though one of the arguments I've seen that suggests you *can* develop
for it is widgets.  Having a widgets engine like it seems to would be
kind of useless if people couldn't write them (I have a feeling most
of the widgets people use in OS X are 3rd party, and the phone  
would

probably be the same).

   -Andy

On 1/10/07, Merrill, Jason [EMAIL PROTECTED] wrote:
 See no third party apps about 1/4th the way down the page:


http://mobileopportunity.blogspot.com/2007/01/impact-of-apple- 
iphone.html



 Jason Merrill
 Bank of America
 Learning  Organizational Effectiveness







 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Erik Porroa / Porroa.com
 Sent: Wednesday, January 10, 2007 2:43 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Will the new iPhone run flash?
 
 I'm interested in: will Apple let the posibility to open the
 capabilites of install third parties programs like IM's?,
 Will be a special version of FlashPlayer for the iPhone?
 
 Cheers,
 Erik
 
 Merrill, Jason escribió:
  In regards to this, Adobe's John Dowdell just posted this on
  Flashcoders:
 
  No responses from other staff members, because Apple  
usually locks

  down
 
  news pretty tightly at a launch. I didn't know about this
 device until
  the keynote, myself.
 
  I *do* know that Adobe staffers are currently working on
 getting some
  good guidance out there, but the key steps of initial
 disclosure are
  really up to Apple. I put up an early i dont know up on
 the weblog
  yesterday, and added some useful third-party analysis  
overnight:
  http://weblogs.macromedia.com/jd/archives/2007/01/ 
iphone_launch.cfm

 
  Summary: No info yet, but ASAP.
 
  jd
 
 
 
 ___
 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

___
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


___
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] site check please: swfobject issues

2006-12-13 Thread Geoff Stearns

i've never heard of this happening on a mac.

i *have* heard a few reports of this behavior happening with IE7,  
which i recently outlined in this blog post:
http://blog.deconcept.com/2006/12/08/corrupt-flash-player-install- 
after-ie-7-upgrade/


but if she says she is on a mac, then maybe there is something else  
going on?





On Dec 13, 2006, at 1:18 PM, Count Schemula wrote:


Hey, could y'all visit a site I just did. Client is say her whole
family had issues accessing the site and she says it makes her
upgrade the flash player every time. She's on a Mac.

I asked her for more information, but for now, I'm just assuming that
there is something wrong.

http://www.ash-designs.com

I'm using swfobject with express install.

It was fine for me on Windows XP and FF2 and IE7.

Thanks, any feedback on access issues welcome.

--
count_schemula
___
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: [Flashcoders] Q:passing multiple argements via a getURL javascript call

2006-11-17 Thread Geoff Stearns
if you need to pass strings like that, you just have to include an  
extra set of quotes...


you could either escape another set, like this:
getURL(javascript:testfunc(\+arg+\));

or use single quotes:
getURL(javascript:testfunc('+arg+'));



On Nov 17, 2006, at 4:16 PM, [EMAIL PROTECTED] wrote:


Hi
I'm passing multiple arguments in a getURL javascript call.

Because of the way that arguments need to be enclosed in quotes I'm  
not sure about the best way for handling this




Single argument (this works)
var arg='myvar'
getURL(javascript:testfunc(+arg+));




solution 2 (doesn't work, the javascript method doesn't get called)


var myob={};

myob.prop=String

myob.value=number
getURL(javascript:testfunc(+myob+));



Anyone have some ideas?
No, I can't use External Interface;)


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
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: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Geoff Stearns
uhh, SWFObject requires you specify a version, but it's a *minimum*  
version...


so if you publised your movie as flash 7 content, you say 'this  
requires flash player 7', and swfobject takes that as '7 or higher'.


so you don't have to update anything.



On Nov 9, 2006, at 1:52 PM, Merrill, Jason wrote:

Yes, but I don't want my scripts to HAVE version detection for the  
users

who do have the Flash player, because we always know what to build for
and what version the user will have.  Since the detection script gets
copied all over the place, I don't want to update those scripts to
account for newer Flash players when we push out newer versions.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Rich Rodecker
Sent: Thursday, November 09, 2006 1:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Simple Flash player detection without

versioning?


if they dont have flash player, then they won't have the required

version

number anyway, so wouldn't the version detection scripts still work?



On 11/9/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Might be a dumb and simple answer, but is there any way to simply

detect

the presence of the Flash player in IE WITHOUT also checking for a
specific version number (IE detection only is required, not other
browsers)? The Javascript detection scripts I've seen always check

for

say Flash 7 or 8, but not for just Flash.

Reason is: In our case, all of our user base either has the Flash

player

installed of a specific common version enterprise wide, or not at

all.

I'd like a script that does not check for versions, or multiple
versions, so we don't have to update the detection script when the
enterprise pushes out a new player version to the user base.  Our
detection scripts in HTML files get pushed out and copied several

times

over to different web sites, so I don't want to have to update all

of

those later when new version of Flash get pushed out.

It's probably quite simple with Javascript, I just don't have much

time

to research it today. Thanks!

Jason Merrill
Bank of America
Learning  Organizational Effectiveness




___
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

___
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: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Geoff Stearns

I did some research into this a while back:
http://blog.deconcept.com/2006/02/27/using-alternate-content-flash/

end result: too much hassle to get the code you really want... you  
never know when browsers will update and break it in the future, or  
when some new obscure browser will come up and screw up your Flash  
content.


this other method of loading the entire page as xml is an interesting  
one, I know i've seen talk of things before, but i'm not aware of any  
big sites that actually do it.


for most 'big' projects, we'll just use a database, and output the  
page as html for the browser, and have an option to output it as  
clean xml for flash (or anything else that wants an xml feed of the  
page content). so then you don't have to worry about forward  
compatibility or rely on clientside conversion of SGML (or mangled  
html, etc.)




On Nov 9, 2006, at 2:39 PM, Ryan Potter wrote:

Not sure how complicated your html page is, but I have been playing  
with
the same idea but going at it a different way.  I just loaded the  
entire

page in as xml.  As long as the page is valid xhtml it works great.  I
realize it doesn't exactly answer your sgml question, but it should  
get you
the same effect and it doesn't rewrite your code.  Then you can  
either go

directly to the node or use xpath to navigate to it.

Just a thought.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Mike Keesey

Sent: Thursday, November 09, 2006 12:24 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Grabbing data directly from the HTML page

I was playing around with the idea of passing data from an HTML page
directly into a Flash movie via Javascript/SWFObject. One thing I  
wanted

to try was sending the text that SWFObject replaces into the Flash
movie.

In Firefox this was pretty simple. E.g., if SWFObject was replacing  
the
contents of div id=flash-content.../div, then all that was  
needed

was something in the Javascript code like:

var swfObj = new SWFObject(parameters);
swfObj.addVariable(HTML_flashContent, escape('div
id=flash-content' +
document.getElementById(flash-content).innerHTML.toString() +
/div));

Then, in Flash, the root variable HTML_flashContent can be parsed into
an XML object. This has obvious benefits for search engine  
optimization,

as well as making it so a Flash and non-Flash version of a page can be
the exact same file.

Unfortunately, though, Internet Explorer and Safari return SGML, not
XHTML, for the innerHTML property (e.g., the above div tag gets
converted to DIV id=flash-content.../DIV in IE). I made a
quick-and-dirty SGML to XHTML conversion tool to get around this,  
and it

seems to work so far.

My question is, has anybody else made an SGML to XHTML conversion tool
in ActionScript, or should I continue to refine mine and offer it for
public use when done?
―
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Ave. Ste. B
Los Angeles, California 90039


___
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


___
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] Grabbing data directly from the HTML page

2006-11-09 Thread Geoff Stearns

no javascript, just do a new XML object in flash, and load the page.

so you really just need to pass the page url into flash:

so.addVariable(currentPage, document.location.href);

then use that to do an xml.load()



On Nov 9, 2006, at 3:03 PM, Mike Keesey wrote:


That sounds *much* nicer--how do you grab the whole XHTML page in
Javascript?
―
Mike Keesey


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Ryan Potter
Sent: Thursday, November 09, 2006 11:39 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Grabbing data directly from the HTML page

Not sure how complicated your html page is, but I have been playing

with

the same idea but going at it a different way.  I just loaded the

entire
page in as xml.  As long as the page is valid xhtml it works  
great.  I

realize it doesn't exactly answer your sgml question, but it should

get

you
the same effect and it doesn't rewrite your code.  Then you can  
either

go

directly to the node or use xpath to navigate to it.

Just a thought.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Keesey
Sent: Thursday, November 09, 2006 12:24 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Grabbing data directly from the HTML page

I was playing around with the idea of passing data from an HTML page
directly into a Flash movie via Javascript/SWFObject. One thing I

wanted

to try was sending the text that SWFObject replaces into the Flash
movie.

In Firefox this was pretty simple. E.g., if SWFObject was replacing

the

contents of div id=flash-content.../div, then all that was

needed

was something in the Javascript code like:

var swfObj = new SWFObject(parameters);
swfObj.addVariable(HTML_flashContent, escape('div
id=flash-content' +
document.getElementById(flash-content).innerHTML.toString() +
/div));

Then, in Flash, the root variable HTML_flashContent can be parsed  
into

an XML object. This has obvious benefits for search engine

optimization,
as well as making it so a Flash and non-Flash version of a page  
can be

the exact same file.

Unfortunately, though, Internet Explorer and Safari return SGML, not
XHTML, for the innerHTML property (e.g., the above div tag gets
converted to DIV id=flash-content.../DIV in IE). I made a
quick-and-dirty SGML to XHTML conversion tool to get around this, and

it

seems to work so far.

My question is, has anybody else made an SGML to XHTML conversion  
tool

in ActionScript, or should I continue to refine mine and offer it for
public use when done?
―
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Ave. Ste. B
Los Angeles, California 90039


___
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


___
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: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Geoff Stearns

swfobject is only 6.7kb... it doesn't get much lighter than that.

if you *really* need something smaller (which sounds like a  
ridiculous need to me) you could take the plugin detection code from  
swfobject out and just use that. that would chop the size down to  
about 1/4 of the full size, and you could still use the version  
detection stuff. you would then have to rewrite the embed code,  
though, and that would push your file size back up anyway.




On Nov 9, 2006, at 4:10 PM, Merrill, Jason wrote:

Thanks re:swfobject, but I was hoping to keep this pretty light  -  
there

really is no simple Javascript way to do this?

Jason Merrill
Bank of America
Learning  Organizational Effectiveness






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Nick Weekes
Sent: Thursday, November 09, 2006 2:02 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Simple Flash player detection without

versioning?


Maybe you could use swfobject (pretty much industry standard  
detection

script), and then pass in the RequiredVersion var of 0?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of

Merrill,

Jason
Sent: 09 November 2006 18:53
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Simple Flash player detection without

versioning?


Yes, but I don't want my scripts to HAVE version detection for the

users who
do have the Flash player, because we always know what to build  
for and

what

version the user will have.  Since the detection script gets copied

all over

the place, I don't want to update those scripts to account for newer

Flash

players when we push out newer versions.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness







-Original Message-
From: [EMAIL PROTECTED]  
[mailto:flashcoders-

[EMAIL PROTECTED] On Behalf Of Rich Rodecker
Sent: Thursday, November 09, 2006 1:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Simple Flash player detection without

versioning?


if they dont have flash player, then they won't have the required

version
number anyway, so wouldn't the version detection scripts still  
work?




On 11/9/06, Merrill, Jason [EMAIL PROTECTED]  
wrote:


Might be a dumb and simple answer, but is there any way to simply

detect
the presence of the Flash player in IE WITHOUT also checking  
for a

specific version number (IE detection only is required, not other
browsers)? The Javascript detection scripts I've seen always  
check

for

say Flash 7 or 8, but not for just Flash.

Reason is: In our case, all of our user base either has the Flash

player

installed of a specific common version enterprise wide, or not at

all.

I'd like a script that does not check for versions, or multiple
versions, so we don't have to update the detection script when  
the

enterprise pushes out a new player version to the user base.  Our
detection scripts in HTML files get pushed out and copied several

times
over to different web sites, so I don't want to have to update  
all

of

those later when new version of Flash get pushed out.

It's probably quite simple with Javascript, I just don't have  
much

time

to research it today. Thanks!

Jason Merrill
Bank of America
Learning  Organizational Effectiveness




___
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

___
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

___
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

Re: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Geoff Stearns
sure, i think that you are making a mistake though not testing for a  
flash version number.


if you have flash 8 content, and you user has flash player 7 (or  
lower) - your method would still embed the swf into the page, and the  
user's flash player would attempt to play that swf... often resulting  
in very strange things happening. maybe some stuff won't show up,  
maybe it will show up partially, maybe it will just be an empty  
box... it depends on the content.


i completely understand your wanting to roll your own thing, that's  
why I wrote swfobject in the first place - all of the existing  
solutions weren't that great - overly bulky or too complicated to  
use, or sometimes just plain didn't work for the situations i needed.


that said, i think you should take a good look at the whole package -  
it's very small and super easy to use, and lets you rest well knowing  
that your users don't get wacky content showing up. We use it on tons  
of high profile websites every day, and thousands of other people do  
as well (go and pick just about any flash site or flash movie these  
days and view source, i bet 8/10 times you'll see swfobject there in  
the source).


it's just one file, not an entire framework or app to maintain.


On Nov 9, 2006, at 4:51 PM, Merrill, Jason wrote:

FYI - I looked in more detail at swfobject as was suggested and the  
only

think I needed to pull out of it and plug into our other detection and
embedding scripts was in the catch/try statements:

axo = new ActiveXObject(ShockwaveFlash.ShockwaveFlash);

Not specifying a version number.  Thanks to Geoff who suggested I just
pull out part of swfobject.

Re: swfobject suggestions, I think I was really trying to get down  
to a
teach me to fish, don't give me a fish kind of a thing because of  
our

IT requirements, but I found the code I needed so I can fish.  Thanks.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Thursday, November 09, 2006 4:43 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Simple Flash player detection without

versioning?



swfobject is only 6.7kb... it doesn't get much lighter than that.

if you *really* need something smaller (which sounds like a
ridiculous need to me)


Before you actually think I have a ridiculous need - I'm not  
talking
about filesize necessarily, I'm also talking about controlling   
large

amounts of sourcecode - in this case, code we didn't write - or at

least

being able to understand/navigate all of it.  And this is code that

will

be propagated to other systems and servers.  I work for a Bank, you

can

imagine what that can mean from an IT perspective. :)

Shoot me for not wanting to use swfobject out of the box and roll my

own

- but I will take a look at what we could pull out of it as you
suggested.  Thanks,

Jason Merrill
Bank of America
Learning  Organizational Effectiveness



___
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


___
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] Closing Browser Through Flash/Javascript

2006-11-08 Thread Geoff Stearns

you need to add allowscriptaccess=always to your embed code.

BUT, even with that, you might not be able to close it.. usually when  
you try to close a window you didn't open yourself, you get prompted  
by the browser... nothing you can do about that.


if you really want it to behave like an app, you should look into  
using one of the swf wrapper programs.



On Nov 8, 2006, at 8:09 AM, Holth, Daniel C. wrote:



Hello,

We are building Flash application that will be run off a CD and  
would like to have a button that closes the browser the Flash  
application is running in.  We keep getting security errors that   
'main.swf' is trying to communicate with 'index.html'.  I know that  
I can personally set these to 'always allow' but we do not want our  
clients to get any security messages.


The java script code in the html page is:

script type=text/javascript language=JavaScript name=cmifrag
function index_f_DoFSCommand(command, args){
if(command == close){
self.opener=null;
self.close();
}
}
/script

and the actionscript called by the button is:

function exit(){
fscommand(close);
}


Any help is greatly appreciated. Thanks!
-Dan

This e-mail and its attachments are intended only for the use of  
the addressee(s) and may contain privileged, confidential or  
proprietary information. If you are not the intended recipient, or  
the employee or agent responsible for delivering the message to the  
intended recipient, you are hereby notified that any dissemination,  
distribution, displaying, copying, or use of this information is  
strictly prohibited. If you have received this communication in  
error, please inform the sender immediately and delete and destroy  
any record of this message. Thank you.

___
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: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Geoff Stearns
I'm curious why you would want to. Are you taking that text and  
spitting it out as html?


As long as it's inside the Flash player, it doesn't matter what it  
looks like, as the Flash Player is acting as the browser, and no web  
browser will ever see that htmlText or have to read it.


To answer your question, though, it would just be a matter of running  
the string through a regex that makes tag + attributes lowercase [and  
removes deprecated tags].






On Oct 31, 2006, at 10:33 AM, Adrian Ionut Beschea wrote:


Hello,

The htmlText value of a textfield looks much like a jungle
Eg, a simple Verdana text :
TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Verdana  
SIZE=12 COLOR=#FFsample text/FONT/P/TEXTFORMAT


Is there a way to at least make the tags lower case ? I'm looking  
for an actionscript or php solution.


Thanks.


-
 Check out the New Yahoo! Mail - Fire up a more powerful email and  
get things done faster.

___
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: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Geoff Stearns
but html inside your flash movie doesn't need to be valid, and in  
some cases might even display wrong, since the flash player is what  
displays it, not the browser...


so trying to make htmlText that is only displayed in the flash player  
valid is a bit of a waste of time. when you validate an html page, it  
validates the html and not the stuff inside the swf.






On Oct 31, 2006, at 10:50 AM, Adrian Ionut Beschea wrote:


Hey.

I want to have content that would eventually validate to XHTML- 
Basic standards. It's for a site that will have an alternate xhtml  
version besides flash.


I know regular expressions are the way. They're  bit of a vodoo for  
me, but I'm getting there... :)



Geoff Stearns [EMAIL PROTECTED] wrote: I'm curious why you  
would want to. Are you taking that text and

spitting it out as html?

As long as it's inside the Flash player, it doesn't matter what it
looks like, as the Flash Player is acting as the browser, and no web
browser will ever see that htmlText or have to read it.

To answer your question, though, it would just be a matter of running
the string through a regex that makes tag + attributes lowercase [and
removes deprecated tags].





On Oct 31, 2006, at 10:33 AM, Adrian Ionut Beschea wrote:


Hello,

The htmlText value of a textfield looks much like a jungle
Eg, a simple Verdana text :

SIZE=12 COLOR=#FFsample text




Is there a way to at least make the tags lower case ? I'm looking
for an actionscript or php solution.

Thanks.


-
 Check out the New Yahoo! Mail - Fire up a more powerful email and
get things done faster.
___
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



-
We have the perfect Group for you. Check out the handy changes to  
Yahoo! Groups.

___
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: [Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread Geoff Stearns

I just use:

object, embed {
align: justify;
}


and that usually does the trick!*










* it's a joke. ha ha.


On Oct 31, 2006, at 3:43 PM, [EMAIL PROTECTED] wrote:



I'm working on a large commercial site that uses FP7 based content.

What are some of the arguments and/or approaches that Flash  
developers have and are using to push the transition to FP8 content?


The bottom line is really about providing the best user experience  
possible 


Jim bachalo

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
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: [Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread Geoff Stearns
not sure about accessibility changes.. but SEO changes are kinda  
pointless in most cases.. i wrote an article on flash SEO a while  
back that might interest you (and others on the list):

http://blog.deconcept.com/2006/03/13/modern-approach-flash-seo/




On Oct 31, 2006, at 4:56 PM, Micky Hulse wrote:


Merrill, Jason wrote:
Video capabilities can be a big seller - also the fact most people  
have
it now is another.  The much enhanced security of the 8 player  
could be

your Ace of Spades though.  Might be hard to convince them that the
blur, dropshadow, glow etc. effects you can do dynamically would be
worth it, but its' a shot.  I would just look at the Adobe Flash
homepage at all the new features and use that as argument.


What about accessability/use-ability/SEO-friendly aspects?

Has F8 improved these things? Or, is Flex2 the better option if the  
above things are important to a client/boss?


Got any links that talk about accessability/use-ability/SEO- 
friendly aspects and FLash?


Sorry for ignorance... I have taken a break from Flash for a bit  
now, but am still a member of the list to keep-up with the  
conversations.


Cheers,
Micky

--
 Wishlist: http://snipurl.com/vrs9
   Switch: http://browsehappy.com/
 BCC?: http://snipurl.com/w6f8
   My: http://del.icio.us/mhulse
___
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: [Flashcoders] Q: Firefox on a mac

2006-10-30 Thread Geoff Stearns
i don't understand how this would help. firefox on mac supports  
transparent wmode perhaps better than any other browser...


what we really need to help is a link to the page so we can have a  
look and see what's going on.





On Oct 30, 2006, at 3:29 PM, Steven Sacks | BLITZ wrote:

Check to see if wmode=transparent in the embed tag of the Flash  
in the

HTML.  That may be the cause of your issue, but I'm not sure exactly
what your issue is because your description is a bit vague.  If  
removing

the wmode=transparent doesn't help, can you please provide more
information or perhaps a link?
___
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: [Flashcoders] Q: Firefox on a mac

2006-10-30 Thread Geoff Stearns

no, it works well enough on firefox + safari*.

the decreased performance is true, but i beleive that's across all  
platforms.. it's just more noticeable on osx because it's already  
that much slower than PC in some cases.


but just using the param by no means would make a movie not show up  
at all.



* only with flash player 7 or higher on safari, fp6 doesn't support it


On Oct 30, 2006, at 4:50 PM, Steven Sacks | BLITZ wrote:


I may be wrong, but I thought IE on Windows is pretty much the only
browser that it works absolutely correctly on.  AFAIK, other browsers
have issues including decreased performance, etc.
___
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: [Flashcoders] swfobject - make it failproof

2006-10-30 Thread Geoff Stearns
it sounds to me like what is happening is that the user has a version  
less than flash 8 installed, so they *should* get the expressinstall  
prompt, but that probably isn't working. mostlikely the code wasn't  
implemented properly in your swf.


for the next release of swfobject i'm fixing this to make it more  
foolproof (failproof?) by using a separate swf for the expressinstall  
parts. this was mainly because it's required now for flash 9 swfs  
that use as3...


so if you are interested in testing out the new version, you are  
welcome to grab it and try it. just note that the expressinstall  
stuff works a little differently... you should be able to see how it  
works by looking at the example expressinstall.html page.


http://blog.deconcept.com/code/swfobject2.0/

if anyone else wants to try it out, feel free... we are using it here  
at schematic for a flash 9 project and haven't had any issues with it  
yet, so it appears to be pretty solid, but if anyone has any feedback  
feel free to send it along to me.





On Oct 30, 2006, at 6:22 PM, Count Schemula wrote:


For people publishing to Player 8, what steps are you taking when
swfobject + express Install fails?

For example, I don't think express install works with Flash Player 6
and some early versions of Player 7, which is causing me problems
sometimes.

I have text in the div id=flashcontent so, they _should_ see my text
links and my link to upgrade the flash player, but sometimes I'm
hearing that the flash loads, but the Player 8 features (important
stuff like the text) is not showing up.

Here is my var so:

var so = new SWFObject(images/header_01.swf, header_01, 800,
150, 8.0.23, #00, true);

so.write(flashcontent);

It mostly works, but, it's still not 100% and it's causing me strife.

--
count_schemula
___
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: [Flashcoders] [Flash Mac Widget]Transparency

2006-10-17 Thread Geoff Stearns

you mean inside dashboard?

i tried this when dashboard first came out, and I couldn't figure out  
how to get it working.




On Oct 17, 2006, at 4:54 AM, Oliver Müller wrote:


Hi,

does anyone know how to make a swf transparent within a Mac widget?
I only get white a white border though it works well in Safari.

greetings,
Olli


this is my code:

object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354
codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/ 
swflash.cab#version=8,0,0,0

width=200 height=200 id=test align=middle
param name=allowScriptAccess value=sameDomain /
param name=movie value=test.swf /param name=quality
value=high /param name=wmode value=transparent /param
name=bgcolor value=#ff /embed src=test.swf quality=high
wmode=transparent bgcolor=#ff width=200 height=200
name=test align=middle allowScriptAccess=sameDomain
type=application/x-shockwave-flash
pluginspage=http://www.macromedia.com/go/getflashplayer; /
/object
___
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: [Flashcoders] Express Install (again)

2006-10-17 Thread Geoff Stearns
there's one other issue with expressinstall, and that is if you are  
using IE, and some other program on your system is using the flash  
player .ocx file, then when you finish the upgrade, and your original  
browser window closes and the new one opens, the page will still  
think that you have the older flash player installed... so it will  
prompt to start the install all over again.


this mostly happens with people using MSN messenger with the flash  
player in it (not sure the details, but i guess they have some skins  
or something that use flash?) this causes the ocx file to be locked  
and the upgrade can't finish until they quit all the apps that use  
the flash player. then everything is fine.


as for your general issues with the upgrade: the first thing to test,  
is are you testing it on a web server? the redirect won't work if you  
are launching it from a local file - this is a common mistake people  
make when testing it.






On Oct 17, 2006, at 8:05 AM, Kurt Dommermuth wrote:


HI Toby,

Thanks for the comments.  Can I get your opinion on something?

I've gone the route of using express install because it seemed to  
be that at worst you wouldn't be redirected back.


Are there other risks?

Thanks,
Kurt

At 06:45 AM 10/17/2006, you wrote:

Can I recommend you subscribe to the SWFobject list and post this  
question

there  [EMAIL PROTECTED]

On the point of the issue you are experiencing I would have  
thought this
could have been also been influenced by browser behaviour and the  
installers

behaviour, regardless of SWFObject, infact, I doubt SWFObject has any
control over the installer or what it does after it has installed...
although that is pure guesswork!

OT: I think you will be lucky if you manage to get the express  
install to
work identically on a lot of browsers over the next year,  
especially with

IE7 coming out. Personally I would hold your horses depending on the
commercial status of the website you are attaching this  
functionality too.


Hope the ramblings help!
T


 -Original Message-
 From: [EMAIL PROTECTED]  
[mailto:flashcoders-

 [EMAIL PROTECTED] On Behalf Of Kurt Dommermuth
 Sent: 16 October 2006 18:57
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Express Install (again)

 A follow-up.

 It just worked on one and not the other.  So freakin' erratic.

 will there ever be solid flash detection?





 At 01:53 PM 10/16/2006, you wrote:

 Hello All,
 
 I've seen a few posts regarding express install/ swfObject/ ufo  
etc..

 
 I'm having a problem with both Adobe's express install scheme and
 swfObject.
 
 IE 6 works fine.
 
 Firefox (1.5.0.7) forces me to close the browser.  No redirect  
back.

 
 I've tried on two different computers.  no joy.
 
 Anyone else experience this?  Is this a known problem?  Any fix?
 
 Thanks,
 Kurt
 
 ___
 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


___
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


___
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] Express Install (again)

2006-10-17 Thread Geoff Stearns
most of my projects these days do have express install enabled, so i  
use the same code that is in the 'basic w/ express install' example.


swfobject doesn't really do much in the way of express install - all  
it does is check to see if the user needs the upgrade or not, and  
then pass some vars into your flash movie.


once the movie gets those vars, it just laods a swf from adobe and it  
takes care of the rest. you do have control over which url is passed  
into the swf, and that determines where the user is sent after the  
install is done (by default it's the current page's url, but you can  
change it by using the xiRedirectUrl attribute.


but rest assured, it does in fact work most of the time - i think the  
issues you are having are probably rare things that may be caused by  
your specific machine setup, and won't be seen by your users. there's  
hundreds (thousands?) of websites using this daily, and like you  
said, even if they aren't redirected back, they still get the updated  
player and will hopefully find their way back to your site just like  
they did in the 'old days' before express install existed.







On Oct 17, 2006, at 9:26 AM, Kurt Dommermuth wrote:


Hi Geoff,

thank you for the clarification.

so, as the creator of SWFobject, I'm sure you've put a ton of  
thought into this.  (THANK YOU!)


I want to do the best thing.  would you say Basic Flash Embed with  
Express Install allowed  is the best option?  Or does it still  
succumb to the problem you outlined below?


Basically,  what do you use?

also, yes, I did initially try testing on a local machine, but  
ultimately tested on a remote server.   The results are inconsistent.


thanks again,
Kurt


At 08:37 AM 10/17/2006, you wrote:


there's one other issue with expressinstall, and that is if you are
using IE, and some other program on your system is using the flash
player .ocx file, then when you finish the upgrade, and your original
browser window closes and the new one opens, the page will still
think that you have the older flash player installed... so it will
prompt to start the install all over again.

this mostly happens with people using MSN messenger with the flash
player in it (not sure the details, but i guess they have some skins
or something that use flash?) this causes the ocx file to be locked
and the upgrade can't finish until they quit all the apps that use
the flash player. then everything is fine.

as for your general issues with the upgrade: the first thing to test,
is are you testing it on a web server? the redirect won't work if you
are launching it from a local file - this is a common mistake people
make when testing it.





On Oct 17, 2006, at 8:05 AM, Kurt Dommermuth wrote:


HI Toby,

Thanks for the comments.  Can I get your opinion on something?

I've gone the route of using express install because it seemed to
be that at worst you wouldn't be redirected back.

Are there other risks?

Thanks,
Kurt

At 06:45 AM 10/17/2006, you wrote:


Can I recommend you subscribe to the SWFobject list and post this
question
there  [EMAIL PROTECTED]

On the point of the issue you are experiencing I would have
thought this
could have been also been influenced by browser behaviour and the
installers
behaviour, regardless of SWFObject, infact, I doubt SWFObject  
has any
control over the installer or what it does after it has  
installed...

although that is pure guesswork!

OT: I think you will be lucky if you manage to get the express
install to
work identically on a lot of browsers over the next year,
especially with
IE7 coming out. Personally I would hold your horses depending on  
the

commercial status of the website you are attaching this
functionality too.

Hope the ramblings help!
T


 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of Kurt Dommermuth
 Sent: 16 October 2006 18:57
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Express Install (again)

 A follow-up.

 It just worked on one and not the other.  So freakin' erratic.

 will there ever be solid flash detection?





 At 01:53 PM 10/16/2006, you wrote:

 Hello All,
 
 I've seen a few posts regarding express install/ swfObject/ ufo
etc..
 
 I'm having a problem with both Adobe's express install scheme  
and

 swfObject.
 
 IE 6 works fine.
 
 Firefox (1.5.0.7) forces me to close the browser.  No redirect
back.
 
 I've tried on two different computers.  no joy.
 
 Anyone else experience this?  Is this a known problem?  Any fix?
 
 Thanks,
 Kurt
 
 ___
 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 

Re: [Flashcoders] flv not playing in IE with Flash 9

2006-10-05 Thread Geoff Stearns

i thought it was funny.


On Oct 5, 2006, at 5:43 PM, Ammon Lauritzen wrote:


On 10/5/06, Ammon Lauritzen [EMAIL PROTECTED] wrote:
I'm sorry, I thought I was clearer than that. By without  
swfobject I

meant that I had also tried manually as well:


And yes, now that I look back on it, I realise that my poor attempt at
humor might not have parsed very well visually... but shrug.

Ammon
___
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: [Flashcoders] Google Adsense in Flash ...

2006-09-27 Thread Geoff Stearns

the answer I always give is this:

sure, it's possible to use javascript to extract the links and  
information that is in your adsense stuff, and put it into your flash  
movie. this is just javascript reading html and sending it to your  
flash movie.


but the real question is: does it violate google's adsense terms. and  
while I haven't read the terms myself, I do believe that other people  
have, and they have determined that this is against the terms of  
service for adsense.


so even if you do hack it together, google will probably just cancel  
your account anyway.




On Sep 27, 2006, at 11:54 AM, hank williams wrote:


On 9/27/06, Ryan Potter [EMAIL PROTECTED] wrote:
He is saying you may not need to use flash to read in the adwords  
and just

float a div above flash and put the google adwords in the div.




Every time this question gets asked, the answer is well you could  
do this...


But the question was has anybody successfully incorporated Google
Adsense Ads into their site.

It is of course, interesting to hear how people *think* they would do
it. But it is far different to speculate than to do it. And I
personally would love to hear from someone that has *actually tried*
to do it and what the issues they encountered were. The devil is in
the details. And as with all code, those details cannot be discovered
by just thinking about it.

Regards
Hank




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hank
williams
Sent: Wednesday, September 27, 2006 9:34 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Google Adsense in Flash ...

But what are the alternatives to google adwords - particularly in the
flash world. Or are you just saying money  may not be necessary. Or
perhaps get money some other way? Bank robbery perhaps?

I still dont get it.

On 9/27/06, slangeberg [EMAIL PROTECTED] wrote:
 i.e.: find an alternative!

 -Scott

 On 9/27/06, hank williams [EMAIL PROTECTED] wrote:
 
  On 9/27/06, slangeberg [EMAIL PROTECTED] wrote:
   If it's not possible, it may also not be necessary...
  
 
  ?
  ___
  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
 



 --

 : : ) Scott
 ___
 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
___
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


___
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] Associate clip with class

2006-09-19 Thread Geoff Stearns
that article was only meant for assigning a class to your _root  
timeline... I don't think he intended it to be used for other  
movieclips in the library or on stage.


for that you could just use the linkage in the library or use  
Object.registerClass()






On Sep 19, 2006, at 4:29 PM, slangeberg wrote:


I was looking at Danny's article regarding a Flash Document Class at:

http://www.dannypatterson.com/Resources/Blog/EntryDetail.cfm?id=106

And i started to wonder if people are using this to associate their  
clips on

stage with a class?

Are people doing this kind of thing (or otherwise) instead of  
setting the AS

2.0 class property in the 'linkage' dialog of their movieclips in the
library?

I just hate how it's not obvious (by linkage) which class is being  
used in
Flash 8.0. Only gets me more excited for some Flash 9.0 projects to  
come

through!

: : ) Scott
___
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: [Flashcoders] Associate clip with class

2006-09-19 Thread Geoff Stearns

it does work in flash 8.

as for clips on the stage, it does work, you just have to give the  
clip a linkage ID in the library first, and use that linkage to  
register the class to it.



On Sep 19, 2006, at 5:31 PM, slangeberg wrote:

Does Object.registerClass() work in Flash 8 (i haven't been able to  
get it
to work)?  Also, does that allow you to register more than one clip  
with a

class?

The documentation seems to point to using the Linkage setting for AS2:

* Availability: *ActionScript 1.0; Flash Player 6 - If you are using
ActionScript 2.0 classes, you can use the ActionScript 2.0 Class  
field in

the Linkage Properties or Symbol Properties dialog box to associate an
object with a class instead of using this method.


Also, I don't think it works for clips that you've dragged to the  
stage:


When an instance of the specified movie clip symbol is created by  
using
MovieClip.attachMovie() or MovieClip.duplicateMovieClip(), it is  
registered

to the class specified by theClass

Scott


On 9/19/06, Geoff Stearns [EMAIL PROTECTED] wrote:


that article was only meant for assigning a class to your _root
timeline... I don't think he intended it to be used for other
movieclips in the library or on stage.

for that you could just use the linkage in the library or use
Object.registerClass()





On Sep 19, 2006, at 4:29 PM, slangeberg wrote:

 I was looking at Danny's article regarding a Flash Document  
Class at:


 http://www.dannypatterson.com/Resources/Blog/EntryDetail.cfm?id=106

 And i started to wonder if people are using this to associate their
 clips on
 stage with a class?

 Are people doing this kind of thing (or otherwise) instead of
 setting the AS
 2.0 class property in the 'linkage' dialog of their movieclips  
in the

 library?

 I just hate how it's not obvious (by linkage) which class is being
 used in
 Flash 8.0. Only gets me more excited for some Flash 9.0 projects to
 come
 through!

 : : ) Scott
 ___
 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





--

: : ) Scott
___
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


[Flashcoders] SWFObject 2.0: What new features do you want?

2006-09-15 Thread Geoff Stearns
Hey all, I'm working on what will become SWFObject 2.0 (need to  
update it to support as3 Express Install stuff) and I wanted to get  
ideas for new features.


It currently works fine, and there aren't too many obvious things  
that could be added, but I wanted to ask and see what sort of  
'killer' feature you might want to see in it.


So if you are using it and find it lacking in any area, let me know  
what you would change or add to it. Speak up!


So far the only major change is how the Express Install functionality  
works - because of AS3 I have to put that stuff in a separate swf, so  
it will be much easier for you all to add that functionality to your  
site.



___
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] HTML in XML

2006-08-09 Thread Geoff Stearns

you just need to put the html content inside a cdata tag:

newsitem date=8/5/2006 headline=Some headline![CDATA[ Body of  
the news

article. a href=http://www.google.com;Google/a More body of the
article/newsitem  newsitem date=8/1/2006 headline=Another
headlineBody of the second article ]]/newsitem

On Aug 8, 2006, at 4:15 PM, Burns, John D wrote:


I'm having a very weird problem and I'm hoping it's something simple
that I'm overlooking. I have an xml document similar to this:

news
 newsitem date=8/5/2006 headline=Some headlineBody of the news
article. a href=http://www.google.com;Google/a More body of the
article/newsitem  newsitem date=8/1/2006 headline=Another
headlineBody of the second article/newsitem /news

The problem I'm having is that on the first article where the link is,
flash is seeing that as the end of the first node and then it skips to
the next one. I'm looping over the nodes in news and using this code:

trace(newsNode.childNodes[i].firstChild.nodeValue);

and all I would see for the first record is Body of the news article
and then it goes on to the next one. A client is maintaining news
through a flat xml file and wants to be able to add links. Am I  
missing

something simple? Is there something else I need to do? Please help.

John Burns
___
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: [Flashcoders] how to set the root directory - swf vs html?

2006-08-08 Thread Geoff Stearns
this is why i don't like putting my swf and html in different  
directories...


try using the base attribute



On Aug 8, 2006, at 11:04 AM, quinrou . wrote:


Hi,

My HTML and my flash movie live in 2 different directories. So when  
I work
in the flash IDE my swf can load all its assets but when I try to  
use that
same swf via its HTML page the swf can't find its assets. Because  
it now has
its root as the html root. I am pretty sure there's a work around  
to define

the swf directory as the root not the html.

thanks
seb
___
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: [Flashcoders] ExternalInterface, embed tag and IE

2006-08-01 Thread Geoff Stearns
the short answer is you probably just need to give the embed tag an  
Id attribute.


the long answer is: why can't you use an object tag? that makes  
absolutely no sense at all.


even more: you should be using a Javascript solution like SWFObject  
anyway, since that will skip the 'click to activate' stuff and handle  
your plugin detection and all that for you.



On Jul 31, 2006, at 9:57 PM, Vishal Kapur wrote:


Hello,

I am trying to use ExternalInterface on a flash movie loaded via an
embed tag in Internet Explorer.  (For specific reasons I do not want
to use the object tag and I can't use firefox).  I have set
allowScriptAccess=always and I have specified the 'name' attribute.
However, when I try to call an AS function from javascript on this
object I get an error like Object does not support this property or
method.

My embed tag looks something like:

embed name=testMovie
  type=application/x-shockwave-flash
  src=testMovie.swf
  allowScriptAccess=always
/embed

The AS function I want to call is exposed via
ExternalInterface.addCallback().  Also I do not have the issue if I
use an object tag to load the swf.

Has anyone faced this issue before?  Any thoughts/pointers would be  
appreciated.


Thanks,
Vishal
___
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: [Flashcoders] Express Install is reliable?

2006-07-31 Thread Geoff Stearns
There was mention on the SWFObject list that the expressinstall  
servers were being hit pretty hard right now because myspace (the #1  
site on the internet traffic wise) started requiring Flash Player 9,  
and are using expressinstall...


so there's thousands (millions?) of people upgrading right now and  
for the past couple of weeks.


just gotta wait for adobe to either add more servers or for the flow  
of upgrades to settle down a bit.




On Jul 31, 2006, at 4:11 PM, orange wrote:


Hi,

I have been implementing the Express Install feature on my site for  
the last few days, and after extensively testing it, I have found  
some of the servers it relays on are intermittently not available.  
It really fails very often.


I have tested this for several days, on different browsers, and  
using the default playerProductInstall.swf, and customizing it.


The result is always the same a good percentage of the times (maybe  
more than 50% I would say):


The Express Install dialog comes up as expected, with the spining  
circle, then is says 'Connecting... and it stays there for as long  
as you wait.


If it fails and you immediately try again it usually fails again.  
You have to try at a later time, like 20-30 minutes later and see  
if it works then.


I have noticed a similar unreliability on some pages at the old  
macromedia website (the problem is usually that it can't connect to  
the server).


Does anybody have experienced this problem. Could you test it on  
your site, or here:

http://blog.deconcept.com/swfobject/expressinstall.html
(you need an older flash player)

I have also just tested this url:
http://www.macromedia.com/go/getflashplayer
(which is often included as the embed tag pluginspage url), and  
this fails as well (cannot find server)


Please let me know if it works in your tests.

Thank you very much

Orange

___
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: [Flashcoders] Multiple instances of ExternalInterface in IE

2006-07-25 Thread Geoff Stearns

hey, here's an update (and a fix) to this issue:

it looks like (as you pointed out) it is a bug in the new fp9 - this  
code was added in to fix an issue in IE with streaming media... if  
you were using flash media server to stream video, and left the page  
while the video was playing, the audio would keep going. this only  
happened in ie5 or 6 when you used innerHTML to insert the swf into  
the page - something more and more people are now doing because of  
the Eolas stuff.


so to fix this, you had to clear our all the functions that the flash  
player inserted into the page, to allow IE to do proper cleanup on  
the activex control.


I came up with a fix a few weeks back after discussing it a bit with  
an adobe engineer, and my fix was very similar to this one (it was  
integrated into SWFObject 1.4.2).


So naturally when fp9 came out, they wanted to include the fix with  
it, and did, but apparently the code isn't all that great.


Anyway, long story short, we've been working on a fix today and I  
just uploaded the new version of  SWFObject to my SVN repository, and  
it looks like it takes care of the problem. it basically just removes  
the Adobe code that the player inserts and uses some custom code to  
clean up the controls instead.


have a look, let me know if you have any problems with it:

I haven't made a tag for it yet, so just grab it from the trunk folder:
http://svn.deconcept.com/swfobject/trunk/





On Jul 5, 2006, at 12:47 AM, Alexis Glass wrote:

In absence of a response, I thought I'd post more results from my  
investigation.  Debugging IE's scripts, we come across the culprit  
- ExternalInterface saves the previous unload handler and installs  
its own.  Its own unload handler calls the saved unload handler  
after freeing up all its resources.  Pity that it saves the  
previous unload handler in a global variable so that if  
ExternalInterface is initialized twice on one page it recursively  
calls the __flash_savedUnloadHandler until IE complains about no  
memory.
As Brad Neuberg wrote in his blog about ExternalInterface's broken  
XML implementation (http://codinginparadise.org/weblog/ 
2006_02_03_archive.html), In general, whoever coded  
ExternalInterface should be fired.   Well, or whoever signed off  
on it :(  On the up side, I guess it should be possible (if not  
exactly future-proof) to overwrite the default  
__flash_unloadHandler behaviour.


---
function __flash_unloadHandler() {
 myflash_object.style.display = 'none';
 for (var prop in myflash_object) {
   if (typeof(myflash_object[prop]) == function) {
 myflash_object[prop]=null;
   }
 }
 if (__flash_savedUnloadHandler != null) {
   __flash_savedUnloadHandler();
 }
}
function __flash_setupUnloadHandler() {
 if (window.onunload != __flash_unloadHandler) {
   __flash_savedUnloadHandler = window.onunload;
   window.onunload = __flash_unloadHandler;
 }
}

--

Alexis Glass wrote:

I have two entirely separate SWFs on a page, both using  
ExternalInterface to interface with my JavaScript.  Things seemed  
just fine under Firefoxi, but under IE I get an Out of memory at  
line: 56 error following a really long delay when the page is  
unloaded as I try to navigate to another page.  This only happens  
when both SWFs are displayed on the page at the same time. They  
both have different IDs set in their object tags and are realized  
from entirely separate SWFs, so I don't see why there should be  
any conflict by including both on one page...


I don't seem to be the only person to have encountered this  
problem (http://blog.deconcept.com/2006/05/18/flash-player-bug- 
streaming-content-innerhtml-ie/ ), but I haven't been able to find  
a solution mentioned anywhere. Has anyone else encountered this  
problem -- or, better yet, found a solution?

Thanks (fingers crossed)

Alexis
___
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


___
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] Back button fun

2006-07-25 Thread Geoff Stearns

it's been on my list for months now...

i did create one, but it was a bit buggy and not documented at all -  
http://blog.deconcept.com/code/historymanager/


and there's changes to this I wanted to make, so it does more  
friendly looking hashes, instead of name/value pairs as it does now...


and it doesn't work in safari (only one does that i know of, and it  
doesn't support page title updates).


I was trying to modify this one from kevin newman:
http://www.unfocus.com/projects/HistoryKeeper/

because it sorta works in safari, but i kept running into more and  
more problems... so my patience finally gave out.


the lessrain guys also have really nice solution they use (and they  
use it with swfobject,too), so check out their blog and see what they  
say about it.



On Jul 25, 2006, at 3:23 PM, Paul Neave wrote:


This is an age-old problem but I still can't find a decent solution.
I'm looking for a JavaScript library or script for browser back-button
support for Flash, and one that uses the hash notation in the browser
window so users can navigate to points in a Flash movie through the
address bar, e.g. mypage.html#page123.

There are so many about and they all seem to be overly complex, use
Flash 5 code, require twenty different JavaScript files and two or
three hours to get your head around what it is exactly you're supposed
to do to get it to work, and even then it'll only work in Internet
Explorer 5.5 on a Tuesday morning.

I'm using SWFObject and Flash 8, so a simple, easy to use, drag and
drop back button functionality would be ideal.  Anybody know of such a
beautiful thing?

Thanks lorry loads.
Paul.
___
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: [Flashcoders] Back button fun

2006-07-25 Thread Geoff Stearns

 Do you think you'll carry on development on it?

yeah eventually... i haven't had much time lately for stuff like  
this, but it's at the top of my 'would be nice to have...' list.




On Jul 25, 2006, at 3:53 PM, Paul Neave wrote:


On 25/07/06, Geoff Stearns [EMAIL PROTECTED] wrote:

i did create one, but it was a bit buggy and not documented at all -
http://blog.deconcept.com/code/historymanager/


This looks really great Geoff.  The nice thing about it is that it's
just one js file and only a few lines of code to get it to work, just
the way SWFObject is.  Although it may not be as compatible as most at
the moment it's simple and simplicity wins for me every time.

Do you think you'll carry on development on it?
Paul.
___
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: [Flashcoders] detect request from Flash Player?

2006-06-19 Thread Geoff Stearns
no, but you could fake it by appending something to your requests,  
like so:


http://www.example.com/loadstuff.php?reqfrom=swf




On Jun 19, 2006, at 5:55 PM, Mike Lyda wrote:

I can use PHP  (  echo($_SERVER[HTTP_USER_AGENT]);  ) to detect a  
request
from the Flash IDE or from Central.  Both show a user agent of  
Shockwave
Flash.  However, when I open a standard Flash SWF in the web  
browser either
embedded in an HTML page or just opening the SWF directly in the  
browser PHP

sees the user agent as the browser.

So is there a way to tell if a request to the server is coming from  
the Flash Player?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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


___
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] Eolas fix and backspace key flash bug

2006-06-15 Thread Geoff Stearns
that's not really accurate...  you can have the flash inserted as the  
page loads and not have to activate it. the requirement is that it's  
written by an external script, and not invoked natively by the  
browser (and plain html).


it doesn't matter if it's done onload or inline as the page is loading.

the solution to all of this is to just use one of the many js  
solutions that don't have issues like this.


if you can't use javascript for some reason (which should never be  
the case), then be prepared to force your customers to click to  
activate the control.




On Jun 14, 2006, at 5:19 PM, ryanm wrote:


   There's no magic there, the embedded object cannot exist prior  
to the onload event firing or it will require activation. Period.  
Don't use a delay, use the onload event. A delay is unpredictable  
because you are working on the client side, where bandwidth,  
network congestion, and the size of the images and other files  
loaded into the page will cause the amount of time before the  
onload event fires to vary drastically. To state that more clearly,  
you will *never* accomplish this in any predictable way using a  
time delay, not even if you make the delay over 1 minute, because  
somewhere there is still a guy using a 14.4 modem.


ryanm
___
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: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-15 Thread Geoff Stearns
you have to use an external script because of the way the patent was  
worded.. by using an external script, you are somehow not infringing  
on it, so that's how the patch works.




On Jun 15, 2006, at 11:09 AM, 8ball Developer wrote:


Hi Karina,

(probably already answered question) Why does the javascript need  
to be
external?  Is  there any solution to this problem that uses an  
internal

javascript.

Thanks in Advance.

On 6/14/06, Karina Steffens [EMAIL PROTECTED] wrote:


Hi Alec,

You could try ObjectSwap on my blog -
http://www.neo-archaic.net/blog/2006/04/25/objectswap.htm

Karina




___
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: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-15 Thread Geoff Stearns
also i might as well take this opportunity to point everyone to  
SWFObject:


http://blog.deconcept.com/swfobject/

it fixes all the eolas problems you are having, it's really easy to  
use, supports express install, does plugin detection and can provide  
alternate content, opens your wine bottles and tin cans, and gives  
you a massage at the end of a long day. check it out.




On Jun 15, 2006, at 11:09 AM, 8ball Developer wrote:


Hi Karina,

(probably already answered question) Why does the javascript need  
to be
external?  Is  there any solution to this problem that uses an  
internal

javascript.

Thanks in Advance.

On 6/14/06, Karina Steffens [EMAIL PROTECTED] wrote:


Hi Alec,

You could try ObjectSwap on my blog -
http://www.neo-archaic.net/blog/2006/04/25/objectswap.htm

Karina




___
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: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-15 Thread Geoff Stearns

there's a number of known issues with it... maybe this is the problem?

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4f91f9b8

i have a summary of all the issues related to the eolas stuff here:
http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes- 
and-the-flash-plugin/




On Jun 15, 2006, at 11:41 AM, Tom Lee wrote:


 the solution to all of this is to just use one of the many js
solutions that don't have issues like this.

If you're referring to the issue I'm reporting, I'm afraid your  
solution is
not immune either.  Two out of 3 of my PCs will show the click to  
activate
message if you have cleared your cache and then visited your  
example pages

without restarting your browser first.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoff
Stearns
Sent: Thursday, June 15, 2006 10:56 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

that's not really accurate...  you can have the flash inserted as the
page loads and not have to activate it. the requirement is that it's
written by an external script, and not invoked natively by the
browser (and plain html).

it doesn't matter if it's done onload or inline as the page is  
loading.


the solution to all of this is to just use one of the many js
solutions that don't have issues like this.

if you can't use javascript for some reason (which should never be
the case), then be prepared to force your customers to click to
activate the control.



On Jun 14, 2006, at 5:19 PM, ryanm wrote:



   There's no magic there, the embedded object cannot exist prior
to the onload event firing or it will require activation. Period.
Don't use a delay, use the onload event. A delay is unpredictable
because you are working on the client side, where bandwidth,
network congestion, and the size of the images and other files
loaded into the page will cause the amount of time before the
onload event fires to vary drastically. To state that more clearly,
you will *never* accomplish this in any predictable way using a
time delay, not even if you make the delay over 1 minute, because
somewhere there is still a guy using a 14.4 modem.

ryanm
___
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


___
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: [Flashcoders] geturl:javascript is causing images to not display on IE

2006-05-30 Thread Geoff Stearns

it still works fine - same as always.




On May 30, 2006, at 8:58 AM, Christian wrote:

I was under the impression that getURL(javascript:) no longer  
worked in Flash 8.  Is this incorrect?


Geoff Stearns wrote:

are you making the js call before the page is done loading?

the browser might be treating is as an anchor click and stop  
loading the remaining items on the page (this is normal browser  
behavior)


since you are using Flash 8, why not use ExternalInterface to make  
the call? in IE that will have the player use fscommand  
(basically) and i think your images will stop dissapearing. (or  
failing to load as the case may be)



On May 28, 2006, at 9:50 PM, Phil Glatz wrote:

I've been experiencing an intermittent problem with a getURL call  
back to a javascript function on the page calling an SWF.


I'm using Flash 8, and testing on XP.  With Firefox, there is no  
issue.  With IE 6, I experience the problem about 80% of the  
time.  This issue is that I have my SWF in a div, with some divs  
below it containing some gif images.  When I flush the browser's  
cache, the images always display.  After subsequent page  
refreshes (F5), the images usually don't appear (but sometimes do).


I'm using the SWF to display some variable content, filling  
dynamic text fields from passed variables.  I can also select  
from a number of fonts via a passed var.  When the font changes,  
the div height needed to contain the stage changes.  I created an  
actionscript function that passes the new calculated height back  
to the page via a javascript call:


function resize() {
  if (allowResize == true) {
h = Math.ceil(pBody._y+pBody._height)+10;
getURL(javascript:setFlashHeight('wrapper','+h+'););
  }
}

The HTML page has the javascript function setFlashHeight() that  
resizes the enclosing division for the SWF, via DOM.  Like I say,  
it all works fine with Firefox, and the HTML and CSS are both  
correct.


I first suspected a DOM issue, but I later discovered that if I  
added a return statement as the first line of the javascript  
function, the problem persisted.


If I comment out the getURL call in the actionscript, my  
disappearing image problem goes away.  So it appears to be a  
Flash issue of some sort, which I'm not understanding.


I've Googled around a bit and can't find anything remotely  
related to this problem.  I'm on a tight project deadline and am  
about to send $99 to Macromedia for a support call.  I thought  
I'd check with this wise group first to see if this rings any  
bells.  Is this some sort of known issue with Flash/IE?  Driving  
me nuts!


thanks, Phil

___
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


___
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: [Flashcoders] passing variable from email to flash

2006-05-30 Thread Geoff Stearns

yes, just make your links like this:

http://www.example.com/path/to/page.html?variable=value

replace variable with the name of a variable you want, and 'value'  
with whatever value you want to pass.


then, in your page.html when you embed the flash movie, you can grab  
the variable from the url string using javascript (or a server side  
language) and pass it into the flash movie using flashvars.


if you use swfobject, it has a little utility that can grab vars from  
the url and pass them into the movie, so your embed code would look  
something like this:


div id=flashcontent
  This text is replaced by the Flash movie.
/div

script type=text/javascript
   var so = new SWFObject(movie.swf, mymovie, 200, 100, 7,  
#336699);

   so.addVariable(variable1, value1);
   so.write(flashcontent);
/script

more info on the script:
http://blog.deconcept.com/swfobject/


On May 30, 2006, at 9:06 PM, watch dog barking wrote:


I'm not entirely sure if these are flash questions, but here goes...

I have a couple of question in regards to passing variables from a  
link embedded in an email to a flash movie.


1.  Is it possible to direct people to a specific frame of a flash  
movie from an email (i.e. if its one swf, can you put them to  
specific place on the time line).


2.  Not knowing how the flash site is set up yet, is it possible to  
direct them to a specific place in the timeline and then  
dynamically load in another swf (let's say each page is its only  
swf being loaded into a main movie on the 10th frame)


3.  Is it possible to pass variables by clicking a link in an email  
so that the system will know the people who come from the email  
link are members (all people clicking from the email will likely be  
members)


4.  Do the above scenarios involve server side programming?



Essentially we would like user to click from an email to a certain  
page on a flash site, where after a series of activities they would  
get the opportunity to perform an activity available to members  
only.  If they come from the email link they will be members, but  
if they have come from a different part of the site, we won't know  
whether they are members or not.  If they aren't, we would invite  
them to register to become members.  If they are, then they can  
enter their email address and will be prompted for a password.


Of course, we will then need to determine what happens when the  
email is forwarded, but that will be next for us to sort out.


Any information or suggestions would be appreciated.







___
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: [Flashcoders] geturl:javascript is causing images to not display on IE

2006-05-29 Thread Geoff Stearns

are you making the js call before the page is done loading?

the browser might be treating is as an anchor click and stop loading  
the remaining items on the page (this is normal browser behavior)


since you are using Flash 8, why not use ExternalInterface to make  
the call? in IE that will have the player use fscommand (basically)  
and i think your images will stop dissapearing. (or failing to load  
as the case may be)



On May 28, 2006, at 9:50 PM, Phil Glatz wrote:

I've been experiencing an intermittent problem with a getURL call  
back to a javascript function on the page calling an SWF.


I'm using Flash 8, and testing on XP.  With Firefox, there is no  
issue.  With IE 6, I experience the problem about 80% of the time.   
This issue is that I have my SWF in a div, with some divs below it  
containing some gif images.  When I flush the browser's cache, the  
images always display.  After subsequent page refreshes (F5), the  
images usually don't appear (but sometimes do).


I'm using the SWF to display some variable content, filling dynamic  
text fields from passed variables.  I can also select from a number  
of fonts via a passed var.  When the font changes, the div height  
needed to contain the stage changes.  I created an actionscript  
function that passes the new calculated height back to the page via  
a javascript call:


function resize() {
  if (allowResize == true) {
h = Math.ceil(pBody._y+pBody._height)+10;
getURL(javascript:setFlashHeight('wrapper','+h+'););
  }
}

The HTML page has the javascript function setFlashHeight() that  
resizes the enclosing division for the SWF, via DOM.  Like I say,  
it all works fine with Firefox, and the HTML and CSS are both correct.


I first suspected a DOM issue, but I later discovered that if I  
added a return statement as the first line of the javascript  
function, the problem persisted.


If I comment out the getURL call in the actionscript, my  
disappearing image problem goes away.  So it appears to be a Flash  
issue of some sort, which I'm not understanding.


I've Googled around a bit and can't find anything remotely related  
to this problem.  I'm on a tight project deadline and am about to  
send $99 to Macromedia for a support call.  I thought I'd check  
with this wise group first to see if this rings any bells.  Is this  
some sort of known issue with Flash/IE?  Driving me nuts!


thanks, Phil

___
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: [Flashcoders] active X activation, no blinkinkg

2006-05-26 Thread Geoff Stearns

have you tried SWFObject?

http://blog.deconcept.com/swfobject/



On May 26, 2006, at 6:21 AM, Martin Weiser wrote:


Hello guys,
i found soullution for active x object activation by js here:
http://therippa.blogspot.com/2006/03/activateactivex.html
but, it had that unpleasant blink (http://cigare1.fatcow.com/ 
picture_hosting/web_pages/therippa/stuff/activateActiveX/ 
example.html) i tried to bypass it by hiding in div element:

ans you can see it here:
http://flash.dna01.net/advertures/banner/tester.htm

Do you see it ok, in all browsers?

Thanks for help
Martin
___
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: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Geoff Stearns

import in flash is only used to save you some typing.

when you use

import com.package.Class;

the class is *not* included in the swf until you reference that class  
in your code somewhere.


like

var blah:Class;

you don't have to use import, you can also use:

var blah:com.package.Class;

and it will behave exactly the same way, only every time you  
reference the class, you'll need to type the full path instead of  
just 'Class'


it's just a typing shortcut.



On May 25, 2006, at 2:01 PM, j.c.wichman wrote:


Hi,
it is included, but not solely becoz of the import statement.
I might be wrong, but I believe this is even a 'bug'.

Expected behavior:
import MyClass causes inclusion of MyClass in the swf

Real behavior:
import MyClass still requires you to use MyClass somewhere in the  
code as in

var myClass:MyClass, in order for it to be included.

Note that we are talking about the Flash IDE here, with mtasc you can
include exclude any class you like whether or not it is referenced  
in the

code.

greetz
Hans


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Merrill, Jason
Sent: Thursday, May 25, 2006 7:25 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] OOP 101: Is import really necessary?

The 'import' statement doesn't actually embed a class into  
the .swf.

All it does is tell the compiler that when you type (for example)
MyClass, you are actually referring to com.fred.MyClass.


Err...that has not been my understanding at all.  If that is
the case, then why do you NOT need to include your class
files on the server with the .swf?  Since reality is you
don't, all that code has to be in the .swf upon compiling,
otherwise, the .swf wouldn't know what to do with

Myvar:MyCoolClass = new MyCoolClass();

If it's not included with the .swf, how would the .swf know
what MyCoolClass is otherwise?


Jason Merrill
Bank of America
Learning Technology Solutions








-Original Message-
From: [EMAIL PROTECTED]

[mailto:flashcoders-

[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: Thursday, May 25, 2006 12:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OOP 101: Is import really necessary?

Errm - actually that's not such a good reason.

The 'import' statement doesn't actually embed a class into  
the .swf.

All it does is tell the compiler that when you type (for example)
MyClass, you are actually referring to com.fred.MyClass.

You could just type com.fred.MyClass throughout the body of

your code

instead of typing import at the top of the file.

'import' is simply a disambiguation helper for the

compiler. It's got

nothing to do with what code actually gets included in the

resultant

.swf. You can prove this by typing:
import com.fred.*   // Replace with some set of classes you're not
using in your current project

And recompiling. The .swf file size won't go up until you actually
_reference_ an object that belongs to one of those

packages. As soon

as you typed:
var f:MyClass=new MyClass();

or, in fact
var f:com.fred.MyClass=new com.fred.MyClass();

The file size would go up.

So - in answer to RifledCloaca - no, you don't need to type  
'import'

at all, as long as you refer to all your classes by full

packagename.


Ian

On 5/25/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Because if Flash imported every class available to it

automatically,

then your .swf files would be huge and unnecessarily bloated.  Do

you

really want the code to all the Remoting classes imported

into your
.swf

if you're not using them? When you include, the actionscript

cotained in

the class is embedded in the .swf.


___
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



___
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

Re: [Flashcoders] fp9 ExternalInterface bug?

2006-05-16 Thread Geoff Stearns

maybe it's not serializing a value properly?

there are a few known issues with it in fp8, mainly newline elements...

more info here:
http://codinginparadise.org/weblog/2006/02/how-to-speed-up-flash-8s.html


On May 16, 2006, at 6:21 PM, eric dolecki wrote:

Its been called to my attention at work that sometimes my embedded  
SWF is
making calls out to Python (using ExternalInterface) where the XML  
document

only contains:

NaN/invoke

And thats it. Could this perhaps be a known bug in the player  
itself? The

syntax itself isn't valid.
___
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: [Flashcoders] Proxy for Express Install

2006-05-14 Thread Geoff Stearns
i think setting up your own proxy for express install would be way  
more trouble than it's worth...


you'd have to have every plugin version and do platform sniffing and  
return the correct plugin for each platform.. then when adobe updates  
the Flash player, you'll have to update all your stuff... it wouldn't  
be very much fun.


it sounds to me like the DNS hasn't propagated across to some of your  
DNS servers yet.


so as a temporary fix, you could try replacing the  
fpdownload.macromedia.com in the express install code with the ip  
address of the server (make sure you get the ip address from a  
computer that the install works on)


i don't recommend this as a permanent fix, but it might work until  
adobe takes care of their DNS issues.


you should also try e-mailing someone over there - the flash  
developer relations person (i'm not sure who that is anymore) and see  
if they have any insight into the problem.




On Jun 13, 2006, at 5:11 PM, Asai wrote:

Adobe still hasn't fixed the problem (it seems to be coming from  
them anyway) which is preventing me and others from other parts of  
the country (and world) from being able to download the Flash  
Player using the express install feature (or simply trying to  
download it direct from their site).  However, when I use our  
remote server to get it, not from my own personal broadband  
connection, there is no problem.  Does anyone (Geoff Stearns,  
perhaps?) know how I could rig up the express install code to use  
our server as a proxy?


---asai
___
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: [Flashcoders] Flash detection

2006-05-10 Thread Geoff Stearns

here's more info on the second link, and other techniques you can use:

http://blog.deconcept.com/2006/03/13/modern-approach-flash-seo/




On May 10, 2006, at 7:45 AM, Michael Stuhr wrote:


Kevin Boyd (MMCR) schrieb:
Client wants to detect if flash installed and then jump to a HTML  
based site
if not. What is the current state of play with this approach  
regards IE and

Firefox?


http://www.bobbyvandersluis.com/ufo/

http://www.adobe.com/devnet/flash/articles/swfobject.html

micha
___
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: [Flashcoders] Trouble with Downloading Flash Player

2006-05-05 Thread Geoff Stearns
there were some hiccups last monday / tuesday when they switched to  
the adobe server, but they were all fixed up as of wednesday i think.


you could use this page as another test:
http://blog.deconcept.com/swfobject/expressinstall.html



On May 5, 2006, at 12:02 PM, Asai wrote:




Is anyone having trouble downloading the Flash Player right now?   
I'm testing the Express Install Feature but every time I try to go  
to the fpdownload.macromedia.com page, I get a server not found  
message.  My paths are correct I know, because once I was able to  
successfully test last night, but that was erratic and in between  
not found messages.

___
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: [Flashcoders] Trouble with Downloading Flash Player

2006-05-05 Thread Geoff Stearns
i just tested it, and the download part worked fine, but when the  
install was finished, it didn't redirect me back to the original page...


they said they were still working on that part on wednesday, so  
hopefully it will be all fixed soon.



On May 5, 2006, at 12:19 PM, Asai wrote:

It seems like indigestion.  I still can't connect.  This can't be  
internet wide can it?  Perhaps its only my neck of the woods, who  
at Adobe can I report this to?


At 09:11 AM 5/5/2006, you wrote:

there were some hiccups last monday / tuesday when they switched to
the adobe server, but they were all fixed up as of wednesday i think.

you could use this page as another test:
http://blog.deconcept.com/swfobject/expressinstall.html



On May 5, 2006, at 12:02 PM, Asai wrote:




Is anyone having trouble downloading the Flash Player right now?
I'm testing the Express Install Feature but every time I try to go
to the fpdownload.macromedia.com page, I get a server not found
message.  My paths are correct I know, because once I was able to
successfully test last night, but that was erratic and in between
not found messages.
___
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


---asai
___
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: [Flashcoders] SWF, IFrame and z-order

2006-05-03 Thread Geoff Stearns

try setting the wmode pararmeter on the swf file to 'opaque'

that might work.


On May 3, 2006, at 12:01 PM, Éric Thibault wrote:


I all!!!

Here is my little problem : I have an html page that contains, on  
the left side a list of SWF files and on the right side an iframe  
to play those SWF.  When I click a file on the left, it plays  
inside the iframe just fine... My client wants to see some  
informations inside a box on top of the page (centered so that a  
portion of the list and iframe gets blocked).  I can give any z- 
index number to that info box and the iframe, the flash inside the  
iframe is always on top If I change the flash for a jpg or  
text, my info box is on top of everything!


Is there a known issue when using SWF inside iframe and z- 
indez.. :'(


I cannot change the source code of that page (I have to keep the  
iframe and it is used by other projects) but I can manage to  
include modifications


Thanks a million!

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality /  
Advertencia de confidencialidad http://www.rec.ulaval.ca/lce/ 
securite/confidentialite.htm


___
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: [Flashcoders] Can this be true?

2006-05-02 Thread Geoff Stearns

try bumping it up to 31fps and see how it works then.

i'm getting about 24 on my browser (firefox on osx 10.4)


On May 2, 2006, at 10:37 AM, Michael Kønig wrote:

At this link there is a swf embeded in a html with a 5 line script  
that measures fps:


http://www.fla10.com/test/test.html

The movie is set to 30 fps but plays at around 23 and I have a good  
computer!


Does flash automatically loose this much power and I just never  
noticed??


What numbers are you guys getting?

/Michael


___
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: [Flashcoders] flashObject expressinstall error

2006-05-01 Thread Geoff Stearns
looks like the download url is fixed now, but the redirect after the  
install is done isn't working yet...



On May 1, 2006, at 3:38 PM, Geoff Stearns wrote:

Adobe is changing the dns/severs that the expressinstall lives  
on... and they are having some issues with it right now.


i'd recomment just disabling the expressinstall until it's fixed  
(hopefully soon).




On May 1, 2006, at 3:30 PM, Karina Steffens wrote:


Hi Tony,

Just a shot in the dark, but it could be because the link to the  
flash

player has changed. It's now
http://www.adobe.com/shockwave/download/download.cgi? 
P1_Prod_Version=Shockwa

veFlashpromoid=BIOW

I think Adobe has just closed down the macromedia website.
www.macromedia.com is redirected to www.adobe.com

Karina


-Original Message-
From: Tony Watkins [mailto:[EMAIL PROTECTED]
Sent: 01 May 2006 19:19
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flashObject expressinstall error

I'm using flashObject with express install. Worked fine last
Friday, but this morning I'm getting the little Flash dialog
box with the message A download error occurred. Try to
download again? Same error in ie pc, safari and firefox mac.
I¹ve now confirmed this with someone else.
___
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


___
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: [Flashcoders] HTML templates in Flash

2006-04-27 Thread Geoff Stearns

this page has a list of all the stuff:

http://www.123flashchat.com/flash/20_publish16.html


On Apr 27, 2006, at 1:57 PM, Alejandro Diaz wrote:


Hello again everyone,

Does anyone know of any documentation or explanation about some of the
variables in the Flash  HTML template files?

For example, the actual name of the file is sent through a variable  
named
$PO, but I seem to be unable to find anything regarding how to  
break this
down (since this variable apparently has a whole bunch of code in  
it, not

just the file name) and edit the file name.
I am basically trying to create a couple of HTML templates that have a
?myVariable=myValue  after the .swf, and I can't seem to find any
documentation or any other information online on how to do this.

Thanks in advance!
-Alex
___
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: [Flashcoders] HTML templates in Flash

2006-04-27 Thread Geoff Stearns
you should use flashvars instead of the .swf? - that way your swf  
will be cached properly and you don't have any limits (or at least  
much higher limits) than the query string.




On Apr 27, 2006, at 2:48 PM, Alejandro Diaz wrote:

Thanks! the explanation of some of those variables and a bit of  
thinking got

me to do exactly what I wanted.

In case anyone is interested, what I ended up doing is just doing  
away with
using $PO and $PE and building the file name using $TI and  
adding .swf? plus

the variables I am trying to pass.  I had to add in some of the other
parameters in that list that were part of $PO/E, like quality, etc.  
but that

link you sent me had the information I needed for that.

Thanks!
-Alex


On 4/27/06, Geoff Stearns [EMAIL PROTECTED] wrote:


this page has a list of all the stuff:

http://www.123flashchat.com/flash/20_publish16.html




___
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: [Flashcoders] HTML templates in Flash

2006-04-27 Thread Geoff Stearns

oh and you should use swfobject to embed your stuff anyway :)

http://blog.deconcept.com/swfobject/


On Apr 27, 2006, at 3:41 PM, Alejandro Diaz wrote:


y, it always remain
very short). But I will certainly take your advice


___
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] Font jumping cross platform

2006-04-26 Thread Geoff Stearns
i've seen a jsfl that you can run to move all the text fields in a  
movie up/down .. but other than that i think you are screwed. (or  
maybe you could use a different font?)




On Apr 26, 2006, at 11:11 AM, Kevin Newman wrote:


Hello,

I don't know if this is the right place for this kind of question,  
but I have an problem where if I use a font (either a crossplatform  
opentype, or a crossfont converted font) in an fla, then move that  
fla from a Mac to a Windows, all the text elements move down on the  
screen by a few pixels. The opposite problem exists if I move it  
from Windows to Mac (it moves up). This is only a problem in the  
IDE - published files are fine (well once I correct the positioning  
problem in the IDE anyway).


Has anyone seen this problem or found a solution? This problem only  
exists in Flash it seems, since if I load the same fonts in  
Photoshop (or just about anything else) I don't have any problems  
at all.


Any help would be appreciated.

Thanks,

Kevin N.



___
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: [Flashcoders] Font jumping cross platform

2006-04-26 Thread Geoff Stearns

i found this link from a cached page in google:

http://www.slice-media.com/jsfl/pixelShift.mxp

it's supposed to be the jsfl that shifts your textfields so you don't  
have to do it manually.


link: http://72.14.203.104/search?q=cache: 
9lKfRcMTFOwJ:www.eyezberg.com/Breaking_News_from_the_Flash_World/ 
Components_(mxp_packages)/Shift_all_textfields/+jsfl+font+shift 
+flashhl=engl=usct=clnkcd=2


On Apr 26, 2006, at 11:39 AM, Kevin Newman wrote:

This seems to happen with any OpenType font (most of them from  
Fontfolio OpenType), and possibly means with all PostScript outline  
fonts, since it happens with OpenType and converted fonts (from mac).


I really think this is a bug in Flash, since as I've mentioned, I  
don't have a problem with any other software using these fonts.


Oh well, I guess I'm stuck moving the fonts up and down. :-(

Thanks,

Kevin N.


Geoff Stearns wrote:
i've seen a jsfl that you can run to move all the text fields in a  
movie up/down .. but other than that i think you are screwed. (or  
maybe you could use a different font?)




On Apr 26, 2006, at 11:11 AM, Kevin Newman wrote:


Hello,

I don't know if this is the right place for this kind of  
question, but I have an problem where if I use a font (either a  
crossplatform opentype, or a crossfont converted font) in an fla,  
then move that fla from a Mac to a Windows, all the text elements  
move down on the screen by a few pixels. The opposite problem  
exists if I move it from Windows to Mac (it moves up). This is  
only a problem in the IDE - published files are fine (well once I  
correct the positioning problem in the IDE anyway).


Has anyone seen this problem or found a solution? This problem  
only exists in Flash it seems, since if I load the same fonts in  
Photoshop (or just about anything else) I don't have any problems  
at all.


Any help would be appreciated.

Thanks,

Kevin N.




___
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: [Flashcoders] Flash and IE update question

2006-04-24 Thread Geoff Stearns
you could just use SWFObject - it will work with flash stuff in  
layers/divs/whatever.


http://blog.deconcept.com/swfobject/

(that amerasoftware page links to my blog at the bottom as well as an  
alternative)



On Apr 24, 2006, at 2:20 PM, Michael F. Hiatt wrote:


All,

I'm trying to implement the fix to take care of the ActiveX/Flash  
activate

issue (using the code found on Amara's site:)

http://www.amarasoftware.com/flash-problem.htm

---
To fix the problem, please follow these steps:

1) Just below the last object in your HTML page, insert the  
following

Javascript:

script type=text/javascript src=ieupdate.js/script

2) Open a new document in Notepad or your HTML editor, and copy   
paste the

following content into it:

theObjects = document.getElementsByTagName(object);
for (var i = 0; i  theObjects.length; i++) { theObjects 
[i].outerHTML =

theObjects[i].outerHTML; }

3) Save this file as ieupdate.js

-

This is working fine except when the swf is in a layer. The swf  
shows up for

a second and then is replaced with undefined

Any ideas on how to make this fix work for swfs in layers would be
appreciated.



___
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: [Flashcoders] Testing ExternalInterface on Windows for me.

2006-04-23 Thread Geoff Stearns

i'm just reading this now... but here's how to fix all your problems:

1) as for 'getting the movie' - since you are using FlashObject, it's  
really easy, just use document.getElementById();


once you call fo.write() you can get the reference to the movie and  
you don't have to get it again - no sense in running that every time  
you call a function.


normally i'll embed the flash movie inline in the page, then put the  
externalinterface initialization stuff in an onload event. that way  
you know the flash movie will be there, and it gives all the other  
elements on the page time to load as well.


2) the form issue is a sort of known issue - there's a lot of  
problems when placing the flash movie inside a form, although i  
haven't heard of issues with placing it before vs. after.


read the comments on the livedocs here:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/ 
html/wwhelp.htm?context=LiveDocs_Partsfile=2200.html


and maybe try some googling for more info.






On Apr 20, 2006, at 3:35 PM, David Rorex wrote:


Instead of creating a reference to your flash movie and storing it, I
get it every time.

JS Code:

function getMovie(movieName) {
if (navigator.appName.indexOf(Microsoft) != -1) {
return window[movieName]
}
else {
return document[movieName]
}
}


Example usage in JS:

getMovie('myMovie').someFunctionInFlash();

-David R

On 4/18/06, Aaron Smith [EMAIL PROTECTED] wrote:

Mark, Ryan,

Thanks for the input. I looked at that other guys ExternalInterface
testing. I switched all of my code to follow what he is doing. I am
still getting IE errors. I can't figure out what is going on. IE
doesn't like calling methods on the flash object for some reason.
When it calls ( flashMovieScroller.gotoStepFromJS(num) ) it errors
out. Why would it be doing that for my methods and not Geoff's
methods. Weird!.

take a look again at this. Look at the update JS and HTML compared to
that other guys. See if there's anything you notice that might be  
wrong.


http://www.smithaaronlee.net/jstest/ImgScrollerTEST333.html

The only thing I haven't tried yet was rearranging the flash objects
on the page to see if that helps. I guess i'll give that a try

thanks for taking the time.

-Smith



On Apr 18, 2006, at 12:46 PM, Mark Llobrera wrote:


Ryan:

When testing locally with Windows/IE, you can set allowScriptAccess
to 'always' - it'll save you having to upload to a server.

Aaron:
I was stalled with ExternalInterface myself yesterday; I had the
hardest time getting it to work on the Windows/IE combo. The
included samples from Macromedia didn't work, and several others on
the web didn't work either. Other browsers (Firefox, Safari/Firefox
on the Mac) worked fine.  Since I was using flashobject to embed
the swf, I wandered over to Geoff Stearns's blog and found this
example: http://blog.deconcept.com/code/externalinterface.html. I
eventually ended up taking that html (since it worked on Win/IE)
and using it as the basis for my html page, just so I could figure
out what was wrong. I found two things different between my page
that didn't work and the deconcept example:

If you look at the code on that page the reference to the flash
movie isn't initialized until the entire page is loaded. That would
be the first place I would look.

The second thing I learned yesterday (and this is where it starts
to devolve into voodoo) is that the order of items on the page
matters greatly (but seemingly only on Win/IE). I was calling a
flash movie from a javascript function triggered by a form button
(http://www.dirtystylus.com/sandbox/feedroom/filebrowser/
file_browser.html - an attempt to feed an flv on a local filesystem
to a video object). When the form was placed before embedding the
swf, it didn't work on Win/IE. As soon as I moved the form after
the embedded swf in the html code, it worked. Extremely weird.

-Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan
Potter
Sent: Tuesday, April 18, 2006 3:19 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Testing ExternalInterface on Windows for
me.


I get the same as you.  I looked at the external interface code  
that I
have and the only difference I can see is I have swLiveConnect  
set to

true but I don't think that is it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Aaron

Smith
Sent: Tuesday, April 18, 2006 12:46 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Testing ExternalInterface on Windows for
me.

Yes I tried it out on yours and my server. works just fine. Now have
a look at this. on Firefox and IE: ( http://www.smithaaronlee.net/
jstest/ImgScrollerTEST.html )

It works in firefox like it should. But in IE it doesn't work
completely.  I'm having troubles figuring out what is wrong in  
IE, IE
throws errors when you click on a 

Re: [Flashcoders] Again with the wmode

2006-04-21 Thread Geoff Stearns
flash satay is bad news - it breaks your params sometimes (in older  
safari versions) and JAWS will ignore your flash content.


you should use something like FlashObject instead*.

or SWFObject, etc. etc.

http://blog.deconcept.com/swfobject/



On Apr 21, 2006, at 3:31 PM, Karina Steffens wrote:


You can also try the alternative web standards solution, that does not
require an embed tag at all to work with firefox and other non-ie  
browsers:


object data=movie.swf
type=application/x-shockwave-flash
codebase=http://www.yourdomain.com;
width=620
height=350

param name=movie value=movie.swf /
param name=menu value=false /
  param name=wmode value=transparent /
param name=quality value=best /

pAlternative content if flash is not present/p
/object

There's an example on my home page: www.neo-archaic.net

I've been using this a lot lately, as it also creates a lot more  
lightweight

code.


Karina






-Original Message-
From: Merrill, Jason [mailto:[EMAIL PROTECTED]
Sent: 21 April 2006 19:27
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Again with the wmode

NEVERMIND - looks like we just needed to also add wmode to
the embed tags as well... looks like our developer has it
working now.


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com











-Original Message-
From: [EMAIL PROTECTED]

[mailto:flashcoders-

[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, April 21, 2006 2:21 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Again with the wmode

I know this has been asked and answered a kagillion times,

but I can't

seem to get a definitive answer in my searches:

The whole DHTML layer, browser, and flash object wmode

thing - we can

get our DHTML layer to show over the top of our flash piece (which
contains some solid background images with animations) in IE using
wmode=transparent and Flash on layer1, but not Firefox, Netscape or
Opera - I KNEW (or at least I thought I knew) this had been

a problem
already and that there hadn't been a workaround, but then I saw  
this

article:

http://www.communitymx.com/content/article.cfm?cid=E5141

It says, It's not uncommon to hear developers complaining

that their

DHTML menus, when triggered, have dropped behind the Flash

movie below

them. It's also not uncommon to hear, that's just how they work.
Before Flash Player 6, that was true in many browsers. But

nowadays,

it's become urban legend With Flash Player 6, Macromedia

introduced

windowless mode for Netscape and Mac OS X

So can we do it or not?  And if so how? Right now we have

to do some
browser detection and then render out either the Flash or the  
image.


Thanks,


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com






NOTICE:
This message is for the designated recipient only and may contain

privileged or

confidential information. If you have received it in error, please

notify the sender
immediately and delete the original. Any other use of this e- 
mail by

you is

prohibited.
___
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




___
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: [Flashcoders] New wrinkle in IE activation issue...

2006-04-21 Thread Geoff Stearns
as i stated in another mail in another thread, using the 'object tag  
only' methods is very buggy and can cause lots of headaches...


JAWS will not read the Flash content, and some older browser will  
ignore the param tags, so you can't use flashvars or specifiy wmode  
or other parameters.


there's more info here:
http://weblogs.macromedia.com/accessibility/archives/2005/08/ 
in_search_of_a.cfm



On Apr 21, 2006, at 2:55 PM, Karina Steffens wrote:


Hiya,

Great work to you and Kevin. I'm writing a little tutorial about my  
solution

which I intend to place on my blog as soon as it's done. The version
detection was the last bit that I wanted to get sorted first, and  
it seems

to be working like a charm.

Regarding the display:none issue - I've changed my code from  
visibility to

display and noticed an interesting thing. Some background first:
I'm using a standards compatible version of the object tag:

object data=flash/home.swf
type=application/x-shockwave-flash
codebase=http://www.neo-archaic.net;
width=620
height=350

param name=movie value=flash/home.swf /
param name=menu value=false /
  param name=wmode value=transparent /
param name=quality value=best /

pAlternative content if flash is not present/p
/object

This works well on both ie and Mozilla based browsers without  
needing to use
the embed tag. The downside is that the movie waits until it's  
loaded before
it starts to play. On IE this results in a placeholder showing up  
briefly

before the content is loaded.

When I use the visibility:hidden style with the replaceFlash script  
and
reload the page locally, I don't see the placeholder because it  
disappears
before the content is replaced (the original object having loaded  
by then).
But when I change it to the display:none style, it appears again  
before the

movie starts playing.

This could mean that display:none does prevent the flash from  
loading after

all!

What do you think?

Karina








-Original Message-
From: elibol [mailto:[EMAIL PROTECTED]
Sent: 21 April 2006 19:18
To: Flashcoders mailing list
Subject: Re: [Flashcoders] New wrinkle in IE activation issue...

Hi Karina,

Kevin Newman deserves the credit, I've just written some of
the code. Great work though, I'm very happy to have a little
team working on this problem now. I'm sure we will solve it
soon enough.

I think Geoff mentioned that display:none does not prevent
the object from loading, Ryan further validates this by
giving us a clear idea of how html documents function, so, we
should continue under the assumption that if the object is
defined in the original document then it will always load.

M.

On 4/21/06, Karina Steffens [EMAIL PROTECTED] wrote:


Hmm... I'm not sure if you can do that, but what about using an
intermediate stub? Then you could communicate with and tell

it when to

load the main content. This might even work automatically,

with one of

the object replacement techniques.

Or... Here's a thought - what if the style for the object

starts with

display:none for the object, and then changes to display:block when
the page has loaded. display: none removes the element from the
document's flow, while visibility:hidden simply makes it

invisible. Do

you think this might do the trick?

Karina


-Original Message-
From: Kevin Newman [mailto:[EMAIL PROTECTED]
Sent: 21 April 2006 18:48
To: Flashcoders mailing list
Subject: Re: [Flashcoders] New wrinkle in IE activation issue...

Sorry to reply to myself, but I was thinking that if it

is possible

to detect when an object is added to the dom tree, then I

could just

replace the object before it gets a chance to load, so I guess I
wouldn't need to disable it. So now I guess the question

is if it is

possible to detect when an object is added...

Kevin N.



Kevin Newman wrote:

Well yeah, that's what I would usually do, but that doesn't

solve the

specific problem I'm looking to solve here (I'm not

concerned with the

merits of this solution, I really just want to see if I

can make

it work).

If I could figure out how to detect when a new object

tag has been

added to the dom (I have some ideas, but have not tested

them), then

use some method call to disable it completely, I'd be

satisfied with

that. There is a disabled property, but I don't think

that stops

it from loading, I think that just stops the interactivity - is
that correct? If so, does anyone know of a way to

completely turn

off an embedded object in IE?

Thanks,

Kevin N.


ryanm wrote:

Do you happen to know of any way to either stop a loading

activex or

to prevent it from loading?


   Yes, don't write it to the page until you are ready

for it to

load. HTML is stateless, it's either there or it

isn't. If it's

there, it will load, if it's not, it won't. Use DHTML to

add the tag

to the page when you are ready for it to start loading.

ryanm



Re: [Flashcoders] New wrinkle in IE activation issue...

2006-04-20 Thread Geoff Stearns

you could do this with flashobject really easily.

just call fo.write() whenever you want and it will replace the object  
you target with your flash movie.




On Apr 20, 2006, at 11:04 AM, Kevin Newman wrote:

I prefer solutions that try to hide IE's lack of conformity, like  
Dean Edwards's IE 7 script:

http://dean.edwards.name/IE7/

There are just too many installations to realistically ignore them.

Speaking of hacking on IE, is there a way to prevent an object from  
loading? By that I mean, I want to use Object tags to embed a Swf,  
but I don't want it to download or load in the background until I  
tell it to via a script interaction (vbscript or javascript). Will  
hiding it via css do the trick, or will I need to take further  
steps to keep it from loading?


Thanks,

Kevin N.


elibol wrote:

Maybe web developers should stop making sites that work with IE.

On 4/20/06, Chad Mefferd [EMAIL PROTECTED] wrote:


ditto

On Apr 20, 2006, at 2:45 AM, Zárate wrote:



Maybe it's time for Adobe to start promoting the use of
Firefox/alternative web browsers...

Bye!

On 4/20/06, Stephen Ford [EMAIL PROTECTED] wrote:


Well said Lee.

Microsoft has taken their own initiative to include Active X,  
Object,

Embed activation in their latest IE patch.

Has nothing to do with a court ruling.

Can only be an attempt to make life more difficult for
Adobe.___
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



--
Zárate
___
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



___
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


___
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] New wrinkle in IE activation issue...

2006-04-20 Thread Geoff Stearns

doesn't this method break flashvars and other params?



On Apr 20, 2006, at 1:23 PM, Kevin Newman wrote:

I didn't want to have to redefine all the stuff that has already  
been defined in the html object. So I made this: :-)


http://www.unfocus.com/projects/PatentMagic/

A super tiny js file include and a stylesheet takes care of all  
object activation. It's a bit brute force, but it should get the  
job done if you are looking for a quick fix and are using static  
embedded html. If anyone has any ideas on how to make this more  
robust, please let me know. :-)



Kevin N.


Geoff Stearns wrote:

you could do this with flashobject really easily.

just call fo.write() whenever you want and it will replace the  
object you target with your flash movie.




On Apr 20, 2006, at 11:04 AM, Kevin Newman wrote:

I prefer solutions that try to hide IE's lack of conformity, like  
Dean Edwards's IE 7 script:

http://dean.edwards.name/IE7/

There are just too many installations to realistically ignore them.

Speaking of hacking on IE, is there a way to prevent an object  
from loading? By that I mean, I want to use Object tags to embed  
a Swf, but I don't want it to download or load in the background  
until I tell it to via a script interaction (vbscript or  
javascript). Will hiding it via css do the trick, or will I need  
to take further steps to keep it from loading?


Thanks,

Kevin N.




___
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: [Flashcoders] New wrinkle in IE activation issue...

2006-04-20 Thread Geoff Stearns
there's been a couple other people sending scripts around that do the  
exact same thing as yours, but IE handles inner/outerHTML very  
poorly, so I think it drops the param tags inside the object tag...  
or something like that.




On Apr 20, 2006, at 2:05 PM, Kevin Newman wrote:

You know, I actually didn't check it out that thoroughly. I'll take  
a look some time.


Why would it break params, if you happen to know off hand?

Thanks. :-)

Kevin N.


Geoff Stearns wrote:

doesn't this method break flashvars and other params?



On Apr 20, 2006, at 1:23 PM, Kevin Newman wrote:

I didn't want to have to redefine all the stuff that has already  
been defined in the html object. So I made this: :-)


http://www.unfocus.com/projects/PatentMagic/

A super tiny js file include and a stylesheet takes care of all  
object activation. It's a bit brute force, but it should get the  
job done if you are looking for a quick fix and are using static  
embedded html. If anyone has any ideas on how to make this more  
robust, please let me know. :-)



Kevin N.


Geoff Stearns wrote:

you could do this with flashobject really easily.

just call fo.write() whenever you want and it will replace the  
object you target with your flash movie.




On Apr 20, 2006, at 11:04 AM, Kevin Newman wrote:

I prefer solutions that try to hide IE's lack of conformity,  
like Dean Edwards's IE 7 script:

http://dean.edwards.name/IE7/

There are just too many installations to realistically ignore  
them.


Speaking of hacking on IE, is there a way to prevent an object  
from loading? By that I mean, I want to use Object tags to  
embed a Swf, but I don't want it to download or load in the  
background until I tell it to via a script interaction  
(vbscript or javascript). Will hiding it via css do the trick,  
or will I need to take further steps to keep it from loading?


Thanks,

Kevin N.



___
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: [Flashcoders] New wrinkle in IE activation issue...

2006-04-20 Thread Geoff Stearns
If anyone is interested, I gave a presentation to the minnesota flash  
user group last night about FlashObject, and it included a bit of  
Eolas info in it.


it was basically a general rundown of the benefits of using  
FlashObject and a primer for getting started using it.


view it here:
http://mmusergroup.breezecentral.com/p64707124/

(had a couple small technical issues, but i think it still turned out  
ok :))


___
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] New wrinkle in IE activation issue...

2006-04-20 Thread Geoff Stearns
setting display:none won't stop anything from loading, so it will  
load twice. (or load part way and then load again, etc.)




On Apr 21, 2006, at 1:08 AM, Kevin Newman wrote:


I change it so that it might work on all Objects. :-)

http://www.unfocus.com/projects/PatentMagic/

I took care of that loading forever bug too.

Does anyone know if setting display:none on an object prevents it  
from loading? If not, then double loading is the only thing left to  
take care of.


Nice coding btw.

Kevin N.


elibol wrote:

I've modified it to transfer FlashVars

http://anticipatechange.com/huseyin/patentMagic/


On 4/20/06, Kevin Newman [EMAIL PROTECTED] wrote:

All I'm doing to try and keep the objects from loading is  
defining all

objects with display:none - is there a more reliable way to prevent
objects from loading in the background? I took a quick look on  
msdn for

some ActiveX magic method, but wasn't able to find anything.

It looks like it does loose the values of some of the params
unfortunately. If there is a way around that, I'd be happy to  
implement

it.

Kevin N.


elibol wrote:


It doesn't seem to Geoff, I tested it with a 100%x100% object:

http://anticipatechange.com/huseyin/shifty.html

The object tag has noscale params, there is one problem though,  
it seems



as

if the replaced objects appear to still be loading from the  
browsers

perspective.

Besides this, seems like a reliable exploit so far. Nice job Kevin.

M.

On 4/20/06, elibol  [EMAIL PROTECTED] wrote:


Would it make sense for this to work with all Active X Objects?  
The



idea

is to override object activation by rewriting the objects after  
the



document

is loaded? Is this a hole in the activation process, where it  
will only
force activation when the page is being initialized? Objects  
written



after


the page is loaded slip through?

M.

On 4/20/06, Kevin Newman  [EMAIL PROTECTED] wrote:



I didn't want to have to redefine all the stuff that has  
already been

defined in the html object. So I made this: :-)

http://www.unfocus.com/projects/PatentMagic/

A super tiny js file include and a stylesheet takes care of  
all object
activation. It's a bit brute force, but it should get the job  
done if
you are looking for a quick fix and are using static embedded  
html. If
anyone has any ideas on how to make this more robust, please  
let me

know. :-)


Kevin N.


Geoff Stearns wrote:



you could do this with flashobject really easily.

just call fo.write() whenever you want and it will replace  
the object

you target with your flash movie.



On Apr 20, 2006, at 11:04 AM, Kevin Newman wrote:



I prefer solutions that try to hide IE's lack of conformity,  
like

Dean Edwards's IE 7 script:
http://dean.edwards.name/IE7/

There are just too many installations to realistically  
ignore them.


Speaking of hacking on IE, is there a way to prevent an  
object from
loading? By that I mean, I want to use Object tags to embed  
a Swf,
but I don't want it to download or load in the background  
until I
tell it to via a script interaction (vbscript or  
javascript). Will
hiding it via css do the trick, or will I need to take  
further steps

to keep it from loading?

Thanks,

Kevin N.






___
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: [Flashcoders] New wrinkle in IE activation issue...

2006-04-19 Thread Geoff Stearns
In every case i've heard of, checking the 'disable script debugging'  
has fixed it.


If you can reproduce your issue of always having the 'click to  
activate' box showing up, even when all the known bugs are accounted  
for, I'm sure Microsoft would like to hear about it.


There is also a nice big list of known issues on this page:
http://support.microsoft.com/kb/912945/en-us/

So if you are still having troubles, have a look.


On Apr 19, 2006, at 5:35 PM, ryanm wrote:


Ryan you seem to have hacked this problem inside and out
with no luck. Could you and others with a solid understanding
on this problem explain exactly what has been tried as work
arounds? Maybe we can find a solution if we're all caught up
with what's already been done.

   As best as I can tell, it's a bug in the new patch and it's not  
fixable (except by MS). In some cases, enabling client-side script  
debugging and rebooting fixes it, in other cases it doesn't. IMO,  
it's just a buggy update.


ryanm
___
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: [Flashcoders] Q: Flash Object vs UFO for flash detection and as eolas workaround

2006-04-17 Thread Geoff Stearns
sounds like a very rare edge case to me - but first I have to point  
out that this isn't an issue with FlashObject, it's an issue with the  
way ExpressInstall works.


There's just too many variables that have to be in place for this to  
actually be an issue.


But there is a way for this to be worked around - when i built  
FlashObject, I allowed the user to be able to bypass the plugin  
detection, just add ?detectflash=false to the url and it skips it.  
This is documented on the FlashObject page and has been a feature  
since version 1.0.


If that really did happen to 5 people in a row, I would think that it  
may be something specific with that website:


Maybe you put it in a popup window, and the page that launched the  
popup window already had a Flash movie playing in it?


It seems to me that this should be a fairly easy issue to work  
around, and if it's not, then it should be taken up with Adobe  
through their developer relations people.




On Apr 17, 2006, at 7:56 PM, John Grden wrote:


Hey Geoff, thanks for the response.

I have a question though, and it's not me being a smart-ass or  
anything

-honestly!

Ok, open IE6, load a flash site with version 6 of the flash  
player.  Open
another instance of IE6, load a different site and do the upgrade  
to flash 8

(without closing the other browser).  After its all said and done, the
upgrade never completed and now IE can't create an instance of the  
FLash
object to do version detection OR show the site.  The only way to  
show it,
is to hardcode the object tag in an html page - then IE will  
display the
content.  Mind you, it doesn't have to be another instance of IE  
open, it

can be anything using the FlashOCX.

So, I guess what I'm missing here is the part where JS can't make  
an object

and FlashObject works anyway.  Huh?

I mean, give me the technical reason *why* I should just use  
FlashObject
anyway, despite the fact that it failed during the Hilton journey's  
site.
There's a fortune 500 company, and it no worky.  Now, for the vast  
majority
of users, there probably wasn't a problem, but with the 5  
executives who
went home to show off their new site to the family, it happened to  
100% of
them.  So, there's no trying to talk them out of what they  
experienced.  In

their eyes, 100% failure rate amongst themselves means big problems
elsewhere etc.

I feel like either I'm missing something fundamental here, or I  
haven't

articulated the problem well enough.

Thanks Geoff

John

On 4/17/06, Geoff Stearns [EMAIL PROTECTED] wrote:


Since nobody really answered this, here you go:

Neither one is really 'better' - they both do pretty much exactly the
same thing. Some people like the syntax used in FlashObject, some
people like the way UFO works instead. Check them both out and pick
the one you like better.

I'd also like to address some of the concerns about FlashObject:

1) Jim said My only reservation with FlashObject is that it's
written in a style that makes it pretty un maintainable.

First, I guess I'm not sure why you would need to 'maintain' it. The
script is basically just an API for writing the HTML to embed a swf
file into an html document. This probably won't change significantly
any time soon, so the need to 'maintain' a script like this is non-
existent. Second, maybe you were looking at the compressed version? I
include a version of the 'source' code that is much easier to read if
you are into that.

As far as the misc. accusations about FlashObject not being Object
Oriented, (Jim said: IMHO, the code is very procedural, not object
oriented.  The  cues for this are the endless conditional
statements.  A good, encapsulated architecture can greatly minimize
these...)

I say this: WTF? FlashObject is about os OOP as you can get with
Javascript. (and where are the 'endless conditional statements' you
speak of?) It's not some compiled language that gets compressed and
translated into machine language. FlashObject is also meant to be a
*very* small file with one specific task. Comparing it to dojo or
other js libraries makes absolutely no sense to me at all. That said,
it's very easy to add more functionality to FlashObject because it
*is* in fact written in an object oriented fashion (in the style of
ECMA script, using prototype). I've written an extension for it for
Flash/JS communication and it works great - I haven't officially
released it yet, but if anyone is interested in seeing how to do
this, you are welcome to grab the source code here: example page:
http://blog.deconcept.com/code/intkit/fo_integrationkit.html
source: http://blog.deconcept.com/code/intkit/fo_integrationkit.zip

2) elibol and I have discussed the ExpressInstall functionality in
FlashObject very thoroughly, and he has a lot of very good points and
had a couple of requests to make using ExpressInstall a bit easier,
but I decided to not change how it works because I like giving people
the choice of custom upgrade messages. During the exchange

Re: [Flashcoders] New wrinkle in IE activation issue...

2006-04-17 Thread Geoff Stearns
I'll second the 'disable script debugging' issue... you should make  
sure that the box is checked and quit/restart the browser window.


A reboot wouldn't hurt, but it shouldn't be necessary.




On Apr 17, 2006, at 7:33 PM, ryanm wrote:

Just for fun, you might want to see if this is limited to Flash,  
or if it
affects other ActiveX controls. Unfortunately, I can't think of  
any other
ActiveX controls on public sites offhand, but I ran into an issue  
today with

a rich text editor that's an ActiveX control.


   Not limited to flash, all activex controls have this problem.

ryanm
___
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: [Flashcoders] Q: Flash Object vs UFO for flash detection and as eolas workaround

2006-04-17 Thread Geoff Stearns

well that's cool, thanks for the response..

the only thing i'd like to address was this part:

The FlashObject class would just embed swf files. Any additional  
concerns
would be seperated from this class, where each class would  
interface to

operate with one anotherAs it stands, all of the features are
crammed into one class file, the
FlashObject.js, making it very hard to add/remove functionality  
without

fundamentally reprogramming the entire tool.


If you take a look at the code, you'll see that it *is* split up into  
different 'classes' and objects that have their own methods...


the FlashObject 'class' handles the base creation (constructor) and  
writing the HTML to the page.
for plugin detection, I have another 'class' that handles lookups of  
the flash player version, this is under
deconcept.FlashObjectUtil 'class'. To do this, it creates  
PlayerVersion objects, which contain methods for comparing versions  
to check if the user has the version that is required or not  
(PlayerVersion.versionIsValid)


then, because it is extremely useful, I've included another 'class'  
for grabbing query parameters (and hash parameters) from the query  
string - this is packaged up in the 'deconcept.util' 'class' (or  
package i guess)


Each of these can be modified / changed / added / removed just as you  
could in any other OOP language (obviously with a few more  
restrictions, since this is Javascript and not some other compiled  
language).


So you can see that it is indeed split up into different sections for  
easier modification.


I guess it helps if you look at the flashobject.js file as more of a  
'package' than a 'class'.



(and as an aside, John's problem can't be fixed by modifying the script)


On Apr 17, 2006, at 9:54 PM, Jim Kremens wrote:


Hi Geoff,

I'll reply to your comments inline below...

First, I guess I'm not sure why you would need to 'maintain' it. The
script is basically just an API for writing the HTML to embed a swf
file into an html document. This probably won't change significantly
any time soon, so the need to 'maintain' a script like this is non-
existent.

I said 'maintain' - a more accurate word would have been 'modify.'
John Grden ran into an 'edge case.'  In a case like that, he might
have chosen to dive into the script to refactor the code in a way that
involved more
than just extending it.

Second, maybe you were looking at the compressed version? I
include a version of the 'source' code that is much easier to read if
you are into that.

I was reading the compressed version.  What a dumbass...  For some  
reason
I just didn't see the 'source' directory there.  Certainly  
helps... :-)


As far as the misc. accusations about FlashObject not being Object
Oriented, (Jim said: 'IMHO, the code is very procedural, not object
oriented.  The  cues for this are the endless conditional
statements.  A good, encapsulated architecture can greatly minimize
these...')

The code is object oriented - that comment was inaccurate.  I think  
it could be

*more* object oriented, if that makes sense... In other words, I would
prefer it if it were
refactored in a way that further encapsulated the various tasks it  
performs.


As far as the conditional statements are concerned, the red flag for
me is seeing conditionals that include seemingly unlike things:

  if(this.skipDetect || this.getAttribute('doExpressInstall') ||
this.installedVer.versionIsValid(this.getAttribute('version'))){

I'm sure all of that makes sense when you're the guy who wrote the
code.  And of course, I can take the time to figure it out
so it makes sense to me as well.  I just think that, for my taste,
this file is trying to do too much.  I'd rather the functionality were
broken out into separate classes.  I alluded to the Strategy pattern
only because I use it all the time.  It forces me to make small
classes that
really only do one thing.  That style of coding used to annoy me, but
I've learned to love it because once you understand how things fit
together, everything's incredibly easy to modify.  And it can
eliminate the need for lots of conditional checks that are otherwise
unavoidable.

I still think Elibol said it extremely well:

The FlashObject class would just embed swf files. Any additional  
concerns
would be seperated from this class, where each class would  
interface to

operate with one anotherAs it stands, all of the features are
crammed into one class file, the
FlashObject.js, making it very hard to add/remove functionality  
without

fundamentally reprogramming the entire tool.

It all comes down to a matter of taste.  For better or worse, my code
looks more like Java than it used to.  (I think too much Java is a
disease,
but there's a lot that can be learned from Java or C#).  I know
Javascript isn't Java, and it isn't even Actionscript.  So it's unfair
of me to
complain about it.  The javascript that I do like typically resides in
larger JS frameworks, like DOJO.  Frameworks