[Flashcoders] XML Parsing

2006-06-05 Thread Sajid Saiyed

Hi,
I have an XML like this:

root
totalLayers
number5/number
/totalLayers
LayerOne
asset
 namesomename0.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
asset
 namesomename1.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
/LayerOne
Layertwo
asset
 namesomename2.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
/LayerTwo
/root

I want to use XPATH or something similar to create dynamic
arrays/string and store values respectivele like this:

String:
totalLayers = 5;

LayerOne and LayerTwo will be a multidimentional array

LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...]
LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...]
etc...

Any hint or suggestion...?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] More on shared fonts and embedding

2006-06-05 Thread Danny Kodicek

Okay, I'm back after the weekend and ready to get this sorted out.

Thanks to various help, mostly Tom, I've got to the stage where objects in 
one movie are managing to share a font in another, which at least is what 
shared fonts are supposed to do (and is in itself something of a 
breakthrough for me). But it's still not right. The problem is that for 
dynamic fields, unless I embed the font, it doesn't appear antialiased. This 
means that my 'client' movie has to embed my shared font, but as soon as I 
do that, the linkage breaks (quite reasonably). Meanwhile, I'm still 
concerted about the low filesize in the 'Official' version: I can't see how 
this can contain all the font information.


I really would appreciate some more thoughts on this. Am I just missing a 
trick on how to get these fonts antialiasing correctly?


Danny

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

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


Re: [Flashcoders] XML Parsing

2006-06-05 Thread Weldon MacDonald

If your data is that consistent and all you need is to transfer it to
arrays, then why do you need xpath, you could write your own parser,
using while loops, to do this in very little time.
I'm not an experrt, but it seems to me that xpath is more useful for
dynamic access to the xml. Is that not correct?
If I am correct, an interesting question is; what is more efficient,
transferring to arrays and using the arrays, or dynamically accessing
the xml directly?

On 6/5/06, Sajid Saiyed [EMAIL PROTECTED] wrote:

Hi,
I have an XML like this:

root
totalLayers
number5/number
/totalLayers
LayerOne
asset
 namesomename0.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
asset
 namesomename1.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
/LayerOne
Layertwo
asset
 namesomename2.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
/LayerTwo
/root

I want to use XPATH or something similar to create dynamic
arrays/string and store values respectivele like this:

String:
totalLayers = 5;

LayerOne and LayerTwo will be a multidimentional array

LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...]
LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...]
etc...

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

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




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

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


Re: [Flashcoders] XML Parsing

2006-06-05 Thread Sajid Saiyed

Hi,
My data is not this simple or static.

I gave this sample XML just to explain the structure.

The XML is going to be dynamic, hence I need to parse it using
something like XPATH (I suppose).

Regards

On 6/5/06, Weldon MacDonald [EMAIL PROTECTED] wrote:

If your data is that consistent and all you need is to transfer it to
arrays, then why do you need xpath, you could write your own parser,
using while loops, to do this in very little time.
I'm not an experrt, but it seems to me that xpath is more useful for
dynamic access to the xml. Is that not correct?
If I am correct, an interesting question is; what is more efficient,
transferring to arrays and using the arrays, or dynamically accessing
the xml directly?

On 6/5/06, Sajid Saiyed [EMAIL PROTECTED] wrote:
 Hi,
 I have an XML like this:

 root
 totalLayers
 number5/number
 /totalLayers
 LayerOne
 asset
  namesomename0.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 asset
  namesomename1.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerOne
 Layertwo
 asset
  namesomename2.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerTwo
 /root

 I want to use XPATH or something similar to create dynamic
 arrays/string and store values respectivele like this:

 String:
 totalLayers = 5;

 LayerOne and LayerTwo will be a multidimentional array

 
LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...]
 
LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...]
 etc...

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

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



--
Weldon MacDonald
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Christian

Hey Guys,

So i'm in the process of writing a class that does a lot of JavaScript 
handling.  The tricky part is, I want to use External Interface for 
those files published in 8 and simple getURL calls for those published 
in 7 or below.


For all intents and purposes, this is a private class that won't be 
exposed to the public, so I can't simply require the user to import 
version 8 of class or version 7 of class.


Is there a way to do a conditional import based on published version, 
instead of runtime version?  I often use $version to detect major 
version of play to handle other functionality, but as you all know 
External Interface breaks if not published in 8.


OR better yet, could I simply just copy the file to the FP7 folder and 
fake it?


Does this make sense or am I smoking crack here?

Christian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Janis Radins

no there is no way
improts are executed at compile time all you can do is to define which class
to use depending on player version

2006/6/5, Christian [EMAIL PROTECTED]:


Hey Guys,

So i'm in the process of writing a class that does a lot of JavaScript
handling.  The tricky part is, I want to use External Interface for
those files published in 8 and simple getURL calls for those published
in 7 or below.

For all intents and purposes, this is a private class that won't be
exposed to the public, so I can't simply require the user to import
version 8 of class or version 7 of class.

Is there a way to do a conditional import based on published version,
instead of runtime version?  I often use $version to detect major
version of play to handle other functionality, but as you all know
External Interface breaks if not published in 8.

OR better yet, could I simply just copy the file to the FP7 folder and
fake it?

Does this make sense or am I smoking crack here?

Christian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] More on shared fonts and embedding

2006-06-05 Thread Tyler Wright

You're right, unless the font is embedded Flash will render it as a system
font which means it will hopefully look as good as other aliased fonts in
the browser, but not better.

My suggestion is to take a look at Rob Taylor's Fontastic, it's pretty
ingenious. You might have to subscribe to his site.

http://FlashExtensions.com

Tyler

On 6/5/06, Danny Kodicek [EMAIL PROTECTED] wrote:


Okay, I'm back after the weekend and ready to get this sorted out.

Thanks to various help, mostly Tom, I've got to the stage where objects in
one movie are managing to share a font in another, which at least is what
shared fonts are supposed to do (and is in itself something of a
breakthrough for me). But it's still not right. The problem is that for
dynamic fields, unless I embed the font, it doesn't appear antialiased.
This
means that my 'client' movie has to embed my shared font, but as soon as I
do that, the linkage breaks (quite reasonably). Meanwhile, I'm still
concerted about the low filesize in the 'Official' version: I can't see
how
this can contain all the font information.

I really would appreciate some more thoughts on this. Am I just missing a
trick on how to get these fonts antialiasing correctly?

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Danny Kodicek
You could try a JSFL approach: make a macro that writes in the appropriate 
import statement just prior to publish.


Danny


no there is no way
improts are executed at compile time all you can do is to define which 
class

to use depending on player version

2006/6/5, Christian [EMAIL PROTECTED]:


Hey Guys,

So i'm in the process of writing a class that does a lot of JavaScript
handling.  The tricky part is, I want to use External Interface for
those files published in 8 and simple getURL calls for those published
in 7 or below.

For all intents and purposes, this is a private class that won't be
exposed to the public, so I can't simply require the user to import
version 8 of class or version 7 of class.

Is there a way to do a conditional import based on published version,
instead of runtime version?  I often use $version to detect major
version of play to handle other functionality, but as you all know
External Interface breaks if not published in 8.

OR better yet, could I simply just copy the file to the FP7 folder and
fake it?

Does this make sense or am I smoking crack here?

Christian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Tyler Wright

The only way is to compile the classes into a seperate SWF's and at runtime
when you make the check load in the appropriate SWF. Not a very simple
solution.

I've found that a good solution, if you can afford to combine the classes
into one, is making a runtime check on functionality.

jsConnection = (ExternalIntervace != null) ? callEI : callGetURL;

function callEI()
{ ... }

function callGetURL()
{ ... }

make sense?
Tyler


On 6/5/06, Janis Radins [EMAIL PROTECTED] wrote:


no there is no way
improts are executed at compile time all you can do is to define which
class
to use depending on player version

2006/6/5, Christian [EMAIL PROTECTED]:

 Hey Guys,

 So i'm in the process of writing a class that does a lot of JavaScript
 handling.  The tricky part is, I want to use External Interface for
 those files published in 8 and simple getURL calls for those published
 in 7 or below.

 For all intents and purposes, this is a private class that won't be
 exposed to the public, so I can't simply require the user to import
 version 8 of class or version 7 of class.

 Is there a way to do a conditional import based on published version,
 instead of runtime version?  I often use $version to detect major
 version of play to handle other functionality, but as you all know
 External Interface breaks if not published in 8.

 OR better yet, could I simply just copy the file to the FP7 folder and
 fake it?

 Does this make sense or am I smoking crack here?

 Christian
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Christian

Yeah, maybe, that's an interesting approach actually.

I'll report back on how I handled this later.

Christian

Danny Kodicek wrote:
You could try a JSFL approach: make a macro that writes in the 
appropriate import statement just prior to publish.


Danny


no there is no way
improts are executed at compile time all you can do is to define 
which class

to use depending on player version

2006/6/5, Christian [EMAIL PROTECTED]:


Hey Guys,

So i'm in the process of writing a class that does a lot of JavaScript
handling.  The tricky part is, I want to use External Interface for
those files published in 8 and simple getURL calls for those published
in 7 or below.

For all intents and purposes, this is a private class that won't be
exposed to the public, so I can't simply require the user to import
version 8 of class or version 7 of class.

Is there a way to do a conditional import based on published version,
instead of runtime version?  I often use $version to detect major
version of play to handle other functionality, but as you all know
External Interface breaks if not published in 8.

OR better yet, could I simply just copy the file to the FP7 folder and
fake it?

Does this make sense or am I smoking crack here?

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

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


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

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


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

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


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

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


[Flashcoders] Flash drop down menu problem

2006-06-05 Thread danya masadeh
Hi all,
I have a drop down menu always appear over a flash

Please help ASAP.
Thanks.



_
 SAVE your TIME and MONEY and read your Newspaper online for free now!
http://www.maktoob.com/newspapers
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] XML Parsing

2006-06-05 Thread Merrill, Jason
To use Xpath, if you are using the xfactorstudios classes (I don't know
much about the built in Xpath features of Flash), you can access a
string like:

