Re: [Flashcoders] wikipedia webservices

2006-04-25 Thread Mark Winterhalder
On 4/25/06, elibol [EMAIL PROTECTED] wrote:
 Hmm, I don't know of the WSDL, but if worse comes to worse, you could always
 run a query by URI and parse out the results...

...or, alternatively, if you happen to run MySQL anyway:
http://en.wikipedia.org/wiki/Wikipedia:Database_download

Mark

--
http://snafoo.org/
___
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] ? page refresh loop ?

2006-04-25 Thread Sibrand Hoekstra | Buyways B.V.

Hello List,

today i am writing a menu in flash, which reads its contents from an xml 
file.

I wrote the entire thing in flash 8 pro on windows xp.
In the office, we're all on linux, some on Debian and some on ubuntu, 
but the thing is:


When my colleague watches the html page in his [linux] firefox, the 
website keeps refreshing.
I am also on linux -ubuntu 5.10- and nothing's wrong, except no 
transparent background.

[this is a less important issue, can fix that in various ways]


So, can anyone figure out what is happening here?


   http://jim.buyways.nl/martiniplaza/   

Cheers,

Siep

--
Sibrand Hoekstra   BuyWays BVT +31 50 3118123
[EMAIL PROTECTED] Friesestraatweg 217c  F +31 50 3118124
http://www.buyways.nl  9743 AD  GroningenM +31 6 41910167

___
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] ? page refresh loop ?

2006-04-25 Thread Matthew Simpson
At which point in the movie does the site refresh?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sibrand
Hoekstra | Buyways B.V.
Sent: Tuesday, April 25, 2006 3:54 AM
To: Flashcoders mailing list
Subject: [Flashcoders] ? page refresh loop ?

Hello List,

today i am writing a menu in flash, which reads its contents from an xml

file.
I wrote the entire thing in flash 8 pro on windows xp.
In the office, we're all on linux, some on Debian and some on ubuntu, 
but the thing is:

When my colleague watches the html page in his [linux] firefox, the 
website keeps refreshing.
I am also on linux -ubuntu 5.10- and nothing's wrong, except no 
transparent background.
[this is a less important issue, can fix that in various ways]


So, can anyone figure out what is happening here?


http://jim.buyways.nl/martiniplaza/   

Cheers,

Siep

-- 
Sibrand Hoekstra   BuyWays BVT +31 50 3118123
[EMAIL PROTECTED] Friesestraatweg 217c  F +31 50 3118124
http://www.buyways.nl  9743 AD  GroningenM +31 6 41910167

___
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] excluding children from setTransform

2006-04-25 Thread Danny Kodicek

I am trying to do a setTransform on my whole movieclip to invert the
colours to
give a high-resolution scheme for people with seeing difficulties. The
problem
is, there are a few graphics (photos) in the app which I do not want to be
inverted. i tried changing their indiviudal transformations back to normal
but
they are still inverted. How can I not apply the transform to those
objects??


In theory, you need to change their transform to the inverse of their 
parent's transform. It sounds like your transform only contains a 
ColorTransform component, so this is the bit you need to invert. A 
ColorTransform object {redMultiplier:t1, redOffset:k1, greenMultiplier:t2, 
...} has an inverse {redMultiplier: 1/t1, redOffset: -k1/t1, greenOffset: 
1/t2, ...}, so if you apply this to your child clips, it should undo the 
parent transform. Of course, in practise you might find that there are small 
errors, especially if any of the multipliers are particularly low or high or 
if your offset values are truncated at the top or bottom end. In that case, 
you might find the concatenatedColorTransform works better.


Danny (PS - all this is untested, but it works in theory...) 


___
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 Detect the FullScreen mode of the swf file

2006-04-25 Thread elibol
use

param name=showMenu value=false/

or

Stage.showMenu = false;

In your case, your width and height are theoretically unchanged. Your movie
is scaled. If you take the scale percentage do some arithmetic with the
actual width and height you can get the pixel value of your movie.

say Stage.width and Stage.height is 123 x 162

say _root is scaled to 150 x 133

123*150/100 = your movie width
162*133/100 = your movie height

Divide by 100 to normalize the value, we are thinking in terms of
percentages.

Hope this helps,

M.

On 4/24/06, Karan Mehra [EMAIL PROTECTED] wrote:

 Hi Sumeet,

 I tried Stage.Width  Stage.Height but coz we are using
 Stage.ScaleMode = showall the Stage's height  width remains same
 irrespective of Fullscreen or not.

 I tried detecting the keys like ctrl-F which is used for making the
 flash window fullscreen and also used for disabling fullsceen but then
 user can also use the menu option available in the flash window to make
 it fullscreen and I was unable to trap the flash menu clicks.

 Thanx,
 Karan

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
 Basak
 Sent: Monday, April 24, 2006 10:57 PM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the swf
 file

 Hi Karan,
 Try using the Stage.Width and Stage.Height methods.
 U will be returned with the dimensions the flash player is using.
 You need to compare the returned value to the array of of existing
 screen
 reolutions. You could find one from the intel graphic driver.
 Google one, I m sure u would get one.

 
 Thanks
 Sumeet Basak
 CTO
 Renaissance Legal  Learning Systems Pvt. Ltd.
 Cell: + 91 9223214301

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Karan
 Mehra
 Sent: Monday, April 24, 2006 8:39 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] How To Detect the FullScreen mode of the swf file

 Hi,



 How to detect whether the swf is playing in fullscreen mode in Flash
 player or not?



 Thanks in Advance.



 Regards,

 Karan

 ___
 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

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

 ___
 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] excluding children from setTransform

2006-04-25 Thread lists
Thanks for the reply, that looks like exactly what I need but I'm 
having trouble
with it. I'm passing in _root.application because its a forms based 
app, but it

seems to be going in to an infinite loop. I'm trying to work out why but it's
difficult to debug because it needs to be run from a browser (depends heavily
on the HTML around it).

Do you have any ideas as to why it might be looping infinitely?

Kev

Quoting elibol [EMAIL PROTECTED]:


There is a function I have handy that you could use to solve this. Instead
of using setTransform on your entire movie, you could do it to all
movieclips except ones that contain the images. You could do this by giving
image clips a special flag that your function will ignore.

   function getClips(target:MovieClip):Array {
   var r = [], i, child, childChildren;
   for(i in target){
   child = target[i];
   if(child instanceof MovieClip){
   if(!child.__hasImage){
   r.push(child);
   childChildren = getClips(child);
   if(childChildren.length0)
   r = r.concat(childChildren);
   }
   }
   }
   return r;
   }

Where __hasImage would be set to true for movieclips that contain images,
this function will return all movieclips that do not contain images.

Hope this helps,

M.

On 4/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hi all,

I am trying to do a setTransform on my whole movieclip to invert the
colours to
give a high-resolution scheme for people with seeing difficulties. The
problem
is, there are a few graphics (photos) in the app which I do not want to be
inverted. i tried changing their indiviudal transformations back to normal
but
they are still inverted. How can I not apply the transform to those
objects??

This is all done on the fly, in code, by the way.

Thanks

Kev

___
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] How To Detect the FullScreen mode of the swf file