String(XPath.selectNodes(theXMLobject, thePathToTheNode)

Or for a number:

parseInt(XPath.selectNodes(theXMLobject, thePathToTheNode)[0]);

For the length of a node array:

XPath.selectNodes(theXMLobject, thePathToTheNodeArray).length;

(NOTE: keep in mind these Xpath classes start numbering at 1, not 0 like
in Actionscript)

Then, instead of multidimensional arrays like that, I would use
something more logically organized and easier to traverse, like an array
of Objects:

Layers = [{assets:[{name:somename0.bmp, width:20, xPos:50, yPos:10},
   {name:somename1.bmp, width:20, xPos:100, yPos:15},
   {name:somename2.bmp, width:40, xPos:160,
yPos:20}]},
  {assets:[{name:somename3.bmp, width:20, xPos:50,
yPos:55},
   {name:somename4.bmp, width:20, xPos:100, yPos:60}
{name:somename5.bmp, width:40, xPos:160, yPos:65}]}]; //etc.


Usage examples:

//to get the number of layers:
totalLayers = Layers.length
trace(totalLayers);

//To access layer 1's first asset name:
trace(Layers[0].assets[1].name)

//To access layer 2's third asset yPos:
trace(Layers[1].assets[2].yPos);


Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Sajid Saiyed
Sent: Monday, June 05, 2006 4:18 AM
To: Flashcoders mailing list
Subject: [Flashcoders] XML Parsing

Hi,
I have an XML like this:

root
  totalLayers
  number5/number
  /totalLayers
  LayerOne
  asset
   namesomename0.bmp/name
  width20/width
  height10/height
  xPos50/xPos
  yPos30/yPos
  /asset
  asset
   namesomename1.bmp/name
  width20/width
  height10/height
  xPos50/xPos
  yPos30/yPos
  /asset
  /LayerOne
  Layertwo
  asset
   namesomename2.bmp/name
  width20/width
  height10/height
  xPos50/xPos
  yPos30/yPos
  /asset
  /LayerTwo
/root

I want to use XPATH or something similar to create dynamic
arrays/string and store values respectivele like this:

String:
totalLayers = 5;

LayerOne and LayerTwo will be a multidimentional array

LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,
xpos,yp
os]]...]
LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,
xpos,yp
os]]...]
etc...

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Flash drop down menu problem

2006-06-05 Thread Lee McColl-Sylvester
Unfortunately, Flash always plays in a higher z lever than any html
controls.  Even if you put flash in an iFrame, controls outside will
show behind.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of danya
masadeh
Sent: 05 June 2006 13:31
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash  drop down menu problem

Hi all,
I have a drop down menu always appear over a flash

Please help ASAP.
Thanks.



_
 SAVE your TIME and MONEY and read your Newspaper online for free now!
http://www.maktoob.com/newspapers
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Flash drop down menu problem

2006-06-05 Thread Merrill, Jason
Hi all,
I have a drop down menu always appear over a flash

Please help ASAP.

Where are these people coming from?

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 drop down menu problem

2006-06-05 Thread Lee McColl-Sylvester
Why not forward him a flash project with source ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 05 June 2006 13:53
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash  drop down menu problem

Hi all,
I have a drop down menu always appear over a flash

Please help ASAP.

Where are these people coming from?

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Christian
Hrmmm... interesting.  I'll have to try that out, but seems like 
potentially a lot of overhead no, with the subswf's, and then managing 
naming, loading and possible deletion? 


Thanks for the help though, this is at least a good start.

Tyler Wright wrote:
The only way is to compile the classes into a seperate SWF's and at 
runtime

when you make the check load in the appropriate SWF. Not a very simple
solution.

I've found that a good solution, if you can afford to combine the classes
into one, is making a runtime check on functionality.

jsConnection = (ExternalIntervace != null) ? callEI : callGetURL;

function callEI()
{ ... }

function callGetURL()
{ ... }

make sense?
Tyler


On 6/5/06, Janis Radins [EMAIL PROTECTED] wrote:


no there is no way
improts are executed at compile time all you can do is to define which
class
to use depending on player version

2006/6/5, Christian [EMAIL PROTECTED]:

 Hey Guys,

 So i'm in the process of writing a class that does a lot of JavaScript
 handling.  The tricky part is, I want to use External Interface for
 those files published in 8 and simple getURL calls for those published
 in 7 or below.

 For all intents and purposes, this is a private class that won't be
 exposed to the public, so I can't simply require the user to import
 version 8 of class or version 7 of class.

 Is there a way to do a conditional import based on published version,
 instead of runtime version?  I often use $version to detect major
 version of play to handle other functionality, but as you all know
 External Interface breaks if not published in 8.

 OR better yet, could I simply just copy the file to the FP7 folder and
 fake it?

 Does this make sense or am I smoking crack here?

 Christian
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Scott Hyndman

You could also use haXe, which offers conditional compilation. The
language isn't so different than ActionScript either.

Scott

On 6/5/06, Christian [EMAIL PROTECTED] wrote:

Hrmmm... interesting.  I'll have to try that out, but seems like
potentially a lot of overhead no, with the subswf's, and then managing
naming, loading and possible deletion?

Thanks for the help though, this is at least a good start.

Tyler Wright wrote:
 The only way is to compile the classes into a seperate SWF's and at
 runtime
 when you make the check load in the appropriate SWF. Not a very simple
 solution.

 I've found that a good solution, if you can afford to combine the classes
 into one, is making a runtime check on functionality.

 jsConnection = (ExternalIntervace != null) ? callEI : callGetURL;

 function callEI()
 { ... }

 function callGetURL()
 { ... }

 make sense?
 Tyler


 On 6/5/06, Janis Radins [EMAIL PROTECTED] wrote:

 no there is no way
 improts are executed at compile time all you can do is to define which
 class
 to use depending on player version

 2006/6/5, Christian [EMAIL PROTECTED]:
 
  Hey Guys,
 
  So i'm in the process of writing a class that does a lot of JavaScript
  handling.  The tricky part is, I want to use External Interface for
  those files published in 8 and simple getURL calls for those published
  in 7 or below.
 
  For all intents and purposes, this is a private class that won't be
  exposed to the public, so I can't simply require the user to import
  version 8 of class or version 7 of class.
 
  Is there a way to do a conditional import based on published version,
  instead of runtime version?  I often use $version to detect major
  version of play to handle other functionality, but as you all know
  External Interface breaks if not published in 8.
 
  OR better yet, could I simply just copy the file to the FP7 folder and
  fake it?
 
  Does this make sense or am I smoking crack here?
 
  Christian
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

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

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


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

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


RE: [Flashcoders] Flash drop down menu problem

2006-06-05 Thread danya masadeh
Dear Lee,
Thanks alot for your soon reply  
To understand what I mean plz check the attached file,
it contain an example.

Thanks alot.




 - Original Message -
 From: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Date: 12:56 PM
 Subject: RE: [Flashcoders] Flash  drop down menu problem

 Why not forward him a flash project with source ;-)



 Lee







 -Original Message-

 From: [EMAIL PROTECTED]

 [mailto:[EMAIL PROTECTED] On Behalf Of Merrill,

 Jason

 Sent: 05 June 2006 13:53

 To: Flashcoders mailing list

 Subject: RE: [Flashcoders] Flash  drop down menu problem



  Hi all,

  I have a drop down menu always appear over a flash

 

  Please help ASAP.



 Where are these people coming from?



 Jason Merrill

 Bank of America

 Learning Technology Solutions











 ___

 Flashcoders@chattyfig.figleaf.com

 To change your subscription options or search the archive:

 http://chattyfig.figleaf.com/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



_
 Organize all your friends and family members’ occasions at your calendar with 
Maktoob Cards
http://www.maktoob.com/cards

HTML
body 
select name=desc class=TXTs ID=Select2
option value=asc selected Asc/option
option value=descDESC /option
/select 

div style=left:0;position:absolute;z-index:;

object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 width=420 
height=600
param name=allowScriptAccess value=sameDomain /
param name=movie value=http://proximityads.flipcorp.com/assets/2297.swf; /
param name=quality value=high /
param name=wmode value=window /
embed src=http://proximityads.flipcorp.com/assets/2297.swf; 
type=application/x-shockwave-flash quality=high width=420 height=600 
wmode=opaque allowScriptAccess=sameDomain/embed
/object
/div

/body
/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] appending a new text to text file

2006-06-05 Thread Ajay Kate
Hi,

 

I am creating and stand alone application,

 

I want to store all users' information to a single file (info.txt).

I do not want to overwrite the existing file but to append a new text to
it each time.

 

Could you please list me down the steps to implement such functionality
in flash?

 

Regards,

AjayK 

 

 

 

  

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Alert Component Cutting off Text

2006-06-05 Thread Doug Coning
Greetings!

Has anyone discovered a workaround on the Alert Component cutting off
long text?  I use the Alert Component to show database and web service
errors returned to the user, so I can't necessarily control the size of
the response.  The Alert Component will cut off long text (less than 200
characters...) and doesn't wrap the text around.  I've added \n\n...
to the end of my string and can see it in the alert, it just cuts off
the string passed in and doesn't wrap text.  I'm creating the Alert call
from within another class.  The alert shows, it just cuts off text...

Any suggestion?

Thanks,

Doug Coning 
Senior Web Development Programmer
FORUM Solutions, LLC
 
This e-mail and any attachment(s) are intended for the specified recipient(s) 
only and are legally protected.  If you have received this communication in 
error, please reply to sender's e-mail address with notification of the error 
and then destroy this message in all electronic and physical forms.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] appending a new text to text file

2006-06-05 Thread Nitin Gore


As flash is not editing tool it's a presentation tool, so it's better
you use some wrapping tool with flash to achieve same functionality.  :)


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ajay
Kate
Sent: Monday, June 05, 2006 6:33 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] appending a new text to text file

Hi,

 

I am creating and stand alone application,

 

I want to store all users' information to a single file (info.txt).

I do not want to overwrite the existing file but to append a new text to
it each time.

 

Could you please list me down the steps to implement such functionality
in flash?

 

Regards,

AjayK 

 

 

 

  

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] appending a new text to text file

2006-06-05 Thread Mike Mountain
And here's another one!

You'll need a wapper tool like MDM's Zinc, Mprojector, Screenweaver, or
swf studio to do what you want, Flash can't do it on its own.

Screenweaver is free and has great help files. You may want to google
for it.

M

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Ajay Kate
 Sent: 05 June 2006 14:03
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] appending a new text to text file
 
 Hi,
 
  
 
 I am creating and stand alone application,
 
  
 
 I want to store all users' information to a single file (info.txt).
 
 I do not want to overwrite the existing file but to append a 
 new text to it each time.
 
  
 
 Could you please list me down the steps to implement such 
 functionality in flash?
 
  
 
 Regards,
 
 AjayK 
 
  
 
  
 
  
 
   
 
  
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Flash drop down menu problem

2006-06-05 Thread Lee McColl-Sylvester
Hi Danya,

Sorry, from all my experiences, I'd say you're out of luck.  Its easy to
display html behind flash (in some browsers), but getting a control to
actually work behind flash has never worked for me, and I'm 99% sure it
can't work.

Sorry,
Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of danya
masadeh
Sent: 05 June 2006 13:47
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash  drop down menu problem

Dear Lee,
Thanks alot for your soon reply  
To understand what I mean plz check the attached file,
it contain an example.

Thanks alot.




 - Original Message -
 From: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Date: 12:56 PM
 Subject: RE: [Flashcoders] Flash  drop down menu problem

 Why not forward him a flash project with source ;-)



 Lee







 -Original Message-

 From: [EMAIL PROTECTED]

 [mailto:[EMAIL PROTECTED] On Behalf Of
Merrill,

 Jason

 Sent: 05 June 2006 13:53

 To: Flashcoders mailing list

 Subject: RE: [Flashcoders] Flash  drop down menu problem



  Hi all,

  I have a drop down menu always appear over a flash

 

  Please help ASAP.



 Where are these people coming from?



 Jason Merrill

 Bank of America

 Learning Technology Solutions











 ___

 Flashcoders@chattyfig.figleaf.com

 To change your subscription options or search the archive:

 http://chattyfig.figleaf.com/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



_
 Organize all your friends and family members' occasions at your
calendar with Maktoob Cards
http://www.maktoob.com/cards

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Alert Component Cutting off Text

2006-06-05 Thread Lee McColl-Sylvester
The MX Alert component sucks.  There is a free dialog component from a
website called 57 bobs or something similar (anyone know the real
name/url?), so I'd use that if I were you.

Regards,
Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug
Coning
Sent: 05 June 2006 14:08
To: Flashcoders mailing list
Subject: [Flashcoders] Alert Component Cutting off Text

Greetings!

Has anyone discovered a workaround on the Alert Component cutting off
long text?  I use the Alert Component to show database and web service
errors returned to the user, so I can't necessarily control the size of
the response.  The Alert Component will cut off long text (less than 200
characters...) and doesn't wrap the text around.  I've added \n\n...
to the end of my string and can see it in the alert, it just cuts off
the string passed in and doesn't wrap text.  I'm creating the Alert call
from within another class.  The alert shows, it just cuts off text...

Any suggestion?

Thanks,

Doug Coning 
Senior Web Development Programmer
FORUM Solutions, LLC
 
This e-mail and any attachment(s) are intended for the specified
recipient(s) only and are legally protected.  If you have received this
communication in error, please reply to sender's e-mail address with
notification of the error and then destroy this message in all
electronic and physical forms.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Christian
Unfortunately I am packaging up a set of classes for mass distribution 
for work, so that won't work.  That would be too easy :)




Scott Hyndman wrote:

You could also use haXe, which offers conditional compilation. The
language isn't so different than ActionScript either.

Scott

On 6/5/06, Christian [EMAIL PROTECTED] wrote:

Hrmmm... interesting.  I'll have to try that out, but seems like
potentially a lot of overhead no, with the subswf's, and then managing
naming, loading and possible deletion?

Thanks for the help though, this is at least a good start.

Tyler Wright wrote:
 The only way is to compile the classes into a seperate SWF's and at
 runtime
 when you make the check load in the appropriate SWF. Not a very simple
 solution.

 I've found that a good solution, if you can afford to combine the 
classes

 into one, is making a runtime check on functionality.

 jsConnection = (ExternalIntervace != null) ? callEI : callGetURL;

 function callEI()
 { ... }

 function callGetURL()
 { ... }

 make sense?
 Tyler


 On 6/5/06, Janis Radins [EMAIL PROTECTED] wrote:

 no there is no way
 improts are executed at compile time all you can do is to define 
which

 class
 to use depending on player version

 2006/6/5, Christian [EMAIL PROTECTED]:
 
  Hey Guys,
 
  So i'm in the process of writing a class that does a lot of 
JavaScript

  handling.  The tricky part is, I want to use External Interface for
  those files published in 8 and simple getURL calls for those 
published

  in 7 or below.
 
  For all intents and purposes, this is a private class that won't be
  exposed to the public, so I can't simply require the user to import
  version 8 of class or version 7 of class.
 
  Is there a way to do a conditional import based on published 
version,

  instead of runtime version?  I often use $version to detect major
  version of play to handle other functionality, but as you all know
  External Interface breaks if not published in 8.
 
  OR better yet, could I simply just copy the file to the FP7 
folder and

  fake it?
 
  Does this make sense or am I smoking crack here?
 
  Christian
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

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

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


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

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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 drop down menu problem

2006-06-05 Thread Mike Mountain
Yup, I'd agree with Lee on this, I've never seen it work before. You may
be able to make a Javascript version of a drop down menu with DIV's and
use that instead

M


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Lee McColl-Sylvester
 Sent: 05 June 2006 14:32
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flash  drop down menu problem
 
 Hi Danya,
 
 Sorry, from all my experiences, I'd say you're out of luck.  
 Its easy to display html behind flash (in some browsers), but 
 getting a control to actually work behind flash has never 
 worked for me, and I'm 99% sure it can't work.
 
 Sorry,
 Lee
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Conditional Import Statements

2006-06-05 Thread Lee McColl-Sylvester
The External API is ignored when used under Flash 7.  What you could do
is run an if statement which checks the process of some other flash 8
only statement.  If the statement was successful, the flash 8 code is
run, else the flash 7 code is run.  It would mean having more code in
total, but would at least allow you to have both formats supported.  I
used to use a similar method when Flash 5 was released to check for the
Flash player version.

Regards,
Lee

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian
Sent: 05 June 2006 14:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Conditional Import Statements

Unfortunately I am packaging up a set of classes for mass distribution 
for work, so that won't work.  That would be too easy :)



Scott Hyndman wrote:
 You could also use haXe, which offers conditional compilation. The
 language isn't so different than ActionScript either.

 Scott

 On 6/5/06, Christian [EMAIL PROTECTED] wrote:
 Hrmmm... interesting.  I'll have to try that out, but seems like
 potentially a lot of overhead no, with the subswf's, and then
managing
 naming, loading and possible deletion?

 Thanks for the help though, this is at least a good start.

 Tyler Wright wrote:
  The only way is to compile the classes into a seperate SWF's and at
  runtime
  when you make the check load in the appropriate SWF. Not a very
simple
  solution.
 
  I've found that a good solution, if you can afford to combine the 
 classes
  into one, is making a runtime check on functionality.
 
  jsConnection = (ExternalIntervace != null) ? callEI : callGetURL;
 
  function callEI()
  { ... }
 
  function callGetURL()
  { ... }
 
  make sense?
  Tyler
 
 
  On 6/5/06, Janis Radins [EMAIL PROTECTED] wrote:
 
  no there is no way
  improts are executed at compile time all you can do is to define 
 which
  class
  to use depending on player version
 
  2006/6/5, Christian [EMAIL PROTECTED]:
  
   Hey Guys,
  
   So i'm in the process of writing a class that does a lot of 
 JavaScript
   handling.  The tricky part is, I want to use External Interface
for
   those files published in 8 and simple getURL calls for those 
 published
   in 7 or below.
  
   For all intents and purposes, this is a private class that won't
be
   exposed to the public, so I can't simply require the user to
import
   version 8 of class or version 7 of class.
  
   Is there a way to do a conditional import based on published 
 version,
   instead of runtime version?  I often use $version to detect
major
   version of play to handle other functionality, but as you all
know
   External Interface breaks if not published in 8.
  
   OR better yet, could I simply just copy the file to the FP7 
 folder and
   fake it?
  
   Does this make sense or am I smoking crack here?
  
   Christian
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 drop down menu problem

2006-06-05 Thread Lee McColl-Sylvester
That won't work either.  Flash ALWAYS stays on top.  The only way
round it is to do the drop down in Flash.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Mountain
Sent: 05 June 2006 14:31
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash  drop down menu problem

Yup, I'd agree with Lee on this, I've never seen it work before. You may
be able to make a Javascript version of a drop down menu with DIV's and
use that instead

M


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Lee McColl-Sylvester
 Sent: 05 June 2006 14:32
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flash  drop down menu problem
 
 Hi Danya,
 
 Sorry, from all my experiences, I'd say you're out of luck.  
 Its easy to display html behind flash (in some browsers), but 
 getting a control to actually work behind flash has never 
 worked for me, and I'm 99% sure it can't work.
 
 Sorry,
 Lee
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politely and appropriately discuss pricing issues

2006-06-05 Thread Brian Mays
Following up on this a little late, here are some stats that I got from The
Savvy Designer's Guide to Success by Jeff Fisher.  The numbers can be
changed out, but I think the formulas and logic all sound good.

- You have about 2,080 work hours in a year (8 hours a day, 5 days a week,
52 weeks a year)
- Set a target salary  (example $40,000)
- Figure in other associated costs like taxes, FICA, insurance, etc.  A safe
figure is 25 to 30 percent ($12,000)
- Figure in holidays, sick days, legal holiday (example: 7 legal holidays-56
hours; 2 weeks vacation-80 hours; 5 sick days-40 hours; total 176 hours)
- Subtract the 176 hours from the work hours (leaves 1904 hours)
- Figure time in for day to day office things like invoicing, sales calls,
surfing the net, reading articles (example 25 percent - 476 hours).  Then
subtract that from your billable hours (leaves you with 1428 billable hours
per year)

This brings the total cash flow needed to $52,000.  You have 1,428 billable
hours to make this in.  $52,000/1,428 = $36.41 per hour billable rate

I'll deviate a litte bit from the book at this point.

- Figure in cost of overhead - rent, utilities, phone, computers, software,
etc. ($35,000 for example)

$35,000 + 52,000 = 87,000.
$87,000/1,428 = $60.92 per hour billable rate

- Figure in profit you would like to make, somewhere between 10  20
percent.

$60.92 + 10% = $67.01

So this particular example needs to bill hourly at about $67.

Hopefully that helps everyone.

Brian Mays

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politely and appropriately discusspricing issues

2006-06-05 Thread Lee McColl-Sylvester
$40k salary?  What planet are you on?  ;-)

It should be twice that at least!

Lee

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Mays
Sent: 05 June 2006 14:43
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Where to politely and appropriately
discusspricing issues

Following up on this a little late, here are some stats that I got from
The
Savvy Designer's Guide to Success by Jeff Fisher.  The numbers can be
changed out, but I think the formulas and logic all sound good.

- You have about 2,080 work hours in a year (8 hours a day, 5 days a
week,
52 weeks a year)
- Set a target salary  (example $40,000)
- Figure in other associated costs like taxes, FICA, insurance, etc.  A
safe
figure is 25 to 30 percent ($12,000)
- Figure in holidays, sick days, legal holiday (example: 7 legal
holidays-56
hours; 2 weeks vacation-80 hours; 5 sick days-40 hours; total 176 hours)
- Subtract the 176 hours from the work hours (leaves 1904 hours)
- Figure time in for day to day office things like invoicing, sales
calls,
surfing the net, reading articles (example 25 percent - 476 hours).
Then
subtract that from your billable hours (leaves you with 1428 billable
hours
per year)

This brings the total cash flow needed to $52,000.  You have 1,428
billable
hours to make this in.  $52,000/1,428 = $36.41 per hour billable rate