2006-04-25 Thread elibol
Here is the code, I haven't tested it:

var movieWidth = _root._xscale*Stage.width/100;
var movieHeight = _root._yscale*Stage.height/100;

On 4/25/06, elibol [EMAIL PROTECTED] wrote:

 use

 param name=showMenu value=false/

 or

 Stage.showMenu = false;

 In your case, your width and height are theoretically unchanged. Your
 movie is scaled. If you take the scale percentage do some arithmetic with
 the actual width and height you can get the pixel value of your movie.

 say Stage.width and Stage.height is 123 x 162

 say _root is scaled to 150 x 133

 123*150/100 = your movie width
 162*133/100 = your movie height

 Divide by 100 to normalize the value, we are thinking in terms of
 percentages.

 Hope this helps,

 M.


 On 4/24/06, Karan Mehra [EMAIL PROTECTED] wrote:
 
  Hi Sumeet,
 
  I tried Stage.Width  Stage.Height but coz we are using
  Stage.ScaleMode = showall the Stage's height  width remains same
  irrespective of Fullscreen or not.
 
  I tried detecting the keys like ctrl-F which is used for making the
  flash window fullscreen and also used for disabling fullsceen but then
  user can also use the menu option available in the flash window to make
  it fullscreen and I was unable to trap the flash menu clicks.
 
  Thanx,
  Karan
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto: [EMAIL PROTECTED] On Behalf Of Sumeet
  Basak
  Sent: Monday, April 24, 2006 10:57 PM
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the swf
  file
 
  Hi Karan,
  Try using the Stage.Width and Stage.Height methods.
  U will be returned with the dimensions the flash player is using.
  You need to compare the returned value to the array of of existing
  screen
  reolutions. You could find one from the intel graphic driver.
  Google one, I m sure u would get one.
 
  
  Thanks
  Sumeet Basak
  CTO
  Renaissance Legal  Learning Systems Pvt. Ltd.
  Cell: + 91 9223214301
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto: [EMAIL PROTECTED] On Behalf Of Karan
  Mehra
  Sent: Monday, April 24, 2006 8:39 AM
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] How To Detect the FullScreen mode of the swf file
 
 
  Hi,
 
 
 
  How to detect whether the swf is playing in fullscreen mode in Flash
  player or not?
 
 
 
  Thanks in Advance.
 
 
 
  Regards,
 
  Karan
 
  ___
  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
 
  --
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
  ___
  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] Initializing Components Delay Problem

2006-04-25 Thread Kevin Cannon
Hi guys,

I've just started writing basic components for things I reuse often and having
a problem with components being initialized. There seems to be a delay before
it happens in some situations. From googling it seems like it's a standard
problem that I'm sure all you guys have encounted many times, but I can't seem
to find the best way of fixing the issue.

Is there anything I can I do to get around this problem?

Thanks!

- Kevin
___
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] window.onClose - Flash

2006-04-25 Thread erixtekila

Hi,



Is there a way to handle a closed window that was owning a flash 
instance ?
I'd like to get an event for ex when someone quit a swf application, by 
closing it's window.


Any idea ?
Thanks
---
erixtekila
http://blog.v-i-a.net/

___
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] window.onClose - Flash

2006-04-25 Thread Martin Weiser
onUnload in javascript (and sen message to flash), but it is not working in 
all browsers


MW
- Original Message - 
From: erixtekila [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 1:40 PM
Subject: [Flashcoders] window.onClose - Flash



Hi,



Is there a way to handle a closed window that was owning a flash instance 
?
I'd like to get an event for ex when someone quit a swf application, by 
closing it's window.


Any idea ?
Thanks
---
erixtekila
http://blog.v-i-a.net/

___
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] window.onClose - Flash

2006-04-25 Thread Dennis - I Sioux

Hey,

Not sure if this is any help to you.
But to my knowledge a sharedobject is always flushed by flash at the moment
you close the swf.
So you could make a fix using that.

Kind regards,

Dennis



- Original Message - 
From: Martin Weiser [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 2:40 PM
Subject: Re: [Flashcoders] window.onClose - Flash


onUnload in javascript (and sen message to flash), but it is not working 
in all browsers


MW
- Original Message - 
From: erixtekila [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 1:40 PM
Subject: [Flashcoders] window.onClose - Flash



Hi,



Is there a way to handle a closed window that was owning a flash instance 
?
I'd like to get an event for ex when someone quit a swf application, by 
closing it's window.


Any idea ?
Thanks
---
erixtekila
http://blog.v-i-a.net/

___
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] How To Detect the FullScreen mode of the swf file

2006-04-25 Thread Karan Mehra
I have tested it ... didn't work :(

_root._xscale is always equal to 100 coz of which the movieWidth and
height always remains same .
We are using Stage.scalemode = showall.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of elibol
Sent: Tuesday, April 25, 2006 4:35 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How To Detect the FullScreen mode of the swf
file

Here is the code, I haven't tested it:

var movieWidth = _root._xscale*Stage.width/100;
var movieHeight = _root._yscale*Stage.height/100;

On 4/25/06, elibol [EMAIL PROTECTED] wrote:

 use

 param name=showMenu value=false/

 or

 Stage.showMenu = false;

 In your case, your width and height are theoretically unchanged. Your
 movie is scaled. If you take the scale percentage do some arithmetic
with
 the actual width and height you can get the pixel value of your movie.

 say Stage.width and Stage.height is 123 x 162

 say _root is scaled to 150 x 133

 123*150/100 = your movie width
 162*133/100 = your movie height

 Divide by 100 to normalize the value, we are thinking in terms of
 percentages.

 Hope this helps,

 M.


 On 4/24/06, Karan Mehra [EMAIL PROTECTED] wrote:
 
  Hi Sumeet,
 
  I tried Stage.Width  Stage.Height but coz we are using
  Stage.ScaleMode = showall the Stage's height  width remains same
  irrespective of Fullscreen or not.
 
  I tried detecting the keys like ctrl-F which is used for making the
  flash window fullscreen and also used for disabling fullsceen but
then
  user can also use the menu option available in the flash window to
make
  it fullscreen and I was unable to trap the flash menu clicks.
 
  Thanx,
  Karan
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto: [EMAIL PROTECTED] On Behalf Of
Sumeet
  Basak
  Sent: Monday, April 24, 2006 10:57 PM
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the
swf
  file
 
  Hi Karan,
  Try using the Stage.Width and Stage.Height methods.
  U will be returned with the dimensions the flash player is using.
  You need to compare the returned value to the array of of existing
  screen
  reolutions. You could find one from the intel graphic driver.
  Google one, I m sure u would get one.
 
  
  Thanks
  Sumeet Basak
  CTO
  Renaissance Legal  Learning Systems Pvt. Ltd.
  Cell: + 91 9223214301
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto: [EMAIL PROTECTED] On Behalf Of
Karan
  Mehra
  Sent: Monday, April 24, 2006 8:39 AM
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] How To Detect the FullScreen mode of the swf
file
 
 
  Hi,
 
 
 
  How to detect whether the swf is playing in fullscreen mode in Flash
  player or not?
 
 
 
  Thanks in Advance.
 
 
 
  Regards,
 
  Karan
 
  ___
  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
 
  --
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
  ___
  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] press hold