I'll deviate a litte bit from the book at this point.

- Figure in cost of overhead - rent, utilities, phone, computers,
software,
etc. ($35,000 for example)

$35,000 + 52,000 = 87,000.
$87,000/1,428 = $60.92 per hour billable rate

- Figure in profit you would like to make, somewhere between 10  20
percent.

$60.92 + 10% = $67.01

So this particular example needs to bill hourly at about $67.

Hopefully that helps everyone.

Brian Mays

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politely and appropriately discusspricing issues

2006-06-05 Thread Brian Mays
That was a graphic designer's salary :-)  And the book's example :-)


On 6/5/06 8:56 AM, Lee McColl-Sylvester [EMAIL PROTECTED]
wrote:

 $40k salary?  What planet are you on?  ;-)
 
 It should be twice that at least!
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politely and appropriatelydiscusspricing issues

2006-06-05 Thread Lee McColl-Sylvester
I thought Graphic Designers were on good salaries.  Wow, glad I chose
the career path I'm following.  With all my education in art schools, I
coulda gone the other way ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Mays
Sent: 05 June 2006 14:52
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Where to politely and
appropriatelydiscusspricing issues

That was a graphic designer's salary :-)  And the book's example :-)


On 6/5/06 8:56 AM, Lee McColl-Sylvester [EMAIL PROTECTED]
wrote:

 $40k salary?  What planet are you on?  ;-)
 
 It should be twice that at least!
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politely and appropriatelydiscusspricing issues

2006-06-05 Thread Merrill, Jason
Graphic designers, like Flashcoders, have a huge range in salaries.

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester
Sent: Monday, June 05, 2006 10:09 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to politely and
appropriatelydiscusspricing
issues

I thought Graphic Designers were on good salaries.  Wow, glad I chose
the career path I'm following.  With all my education in art schools,
I
coulda gone the other way ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Mays
Sent: 05 June 2006 14:52
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Where to politely and
appropriatelydiscusspricing issues

That was a graphic designer's salary :-)  And the book's example :-)


On 6/5/06 8:56 AM, Lee McColl-Sylvester
[EMAIL PROTECTED]
wrote:

 $40k salary?  What planet are you on?  ;-)

 It should be twice that at least!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politely andappropriatelydiscusspricing issues

2006-06-05 Thread Lee McColl-Sylvester
I have an idea Lets poll to see who's paid the most, then I can
apply with that company ;-)




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 05 June 2006 15:03
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to politely
andappropriatelydiscusspricing issues

Graphic designers, like Flashcoders, have a huge range in salaries.

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester
Sent: Monday, June 05, 2006 10:09 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to politely and
appropriatelydiscusspricing
issues

I thought Graphic Designers were on good salaries.  Wow, glad I chose
the career path I'm following.  With all my education in art schools,
I
coulda gone the other way ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Mays
Sent: 05 June 2006 14:52
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Where to politely and
appropriatelydiscusspricing issues

That was a graphic designer's salary :-)  And the book's example :-)


On 6/5/06 8:56 AM, Lee McColl-Sylvester
[EMAIL PROTECTED]
wrote:

 $40k salary?  What planet are you on?  ;-)

 It should be twice that at least!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politely and appropriatelydiscusspricing issues

2006-06-05 Thread Brian Mays
Many do.  But using this number, maybe people can see how they are
drastically undercharging for their work.


On 6/5/06 9:08 AM, Lee McColl-Sylvester [EMAIL PROTECTED]
wrote:

 I thought Graphic Designers were on good salaries.  Wow, glad I chose
 the career path I'm following.  With all my education in art schools, I
 coulda gone the other way ;-)
 

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

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


Re: [Flashcoders] XML Parsing

2006-06-05 Thread Ron Wheeler
If it was up to me, I would redo the XML to be a bit more concise and 
more standard.

layers
   layer name=LayerOne
   assets
   asset width=20 height=10 xPos=50 yPos=30 
name=somename0.bmp /
   asset width=20 height=10 xPos=50 yPos=30 
name=somename1.bmp/

  /assets
   /layer
   layer name=LayerTwo
   assets
   asset width=20 height=10 xPos=50 yPos=30 
name=somename2.bmp /

  /assets
   /layer
/layers

This will parse better. It is probably easier to create.

You can parse this into a Layers Object which is a collection (array) of 
Layer objects.
The Layer Object has a name (LayerOne) and a list of Asset Objects as 
propertie.s
The Asset Object has properties which correspond to the XML 
attributes(width, height, etc.).


The total layers is redundant since it is only the length of the Layers 
Object array of Layers. function getLayerCount(){return layersList.length;}



If you are stuck with your existing XMl, you can still use the same 
object structure once you have parsed it but will have a more 
complicated parse since you have these LayerOne, LayerTwo trees which 
will have to be recognized in your parse. With XPath, this will be a PITA.


If you write your own parse, you can probably make some assumptions 
about the tree structure which will avoid having to write a lot of code 
to deal with LayerOne, etc.


By dynamic, we mean that you just store the whole XML string and parse 
it each time you want some information.
If you can not fix your XML structure, dynamic parsing will likely be 
too expensive and you should parse the XML once into an object hierarchy 
and work with the objects.


Ron



Sajid Saiyed wrote:

Hi,
I have an XML like this:

root
totalLayers
number5/number
/totalLayers
LayerOne
asset
 namesomename0.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
asset
 namesomename1.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
/LayerOne
Layertwo
asset
 namesomename2.bmp/name
width20/width
height10/height
xPos50/xPos
yPos30/yPos
/asset
/LayerTwo
/root

I want to use XPATH or something similar to create dynamic
arrays/string and store values respectivele like this:

String:
totalLayers = 5;

LayerOne and LayerTwo will be a multidimentional array

LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...] 

LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...] 


etc...

Any hint or suggestion...?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politelyandappropriatelydiscusspricing issues

2006-06-05 Thread Lee McColl-Sylvester
Actually, I think Nicolas Canasse has the best job.  He spends all his
time working on cool technologies like Neko and haXe, and when he's
REALLY working, he's making games.  What's all that about?  Can't I have
his job?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee
McColl-Sylvester
Sent: 05 June 2006 15:15
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to
politelyandappropriatelydiscusspricing issues

I have an idea Lets poll to see who's paid the most, then I can
apply with that company ;-)




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 05 June 2006 15:03
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to politely
andappropriatelydiscusspricing issues

Graphic designers, like Flashcoders, have a huge range in salaries.

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester
Sent: Monday, June 05, 2006 10:09 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to politely and
appropriatelydiscusspricing
issues

I thought Graphic Designers were on good salaries.  Wow, glad I chose
the career path I'm following.  With all my education in art schools,
I
coulda gone the other way ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Mays
Sent: 05 June 2006 14:52
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Where to politely and
appropriatelydiscusspricing issues

That was a graphic designer's salary :-)  And the book's example :-)


On 6/5/06 8:56 AM, Lee McColl-Sylvester
[EMAIL PROTECTED]
wrote:

 $40k salary?  What planet are you on?  ;-)

 It should be twice that at least!


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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] XML Parsing

2006-06-05 Thread Ron Wheeler



Sajid Saiyed wrote:

Hi,
My data is not this simple or static.


???not static - your XML changes after you have read it???

I gave this sample XML just to explain the structure.

The XML is going to be dynamic, hence I need to parse it using
something like XPATH (I suppose).
If the XML changes while you are using it, you will have to use it 
dynamically and then you do not need the arrays and objects - just a set 
of parsing routines that wander through the tree looking for data.
This is a bit more complicated but we do it often; even for static data 
sometimes.
Unless you change your XML structure to be a bit more normal, XPath 
will be hard to use and you will have to climb up and down the tree 
yourself.


Ron


Regards

On 6/5/06, Weldon MacDonald [EMAIL PROTECTED] wrote:

If your data is that consistent and all you need is to transfer it to
arrays, then why do you need xpath, you could write your own parser,
using while loops, to do this in very little time.
I'm not an experrt, but it seems to me that xpath is more useful for
dynamic access to the xml. Is that not correct?
If I am correct, an interesting question is; what is more efficient,
transferring to arrays and using the arrays, or dynamically accessing
the xml directly?

On 6/5/06, Sajid Saiyed [EMAIL PROTECTED] wrote:
 Hi,
 I have an XML like this:

 root
 totalLayers
 number5/number
 /totalLayers
 LayerOne
 asset
  namesomename0.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 asset
  namesomename1.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerOne
 Layertwo
 asset
  namesomename2.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerTwo
 /root

 I want to use XPATH or something similar to create dynamic
 arrays/string and store values respectivele like this:

 String:
 totalLayers = 5;

 LayerOne and LayerTwo will be a multidimentional array

 
LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...] 

 
LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,ypos]]...] 


 etc...

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

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



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

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


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

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



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

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


Re: [Flashcoders] Flash drop down menu problem

2006-06-05 Thread Arul Prasad M L

If it wont be a problem, make wmode = transparent for the swf. Will help.

But there are a few bugs with flash plugin player (FF, Mozilla etc), related
to wmode. I've made a few posts about it in my blog before. Check out
http://weblogs.macromedia.com/mxna/index.cfm?query=byFeedfeedId=847feedName=Flash%2C%20AS%20and%20Mehttp://weblogs.macromedia.com/mxna/index.cfm?query=byFeedfeedId=847feedName=Flash%252C%2520AS%2520and%2520Me

~Arul Prasad.

On 6/5/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:


That won't work either.  Flash ALWAYS stays on top.  The only way
round it is to do the drop down in Flash.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Mountain
Sent: 05 June 2006 14:31
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash  drop down menu problem

Yup, I'd agree with Lee on this, I've never seen it work before. You may
be able to make a Javascript version of a drop down menu with DIV's and
use that instead

M


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Lee McColl-Sylvester
 Sent: 05 June 2006 14:32
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flash  drop down menu problem

 Hi Danya,

 Sorry, from all my experiences, I'd say you're out of luck.
 Its easy to display html behind flash (in some browsers), but
 getting a control to actually work behind flash has never
 worked for me, and I'm 99% sure it can't work.

 Sorry,
 Lee


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XML Parsing

2006-06-05 Thread Merrill, Jason
I agree with Ron on the XML, I didn't mention it earlier because I
didn't look that closely, but that XML format you created needs a major
overhaul.  I would go with his recommended format.

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Where to politelyandappropriatelydiscusspricing issues

2006-06-05 Thread Ron Wheeler
We have had this discussion before. Salary expectations vary by country 
and by city. I am sure that many people in the forum living in India or 
other parts of Asia would be pleased to make $40,000 per year. Someone 
in New York City would starve to death in the cold. Someone in rural 
Kansas might find $40,000 per year a good supplement to a farm income if 
they can work from the farm.


The important thing was the formula and the mechanism that it suggests 
for doing the calculation.


Ron

Lee McColl-Sylvester wrote:

Actually, I think Nicolas Canasse has the best job.  He spends all his
time working on cool technologies like Neko and haXe, and when he's
REALLY working, he's making games.  What's all that about?  Can't I have
his job?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee
McColl-Sylvester
Sent: 05 June 2006 15:15
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to
politelyandappropriatelydiscusspricing issues

I have an idea Lets poll to see who's paid the most, then I can
apply with that company ;-)




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 05 June 2006 15:03
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to politely
andappropriatelydiscusspricing issues

Graphic designers, like Flashcoders, have a huge range in salaries.

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

  

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester
Sent: Monday, June 05, 2006 10:09 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Where to politely and
  

appropriatelydiscusspricing
  

issues

I thought Graphic Designers were on good salaries.  Wow, glad I chose
the career path I'm following.  With all my education in art schools,
  

I
  

coulda gone the other way ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Mays
Sent: 05 June 2006 14:52
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Where to politely and
appropriatelydiscusspricing issues

That was a graphic designer's salary :-)  And the book's example :-)


On 6/5/06 8:56 AM, Lee McColl-Sylvester
  

[EMAIL PROTECTED]
  

wrote:

  

$40k salary?  What planet are you on?  ;-)

It should be twice that at least!



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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 drop down menu problem

2006-06-05 Thread danya masadeh
Dear Arul,
it will be always over the flash, if it window,transparent or opaque ...
I tested before


Thnaks




 - Original Message -
 From: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Date: 02:41 PM
 Subject: Re: [Flashcoders] Flash  drop down menu problem

 If it wont be a problem, make wmode = transparent for the swf. Will help.



 But there are a few bugs with flash plugin player (FF, Mozilla etc), related
 to wmode. I've made a few posts about it in my blog before. Check out

 http://weblogs.macromedia.com/mxna/index.cfm?query=byFeedfeedId=847feedName=Flash%2C%20AS%20and%20Me


 ~Arul Prasad.



 On 6/5/06, Lee McColl-Sylvester  wrote:
 

   That won't work either.  Flash ALWAYS stays on top.  The only
 way

   round it is to do the drop down in Flash.

 

   Lee

 

 

 

   -Original Message-

   From: [EMAIL PROTECTED]

   [mailto:[EMAIL PROTECTED] On Behalf Of Mike
   Mountain

   Sent: 05 June 2006 14:31

   To: Flashcoders mailing list

   Subject: RE: [Flashcoders] Flash  drop down menu problem

 

   Yup, I'd agree with Lee on this, I've never seen it work before. You
 may

   be able to make a Javascript version of a drop down menu with DIV's and
   use that instead

 

   M

 

 

-Original Message-

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf

Of Lee McColl-Sylvester

Sent: 05 June 2006 14:32

To: Flashcoders mailing list

Subject: RE: [Flashcoders] Flash  drop down menu problem

  

Hi Danya,

  

Sorry, from all my experiences, I'd say you're out of luck.

Its easy to display html behind flash (in some browsers), but

getting a control to actually work behind flash has never

worked for me, and I'm 99% sure it can't work.

  

Sorry,

Lee

  

  

   ___

   Flashcoders@chattyfig.figleaf.com

   To change your subscription options or search the archive:

   http://chattyfig.figleaf.com/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



_
Find Friends who are sharing you the same interests! Maktoob Friends the right 
place for the right friends!
http://www.maktoob.com/friends
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] XML Parsing

2006-06-05 Thread Ash Warren
I have heard also (have not tested myself) that parsing attributes is much
quicker as well.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler
Sent: Monday, June 05, 2006 9:07 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML Parsing

If it was up to me, I would redo the XML to be a bit more concise and 
more standard.
layers
layer name=LayerOne
assets
asset width=20 height=10 xPos=50 yPos=30 
name=somename0.bmp /
asset width=20 height=10 xPos=50 yPos=30 
name=somename1.bmp/
   /assets
/layer
layer name=LayerTwo
assets
asset width=20 height=10 xPos=50 yPos=30 
name=somename2.bmp /
   /assets
/layer
/layers

This will parse better. It is probably easier to create.

You can parse this into a Layers Object which is a collection (array) of 
Layer objects.
The Layer Object has a name (LayerOne) and a list of Asset Objects as 
propertie.s
The Asset Object has properties which correspond to the XML 
attributes(width, height, etc.).

The total layers is redundant since it is only the length of the Layers 
Object array of Layers. function getLayerCount(){return layersList.length;}


If you are stuck with your existing XMl, you can still use the same 
object structure once you have parsed it but will have a more 
complicated parse since you have these LayerOne, LayerTwo trees which 
will have to be recognized in your parse. With XPath, this will be a PITA.

If you write your own parse, you can probably make some assumptions 
about the tree structure which will avoid having to write a lot of code 
to deal with LayerOne, etc.

By dynamic, we mean that you just store the whole XML string and parse 
it each time you want some information.
If you can not fix your XML structure, dynamic parsing will likely be 
too expensive and you should parse the XML once into an object hierarchy 
and work with the objects.

Ron



Sajid Saiyed wrote:
 Hi,
 I have an XML like this:

 root
 totalLayers
 number5/number
 /totalLayers
 LayerOne
 asset
  namesomename0.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 asset
  namesomename1.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerOne
 Layertwo
 asset
  namesomename2.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerTwo
 /root

 I want to use XPATH or something similar to create dynamic
 arrays/string and store values respectivele like this:

 String:
 totalLayers = 5;

 LayerOne and LayerTwo will be a multidimentional array


LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,y
pos]]...] 


LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xpos,y
pos]]...] 

 etc...

 Any hint or suggestion...?
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] XML Parsing

2006-06-05 Thread Robert Chyko
I believe it used to be, but anymore the difference is negligible.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ash
Warren
Sent: Monday, June 05, 2006 10:56 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] XML Parsing


I have heard also (have not tested myself) that parsing attributes is
much
quicker as well.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron
Wheeler
Sent: Monday, June 05, 2006 9:07 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML Parsing

If it was up to me, I would redo the XML to be a bit more concise and 
more standard.
layers
layer name=LayerOne
assets
asset width=20 height=10 xPos=50 yPos=30 
name=somename0.bmp /
asset width=20 height=10 xPos=50 yPos=30 
name=somename1.bmp/
   /assets
/layer
layer name=LayerTwo
assets
asset width=20 height=10 xPos=50 yPos=30 
name=somename2.bmp /
   /assets
/layer
/layers

This will parse better. It is probably easier to create.

You can parse this into a Layers Object which is a collection (array) of

Layer objects.
The Layer Object has a name (LayerOne) and a list of Asset Objects as 
propertie.s
The Asset Object has properties which correspond to the XML 
attributes(width, height, etc.).

The total layers is redundant since it is only the length of the Layers 
Object array of Layers. function getLayerCount(){return
layersList.length;}


If you are stuck with your existing XMl, you can still use the same 
object structure once you have parsed it but will have a more 
complicated parse since you have these LayerOne, LayerTwo trees which 
will have to be recognized in your parse. With XPath, this will be a
PITA.

If you write your own parse, you can probably make some assumptions 
about the tree structure which will avoid having to write a lot of code 
to deal with LayerOne, etc.

By dynamic, we mean that you just store the whole XML string and parse 
it each time you want some information.
If you can not fix your XML structure, dynamic parsing will likely be 
too expensive and you should parse the XML once into an object hierarchy

and work with the objects.

Ron



Sajid Saiyed wrote:
 Hi,
 I have an XML like this:

 root
 totalLayers
 number5/number
 /totalLayers
 LayerOne
 asset
  namesomename0.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 asset
  namesomename1.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerOne
 Layertwo
 asset
  namesomename2.bmp/name
 width20/width
 height10/height
 xPos50/xPos
 yPos30/yPos
 /asset
 /LayerTwo
 /root

 I want to use XPATH or something similar to create dynamic
 arrays/string and store values respectivele like this:

 String:
 totalLayers = 5;

 LayerOne and LayerTwo will be a multidimentional array


LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xp
os,y
pos]]...] 


LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xp
os,y
pos]]...] 

 etc...

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

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


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

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

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Injecting Commercials into Video Stream from FCS/FMS

2006-06-05 Thread Marlon Harrison

Does anyone have any sample code accomplishing this?  I've done pretty
extensive searches on Google  Adobe with no luck. I'm assuming this
code would be a .asc file for the media server, but I'm not totally
sure.  I just need something to a base for a proof of concept i'm
putting together.

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] XML Parsing

2006-06-05 Thread Merrill, Jason
I believe it used to be, but anymore the difference is negligible.

In my experience, on small data sets, it makes little difference.
However, using attributes over nodes can in some cases decrease the
actual size of the XML file or string by a factor of 3 or 4, do this can
make a difference on larger data sets, especially the more complex ones.


Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 drop down menu problem

2006-06-05 Thread Arul Prasad M L

http://arulprasad.googlepages.com/divOverFlash.rar

That rar archive has a html which shows a SWF and clicking on the first
circular button shows a DIV on top of the SWF. clickign the button below tat
hides it.

I confirmed it works on Flash player 7, 8, and 9.

check it out.

~Arul Prasad.

On 6/5/06, danya masadeh [EMAIL PROTECTED] wrote:


Dear Arul,
it will be always over the flash, if it window,transparent or opaque ...
I tested before


Thnaks




 - Original Message -
 From: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Date: 02:41 PM
 Subject: Re: [Flashcoders] Flash  drop down menu problem

 If it wont be a problem, make wmode = transparent for the swf. Will
help.



 But there are a few bugs with flash plugin player (FF, Mozilla etc),
related
 to wmode. I've made a few posts about it in my blog before. Check out