2006-04-25 Thread eric dolecki
wondered if anyone had an elegant press  hold function before I wrote one
using enterFrame/interval stuff.
___
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] press hold

2006-04-25 Thread Lee McColl-Sylvester
I have one that sets a date onPress and a date onRelease, then compares
the date's getTime() to see how long it was pressed.  Works for me,
though if you want to set a time during the press, an interval is
required.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric
dolecki
Sent: 25 April 2006 13:55
To: Flashcoders mailing list
Subject: [Flashcoders] press  hold

wondered if anyone had an elegant press  hold function before I wrote
one
using enterFrame/interval stuff.
___
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] press hold

2006-04-25 Thread eric dolecki
What I am currently doing: ( works, just doesn't seem like the right thing
to do )

var nScrollIntervalMS :Number = 70;
some_mc.onPress = function(}{
clearInterval( foobar );
delete foobar;
someFunction();
var nTime = 0;
// Repeat if held down
this.onEnterFrame = function(){
nTime++;
// Click and Hold detected
if( nTime  20 ){
foobar = setInterval( stationUp, nScrollIntervalMS );
this.onEnterFrame = null;
}
};
};
some_mc.onRelease = function(}{
this.onEnterFrame = null;
clearInterval( foobar );
delete foobar;
}


On 4/25/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:

 I have one that sets a date onPress and a date onRelease, then compares
 the date's getTime() to see how long it was pressed.  Works for me,
 though if you want to set a time during the press, an interval is
 required.

 Lee




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of eric
 dolecki
 Sent: 25 April 2006 13:55
 To: Flashcoders mailing list
 Subject: [Flashcoders] press  hold

 wondered if anyone had an elegant press  hold function before I wrote
 one
 using enterFrame/interval stuff.
 ___
 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] Saving XML locally from flash

2006-04-25 Thread Michael K
I have created an swf that can allow the user to configure some movie parts 
and then represent those parts as XML. Is there a way that I can wrap or 
export this SWF into an installable EXE that will allow the user who 
installs it to save this XML doc locally in any folder he wants to? (not as 
a LSO). That is... where I can put in a button that says ‘save XML’ and then 
a browse folders dialogue box pops up and the user can choose which folder 
he saves to. Once saved the user should be able to go to that folder and 
view the newly created XML doc in notepad or explorer.



Can someone give me a direction with this?


Stanford


___
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 Detect the FullScreen mode of the swf file

2006-04-25 Thread Dennis - I Sioux

As someone mentioned before.. you could use Stage.showMenu = false
this way you can catch the ctrl+F to see if someone is fullscreen.

You could also use a holder movieclip.
Don't set the scale mode to showall but use an onlistner on the stage to 
see if the stage is scaled, then you could scale the holder movieclip 
accordingly.


With kind regards,

Dennis

- Original Message - 
From: Karan Mehra [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 2:48 PM
Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the swf file



I have tested it ... didn't work :(

_root._xscale is always equal to 100 coz of which the movieWidth and
height always remains same .
We are using Stage.scalemode = showall.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of elibol
Sent: Tuesday, April 25, 2006 4:35 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How To Detect the FullScreen mode of the swf
file

Here is the code, I haven't tested it:

var movieWidth = _root._xscale*Stage.width/100;
var movieHeight = _root._yscale*Stage.height/100;

On 4/25/06, elibol [EMAIL PROTECTED] wrote:


use

param name=showMenu value=false/

or

Stage.showMenu = false;

In your case, your width and height are theoretically unchanged. Your
movie is scaled. If you take the scale percentage do some arithmetic

with

the actual width and height you can get the pixel value of your movie.

say Stage.width and Stage.height is 123 x 162

say _root is scaled to 150 x 133

123*150/100 = your movie width
162*133/100 = your movie height

Divide by 100 to normalize the value, we are thinking in terms of
percentages.

Hope this helps,

M.


On 4/24/06, Karan Mehra [EMAIL PROTECTED] wrote:

 Hi Sumeet,

 I tried Stage.Width  Stage.Height but coz we are using
 Stage.ScaleMode = showall the Stage's height  width remains same
 irrespective of Fullscreen or not.

 I tried detecting the keys like ctrl-F which is used for making the
 flash window fullscreen and also used for disabling fullsceen but

then

 user can also use the menu option available in the flash window to

make

 it fullscreen and I was unable to trap the flash menu clicks.

 Thanx,
 Karan

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

Sumeet

 Basak
 Sent: Monday, April 24, 2006 10:57 PM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the

swf

 file

 Hi Karan,
 Try using the Stage.Width and Stage.Height methods.
 U will be returned with the dimensions the flash player is using.
 You need to compare the returned value to the array of of existing
 screen
 reolutions. You could find one from the intel graphic driver.
 Google one, I m sure u would get one.

 
 Thanks
 Sumeet Basak
 CTO
 Renaissance Legal  Learning Systems Pvt. Ltd.
 Cell: + 91 9223214301

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

Karan

 Mehra
 Sent: Monday, April 24, 2006 8:39 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] How To Detect the FullScreen mode of the swf

file



 Hi,



 How to detect whether the swf is playing in fullscreen mode in Flash
 player or not?



 Thanks in Advance.



 Regards,

 Karan

 ___
 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

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

 ___
 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 

Re: [Flashcoders] Saving XML locally from flash

2006-04-25 Thread Martin Weiser

wrap to exe , MDM Zinc or any other swf2exe
MW
- Original Message - 
From: Michael Křnig [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 3:06 PM
Subject: [Flashcoders] Saving XML locally from flash


I have created an swf that can allow the user to configure some movie parts 
and then represent those parts as XML. Is there a way that I can wrap or 
export this SWF into an installable EXE that will allow the user who 
installs it to save this XML doc locally in any folder he wants to? (not as 
a LSO). That is... where I can put in a button that says ‘save XML’ and 
then a browse folders dialogue box pops up and the user can choose which 
folder he saves to. Once saved the user should be able to go to that folder 
and view the newly created XML doc in notepad or explorer.



Can someone give me a direction with this?


Stanford


___
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] SCORM

2006-04-25 Thread Beverly Guillermo
Hi,

Have you tried http://www.adlnet.org ?  It has forums and the actual SCORM 
specs too.  I don't think there is a specific mailing list... But if you find 
one, let me know too.

-beverly


-Original Message-
From: Lieven Cardoen [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com; 
osflash@osflash.org
Sent: 04/25/06 5:31 AM
Subject: [Flashcoders] SCORM

Is there a good mailing list for questions related to SCORM?

 

lieven cardoen

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 
T +32 (0)56/361 197
// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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] ObjectSwap: Bypassing the ActiveX Activation Issue in Internet Explorer

2006-04-25 Thread Karina Steffens
Hi all,
 
After way too much time spent on this issue, I have finally perfected the
script (I hope!) and wrote an article about it on my blog. replaceFlash.js
is now called objectSwap.js - It's really meant for all ActiveX objects, not
just Flash, although it does use an custom Flash detection technique.
 
You can download it and read all about it on my blog:
http://www.neo-archaic.net/blog/2006/04/25/objectswap.htm
 
This launches my blog with it's first post, but I'm planning to add more
stuff soon, including tutorials and components (Such as the Tooltip script
that's used in John Gren's Xray). 
 
Any comments or suggestions are welcome...
 
Karina
 
 
Karina Steffens  |  Neo-Archaic
creative  technical new media design
 http://www.neo-archaic.net/ www.neo-archaic.net
 
___
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] Cleaning up