http://weblogs.macromedia.com/mxna/index.cfm?query=byFeedfeedId=847feedName=Flash%2C%20AS%20and%20Me


 ~Arul Prasad.



 On 6/5/06, Lee McColl-Sylvester  wrote:
 

   That won't work either.  Flash ALWAYS stays on top.  The only
 way

   round it is to do the drop down in Flash.

 

   Lee

 

 

 

   -Original Message-

   From: [EMAIL PROTECTED]

   [mailto:[EMAIL PROTECTED] On Behalf Of Mike
   Mountain

   Sent: 05 June 2006 14:31

   To: Flashcoders mailing list

   Subject: RE: [Flashcoders] Flash  drop down menu problem

 

   Yup, I'd agree with Lee on this, I've never seen it work before. You
 may

   be able to make a Javascript version of a drop down menu with DIV's
and
   use that instead

 

   M

 

 

-Original Message-

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf

Of Lee McColl-Sylvester

Sent: 05 June 2006 14:32

To: Flashcoders mailing list

Subject: RE: [Flashcoders] Flash  drop down menu problem

  

Hi Danya,

  

Sorry, from all my experiences, I'd say you're out of luck.

Its easy to display html behind flash (in some browsers), but

getting a control to actually work behind flash has never

worked for me, and I'm 99% sure it can't work.

  

Sorry,

Lee

  

  

   ___

   Flashcoders@chattyfig.figleaf.com

   To change your subscription options or search the archive:

   http://chattyfig.figleaf.com/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



_
Find Friends who are sharing you the same interests! Maktoob Friends the
right place for the right friends!
http://www.maktoob.com/friends
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Can you minimize a projector file?

2006-06-05 Thread Flash guru

I have an exe for a kiosk and was wondering if it is possilbel to minimize
it.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Can you minimize a projector file?

2006-06-05 Thread Lee McColl-Sylvester
You mean from within Flash?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flash
guru
Sent: 05 June 2006 16:33
To: Flashcoders mailing list
Subject: [Flashcoders] Can you minimize a projector file?

I have an exe for a kiosk and was wondering if it is possilbel to
minimize
it.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Can you minimize a projector file?

2006-06-05 Thread Flash guru

ya


On 6/5/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:


You mean from within Flash?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flash
guru
Sent: 05 June 2006 16:33
To: Flashcoders mailing list
Subject: [Flashcoders] Can you minimize a projector file?

I have an exe for a kiosk and was wondering if it is possilbel to
minimize
it.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 you minimize a projector file?

2006-06-05 Thread Lee McColl-Sylvester
Unfortunately, no.  You can maximize and return to normal window mode,
but not minimize.  At least, not without help via Zinc or somesuch.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flash
guru
Sent: 05 June 2006 17:49
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Can you minimize a projector file?

ya


On 6/5/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:

 You mean from within Flash?


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Flash
 guru
 Sent: 05 June 2006 16:33
 To: Flashcoders mailing list
 Subject: [Flashcoders] Can you minimize a projector file?

 I have an exe for a kiosk and was wondering if it is possilbel to
 minimize
 it.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Flash to Sql interface developer needed!

2006-06-05 Thread Thomas Marbois

Hi

Im looking for someone to wire up an existing SQL database structure  
-- into a similarly operating interface like this one:


http://www.friendsofed.com/download.html?isbn=1590591585

(see - Making XML work for your interface)

I have modified this project slightly to show the possible way to  
visualize the DB in question. Its a database of SurfBoard Shapers -  
and their boards made -as well as the surfers who ride them. First I  
need a basic prototype done that actually connects to the MySql  
tables -- this example project connects to an XML file.  Right now -  
I am not concerned about how it connects - as long as the database  
can be updated and the flash interface can show the changes in a  
simple number of steps.  So XML or not -- if you have a decent way of  
getting back and forth on the sql to flash - thats fine.


Are there any good flash people available to do this job?  Please  
send your examples and your rates!


best regards,

TJ Marbois


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Publicity with associated projects- can you link to press releases in your portfolio or blog?

2006-06-05 Thread Manuel Saint-Victor

I have a project that I am wrapping up that will be having some publicity
stuff related to it.  Are there any weird rules or stuff like that as far as
a developer for a project linking to it or press releases as an example of
their work.  I'm not sure how that works and feel as if everything has
hidden rules so I wanted to check from those here that might have relevant
experience.

Thanks in advance for the feedback and insight.
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] Publicity with associated projects- can you link to press releases in your portfolio or blog?

2006-06-05 Thread ben farrell
I would say to look at your NDA, or contract agreement, or whatever you 
signed for your position.
I think your NDA will prevent you from talking about a project first and 
foremost.  If you managed to go without signing an NDA, most likely your 
contract agreement that says you are doing this work for money will 
prevent you from posting screenshots due to copyright infringement.
That said, you can be sure by just asking the producer or client for 
permission.  If you're proud of the work, there shouldn't be a 
problem...especially if it gets them extra press in the development 
community.
What I USUALLY do, is post a screenshot and a short description on my 
website, but only if the work is already released and available to the 
public.  And I usually say that it was a great and fun project, so 
nobody gets a disaparaging word and would get me in trouble for taking 
THEIR work and showing it on my portfolio.
Honestly, nobody looks at my webpage unless I'm trying for a job anyway, 
so it's not so high profile.  If you are doing something that lots of 
people would seeyour sure fire way of not getting in trouble is 
permission from the client.  But if you want to risk it, just make sure 
to put them in a positive light and don't disclose any negative details 
about the development cycle!


Manuel Saint-Victor wrote:

I have a project that I am wrapping up that will be having some publicity
stuff related to it.  Are there any weird rules or stuff like that as 
far as
a developer for a project linking to it or press releases as an 
example of

their work.  I'm not sure how that works and feel as if everything has
hidden rules so I wanted to check from those here that might have 
relevant

experience.

Thanks in advance for the feedback and insight.
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] XML Parsing

2006-06-05 Thread Sajid Saiyed

Hi Ron,
I can modify the XML structure and will not be a problem , I will try
your suggested solution.

Merill,
I am trying to use XPATH feature built in Flash8. I will try your
suggestino as well.

Hope to get to a solution soom, but the discussion is surely helping
me right now.

Sajid

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

I believe it used to be, but anymore the difference is negligible.

In my experience, on small data sets, it makes little difference.
However, using attributes over nodes can in some cases decrease the
actual size of the XML file or string by a factor of 3 or 4, do this can
make a difference on larger data sets, especially the more complex ones.


Jason Merrill
Bank of America
Learning Technology Solutions




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] NetStream bytesTotal / bytesLoaded

2006-06-05 Thread Dan Wade

Hello,

Trying to access bytesTotal and bytesLoaded for streaming .flv.

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(movieHost);
var ns:NetStream = new NetStream(connection_nc);
vid.attachVideo(ns);
ns.play(movieTitle);

this.onEnterFrame = function() {
trace(ns.bytesTotal);
trace(ns.bytesLoaded);
}

both come up 0?

video plays fine. But i'm trying to build a percent bar.
we used flix for encoding.
tia,

-Dan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] NetStream bytesTotal / bytesLoaded

2006-06-05 Thread erix tekila

These properties are progressive flv only.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] OT: Have you been working with Flash all day?

2006-06-05 Thread Paul Neave

It could be worse...

http://abum.com/file/shadow/animations/17632.swf

(props to pixelsurgeon).
Paul.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] geturl:javascript is causing images to not display on IE

2006-06-05 Thread John Dowdell

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


Well, it really depends on what the browser does when it receives a 
javascript: pseudo-URL from a plugin or control when it's expecting an 
URL. Browsers have varied quite a bit in the past in how they supported 
this*, and even though it's a popular technique, I *have* seen posts in 
the past about some Microsoft browsers fo rWindows doing wonky things 
with loading their own images after getting a js pseudo-URL.


(* Searching the technotes with term browser matrix flash turned up 
some older benchmarks against various browsers.)


I have no solid info on this... if the browsermakers don't document all 
the fringe things of how they implement a spec, I learned long ago that 
I'd have less luck. What you're observing does echo observations I've 
heard from others in the past, if that loose and uninformative 
recognition is of any help in your troubleshooting.


(For the question itself, the Player will still send out location 
requests to its hosts, same as before... I haven't seen any docs of this 
popular hack being negated in any way.)


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 NSIS installation

2006-06-05 Thread John Dowdell

Dimitrios Bendilas wrote:

I need to create an installer for flash player 8.
Is there a tutorial or a full script for this?
It has to be NSIS installer.


Your note doesn't say what NSIS means (and I'm not up to a web search 
at the moment), but I do know the following:


(a)  for web distribution, use the Adobe site... no multiple points on 
the WWW


(b)  for non-web distribution, like intranets or CDs, then you need the 
free license for distribution anyway (so we have a list of legit 
requests), and this includes mass installation utilities.


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] More on shared fonts and embedding

2006-06-05 Thread Bernard Visscher
Or take a look at this one:
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-May/166619.html

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Tyler Wright
Verzonden: maandag 5 juni 2006 14:35
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] More on shared fonts and embedding

You're right, unless the font is embedded Flash will render it as a system
font which means it will hopefully look as good as other aliased fonts in
the browser, but not better.

My suggestion is to take a look at Rob Taylor's Fontastic, it's pretty
ingenious. You might have to subscribe to his site.

http://FlashExtensions.com

Tyler

On 6/5/06, Danny Kodicek [EMAIL PROTECTED] wrote:

 Okay, I'm back after the weekend and ready to get this sorted out.

 Thanks to various help, mostly Tom, I've got to the stage where objects in
 one movie are managing to share a font in another, which at least is what
 shared fonts are supposed to do (and is in itself something of a
 breakthrough for me). But it's still not right. The problem is that for
 dynamic fields, unless I embed the font, it doesn't appear antialiased.
 This
 means that my 'client' movie has to embed my shared font, but as soon as I
 do that, the linkage breaks (quite reasonably). Meanwhile, I'm still
 concerted about the low filesize in the 'Official' version: I can't see
 how
 this can contain all the font information.

 I really would appreciate some more thoughts on this. Am I just missing a
 trick on how to get these fonts antialiasing correctly?

 Danny

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Palm OS Blazer Flash Plugin

2006-06-05 Thread John Dowdell

Lane Good wrote:
Does anyone have any info on a Flash 8 player plugin for Palm OS  Blazer 
4.3?


?  Link?

(I'm assuming you mean an actual Adobe Flash Player, rather than some 
knockoff which does parts of various SWF specifications, but I can't be 
sure my assumption would be correct, and I've already typed more info 
than you here ;-)


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 drop down menu problem

2006-06-05 Thread John Dowdell

danya masadeh wrote:

I have a drop down menu always appear over a flash


This is a hard question to search for, so even if you *had* asked a 
question it would be hard to find ;-)


The answer is wmode. Search on this term, and you'll see that a number 
of the replies you have received have been, unfortunately, in error.


(For more fun, try searching on the phrase the answer is wmode.)

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 drop down menu problem

2006-06-05 Thread John Dowdell

danya masadeh wrote:

Dear Arul,
it will be always over the flash, if it window,transparent or opaque ...
I tested before


Browser is a factor... makes the sentence complete. (Browsers do vary 
with their support of offscreen compositing, as the docs on the subject 
indicate.)


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] OT: Have you been working with Flash all day?

2006-06-05 Thread eric dolecki

:)

On 6/5/06, Paul Neave [EMAIL PROTECTED] wrote:


It could be worse...

http://abum.com/file/shadow/animations/17632.swf

(props to pixelsurgeon).
Paul.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] XML Parsing

2006-06-05 Thread Ron Wheeler