2006-04-25 Thread Patrick Matte
Is it really important to clean up and delete all references to objects
after my application is loaded ?

Like for example do I need to delete all the MovieclipLoader, Tweens and
other Object instances and variables that are not used after my application
has been initiated.

Will it speed up my application ?


___
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] Cleaning up

2006-04-25 Thread eric dolecki
If you are truly done with things, its good practice to pitch them over the
side after they have served their usefulness.

Freeing up memory may speed up your machine more than anything, especially
if you are running multiple applications at once. They all take their piece
of the pie. Depending on the size of your application, it could probably
speed it up a little bit.

On 4/25/06, Patrick Matte [EMAIL PROTECTED] wrote:

 Is it really important to clean up and delete all references to objects
 after my application is loaded ?

 Like for example do I need to delete all the MovieclipLoader, Tweens and
 other Object instances and variables that are not used after my
 application
 has been initiated.

 Will it speed up my application ?


 ___
 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] DICOM File Format use in Flash

2006-04-25 Thread Beverly Guillermo
Hello,

I was wondering if anyone has ever worked with DICOM files without having to 
convert them into JPEG or PNG files?  Is there a plugin that will natively 
import them into Flash?  Any advice or tips on how to work with the file would 
be helpful..!

Thanks,
Beverly
___
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] Deep Linking and the Back button.

2006-04-25 Thread Wade Arnold
I have read a couple articles one from Kevin Lunch and the other from
Christian Cantrell. Both have a decent approach but neither confronts having
some sort of state in the application and also addresses the back button.
Does anyone have a link to a great way to handle this dynamically? Our
applications are dynamic and do not allow us to make an html page loaded
into a frame in order to handle this issue. Does anyone have any links or a
way to port the methods used in flex into flash? 

 

Thanks;

Wade Arnold 

 

 

 

___
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] Flashcoders, eric dolecki wants to chat

2006-04-25 Thread eric dolecki
I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!

---

eric dolecki wants to stay in better touch using some of Google's coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-b393ecc0ed-03f620c86d-bdfe114128bfe81a
You'll need to click this link to be able to chat with eric dolecki.

To get Gmail - a free email account from Google with over 2,600 megabytes of
storage - and chat with eric dolecki, visit:
http://mail.google.com/mail/a-b393ecc0ed-03f620c86d-8782f99e40

Gmail offers:
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into conversations
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages
- Instant messaging capabilities right inside Gmail

All this, and its yours for free. But wait, there's more! You can also get
Google Talk:

http://www.google.com/talk/

Its a small Windows* download that lets you make free calls to your friends
through your computer. It's simple and clutter-free, and it works with any
computer speaker and microphone.

Gmail and Google Talk are still in beta. We're working hard to add new features
and make improvements, so we might also ask for your comments and suggestions
periodically. We appreciate your help in making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).

* Not a Windows user? No problem. You can also connect to the Google
Talk service from any platform using third-party clients
(http://www.google.com/talk/otherclients.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] DataGrid text disappears when using Embed Fonts in Flash 8

2006-04-25 Thread Manuel Saint-Victor
I have a DataGrid in a Form Based Flash 8 App that when I set the global
Styles for embedFonts=true lost all of its  header text.  Has anyone had an
experience with this and is there a workaround?

Thanks,

Mani
___
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] Masking a custom component causes my streamied in video to stop playing.

2006-04-25 Thread Manuel Saint-Victor
I have a custom component that is loading in a progressively downloaded
flv.  When I add a mask onto another  layer in an attempt to mask the
component  the stream for that movie goes blank.  Anyone have any advice on
masking custom components?

Mani
___
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] Deep Linking and the Back button.

2006-04-25 Thread Kevin Newman
I have made a script that intends to solve this very issue. It is a 
single javascript file (no extra server calls to grab a file to fill the 
iframe, it's all done in javascript), with a method (addHistory) that 
adds a history entry, and a delegation pattern for history change 
notification. You can find it here:


http://www.unfocus.com/projects/HistoryKeeper/
http://www.unfocus.com/projects/source/

The history script only takes care of the history portion, you will have 
to take care of the javascript/flash communication using one of the many 
techniques available (my communication framework, or FlashJS, or 
ExternalInterface), and you will need to set up a small script that will 
update the flash movie when the state changes. The state will also need 
to be maintained by your custom Flash scripting (however it is that you 
build your app, I recommend MVC, and making a VC out of the history part 
of the app).


I am working on a History Bridge (JS side is done) to take or this, but 
it isn't ready for prime time yet.


Kevin N.


Wade Arnold wrote:

I have read a couple articles one from Kevin Lunch and the other from
Christian Cantrell. Both have a decent approach but neither confronts having
some sort of state in the application and also addresses the back button.
Does anyone have a link to a great way to handle this dynamically? Our
applications are dynamic and do not allow us to make an html page loaded
into a frame in order to handle this issue. Does anyone have any links or a
way to port the methods used in flex into flash? 

 


Thanks;

Wade Arnold 

 

 
  



___
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] DataGrid text disappears when using Embed Fonts in Flash 8

2006-04-25 Thread Tom Rhodes
i found that if you have the fields set to antialias for readability 
then they will disappear! setting as bitmap worked for me.


pretty sure you shouldn't have to do this though

Manuel Saint-Victor wrote:

I have a DataGrid in a Form Based Flash 8 App that when I set the global
Styles for embedFonts=true lost all of its  header text.  Has anyone had an
experience with this and is there a workaround?

Thanks,

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


  



--

__

Tom Rhodes - Developer / Composer
Wheelhouse Creative Ltd, 2 Albion Place,
Hammersmith, London. W6 0QT
Tel: 020 8748 4466  Fax: 020 8748 4850
www.wheelhousecreative.co.uk
__

___
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] Deep Linking and the Back button.

2006-04-25 Thread JesterXL
I am hoping Beta 3 of Flex 2 will provide the source for HistoryManager.  He 
handles both state and back/forward buttons.

- Original Message - 
From: Wade Arnold [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 11:27 AM
Subject: [Flashcoders] Deep Linking and the Back button.


I have read a couple articles one from Kevin Lunch and the other from
Christian Cantrell. Both have a decent approach but neither confronts having
some sort of state in the application and also addresses the back button.
Does anyone have a link to a great way to handle this dynamically? Our
applications are dynamic and do not allow us to make an html page loaded
into a frame in order to handle this issue. Does anyone have any links or a
way to port the methods used in flex into flash?



Thanks;

Wade Arnold







___
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] DataGrid text disappears when using Embed Fonts in Flash 8

2006-04-25 Thread Manuel Saint-Victor
Would I do that globally or for the DataGrid's headerText or what?



On 4/25/06, Tom Rhodes [EMAIL PROTECTED] wrote:

 i found that if you have the fields set to antialias for readability
 then they will disappear! setting as bitmap worked for me.

 pretty sure you shouldn't have to do this though

 Manuel Saint-Victor wrote:
  I have a DataGrid in a Form Based Flash 8 App that when I set the global
  Styles for embedFonts=true lost all of its  header text.  Has anyone had
 an
  experience with this and is there a workaround?
 
  Thanks,
 
  Mani
  ___
  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
 
 
 


 --

 __

 Tom Rhodes - Developer / Composer
 Wheelhouse Creative Ltd, 2 Albion Place,
 Hammersmith, London. W6 0QT
 Tel: 020 8748 4466  Fax: 020 8748 4850
 www.wheelhousecreative.co.uk
 __

 ___
 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] Masking a custom component causes my streamied invideo to stop playing.

2006-04-25 Thread JesterXL
You'll need to set the header fonts.  They header's by default use a Label I 
think.  Label by default uses _sans of 12.  _sans is a device font, not a 
font you can embed; it's an implict way of saying do not embed fonts, but 
use the Arial/Verdana equivalent on this machine.

Since the header's inherit the embedFonts style, you'll need to set the 
fontFamily of the datagrid to a font that you have embedded.

- Original Message - 
From: Manuel Saint-Victor [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 11:46 AM
Subject: [Flashcoders] Masking a custom component causes my streamied 
invideo to stop playing.


I have a custom component that is loading in a progressively downloaded
flv.  When I add a mask onto another  layer in an attempt to mask the
component  the stream for that movie goes blank.  Anyone have any advice on
masking custom components?

Mani
___
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] Deep Linking and the Back button.

2006-04-25 Thread Kevin Newman
I took a quick look at the Flex 2 method for bookmarking and it looks 
like they are using an iframe with an external html file for IE. My 
script has no requirement for a server call. ;-) I don't know if they 
intend to change it though.


Kevin N.


JesterXL wrote:
I am hoping Beta 3 of Flex 2 will provide the source for HistoryManager.  He 
handles both state and back/forward buttons.


- Original Message - 
From: Wade Arnold [EMAIL PROTECTED]

To: Flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 11:27 AM
Subject: [Flashcoders] Deep Linking and the Back button.


I have read a couple articles one from Kevin Lunch and the other from
Christian Cantrell. Both have a decent approach but neither confronts having
some sort of state in the application and also addresses the back button.
Does anyone have a link to a great way to handle this dynamically? Our
applications are dynamic and do not allow us to make an html page loaded
into a frame in order to handle this issue. Does anyone have any links or a
way to port the methods used in flex into flash?



Thanks;

Wade Arnold







___
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] Deep Linking and the Back button.

2006-04-25 Thread JesterXL
I never looked at it, so very nice to know!  I've used Kevin's with success 
here (she's slow, give her 10 seconds):
http://dev.jessewarden.com/flex/codeshare/#codeid=43

But had some problems with Firefox recognizing a manual link change from 
loading a bookmark (IE  6 had no problem).  It uses the state to change the 
URL, but I didn't code a listener for a change in state in the app but 
should of.  That uses' Kevin's code for both bookmarking  back/forward.

- Original Message - 
From: Kevin Newman [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 12:10 PM
Subject: Re: [Flashcoders] Deep Linking and the Back button.


I took a quick look at the Flex 2 method for bookmarking and it looks
like they are using an iframe with an external html file for IE. My
script has no requirement for a server call. ;-) I don't know if they
intend to change it though.

Kevin N.


JesterXL wrote:
 I am hoping Beta 3 of Flex 2 will provide the source for HistoryManager. 
 He
 handles both state and back/forward buttons.

 - Original Message - 
 From: Wade Arnold [EMAIL PROTECTED]
 To: Flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, April 25, 2006 11:27 AM
 Subject: [Flashcoders] Deep Linking and the Back button.


 I have read a couple articles one from Kevin Lunch and the other from
 Christian Cantrell. Both have a decent approach but neither confronts 
 having
 some sort of state in the application and also addresses the back button.
 Does anyone have a link to a great way to handle this dynamically? Our
 applications are dynamic and do not allow us to make an html page loaded
 into a frame in order to handle this issue. Does anyone have any links or 
 a
 way to port the methods used in flex into flash?



 Thanks;

 Wade Arnold







 ___
 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] Masking a custom component causes my streamied invideo to stop playing.

2006-04-25 Thread Manuel Saint-Victor
Thansk you so much!!! That fixed it.  I just used embedFonts=false for the
datagrids

Mani



On 4/25/06, JesterXL [EMAIL PROTECTED] wrote:

 You'll need to set the header fonts.  They header's by default use a Label
 I
 think.  Label by default uses _sans of 12.  _sans is a device font, not
 a
 font you can embed; it's an implict way of saying do not embed fonts, but
 use the Arial/Verdana equivalent on this machine.

 Since the header's inherit the embedFonts style, you'll need to set the
 fontFamily of the datagrid to a font that you have embedded.

 - Original Message -
 From: Manuel Saint-Victor [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, April 25, 2006 11:46 AM
 Subject: [Flashcoders] Masking a custom component causes my streamied
 invideo to stop playing.


 I have a custom component that is loading in a progressively downloaded
 flv.  When I add a mask onto another  layer in an attempt to mask the
 component  the stream for that movie goes blank.  Anyone have any advice
 on
 masking custom components?

 Mani
 ___
 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] SharedObject folder name query

2006-04-25 Thread Manuel Saint-Victor
I think I read somewhere that that folder name is randomly generated each
time for some security reason.
M

On 4/18/06, Segar Rogers [EMAIL PROTECTED] wrote:

 Not a high priority query but maybe someone knows the answer:

 On  Mac OS 10.4, Flash 8 SharedObject files are stored in
 UserName/Library/Preferences/Macromedia/Flash
 Player/#SharedObjects//localhost where  represents a variously
 named folder. Example of folder 's name are BBYLXPK3 and UTGQ8P8M.
 If I delete the folder Flash very kindly creates another one the next
 time it writes to a SharedObject BUT with a new name. The question is
 ... why the different name everytime? And what information does the
 name contain (if any)?

 Segar Rogers


 ___
 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] Deep Linking and the Back button.

2006-04-25 Thread Kevin Newman
Yes, in Firefox you cannot change the url manually while you are within 
an application (refreshing the browser fixes this problem though). There 
is a bug filed in bugzilla:


https://bugzilla.mozilla.org/show_bug.cgi?id=302575

Kevin N.