If you get a nice clean XML structure, XPath will save you a lot of code.
It takes a bit of getting used to but it will make your life easier.

Ron

Sajid Saiyed wrote:

Hi Ron,
I can modify the XML structure and will not be a problem , I will try
your suggested solution.

Merill,
I am trying to use XPATH feature built in Flash8. I will try your
suggestino as well.

Hope to get to a solution soom, but the discussion is surely helping
me right now.

Sajid

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

I believe it used to be, but anymore the difference is negligible.

In my experience, on small data sets, it makes little difference.
However, using attributes over nodes can in some cases decrease the
actual size of the XML file or string by a factor of 3 or 4, do this can
make a difference on larger data sets, especially the more complex ones.


Jason Merrill
Bank of America
Learning Technology Solutions




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Publicity with associated projects- can you link to press releases in your portfolio or blog?

2006-06-05 Thread Ron Wheeler

Safest thing to do is ask the client.
Even if it is legal or generally OK, if it pisses off your client, you 
will not get a get a good reference.


Ron


Manuel Saint-Victor wrote:

I have a project that I am wrapping up that will be having some publicity
stuff related to it.  Are there any weird rules or stuff like that as 
far as
a developer for a project linking to it or press releases as an 
example of

their work.  I'm not sure how that works and feel as if everything has
hidden rules so I wanted to check from those here that might have 
relevant

experience.

Thanks in advance for the feedback and insight.
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] XML Parsing

2006-06-05 Thread Doug Coning
Isn't attributes quicker because flash has to create an object for each
node in the XML?  On my projects, attributes are much, much faster to
parse large file sizes with.  Also, XPATH works faster on
attributes(IMO)!

Also, another tip that you may have already figured out, if you can
control the names of the attributes, then have Flash just loop through
the attributes like the code below to parse out all the values.  This is
very fast to code and to parse, but another benefit is if you add
additional attributes, you don't have to remap those.  They will be
brought in automatically!  
 
var parsedData:Array = new Array();
for(i = 0; i  myXML_array.length; i++){
   var newObj:Object = new Object();
   for (var attr in myXML_array[i].attributes){
newObj[attr] = myXML_array[i].attributes;
   }
   parsedData.push(newObj);
}

Doug Coning 
Senior Web Development Programmer
FORUM Solutions, LLC
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Robert Chyko
 Sent: Monday, June 05, 2006 10:57 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] XML Parsing
 
 I believe it used to be, but anymore the difference is negligible.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ash
 Warren
 Sent: Monday, June 05, 2006 10:56 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] XML Parsing
 
 
 I have heard also (have not tested myself) that parsing attributes is
 much
 quicker as well.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ron
 Wheeler
 Sent: Monday, June 05, 2006 9:07 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] XML Parsing
 
 If it was up to me, I would redo the XML to be a bit more concise and
 more standard.
 layers
 layer name=LayerOne
 assets
 asset width=20 height=10 xPos=50 yPos=30
 name=somename0.bmp /
 asset width=20 height=10 xPos=50 yPos=30
 name=somename1.bmp/
/assets
 /layer
 layer name=LayerTwo
 assets
 asset width=20 height=10 xPos=50 yPos=30
 name=somename2.bmp /
/assets
 /layer
 /layers
 
 This will parse better. It is probably easier to create.
 
 You can parse this into a Layers Object which is a collection (array)
of
 
 Layer objects.
 The Layer Object has a name (LayerOne) and a list of Asset Objects as
 propertie.s
 The Asset Object has properties which correspond to the XML
 attributes(width, height, etc.).
 
 The total layers is redundant since it is only the length of the
Layers
 Object array of Layers. function getLayerCount(){return
 layersList.length;}
 
 
 If you are stuck with your existing XMl, you can still use the same
 object structure once you have parsed it but will have a more
 complicated parse since you have these LayerOne, LayerTwo trees which
 will have to be recognized in your parse. With XPath, this will be a
 PITA.
 
 If you write your own parse, you can probably make some assumptions
 about the tree structure which will avoid having to write a lot of
code
 to deal with LayerOne, etc.
 
 By dynamic, we mean that you just store the whole XML string and parse
 it each time you want some information.
 If you can not fix your XML structure, dynamic parsing will likely be
 too expensive and you should parse the XML once into an object
hierarchy
 
 and work with the objects.
 
 Ron
 
 
 
 Sajid Saiyed wrote:
  Hi,
  I have an XML like this:
 
  root
  totalLayers
  number5/number
  /totalLayers
  LayerOne
  asset
   namesomename0.bmp/name
  width20/width
  height10/height
  xPos50/xPos
  yPos30/yPos
  /asset
  asset
   namesomename1.bmp/name
  width20/width
  height10/height
  xPos50/xPos
  yPos30/yPos
  /asset
  /LayerOne
  Layertwo
  asset
   namesomename2.bmp/name
  width20/width
  height10/height
  xPos50/xPos
  yPos30/yPos
  /asset
  /LayerTwo
  /root
 
  I want to use XPATH or something similar to create dynamic
  arrays/string and store values respectivele like this:
 
  String:
  totalLayers = 5;
 
  LayerOne and LayerTwo will be a multidimentional array
 
 

LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xp
 os,y
 pos]]...]
 
 

LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xp
 os,y
 pos]]...]
 
  etc...
 
  Any hint or suggestion...?
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Publicity with associated projects- can you link to press releases in your portfolio or blog?

2006-06-05 Thread Manuel Saint-Victor

Thanks

I think that'll be the best way to proceed.

Mani


On 6/5/06, Ron Wheeler [EMAIL PROTECTED] wrote:


Safest thing to do is ask the client.
Even if it is legal or generally OK, if it pisses off your client, you
will not get a get a good reference.

Ron


Manuel Saint-Victor wrote:
 I have a project that I am wrapping up that will be having some
publicity
 stuff related to it.  Are there any weird rules or stuff like that as
 far as
 a developer for a project linking to it or press releases as an
 example of
 their work.  I'm not sure how that works and feel as if everything has
 hidden rules so I wanted to check from those here that might have
 relevant
 experience.

 Thanks in advance for the feedback and insight.
 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] Injecting Commercials into Video Stream from FCS/FMS

2006-06-05 Thread ::: curdiss

Hi Marlon, I was wondering if you had any example sites that are using
this technique, to get a better idea of what your attempting to
achieve.

Thanks, Curt




On 6/5/06, Marlon Harrison [EMAIL PROTECTED] wrote:

Does anyone have any sample code accomplishing this?  I've done pretty
extensive searches on Google  Adobe with no luck. I'm assuming this
code would be a .asc file for the media server, but I'm not totally
sure.  I just need something to a base for a proof of concept i'm
putting together.

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

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


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

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


[Flashcoders] Prevent Multiline Selectable TextField from scrolling?

2006-06-05 Thread Tom Lee
This should be a trivial problem, but for some reason I'm not seeing an
obvious and clean solution (one of those Mondays).  What I want to do is
prevent a TextField from scrolling when the user selects the text.
Essentially, have the text be selectable but locked in place, regardless of
the height of the text field.

 

I've tried:

 

TextField.onScroller = function(tf){

tf.scroll = 0;

}

 

This works ok, but not cleanly.  The text is still allowed to scroll, it
just jumps back into place when the user releases the mouse.  There oughtta
be a TextField.scrollable:Boolean.

 

Ideas?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Injecting Commercials into Video Stream from FCS/FMS

2006-06-05 Thread Marlon Harrison

Sure thanks for the reply.

ABC does it for their free episode trial:
http://dynamic.abc.go.com/streaming/landing

There are also visual cues added the the progress bar to let you know
where the commercials are.

On 6/5/06, ::: curdiss [EMAIL PROTECTED] wrote:

Hi Marlon, I was wondering if you had any example sites that are using
this technique, to get a better idea of what your attempting to
achieve.

Thanks, Curt




On 6/5/06, Marlon Harrison [EMAIL PROTECTED] wrote:
 Does anyone have any sample code accomplishing this?  I've done pretty
 extensive searches on Google  Adobe with no luck. I'm assuming this
 code would be a .asc file for the media server, but I'm not totally
 sure.  I just need something to a base for a proof of concept i'm
 putting together.

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

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

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

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


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

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


Re: [Flashcoders] Prevent Multiline Selectable TextField from scrolling?

2006-06-05 Thread Michael Bedar
Only thing I can think of right now is always showing all of the  
text, and masking the portion you want to hide...



On Jun 5, 2006, at 4:05 PM, Tom Lee wrote:

This should be a trivial problem, but for some reason I'm not  
seeing an
obvious and clean solution (one of those Mondays).  What I want to  
do is

prevent a TextField from scrolling when the user selects the text.
Essentially, have the text be selectable but locked in place,  
regardless of

the height of the text field.



I've tried:



TextField.onScroller = function(tf){

tf.scroll = 0;

}



This works ok, but not cleanly.  The text is still allowed to  
scroll, it
just jumps back into place when the user releases the mouse.  There  
oughtta

be a TextField.scrollable:Boolean.



Ideas?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Prevent Multiline Selectable TextField fromscrolling?

2006-06-05 Thread Tom Lee
Oddly enough, I am - but it still scrolls.  It's almost as though there's an
extra newline or something in there.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Bedar
Sent: Monday, June 05, 2006 4:23 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Prevent Multiline Selectable TextField
fromscrolling?

Only thing I can think of right now is always showing all of the  
text, and masking the portion you want to hide...


On Jun 5, 2006, at 4:05 PM, Tom Lee wrote:

 This should be a trivial problem, but for some reason I'm not  
 seeing an
 obvious and clean solution (one of those Mondays).  What I want to  
 do is
 prevent a TextField from scrolling when the user selects the text.
 Essentially, have the text be selectable but locked in place,  
 regardless of
 the height of the text field.



 I've tried:



 TextField.onScroller = function(tf){

 tf.scroll = 0;

 }



 This works ok, but not cleanly.  The text is still allowed to  
 scroll, it
 just jumps back into place when the user releases the mouse.  There  
 oughtta
 be a TextField.scrollable:Boolean.



 Ideas?

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] LocalConnection not working on IE

2006-06-05 Thread Wade Arnold
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16243

 

I am having problems with localconnection not working with internet
explorer. Have I missed something that this should no longer work? 

 

 

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Prevent Multiline Selectable TextField fromscrolling?

2006-06-05 Thread Martin Weiser
onScroll event method, and revert the scroll value back to some saved 
value...


MW


- Original Message - 
From: Tom Lee [EMAIL PROTECTED]

To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, June 05, 2006 10:27 PM
Subject: RE: [Flashcoders] Prevent Multiline Selectable TextField 
fromscrolling?



Oddly enough, I am - but it still scrolls.  It's almost as though there's 
an

extra newline or something in there.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Bedar
Sent: Monday, June 05, 2006 4:23 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Prevent Multiline Selectable TextField
fromscrolling?