JesterXL wrote:
I never looked at it, so very nice to know!  I've used Kevin's with success 
here (she's slow, give her 10 seconds):

http://dev.jessewarden.com/flex/codeshare/#codeid=43

But had some problems with Firefox recognizing a manual link change from 
loading a bookmark (IE  6 had no problem).  It uses the state to change the 
URL, but I didn't code a listener for a change in state in the app but 
should of.  That uses' Kevin's code for both bookmarking  back/forward.


- Original Message - 
From: Kevin Newman [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 12:10 PM
Subject: Re: [Flashcoders] Deep Linking and the Back button.


I took a quick look at the Flex 2 method for bookmarking and it looks
like they are using an iframe with an external html file for IE. My
script has no requirement for a server call. ;-) I don't know if they
intend to change it though.

Kevin N.


JesterXL wrote:
  
I am hoping Beta 3 of Flex 2 will provide the source for HistoryManager. 
He

handles both state and back/forward buttons.

- Original Message - 
From: Wade Arnold [EMAIL PROTECTED]

To: Flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 11:27 AM
Subject: [Flashcoders] Deep Linking and the Back button.


I have read a couple articles one from Kevin Lunch and the other from
Christian Cantrell. Both have a decent approach but neither confronts 
having

some sort of state in the application and also addresses the back button.
Does anyone have a link to a great way to handle this dynamically? Our
applications are dynamic and do not allow us to make an html page loaded
into a frame in order to handle this issue. Does anyone have any links or 
a

way to port the methods used in flex into flash?



Thanks;

Wade Arnold









___
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] window.onClose - Flash

2006-04-25 Thread erixtekila


onUnload in javascript (and sen message to flash), but it is not 
working in all browsers

That's what I've experienced too. Thanks.
onClose doesn't too…

---
erixtekila
http://blog.v-i-a.net/

___
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] window.onClose - Flash

2006-04-25 Thread erixtekila
But to my knowledge a sharedobject is always flushed by flash at the 
moment

you close the swf.
So you could make a fix using that.

This is a pretty nice info.
Do you know if it's a special sharedObject or one that you were using 
first ?




Not sure if this is any help to you.

Hope it will… thanks.
---
erixtekila
http://blog.v-i-a.net/
___
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 Detect the FullScreen mode of the swf file

2006-04-25 Thread Michael Bedar
How about not using showall?  If you set it to noscale, then you can  
resize your content any way you want, and also i suppose compare  
current size to screen size correctly.



On Apr 25, 2006, at 9:38 AM, elibol wrote:

I agree with an alternative to showall. depending on the  
circumstances of
what you're doing, there could be a number of different ways to  
solve it.


Finally though, if you should use showall, and if your flash  
movie is 100
x 100 percent, you could use some javascript to give you the size  
of the
browser window. There may be flash object properties that give you  
the size

of the movie.

I am convinced that the movie size cannot be determined with showall
without help from outside of the movie. It seems that showall  
allows the
flash player to behave like an observer of the movie, like a camera  
lens
zooming in and out. Relatively, the movie doesn't know the distance  
between

itself and the observer.

Just some theory that seems to make sense with the behavior.

Hope this helps,

M.

On 4/25/06, Dennis - I Sioux [EMAIL PROTECTED] wrote:


As someone mentioned before.. you could use Stage.showMenu = false
this way you can catch the ctrl+F to see if someone is fullscreen.

You could also use a holder movieclip.
Don't set the scale mode to showall but use an onlistner on the  
stage to

see if the stage is scaled, then you could scale the holder movieclip
accordingly.

With kind regards,

Dennis

- Original Message -
From: Karan Mehra [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 2:48 PM
Subject: RE: [Flashcoders] How To Detect the FullScreen mode of  
the swf

file



I have tested it ... didn't work :(

_root._xscale is always equal to 100 coz of which the movieWidth and
height always remains same .
We are using Stage.scalemode = showall.



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

Sent: Tuesday, April 25, 2006 4:35 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How To Detect the FullScreen mode of  
the swf

file

Here is the code, I haven't tested it:

var movieWidth = _root._xscale*Stage.width/100;
var movieHeight = _root._yscale*Stage.height/100;

On 4/25/06, elibol [EMAIL PROTECTED] wrote:


use

param name=showMenu value=false/

or

Stage.showMenu = false;

In your case, your width and height are theoretically unchanged.  
Your
movie is scaled. If you take the scale percentage do some  
arithmetic

with
the actual width and height you can get the pixel value of your  
movie.


say Stage.width and Stage.height is 123 x 162

say _root is scaled to 150 x 133

123*150/100 = your movie width
162*133/100 = your movie height

Divide by 100 to normalize the value, we are thinking in terms of
percentages.

Hope this helps,

M.


On 4/24/06, Karan Mehra [EMAIL PROTECTED] wrote:


Hi Sumeet,

I tried Stage.Width  Stage.Height but coz we are using
Stage.ScaleMode = showall the Stage's height  width remains  
same

irrespective of Fullscreen or not.

I tried detecting the keys like ctrl-F which is used for making  
the

flash window fullscreen and also used for disabling fullsceen but

then

user can also use the menu option available in the flash window to

make

it fullscreen and I was unable to trap the flash menu clicks.

Thanx,
Karan

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

Sumeet

Basak
Sent: Monday, April 24, 2006 10:57 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] How To Detect the FullScreen mode of  
the

swf

file

Hi Karan,
Try using the Stage.Width and Stage.Height methods.
U will be returned with the dimensions the flash player is using.
You need to compare the returned value to the array of of existing
screen
reolutions. You could find one from the intel graphic driver.
Google one, I m sure u would get one.


Thanks
Sumeet Basak
CTO
Renaissance Legal  Learning Systems Pvt. Ltd.
Cell: + 91 9223214301

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

Karan

Mehra
Sent: Monday, April 24, 2006 8:39 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] How To Detect the FullScreen mode of the  
swf

file



Hi,



How to detect whether the swf is playing in fullscreen mode in  
Flash

player or not?



Thanks in Advance.



Regards,

Karan

___
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 

[Flashcoders] Scope problems

2006-04-25 Thread Asai



I'm having some frustrating problems with scope in trying to author 
some classes.  Basically, how do I get a value which is nested in a 
function, returned to update the value of a given property?  I've got 
several functions nested inside a public function which includes 
function literals. In the following code I just want to be able to 
have the returnBW function update the value of the vidQuality 
property.  But I can't figure out how to return it?  Any knowledge?


thanks.

class classes.CheckBW {
var nc:NetConnection;
var ns:NetStream;
var whichServer;
var counter;
var vidQuality:String;
public function bwCheck(whichServer):Void{
nc = new NetConnection();
nc.onStatus = function(info) {
trace(Level: +info.level+ Code: +info.code);
NetConnection.prototype.onBWDone = function(p_bw) {
trace(onBWDone: +p_bw);
if (p_bw != undefined) {
returnBW(p_bw);
}
};
function returnBW(p_bw) {
trace(returnBW called);
if (p_bw=400) {
vidQuality = 
_med;

} else if (p_bw400  p_bw=150) {
vidQuality = 
_low;

} else if (p_bw150) {
vidQuality = 
_low;

}
}
NetConnection.prototype.onBWCheck = function() {
return ++counter;
// Serverside, just ignore any 
return value and return the call count

};

};
nc.connect(whichServer);
nc.call(checkBandwidth, null);


}

}

___
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] Scope problems

2006-04-25 Thread Cedric Muller

what about:

class classes.CheckBW {
var nc:NetConnection;
var ns:NetStream;
var whichServer;
var counter;
var vidQuality:String;
var owner:Object = this;
public function bwCheck(whichServer):Void{
nc = new NetConnection();
nc.onStatus = function(info) {
trace(Level: +info.level+ Code:  
+info.code);
NetConnection.prototype.onBWDone = function 
(p_bw) {

trace(onBWDone: +p_bw);
if (p_bw != undefined) {
owner.returnBW(p_bw);
}
};
function returnBW(p_bw) {
trace(returnBW called);
if (p_bw=400) {
vidQuality = _med;
} else if (p_bw400  p_bw=150) {
vidQuality = _low;
} else if (p_bw150) {
vidQuality = _low;
}
}
NetConnection.prototype.onBWCheck = function 
() {

return ++counter;
// Serverside, just ignore any  
return value and return the call count

};

};
nc.connect(whichServer);
nc.call(checkBandwidth, null);


}

}


??
(just added the 'owner')

hth,
cedric




class classes.CheckBW {
var nc:NetConnection;
var ns:NetStream;
var whichServer;
var counter;
var vidQuality:String;
public function bwCheck(whichServer):Void{
nc = new NetConnection();
nc.onStatus = function(info) {
trace(Level: +info.level+ Code:  
+info.code);
NetConnection.prototype.onBWDone = function 
(p_bw) {

trace(onBWDone: +p_bw);
if (p_bw != undefined) {
returnBW(p_bw);
}
};
function returnBW(p_bw) {
trace(returnBW called);
if (p_bw=400) {
vidQuality = _med;
} else if (p_bw400  p_bw=150) {
vidQuality = _low;
} else if (p_bw150) {
vidQuality = _low;
}
}
NetConnection.prototype.onBWCheck = function 
() {

return ++counter;
// Serverside, just ignore any  
return value and return the call count

};

};
nc.connect(whichServer);
nc.call(checkBandwidth, null);


}

}


___
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] Can't tint AND add GlowFilter?

2006-04-25 Thread Mendelsohn, Michael
Hi list...

The code below tints a MC on the stage and then I'm trying to put a
black glow around it, but the glow turns out to be the same tint as the
ColorTransform.  Is there a way to make sure the glow is a different
color?

Thanks,
- Michael M.


var clr:ColorTransform = new ColorTransform();
clr.rgb = Number(String(0x + fmColors[whichColor][0].toString(16) +
fmColors[whichColor][1].toString(16) +
fmColors[whichColor][2].toString(16)));
trans.colorTransform = clr;
var fltr:Array = [new GlowFilter(0x00, 1, 5, 5, 1000, 2)];
newClip.filters = fltr;


___
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] Scope problems

2006-04-25 Thread Asai


Hey Cedric, thanks a lot, man!  It works. That was just killing me. 
Sometimes it doesn't matter how many O'Reilly books you read, you 
gotta have someone tell you how it is.

Thanks again!

At 12:18 PM 4/25/2006, you wrote:

what about:

class classes.CheckBW {
var nc:NetConnection;
var ns:NetStream;
var whichServer;
var counter;
var vidQuality:String;
var owner:Object = this;
public function bwCheck(whichServer):Void{
nc = new NetConnection();
nc.onStatus = function(info) {
trace(Level: +info.level+ Code:
+info.code);
NetConnection.prototype.onBWDone = function (p_bw) {
trace(onBWDone: +p_bw);
if (p_bw != undefined) {
owner.returnBW(p_bw);
}
};
function returnBW(p_bw) {
trace(returnBW called);
if (p_bw=400) {
vidQuality = _med;
} else if (p_bw400  p_bw=150) {
vidQuality = _low;
} else if (p_bw150) {
vidQuality = _low;
}
}
NetConnection.prototype.onBWCheck = function () {
return ++counter;
// Serverside, just ignore any
return value and return the call count
};

};
nc.connect(whichServer);
nc.call(checkBandwidth, null);


}

}


??
(just added the 'owner')

hth,
cedric




class classes.CheckBW {
var nc:NetConnection;
var ns:NetStream;
var whichServer;
var counter;
var vidQuality:String;
public function bwCheck(whichServer):Void{
nc = new NetConnection();
nc.onStatus = function(info) {
trace(Level: +info.level+ Code:
+info.code);
NetConnection.prototype.onBWDone = function (p_bw) {
trace(onBWDone: +p_bw);
if (p_bw != undefined) {
returnBW(p_bw);
}
};
function returnBW(p_bw) {
trace(returnBW called);
if (p_bw=400) {
vidQuality = _med;
} else if (p_bw400  p_bw=150) {
vidQuality = _low;
} else if (p_bw150) {
vidQuality = _low;
}
}
NetConnection.prototype.onBWCheck = function () {
return ++counter;
// Serverside, just ignore any
return value and return the call count
};

};
nc.connect(whichServer);
nc.call(checkBandwidth, null);


}

}


___
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


Re: [Flashcoders] Can't tint AND add GlowFilter?

2006-04-25 Thread Michael Bedar

You will need to make a seperate MC to add the glow to...

ie

MainMC.GlowMC
MainMC.TintMC

OR, you can apply the filters to a bitmap, instead of applying them  
directly to the MC.




On Apr 25, 2006, at 3:39 PM, Mendelsohn, Michael wrote:


Hi list...

The code below tints a MC on the stage and then I'm trying to put a
black glow around it, but the glow turns out to be the same tint as  
the

ColorTransform.  Is there a way to make sure the glow is a different
color?

Thanks,
- Michael M.


var clr:ColorTransform = new ColorTransform();
clr.rgb = Number(String(0x + fmColors[whichColor][0].toString(16) +
fmColors[whichColor][1].toString(16) +
fmColors[whichColor][2].toString(16)));
trans.colorTransform = clr;
var fltr:Array = [new GlowFilter(0x00, 1, 5, 5, 1000, 2)];
newClip.filters = fltr;


___
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] getBytesTotal getBytesLoade, are they working for flash 8 and above????

2006-04-25 Thread Martin Weiser

Hi,
i;m desperate, i seem not to get any response from getBytesTotal and loade, 
for MovieCLip, Sound object???


i cannot preload sound, how come, if it is in manual and was working in 6 
and 7 ??

MoveClipLoader class works, but loadProgress returns undefined as well...

MW 


___
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] creating a schedule based on starting date

2006-04-25 Thread matt ganz
hi. 

i'm building a scheduler application. a user chooses the first date of their 
infusion and then how many they want and how frequently. 

a user can choose between 1-3 infusions every 1, 2, 3, or 4 weeks. these values 
are stored in comboboxes where the user makes their selection. 

what i want to do is calculate on what days there will be infusions and then 
push them into an array. 

i capture the starting date and injections like this:

startingMonth = month_cb.selectedItem.data; 
startingDay = day_cb.selectedItem.label;
startingYear = year_cb.selectedItem.label;
infusions = infusions_cb.selectedItem.label;
weeks = weeks_cb.selectedItem.label;

how would i go about pushing them into an array? this is what i've begun with. 

var infusionDates:Array = new Array();
infusionDates.push( startingDay +   + startingMonth +   + startingYear ); 
// how would i increment it? 

any tips on getting started are greatly appreciated. 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


Re: [Flashcoders] getBytesTotal getBytesLoade, are they working for flash 8 and above????

2006-04-25 Thread JesterXL
Where is your SWF and where is the Sound it's loading located?