Only thing I can think of right now is always showing all of the
text, and masking the portion you want to hide...


On Jun 5, 2006, at 4:05 PM, Tom Lee wrote:


This should be a trivial problem, but for some reason I'm not
seeing an
obvious and clean solution (one of those Mondays).  What I want to
do is
prevent a TextField from scrolling when the user selects the text.
Essentially, have the text be selectable but locked in place,
regardless of
the height of the text field.



I've tried:



TextField.onScroller = function(tf){

tf.scroll = 0;

}



This works ok, but not cleanly.  The text is still allowed to
scroll, it
just jumps back into place when the user releases the mouse.  There
oughtta
be a TextField.scrollable:Boolean.



Ideas?

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

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


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

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


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

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


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

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


[Flashcoders] Funny

2006-06-05 Thread Aaron Buchanan
http://abum.com/file/shadow/animations/17632.swf
Now get back to work ;)

--
Aaron


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Prevent Multiline Selectable TextFieldfromscrolling?

2006-06-05 Thread Tom Lee
Tried that... creates this nasty jumping effect as it snaps back into
place.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Weiser
Sent: Monday, June 05, 2006 4:37 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Prevent Multiline Selectable
TextFieldfromscrolling?

onScroll event method, and revert the scroll value back to some saved 
value...

MW


- Original Message - 
From: Tom Lee [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, June 05, 2006 10:27 PM
Subject: RE: [Flashcoders] Prevent Multiline Selectable TextField 
fromscrolling?


 Oddly enough, I am - but it still scrolls.  It's almost as though there's 
 an
 extra newline or something in there.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Michael
 Bedar
 Sent: Monday, June 05, 2006 4:23 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Prevent Multiline Selectable TextField
 fromscrolling?

 Only thing I can think of right now is always showing all of the
 text, and masking the portion you want to hide...


 On Jun 5, 2006, at 4:05 PM, Tom Lee wrote:

 This should be a trivial problem, but for some reason I'm not
 seeing an
 obvious and clean solution (one of those Mondays).  What I want to
 do is
 prevent a TextField from scrolling when the user selects the text.
 Essentially, have the text be selectable but locked in place,
 regardless of
 the height of the text field.



 I've tried:



 TextField.onScroller = function(tf){

 tf.scroll = 0;

 }



 This works ok, but not cleanly.  The text is still allowed to
 scroll, it
 just jumps back into place when the user releases the mouse.  There
 oughtta
 be a TextField.scrollable:Boolean.



 Ideas?

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

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

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

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


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

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

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

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


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

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


Re: [Flashcoders] Prevent Multiline Selectable TextFieldfromscrolling?

2006-06-05 Thread Derek Vadneau
There's no simple property for this but I was able to put together an 
example that works (check below for the caveats):

var o;
var i:Number;
var tf = t.getTextFormat();
var linesOfText:Number = 2;

var originalText:String = t.text;

for (i=0; ioriginalText.length; i++)
{
o = tf.getTextExtent(originalText.substr(0, i));

if (o.width  2 * t.textWidth  o.width  linesOfText * t.textWidth - 
20)
{
t.text = originalText.substr(0, i);
break;
}
}

It's a little funky, but extending Flash textfield seems to always be like 
that.

What it does is store the original text and populate the textfield with 
text only up until it would scroll.

Here are the caveats:
1. The number in the if condition (20) is a guess. If I had the time to 
spend on this I would calculate the size before the next word. As it is 
now 20 seemed to work for the text that I had.
2. The text will be from the 0 character onwards. If you have a scrollbar, 
or other means of scrolling, the scrollPosition will not be taken into 
account.

Again, if I had the time this could probably be made to compensate for the 
caveats.

Hope it helps.


Derek Vadneau

- Original Message - 
From: Tom Lee [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, June 05, 2006 4:05 PM
Subject: SPAM-LOW: [Flashcoders] Prevent Multiline Selectable TextField 
from scrolling?


This should be a trivial problem, but for some reason I'm not seeing an
obvious and clean solution (one of those Mondays).  What I want to do is
prevent a TextField from scrolling when the user selects the text.
Essentially, have the text be selectable but locked in place, regardless 
of
the height of the text field.



I've tried:



TextField.onScroller = function(tf){

tf.scroll = 0;

}



This works ok, but not cleanly.  The text is still allowed to scroll, it
just jumps back into place when the user releases the mouse.  There 
oughtta
be a TextField.scrollable:Boolean.



Ideas?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] LocalConnection not working on IE

2006-06-05 Thread John Grden

try naming your connections with underscores:

_connectionName

Also, use the allowDomain method to allowing calling domains permission to
make calls.

allowDomain(domain:String):Boolean
{
   return true;
}

On 6/5/06, Wade Arnold [EMAIL PROTECTED] wrote:


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



I am having problems with localconnection not working with internet
explorer. Have I missed something that this should no longer work?







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

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





--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Prevent Multiline Selectable TextFieldfromscrolling?

2006-06-05 Thread Tom Lee
Interesting approach, Derek.  I've actually done something similar in the
past for paginating purposes, but it didn't occur to me to do it for this.
Of course, it gets really hairy if you're dealing with HTML, but still
doable.

Thanks!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek
Vadneau
Sent: Monday, June 05, 2006 4:48 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Prevent Multiline Selectable
TextFieldfromscrolling?

There's no simple property for this but I was able to put together an 
example that works (check below for the caveats):

var o;
var i:Number;
var tf = t.getTextFormat();
var linesOfText:Number = 2;

var originalText:String = t.text;

for (i=0; ioriginalText.length; i++)
{
o = tf.getTextExtent(originalText.substr(0, i));

if (o.width  2 * t.textWidth  o.width  linesOfText * t.textWidth
- 
20)
{
t.text = originalText.substr(0, i);
break;
}
}

It's a little funky, but extending Flash textfield seems to always be like 
that.

What it does is store the original text and populate the textfield with 
text only up until it would scroll.

Here are the caveats:
1. The number in the if condition (20) is a guess. If I had the time to 
spend on this I would calculate the size before the next word. As it is 
now 20 seemed to work for the text that I had.
2. The text will be from the 0 character onwards. If you have a scrollbar, 
or other means of scrolling, the scrollPosition will not be taken into 
account.

Again, if I had the time this could probably be made to compensate for the 
caveats.

Hope it helps.


Derek Vadneau

- Original Message - 
From: Tom Lee [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, June 05, 2006 4:05 PM
Subject: SPAM-LOW: [Flashcoders] Prevent Multiline Selectable TextField 
from scrolling?


This should be a trivial problem, but for some reason I'm not seeing an
obvious and clean solution (one of those Mondays).  What I want to do is
prevent a TextField from scrolling when the user selects the text.
Essentially, have the text be selectable but locked in place, regardless 
of
the height of the text field.



I've tried:



TextField.onScroller = function(tf){

tf.scroll = 0;

}



This works ok, but not cleanly.  The text is still allowed to scroll, it
just jumps back into place when the user releases the mouse.  There 
oughtta
be a TextField.scrollable:Boolean.



Ideas?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] LocalConnection not working on IE

2006-06-05 Thread Marlon Harrison

Also - make sure you only have one browser open at a time. That got me
the first time I tried using it.  Drove me crazy for some time :-)

On 6/5/06, John Grden [EMAIL PROTECTED] wrote:

try naming your connections with underscores:

_connectionName

Also, use the allowDomain method to allowing calling domains permission to
make calls.

allowDomain(domain:String):Boolean
{
return true;
}

On 6/5/06, Wade Arnold [EMAIL PROTECTED] wrote:

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



 I am having problems with localconnection not working with internet
 explorer. Have I missed something that this should no longer work?







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

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




--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] onResize (when done)

2006-06-05 Thread Flash Mel

I had a question about this.  There is a solution in the archives
(http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/056558.html)
where someone used onEnterFrame.  That solution was back in 2002.  Is
there a better alternative now?

My question is two-fold:  Is it possible to determine if the stage is
resizing larger?  smaller?  only height?  only width?


Ah, my mind is boggled!

Cheers,

fM
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] onResize (when done)

2006-06-05 Thread Mick G

My question is two-fold:  Is it possible to determine if the stage is
resizing larger?  smaller?  only height?  only width?

If you don't want to use onEnterFrame, just do the same process by checking
the Stage.width and Stage.height with a setInterval and compare the current
values with the last.



On 6/6/06, Flash Mel [EMAIL PROTECTED] wrote:


I had a question about this.  There is a solution in the archives
(
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/056558.html
)
where someone used onEnterFrame.  That solution was back in 2002.  Is
there a better alternative now?

My question is two-fold:  Is it possible to determine if the stage is
resizing larger?  smaller?  only height?  only width?


Ah, my mind is boggled!

Cheers,

fM
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] OT: Have you been working with Flash all day?

2006-06-05 Thread Ramon Miguel M. Tayag

That's pretty good! Haha

On 6/6/06, Paul Neave [EMAIL PROTECTED] wrote:

It could be worse...

http://abum.com/file/shadow/animations/17632.swf

(props to pixelsurgeon).
Paul.



--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] OT: Have you been working with Flash all day?

2006-06-05 Thread ::: curdiss

very cool.. i love it dude!



On 6/5/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:

That's pretty good! Haha

On 6/6/06, Paul Neave [EMAIL PROTECTED] wrote:
 It could be worse...

 http://abum.com/file/shadow/animations/17632.swf

 (props to pixelsurgeon).
 Paul.


--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] (very) small Flash contract work

2006-06-05 Thread Scott Hyndman

Hi there,

A company that I often deal with requires a bit of Flash help. This
mainly involved the tweaking of some pre-existing Flash animations.
Easy stuff like adding logos, changing some text here and there. All
the work is done for you. I just no longer have the time to help them
out.

The work might only ever take 30 minutes every month or so, but it's
easy and you can bill for it. If you're interested, let me know. There
may even be opportunity for some more significant work later.

It would be best if you lived in the Canada or the US for payment reasons.

So if you are interested please email [EMAIL PROTECTED] with
availability, rates and maybe a sample link or two (just to give some
idea of what youre capable of).

Thanks,
Scott Hyndman
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] OT: Have you been working with Flash all day?

2006-06-05 Thread Mendizabal

ah. I see.

On 05/06/06, ::: curdiss [EMAIL PROTECTED] wrote:


very cool.. i love it dude!



On 6/5/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:
 That's pretty good! Haha

 On 6/6/06, Paul Neave [EMAIL PROTECTED] wrote:
  It could be worse...
 
  http://abum.com/file/shadow/animations/17632.swf
 
  (props to pixelsurgeon).
  Paul.


 --
 Ramon Miguel M. Tayag
 Managing Director
 Quirkworks
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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