- Original Message - 
From: Martin Weiser [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 5:07 PM
Subject: [Flashcoders] getBytesTotal getBytesLoade,are they working for 
flash 8 and above


Hi,
i;m desperate, i seem not to get any response from getBytesTotal and loade,
for MovieCLip, Sound object???

i cannot preload sound, how come, if it is in manual and was working in 6
and 7 ??
MoveClipLoader class works, but loadProgress returns undefined as well...

MW

___
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] getBytesTotal getBytesLoade, are they working for flash 8 and above????

2006-04-25 Thread Martin Weiser

bpth local from IDE and standalone, and from web, not working
now whe loading sound as stream it works
M
- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 11:17 PM
Subject: Re: [Flashcoders] getBytesTotal getBytesLoade, are they working for 
flash 8 and above




Where is your SWF and where is the Sound it's loading located?

- Original Message - 
From: Martin Weiser [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 5:07 PM
Subject: [Flashcoders] getBytesTotal getBytesLoade,are they working for
flash 8 and above


Hi,
i;m desperate, i seem not to get any response from getBytesTotal and 
loade,

for MovieCLip, Sound object???

i cannot preload sound, how come, if it is in manual and was working in 6
and 7 ??
MoveClipLoader class works, but loadProgress returns undefined as well...

MW

___
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] window.onClose - Flash

2006-04-25 Thread David Rorex
you could also try

function myfunc()
{
// tell flash movie goodbye
}
window.onbeforeunload = myfunc;

I've had pretty good success with it, in IE and Firefox on windows at least.

On 4/25/06, erixtekila [EMAIL PROTECTED] wrote:

  But to my knowledge a sharedobject is always flushed by flash at the
  moment
  you close the swf.
  So you could make a fix using that.
 This is a pretty nice info.
 Do you know if it's a special sharedObject or one that you were using
 first ?


  Not sure if this is any help to you.
 Hope it will…thanks.
 ---
 erixtekila
 http://blog.v-i-a.net/
 ___
 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] getBytesTotal getBytesLoade, are they working for flash 8 and above????

2006-04-25 Thread JesterXL
If you stream the sound, you can track the progress of the streaming.  If 
you don't, you cannot track the progress because it is not streaming.

- Original Message - 
From: Martin Weiser [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 5:29 PM
Subject: Re: [Flashcoders] getBytesTotal getBytesLoade,are they working for 
flash 8 and above


bpth local from IDE and standalone, and from web, not working
now whe loading sound as stream it works
M
- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 11:17 PM
Subject: Re: [Flashcoders] getBytesTotal getBytesLoade, are they working for
flash 8 and above


 Where is your SWF and where is the Sound it's loading located?

 - Original Message - 
 From: Martin Weiser [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, April 25, 2006 5:07 PM
 Subject: [Flashcoders] getBytesTotal getBytesLoade,are they working for
 flash 8 and above


 Hi,
 i;m desperate, i seem not to get any response from getBytesTotal and
 loade,
 for MovieCLip, Sound object???

 i cannot preload sound, how come, if it is in manual and was working in 6
 and 7 ??
 MoveClipLoader class works, but loadProgress returns undefined as well...

 MW

 ___
 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] window.onClose - Flash

2006-04-25 Thread erixtekila


Le 25 avr. 06, à 23:31, David Rorex a écrit :


window.onbeforeunload

Never knew that one.

I'l check for its availability across platforms. Thanks.

---
erixtekila
http://blog.v-i-a.net/
___
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] Flash Player 6 on PSP

2006-04-25 Thread judah

quote:
There are quite a few updates in this release [PSP Firmware 2.7] so hold 
on to your hats as we take you down the rabbit hole. To break the ice we 
start off with a few networking updates, notably the largest update 
would be including partial Flash 6 support. Flash support is a great way 
to add a few games and movies to your PSP collection on the go, the only 
noteable issue with integrated Flash support is that some functions are 
not supported in addition to the obvious fact that Flash 6 is somewhat 
outdated.


There is no more info about what functions are not support...

Judah

--
Always bear in mind that your own resolution to succeed is more important than any 
one thing.

You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. 


- Abraham Lincoln

___
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 6 on PSP

2006-04-25 Thread John Dowdell

judah wrote:

quote:
There are quite a few updates in this release [PSP Firmware 2.7] so hold 
on to your hats as we take you down the rabbit hole. To break the ice we 
start off with a few networking updates, notably the largest update 
would be including partial Flash 6 support. Flash support is a great way 
to add a few games and movies to your PSP collection on the go, the only 
noteable issue with integrated Flash support is that some functions are 
not supported in addition to the obvious fact that Flash 6 is somewhat 
outdated.


There is no more info about what functions are not support...


I saw that too, and am trying to get more info as well. Things I know so 
far:


--  available RAM is tight
--  processor is also a bit less than computer-sized
--  we need info on which SWF6 features are not supported in Sony engine
--  there's also the range of webdesign considerations:
http://www.brothercake.com/site/resources/reference/psp/

jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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


Re: [Flashcoders] Flash Player 6 on PSP

2006-04-25 Thread John Dowdell
heh, wouldn't you know it, just after sending that reply I got some 
fresh info ;-)


Bill Perry will have the best word, here:
http://www.flashdevices.net/

I saw a paper document which detailed some of the not supported 
caveats... takeaways I had included: clipboard; video (some? all?); 
context menu; printing; LiveConnect (FSCommand); FlashComm stuff like 
HTTP Tunneling and Screen Sharing; XMLSocket; WMODE transparency. They 
also advise a top filesize of 1.5M or so, to check on device fonts, 
differences in mouseOut in some situations.


Bill will have better info than me here, but the above should be the 
gist of it, from what I currently understand. Good?


jd




--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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


Re: [Flashcoders] Flash Player 6 on PSP

2006-04-25 Thread judah

Thanks JD! I'll wait for Bill to update his blog for more information.

John Dowdell wrote:
heh, wouldn't you know it, just after sending that reply I got some 
fresh info ;-)


Bill Perry will have the best word, here:
http://www.flashdevices.net/

I saw a paper document which detailed some of the not supported 
caveats... takeaways I had included: clipboard; video (some? all?); 
context menu; printing; LiveConnect (FSCommand); FlashComm stuff like 
HTTP Tunneling and Screen Sharing; XMLSocket; WMODE transparency. They 
also advise a top filesize of 1.5M or so, to check on device fonts, 
differences in mouseOut in some situations.


Bill will have better info than me here, but the above should be the 
gist of it, from what I currently understand. Good?


jd







--
Always bear in mind that your own resolution to succeed is more important than any 
one thing.

You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. 


- Abraham Lincoln

___
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] Accessibility and MSAA - Is this documented anywhere?

2006-04-25 Thread Scott Hyndman
I've been looking through MM's accessibility implementations for their
V2 components because I'm trying to figure out how they work. I've
noticed they follow the MSAA IAccessible interface quite closely, but I
have a few questions.
 
Are their docs?
What methods are exposed to MSAA?
What's the idea behind methods like getChildIdArray()? I can't seem to
find any reference to them anywhere else in the framework, so I can only
assume the Flash player invokes this at some point.
 
Can anyone help? If an Adobe dev could pipe in I'd really appreciate it.
 
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