Re: [Flashcoders] Flash animation like http://u10.iriver.com/

2007-05-16 Thread Matthias Dittgen

Hi,

we did something similar some time ago, but for a small sequence only.
We wore black clothes and were filmed in front of a white wall. We did
post-production in Photoshop and Illustrator. We used actions (batch
processing) in Photoshop and converted Selections into Pathes which
could be exported/imported to Illustrator, where another action
converted them into fills and saved to single-frame SWF files. These
files were imported into Flash as sequence. And there you are..
You can then use these shapes as masks and have nice effects this way.

hth,
Matthias

2007/5/15, Helios Pregioni Bayma [EMAIL PROTECTED]:

Hi,

I have a project with animation of a person, and the client is in doubt
about real person animed or silhouette like the one in
http://u10.iriver.com/.

Do you know what are the best techniques for both? The iriver example, what
technique do you think it uses?
My weakeast point in Flash is animation, and the design company will take
care of it, but they asked me that cause they know nothing about Flash.
Anyone has a tip for doing those differente animations?

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

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


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

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


[Flashcoders] swfs in pdfs

2007-05-16 Thread nik crosina

Hi Coders,

I have come across swf's embedded in PDFs, and in the process of doing
a little research - is that taking off now, or is it a small
specialist area?

I can't seem to find much technical info on this, especially, what are
the system requirements on the user side: does s/he need flash as well
as acrobat reader, and what versions would these have to be?

Has anyone of you done this before?

Thanks!

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

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


[Flashcoders] quick question: AS2: CSS, [bullet] images assosiated to text?

2007-05-16 Thread sebastian

Hello,

I have a quick question; can't find any answers on the net.

I don't think this is possible, but I just want to make sure!

If I load in XML data as HTML and associate it to a style sheet [CSS] - 
is there anyway I can then associate little images, like bullet pictures 
for the li items? or little arrow images next to the a tags?


As far as I know, this is not possible and I need to load each li or 
a as a separate textField, and then place an image of the bullet/arrow 
next to it at run time, right? [= the old fashion way]


Thanks!

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

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


[Flashcoders] help needed : CCForFlash and simple netstream

2007-05-16 Thread cedric newsletter

hi all,

has anyone ever tried to use the free Captioning Component CCForFlash (
http://ncam.wgbh.org/webaccess/ccforflash/).

is there an simple example with CCForFlash used with a simple video object ?
i can't make it work ! :-(

any help will be greatly appreciated
:)
have a good day !

cédric houvenagel
www.incandescence.com


-
here's my code
-
/*
videoContainer = instance name of the video object
caption_cp  = instance name of the CCforFlash component
*/

stop();

var ADRESSE_SERVEUR_VIDEO:String = null;
var FICHIER_VIDEO_DEMO:String = http://www.jeparlejaponais.com/media/demo.flv
;
var BUFFER_TIME:Number = 3;

Stage.scaleMode = noScale;
Stage.align = TL;

/

// create basic netConnection object
var nc:NetConnection = new NetConnection();
nc.connect(ADRESSE_SERVEUR_VIDEO);

// create the netStream object and pass the netConnection object in the
constructor
var ns:NetStream = new NetStream(nc);

// attach the netStream object to the video object
videoContainer.attachVideo(ns);
ns.setBufferTime(BUFFER_TIME);
ns.play(FICHIER_VIDEO_DEMO);

trace(caption_cp);
trace(caption_cp.getLanguages());
caption_cp.startCaptions(false, car.dfxp.xml, en);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] CVS and Flash best practice advice needed

2007-05-16 Thread Wayne McManus

Hi all,

does anyone have any thoughts or links regarding best-practice when it comes
to CVS and Flash? I'm looking into creating a repository but am unsure what
the best setup might be regarding the location of .as, .fla, .html files?

I notice Flex makes use of a bin directory; is this a good thing to
establish now for standard Flash development (does Flash CS3 remain flexible
in where you can store classes, publish to, etc)?

Any suggestions welcome, thanks (except use Subversion!; I have to use CVS
unfortunately!).
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] CVS and Flash best practice advice needed

2007-05-16 Thread Durai Raj
SourceSafe on Windows is the only supported version control software that
integrates with the Project panel. You can use other version control
software packages with FLA documents, but not necessarily in the Project
panel.

In live documents you can check out at the link

http://livedocs.macromedia.com/flash/8/main/0377.html



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wayne
McManus
Sent: Wednesday, May 16, 2007 4:04 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] CVS and Flash best practice advice needed

Hi all,

does anyone have any thoughts or links regarding best-practice when it comes
to CVS and Flash? I'm looking into creating a repository but am unsure what
the best setup might be regarding the location of .as, .fla, .html files?

I notice Flex makes use of a bin directory; is this a good thing to
establish now for standard Flash development (does Flash CS3 remain flexible
in where you can store classes, publish to, etc)?

Any suggestions welcome, thanks (except use Subversion!; I have to use CVS
unfortunately!).
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



DISCLAIMER:
This communication may be confidential and privileged and the views expressed 
herein may be personal and are not necessarily the views of ReDIM.
It is for the exclusive use of the intended recipient. If you are not the 
intended recipient, please note that any distribution,
copying or use of this communication or the  information in it is strictly 
prohibited.If you have received this communication 
in error, please notify us by email ([EMAIL PROTECTED]) and then delete the 
email and any copies of 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] quick question: AS2: CSS, [bullet] images assosiated to text?

2007-05-16 Thread Durai Raj
A better approach will be to programatically get the number of LI tags and
replace them with numbers in a loop. I have used this approach in some
projects and it works very well.

I guess this approach would help you

Cheers
Durai
www.expertbuddy.net


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: Wednesday, May 16, 2007 2:27 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] quick question: AS2: CSS,[bullet] images assosiated
to text?

Hello,

I have a quick question; can't find any answers on the net.

I don't think this is possible, but I just want to make sure!

If I load in XML data as HTML and associate it to a style sheet [CSS] - 
is there anyway I can then associate little images, like bullet pictures 
for the li items? or little arrow images next to the a tags?

As far as I know, this is not possible and I need to load each li or 
a as a separate textField, and then place an image of the bullet/arrow 
next to it at run time, right? [= the old fashion way]

Thanks!

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

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



DISCLAIMER:
This communication may be confidential and privileged and the views expressed 
herein may be personal and are not necessarily the views of ReDIM.
It is for the exclusive use of the intended recipient. If you are not the 
intended recipient, please note that any distribution,
copying or use of this communication or the  information in it is strictly 
prohibited.If you have received this communication 
in error, please notify us by email ([EMAIL PROTECTED]) and then delete the 
email and any copies of 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] Q:Using BitmapData for alpha masking

2007-05-16 Thread Dave Mennenoh

You can use threshold to do that.

var bitmap:BitmapData = BitmapData.loadBitmap(myPNG);
bitmap.threshold(bitmap, bitmap.rectangle, bitmap.rectangle.topLeft, '', 
0x, 0x);

maskClip.attachBitmap(bitmap, 1);

That will turn all pixels with some alpha to red and full alpha.

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] quick question: AS2: CSS, [bullet] images assosiated to text?

2007-05-16 Thread sebastian

that would work, thanks!
:)

Durai Raj wrote:

A better approach will be to programatically get the number of LI tags and
replace them with numbers in a loop. I have used this approach in some
projects and it works very well.

I guess this approach would help you

Cheers
Durai
www.expertbuddy.net


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: Wednesday, May 16, 2007 2:27 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] quick question: AS2: CSS,[bullet] images assosiated
to text?

Hello,

I have a quick question; can't find any answers on the net.

I don't think this is possible, but I just want to make sure!

If I load in XML data as HTML and associate it to a style sheet [CSS] - 
is there anyway I can then associate little images, like bullet pictures 
for the li items? or little arrow images next to the a tags?


As far as I know, this is not possible and I need to load each li or 
a as a separate textField, and then place an image of the bullet/arrow 
next to it at run time, right? [= the old fashion way]


Thanks!

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

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



DISCLAIMER:
This communication may be confidential and privileged and the views expressed 
herein may be personal and are not necessarily the views of ReDIM.
It is for the exclusive use of the intended recipient. If you are not the 
intended recipient, please note that any distribution,
copying or use of this communication or the  information in it is strictly prohibited.If you have received this communication 
in error, please notify us by email ([EMAIL PROTECTED]) and then delete the email and any copies of 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] AS2: capturing a href=link/a events?

2007-05-16 Thread sebastian

Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside of 
a CSS formatted html text field?


Here is what I do:
- CDATA formatted text in an XML file.
- load it and associate a CSS file to a generated text field at run time.
- resulting a tags have links assigned to them.
- user 'clicks' them - event capture??

In other words: what I need to do is to hear the event so I can dispatch 
an event to my Controller class [who then sends info to the stats class, 
and opens a browser window with predetermined formatting].


At the moment I can't see a way for this event to be heard by my 
controller. Maybe this is simple? maybe its impossible, or complex... 
any ideas? Javascript maybe?


Thanks for your help!

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

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


Re: [Flashcoders] AS2: capturing a href=link/a events?

2007-05-16 Thread Jim Armstrong

sebastian wrote:

Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside 
of a CSS formatted html text field?



Have you looked at asfunction?

good luck!

- jim

--
Jim Armstrong::Mathematician::Algorithmist::Programmer
Singularity::www.algorithmist.net
Blog::algorithmist.wordpress.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS2: capturing a href=link/a events?

2007-05-16 Thread Paul Venton
asfunction :-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: 16 May 2007 12:13
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] AS2: capturing a href=link/a events?

Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside of 
a CSS formatted html text field?

Here is what I do:
- CDATA formatted text in an XML file.
- load it and associate a CSS file to a generated text field at run time.
- resulting a tags have links assigned to them.
- user 'clicks' them - event capture??

In other words: what I need to do is to hear the event so I can dispatch 
an event to my Controller class [who then sends info to the stats class, 
and opens a browser window with predetermined formatting].

At the moment I can't see a way for this event to be heard by my 
controller. Maybe this is simple? maybe its impossible, or complex... 
any ideas? Javascript maybe?

Thanks for your help!

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

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


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

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


Re: [Flashcoders] AS2: capturing a href=link/a events?

2007-05-16 Thread eka

Hello :)

in actionscript (1 or 2) you can use the notation :

a href=asfunction:myMethod,param1,param2Link/a

In your code... in the parent of your textfield (the parent movieclip), you
can creates the method myMethod 

example :

var format:TextFormat = new TextFormat(arial, 12) ;
format.bold = true ;

var target:MovieClip = this.createEmptyMovieClip(mc, 1) ;
target._x = 25 ;
target._y = 25 ;
target.myMethod = function( arg1, arg2 )
{
   trace( callback :  + arg1 +  :  + arg2) ;
}

var field:TextField  = target.createTextField( field, 1, 0 , 0, 200, 20) ;
field.autoSize = true ;
field.border = true ;
field.setNewTextFormat( format ) ;
field.html = true ;
field.htmlText = 'a href=asfunction:myMethod,param1,param2Link/a' ;

You can use TextField.StyleSheet to apply a css style in your fields etc

Read the actionscript reference with the words TextField and asfunction :)

EKA+ :)

2007/5/16, sebastian [EMAIL PROTECTED]:


Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside of
a CSS formatted html text field?

Here is what I do:
- CDATA formatted text in an XML file.
- load it and associate a CSS file to a generated text field at run time.
- resulting a tags have links assigned to them.
- user 'clicks' them - event capture??

In other words: what I need to do is to hear the event so I can dispatch
an event to my Controller class [who then sends info to the stats class,
and opens a browser window with predetermined formatting].

At the moment I can't see a way for this event to be heard by my
controller. Maybe this is simple? maybe its impossible, or complex...
any ideas? Javascript maybe?

Thanks for your help!

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

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


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

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


Re: [Flashcoders] AS2: capturing a href=link/a events?

2007-05-16 Thread JOR

You can use asfunction.


function foo (bar) {
  trace (bar);
}
this.createTextField(my_txt, this.getNextHighestDepth(), 0, 0, 200, 100);
my_txt.autoSize = true;
my_txt.html = true;
my_txt.htmlText = a href=\asfunction:foo, Hello Word!\Click Me/a;

-- JOR

James O'Reilly  —  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design • Code • Train



sebastian wrote:

Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside of 
a CSS formatted html text field?


Here is what I do:
- CDATA formatted text in an XML file.
- load it and associate a CSS file to a generated text field at run time.
- resulting a tags have links assigned to them.
- user 'clicks' them - event capture??

In other words: what I need to do is to hear the event so I can dispatch 
an event to my Controller class [who then sends info to the stats class, 
and opens a browser window with predetermined formatting].


At the moment I can't see a way for this event to be heard by my 
controller. Maybe this is simple? maybe its impossible, or complex... 
any ideas? Javascript maybe?


Thanks for your help!

seb.

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

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


[Flashcoders] Looking up property linked to an arraycollection item

2007-05-16 Thread Smeets, Ben
Hard to give this 'problem' a good subject. It's not really a 'problem',
but more something I wanted to pass by people to find out how they solve
this i.r.l. There are many ways to fix this, just looking for the best
:)

E.g. I have an object Person with a Property BirthCountry.

Public class Person {
public var BirthCountry:Number;
public function Person() {
}
}

The BirthCountry is an ID of a Country, stored in a ModelClass in an
ArrayCollection. The ArrayCollection is filled with id/value pairs.

How would everybody do this? Is the seperation of the Country Collection
a good thing? Would you create some sort of CountryVO objects, and give
that as a property to the Person? E.g.

Public class Person {
public var BirthCountry:BirthCountryVO;
public function Person() {
}
}

Or any other great ideas?

Tx in advance,

Ben


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Local Connection / Intel Mac bug??

2007-05-16 Thread Adam Hoyle

Hi Flash Coders

I am having a problem with local connection communication between an  
exe and a website, but only on INTEL macs.


I have the underscore before the name, but the messages aren't  
getting through (they do on windows and g4 mac). Interestingly  
(frustratingly) the second thing to connect to lco doesn't get any  
onStatus message called either. I have tried removing the underscore  
and appending the domain and a colon to the beginning, but that also  
fails on intel mac, but works on windows and g4 mac.


Has anyone else come across this bug, or more to the point has anyone  
got an exe and a swf on a website to talk to one another on an intel  
mac (g4 works fine, so it's specific to intel macs)? I've noticed  
that the Luminic Box tracer doesn't work on Intel Macs either,  
haven't checked xray.


Any help/suggestions would be gratefully received,

Cheers,

Adam
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Local Connection / Intel Mac bug??

2007-05-16 Thread Jeff Gomes


Adam-

When one process is running natively (with Flash 9 universal binary 
player) and the other is running under emulation (with a Flash 8 
projector or the Director Flash Asset Xtra), I cannot get it to work either.


-Jeff

At 05:00 5/16/2007, Adam Hoyle wrote:

Hi Flash Coders

I am having a problem with local connection communication between an
exe and a website, but only on INTEL macs.

I have the underscore before the name, but the messages aren't
getting through (they do on windows and g4 mac). Interestingly
(frustratingly) the second thing to connect to lco doesn't get any
onStatus message called either. I have tried removing the underscore
and appending the domain and a colon to the beginning, but that also
fails on intel mac, but works on windows and g4 mac.

Has anyone else come across this bug, or more to the point has anyone
got an exe and a swf on a website to talk to one another on an intel
mac (g4 works fine, so it's specific to intel macs)? I've noticed
that the Luminic Box tracer doesn't work on Intel Macs either,
haven't checked xray.

Any help/suggestions would be gratefully received,

Cheers,

Adam


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS2: capturing a href=link/a events?

2007-05-16 Thread sebastian

thank you everyone! you (and 'asfunction') rocks
;)

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

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


Re: [Flashcoders] flash projector sending xml to php (sendAndLoad) orphp variables...

2007-05-16 Thread Dave Mennenoh
What doesn't work? Either method should work fine - but remember you'll need 
to use $_REQUEST, or $_GET on the PHP page, since $_POST will only work when 
sent from the browser. I'd also suggest looking into AMFPHP, as it just 
makes communicating with the server a whole lot easier.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS2: capturing a href=link/a events?

2007-05-16 Thread Durai Raj
I guess you can also assign function for that. When u click on that link you
can execute a function in which u can set the link and the event can be
dispatched from that function.

Cheers
Durai
Www.expertbuddy.net


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: Wednesday, May 16, 2007 4:43 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] AS2: capturing a href=link/a events?

Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside of 
a CSS formatted html text field?

Here is what I do:
- CDATA formatted text in an XML file.
- load it and associate a CSS file to a generated text field at run time.
- resulting a tags have links assigned to them.
- user 'clicks' them - event capture??

In other words: what I need to do is to hear the event so I can dispatch 
an event to my Controller class [who then sends info to the stats class, 
and opens a browser window with predetermined formatting].

At the moment I can't see a way for this event to be heard by my 
controller. Maybe this is simple? maybe its impossible, or complex... 
any ideas? Javascript maybe?

Thanks for your help!

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

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



DISCLAIMER:
This communication may be confidential and privileged and the views expressed 
herein may be personal and are not necessarily the views of ReDIM.
It is for the exclusive use of the intended recipient. If you are not the 
intended recipient, please note that any distribution,
copying or use of this communication or the  information in it is strictly 
prohibited.If you have received this communication 
in error, please notify us by email ([EMAIL PROTECTED]) and then delete the 
email and any copies of 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] rotating a movie clip around another movie clip...

2007-05-16 Thread Jay Carlson
	so I'm fairly new to using actionscript for everything in my flash  
and I was wondering if there was a way to rotate a movie clip around  
another movie clip that is already rotating.  here's the scenario...I  
have a crystal ball that is floating in a circle thanks to  
actionscript.  this ball has 2 light squares on it to give the  
impression of glass/lights/etc...I also have a separate shadow  
movieclip on the ground below the ball that I am changing the size  
and alpha according to the y position of the ball movieclip (via  
actionscript, of course).  I want to do the same thing with these  
light squares.  I'd like to give the effect of when the ball floats  
down, the light squares rotate/move up on the ball and vise versa.   
this would give the effect that this is just a glass ball floating in  
space with overhead lights that are stationary.  so that's what I  
want to do and maybe it's way too far over my head for now, but I  
guess I gotta learn somehow!  so...is there a way to rotate/move this  
light square movieclip according to the x  y axis of the ball  
movieclip?  any help would be appreciated...right now, I've been just  
copying and pasting code in there and seeing what happens.  I'm a  
designer and not a math wiz, but I'm slowly learning.  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] CVS and Flash best practice advice needed

2007-05-16 Thread Andrés González Aragón

Use SVN with tortoiseSVN client. We are 8 developers working ina huge
project and this mode works very well. Obviously a Version control system is
implemented by developers not only by sofware.

We use svn in as files normaly and block the fla files. We have 4 folders:
bin, source, documentation and samples.

We have some rules in server side like : when sombody changes a fla file, a
email notify to last person that changed that file.

The trunk is sacred nobody can touch it for debug or develop new features,
components or versions. If sombody wants develop a new feature made a brach,
if sombody wants to debug the core made a tag. When a tag or a branch was
been published inmediatly it is merged to the trunk.

Etcetera

I hope to be helpfully

2007/5/16, Durai Raj [EMAIL PROTECTED]:


SourceSafe on Windows is the only supported version control software that
integrates with the Project panel. You can use other version control
software packages with FLA documents, but not necessarily in the Project
panel.

In live documents you can check out at the link

http://livedocs.macromedia.com/flash/8/main/0377.html



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wayne
McManus
Sent: Wednesday, May 16, 2007 4:04 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] CVS and Flash best practice advice needed

Hi all,

does anyone have any thoughts or links regarding best-practice when it
comes
to CVS and Flash? I'm looking into creating a repository but am unsure
what
the best setup might be regarding the location of .as, .fla, .html files?

I notice Flex makes use of a bin directory; is this a good thing to
establish now for standard Flash development (does Flash CS3 remain
flexible
in where you can store classes, publish to, etc)?

Any suggestions welcome, thanks (except use Subversion!; I have to use
CVS
unfortunately!).
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



DISCLAIMER:
This communication may be confidential and privileged and the views
expressed herein may be personal and are not necessarily the views of ReDIM.
It is for the exclusive use of the intended recipient. If you are not the
intended recipient, please note that any distribution,
copying or use of this communication or the  information in it is strictly
prohibited.If you have received this communication
in error, please notify us by email ([EMAIL PROTECTED]) and then delete the
email and any copies of 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





--
Andrés González Aragón
Desarrollador Multimedia
http://www.quantium.com.mx
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] CVS and Flash best practice advice needed

2007-05-16 Thread Ron Wheeler
We use Eclipse with CVS and it works well. I am trying to follow as many 
of the Java best practices as I can since they have had a lot of time to 
figure out how to run complex projects with teams of people.
I am hoping that the renewed activity in the ASDT plug-in will lead to a 
strong Eclipse tool set that leverages the best practices that the Java 
community has already figured out. (Mylar in the next go-around???)


Any version control is a great help. Subversion is more modern and we 
are headed that way but CVS has worked fine for us for 5+ years of Flash 
development.


Ron

Durai Raj wrote:

SourceSafe on Windows is the only supported version control software that
integrates with the Project panel. You can use other version control
software packages with FLA documents, but not necessarily in the Project
panel.

In live documents you can check out at the link

http://livedocs.macromedia.com/flash/8/main/0377.html



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wayne
McManus
Sent: Wednesday, May 16, 2007 4:04 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] CVS and Flash best practice advice needed

Hi all,

does anyone have any thoughts or links regarding best-practice when it comes
to CVS and Flash? I'm looking into creating a repository but am unsure what
the best setup might be regarding the location of .as, .fla, .html files?

I notice Flex makes use of a bin directory; is this a good thing to
establish now for standard Flash development (does Flash CS3 remain flexible
in where you can store classes, publish to, etc)?

Any suggestions welcome, thanks (except use Subversion!; I have to use CVS
unfortunately!).
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



DISCLAIMER:
This communication may be confidential and privileged and the views expressed 
herein may be personal and are not necessarily the views of ReDIM.
It is for the exclusive use of the intended recipient. If you are not the 
intended recipient, please note that any distribution,
copying or use of this communication or the  information in it is strictly prohibited.If you have received this communication 
in error, please notify us by email ([EMAIL PROTECTED]) and then delete the email and any copies of 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] flash and xpath

2007-05-16 Thread Jason Law
I'm wondering if this is possible within flash 8 using the xpath api to
do something like this.

 

var item:String = XPathAPI.selectSingleNode(doc.firstChild,
/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign'][2]
).firstChild.toString();   

 

now I know this works 

 

var item:String = XPathAPI.selectSingleNode(doc.firstChild,
/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']
).firstChild.toString();   

 

but it seems that when you add any kind of nodeItem to the end of an
item flash returns undefined.

 

 

jason law, detroit

organic, inc. | www.organic.com http://www.organic.com/ 
retail tech lead | interface engineer
e: [EMAIL PROTECTED] | p: 248.454.3387 | aim: jaylaw81 

 




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This email is intended only for the person or entity to which it is addressed
and may contain information that is privileged, confidential or otherwise
protected from disclosure. Dissemination, distribution or copying of this
email or the information herein by anyone other than the intended recipient,
or an employee or agent responsible for delivering the message to the intended
recipient, is prohibited. If you have received this email in error, please
immediately notify us by calling our Help Desk at (415) 581-5552 or
by e-mailing us at [EMAIL PROTECTED]

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

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


Re: [Flashcoders] flash and xpath

2007-05-16 Thread Johannes Nel

it seems you want to get the text value of a node. try this


var item:String = XPathAPI.selectSingleNode(doc.firstChild,
/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']/text()
)toString();


notice the text()

On 5/16/07, Jason Law [EMAIL PROTECTED] wrote:


I'm wondering if this is possible within flash 8 using the xpath api to
do something like this.



var item:String = XPathAPI.selectSingleNode(doc.firstChild,
/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign'][2]
).firstChild.toString();



now I know this works



var item:String = XPathAPI.selectSingleNode(doc.firstChild,
/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']
).firstChild.toString();



but it seems that when you add any kind of nodeItem to the end of an
item flash returns undefined.





jason law, detroit

organic, inc. | www.organic.com http://www.organic.com/
retail tech lead | interface engineer
e: [EMAIL PROTECTED] | p: 248.454.3387 | aim: jaylaw81






- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This email is intended only for the person or entity to which it is
addressed
and may contain information that is privileged, confidential or otherwise
protected from disclosure. Dissemination, distribution or copying of this
email or the information herein by anyone other than the intended
recipient,
or an employee or agent responsible for delivering the message to the
intended
recipient, is prohibited. If you have received this email in error, please
immediately notify us by calling our Help Desk at (415) 581-5552 or
by e-mailing us at [EMAIL PROTECTED]

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

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





--
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] AS2: capturing a href=link/a events?

2007-05-16 Thread Paul Venton
Make sure you aren't putting spaces in your function call ... ie 
asfunction:myFunc,p1,p2

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: 16 May 2007 15:17
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] AS2: capturing a href=link/a events?

BTW: I've noticed the second parameter doesn't pass, only the first.
I'm using flash 8, AS2.

I think this is a known issue... but I could be wrong. I'm using a split 
function to extract more parameters...

Thought I'd share!

wk,

seb.

eka wrote:
 Hello :)
 
 in actionscript (1 or 2) you can use the notation :
 
 a href=asfunction:myMethod,param1,param2Link/a
 
 In your code... in the parent of your textfield (the parent movieclip), you
 can creates the method myMethod 
 
 example :
 
 var format:TextFormat = new TextFormat(arial, 12) ;
 format.bold = true ;
 
 var target:MovieClip = this.createEmptyMovieClip(mc, 1) ;
 target._x = 25 ;
 target._y = 25 ;
 target.myMethod = function( arg1, arg2 )
 {
trace( callback :  + arg1 +  :  + arg2) ;
 }
 
 var field:TextField  = target.createTextField( field, 1, 0 , 0, 200, 
 20) ;
 field.autoSize = true ;
 field.border = true ;
 field.setNewTextFormat( format ) ;
 field.html = true ;
 field.htmlText = 'a href=asfunction:myMethod,param1,param2Link/a' ;
 
 You can use TextField.StyleSheet to apply a css style in your fields 
 etc
 
 Read the actionscript reference with the words TextField and asfunction :)
 
 EKA+ :)
 
 2007/5/16, sebastian [EMAIL PROTECTED]:

 Hello again, a more difficult question maybe...

 Is there any way for me to capture a user click on an href tag inside of
 a CSS formatted html text field?

 Here is what I do:
 - CDATA formatted text in an XML file.
 - load it and associate a CSS file to a generated text field at run time.
 - resulting a tags have links assigned to them.
 - user 'clicks' them - event capture??

 In other words: what I need to do is to hear the event so I can dispatch
 an event to my Controller class [who then sends info to the stats class,
 and opens a browser window with predetermined formatting].

 At the moment I can't see a way for this event to be heard by my
 controller. Maybe this is simple? maybe its impossible, or complex...
 any ideas? Javascript maybe?

 Thanks for your help!

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

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

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

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


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

2007-05-16 Thread Holth, Daniel C.

This topic, or at least one very similar, was just brought up earlier
this week. See subject: [Flashcoders] Motion to combine coders and
newbies.

I personally think many of the questions being posted here probably
belong in FlashNewbies, and not enough people know about that list.  I
know I'm guilty of posting newbie questions here because I didn't even
know about the other list until this week.

I'd like to see the list stay as is, but would like to see more
revealing subject lines instead of the many Problem!  Help!  Is
this an error? type lines that don't give any idea of what the actual
problem is and make it difficult to search the list to reference
solutions for your own problems (thus not requiring a repost if its
already been covered).

Another idea that I support was the use of additional tags in the
subject line such as [XML] or [server] so people can use their own
filtering.

Just my two cents.

Daniel Holth
I.S. Programmer
x5217   ||  J401

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nimrod
Huberman
Sent: Wednesday, May 16, 2007 11:11 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] splitting the list?

This list include very interesting and helpful subjects, but for me its
large amount of posts each day make it less useable.

Maybe is the time to split it to some lists by subject?  i.e.
flashcoders-XML and data, flashcoders-server communication, as3
specific,
video, oo-architect.

 ???

Nimrod

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

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

This e-mail and its attachments are intended only for the use of the 
addressee(s) and may contain privileged, confidential or proprietary 
information. If you are not the intended recipient, or the employee or agent 
responsible for delivering the message to the intended recipient, you are 
hereby notified that any dissemination, distribution, displaying, copying, or 
use of this information is strictly prohibited. If you have received this 
communication in error, please inform the sender immediately and delete and 
destroy any record of this message. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash animation like http://u10.iriver.com/

2007-05-16 Thread Helios Pregioni Bayma

I really like those ideas, Flix Pro and techniques.
I´ll discuss with design team and do what we can.

Thanks a lot, Jason, Bob, Rich and Matthias

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

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


[Flashcoders] Projector File download with GetURL

2007-05-16 Thread Bennington Purcell

Hey everyone!

i am working on a projector file,  i would like to do some actionscripting
on download links that checks if it is a MAC or PC, and if there is internet
or not.  If it is a mac i want to always download the file from the internet
(some pdf files) if it is a PC i want to download them if there is an
internet connection, if no connection i want to grab the one on the cd?

I can't figure it out at all, but then i am a Flash Newbie...   Any help
would be appreciated, or any ideas...  (i have spent the last 2 days looking
for a solution online, i didn't want to bother you first)

Thanks everyone
Bennington V Purcell


--
=
Bennington V. Purcell

-- Integrated Technology Solutions ---
[EMAIL PROTECTED]
802.558.2075
=
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] rotating a movie clip around another movie clip...

2007-05-16 Thread sebastian
assuming I understand right and you want to move the lights around the 
[inside] of crystal ball (?): instead of using cpu intensive radius 
calculations, just have the items that need to rotate around the crystal 
ball inside the crystal ball MC. Set their center point to the center 
point of the crystal ball, then make them rotate using a simple 
_rotation++ style command* and voila instant rotation around the 
crystal ball.


*: (you could make the _rotation of the lights = the x or y position of 
the crystal ball; to link the two together...)


If thats too linear, put the lights inside empty MC which are then 
inside the crystal ball. This would give rotation around an empty point 
within rotation of the crystal ball. aka: embedded rotations.


if you want to see this in action [with a whole bunch of mini MC all 
rotating around each other] check out the pink mandala on this website:


http://www.arctone.com

hope this helps!

with kind,

sebastian.

Jay Carlson wrote:
so I'm fairly new to using actionscript for everything in my flash 
and I was wondering if there was a way to rotate a movie clip around 
another movie clip that is already rotating.  here's the scenario...I 
have a crystal ball that is floating in a circle thanks to 
actionscript.  this ball has 2 light squares on it to give the 
impression of glass/lights/etc...I also have a separate shadow movieclip 
on the ground below the ball that I am changing the size and alpha 
according to the y position of the ball movieclip (via actionscript, of 
course).  I want to do the same thing with these light squares.  I'd 
like to give the effect of when the ball floats down, the light squares 
rotate/move up on the ball and vise versa.  this would give the effect 
that this is just a glass ball floating in space with overhead lights 
that are stationary.  so that's what I want to do and maybe it's way too 
far over my head for now, but I guess I gotta learn somehow!  so...is 
there a way to rotate/move this light square movieclip according to the 
x  y axis of the ball movieclip?  any help would be appreciated...right 
now, I've been just copying and pasting code in there and seeing what 
happens.  I'm a designer and not a math wiz, but I'm slowly learning.  
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


RE: [Flashcoders] swfs in pdfs

2007-05-16 Thread Dave Watts
 I have come across swf's embedded in PDFs, and in the process 
 of doing a little research - is that taking off now, or is it 
 a small specialist area?

You can embed several types of multimedia content in PDFs. I wouldn't say
it's taking off; neither is it a small specialist area. If you want to
generate multimedia presentations and deliver them as PDF, you can do this
sort of thing.

 I can't seem to find much technical info on this, especially, 
 what are the system requirements on the user side: does s/he 
 need flash as well as acrobat reader, and what versions would 
 these have to be?

Acrobat Reader doesn't contain Flash Player functionality. To open a PDF
with embedded SWF content, you need Acrobat Reader 6 or newer.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net

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

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


Re: [Flashcoders] Projector File download with GetURL

2007-05-16 Thread R�kos Attila

Mac or PC? - it can be read from the System.capabilities.os property

Online or offline? - send a request to a remote server and if you get
the expected response, then you are online; otherwise (no response,
error, etc.) you are offline

  Attila

BP i am working on a projector file,  i would like to do some actionscripting
BP on download links that checks if it is a MAC or PC, and if there is internet
BP or not.  If it is a mac i want to always download the file from the internet
BP (some pdf files) if it is a PC i want to download them if there is an
BP internet connection, if no connection i want to grab the one on the cd?
BP 
BP I can't figure it out at all, but then i am a Flash Newbie...   Any help
BP would be appreciated, or any ideas...  (i have spent the last 2 days looking
BP for a solution online, i didn't want to bother you first)


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

2007-05-16 Thread Bob Wohl

var result_lv:LoadVars = new LoadVars();
result_lv.onLoad = function(success:Boolean)
{
   if (success) {
   trace(we got connection);
   getURL(www.thefileyouwant);
   }
   else {
   trace(no connection);
   //no connection do stuff
   }
};
var send_lv:LoadVars = new LoadVars();
send_lv.sendAndLoad(http://www.google.com;, result_lv, POST);



;)



B.

On 5/16/07, Bennington Purcell [EMAIL PROTECTED] wrote:


Hey everyone!

i am working on a projector file,  i would like to do some actionscripting
on download links that checks if it is a MAC or PC, and if there is
internet
or not.  If it is a mac i want to always download the file from the
internet
(some pdf files) if it is a PC i want to download them if there is an
internet connection, if no connection i want to grab the one on the cd?

I can't figure it out at all, but then i am a Flash Newbie...   Any help
would be appreciated, or any ideas...  (i have spent the last 2 days
looking
for a solution online, i didn't want to bother you first)

Thanks everyone
Bennington V Purcell


--
=
Bennington V. Purcell

-- Integrated Technology Solutions ---
[EMAIL PROTECTED]
802.558.2075
=
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

2007-05-16 Thread Robert Hadsell

John --

Your postings led me to look into this further.  I found the answer in this 
livedocs item, Using ActionScript to draw Button skins: 
http://tinyurl.com/282gze


You'll see from the Comments at the end that the AS code didn't seem to 
work.  This might be because the instructions are ambiguous on which type of 
new symbol (named ButtonSkin) to create; it works OK with ButtonSkin created 
as a movie clip.  The second Comment gives a link that is very useful, 
dealing with all the quirky terms for button states. (It turns out that a 
button that has focus is in emphasized states; a button that has been made 
to toggle on is in the true states; toggle off puts the button in false 
states, a perverse term because this is the state buttons are normally in.)


The key to controlling the settable features of RectBorder is lineStyle.  
The three parameters in the example (additionally parameters can follow 
these) are thickness for line width (0 would be hairline), 0 for line color 
(black; any other color would be 0xrrggbb hexadecimal terms), and 100 for 
alpha.


-- Bob Hadsell



From: john robinson [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] border styles for TextArea component
Date: Wed, 2 May 2007 13:46:18 -0400

Thanks!
I'm looking into RectBorder now and creating my own RectBorder class.
I've got it working following the example below (though I'm using F8,  not 
CS3) but now I have a new issue...


http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/ 
wwhelp.htm?context=LiveDocs_Partsfile=3504.html


The width I want is actually hairline. Easy enough using the  RectBorder 
example above.


Now I need to be able to change the color of that border at runtime.  
Anyone?


Thanks again,
John



On May 2, 2007, at 1:29 PM, Hairy Dog Digital wrote:

There is no size or width property for the RectBorder, which is  what 
the
TextArea component uses for the border.  You would have to do a  custom 
skin

or theme. If this is only for this one project, you can copy the skin
elements into your library. Here is the info from livedocs:
http://tinyurl.com/3acnln. Of course, this is just one approach and  it is
optimized for doing it with a single FLA file. If you are working  across
multiple FLAs you may want to take a different approach.


-Original Message-
From: john robinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 11:24 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] border styles for TextArea component

Hello all -

I'm using the TextArea component in Flash 8. I need to give the  component 
a
border that is 1 pixel wide. I've found that using setStyle 
(borderStyle,

solid) gives me a solid border but it is wider than I need. Can  anyone
give me a hint as to how to change the width of the border?

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

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

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

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


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

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


_
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507


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

2007-05-16 Thread john robinson
I'll have to look into this when we hit the next revision. For now I  
ended up just placing 2 mc's into my RectBorder symbol, outline_mc  
and bg_mc. Then in my (I think) draw() method, I just assigned the  
proper colors to these clips. It works great for now though it might  
save me a byte or 2 to do them programmatically, and since I'm only  
using TextArea in this app, I have no idea what it's going to do to  
any of the other components that use RectBorder.


Thanks though for looking into it!

john

On May 16, 2007, at 4:05 PM, Robert Hadsell wrote:


John --

Your postings led me to look into this further.  I found the answer  
in this livedocs item, Using ActionScript to draw Button skins:  
http://tinyurl.com/282gze


You'll see from the Comments at the end that the AS code didn't  
seem to work.  This might be because the instructions are ambiguous  
on which type of new symbol (named ButtonSkin) to create; it works  
OK with ButtonSkin created as a movie clip.  The second Comment  
gives a link that is very useful, dealing with all the quirky terms  
for button states. (It turns out that a button that has focus is in  
emphasized states; a button that has been made to toggle on is in  
the true states; toggle off puts the button in false states, a  
perverse term because this is the state buttons are normally in.)


The key to controlling the settable features of RectBorder is  
lineStyle.  The three parameters in the example (additionally  
parameters can follow these) are thickness for line width (0 would  
be hairline), 0 for line color (black; any other color would be  
0xrrggbb hexadecimal terms), and 100 for alpha.


-- Bob Hadsell



From: john robinson [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] border styles for TextArea component
Date: Wed, 2 May 2007 13:46:18 -0400

Thanks!
I'm looking into RectBorder now and creating my own RectBorder class.
I've got it working following the example below (though I'm using  
F8,  not CS3) but now I have a new issue...


http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/ 
html/ wwhelp.htm?context=LiveDocs_Partsfile=3504.html


The width I want is actually hairline. Easy enough using the   
RectBorder example above.


Now I need to be able to change the color of that border at  
runtime.  Anyone?


Thanks again,
John



On May 2, 2007, at 1:29 PM, Hairy Dog Digital wrote:

There is no size or width property for the RectBorder, which  
is  what the
TextArea component uses for the border.  You would have to do a   
custom skin
or theme. If this is only for this one project, you can copy the  
skin

elements into your library. Here is the info from livedocs:
http://tinyurl.com/3acnln. Of course, this is just one approach  
and  it is
optimized for doing it with a single FLA file. If you are  
working  across

multiple FLAs you may want to take a different approach.


-Original Message-
From: john robinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 11:24 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] border styles for TextArea component

Hello all -

I'm using the TextArea component in Flash 8. I need to give the   
component a
border that is 1 pixel wide. I've found that using setStyle  
(borderStyle,
solid) gives me a solid border but it is wider than I need.  
Can  anyone

give me a hint as to how to change the width of the border?

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

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

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

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


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

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


_
More photos, more messages, more storage—get 2GB with Windows Live  
Hotmail. http://imagine-windowslive.com/hotmail/?locale=en- 
usocid=TXT_TAGHM_migration_HM_mini_2G_0507


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

Brought to you by Fig Leaf Software
Premier 

Re: [Flashcoders] border styles for TextArea component (On Training - May 17, 2007)

2007-05-16 Thread Derek Matthew
I will be out of the office, on a Customer Service training course on
Thursday, May 17, 2007. I will not be checking my e-mail until Friday,
May 18, 2007.

If your Internet/Intranet request is URGENT, please e-mail Katja
Hetmanchuk, [EMAIL PROTECTED], and she will reply to you as soon as
possible. If it can wait till Friday, I will look after it then.

Thanks.
Derek
416-392-8688
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] border styles for TextArea component (On Training - May 17, 2007)

2007-05-16 Thread Derek Matthew
I will be out of the office, on a Customer Service training course on
Thursday, May 17, 2007. I will not be checking my e-mail until Friday,
May 18, 2007.

If your Internet/Intranet request is URGENT, please e-mail Katja
Hetmanchuk, [EMAIL PROTECTED], and she will reply to you as soon as
possible. If it can wait till Friday, I will look after it then.

Thanks.
Derek
416-392-8688
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Projector File download with GetURL

2007-05-16 Thread Muzak
 I can't figure it out at all, but then i am a Flash Newbie...

Then this list might be a better fit:
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

regards,
Muzak



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

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


RE: [Flashcoders] flash and xpath

2007-05-16 Thread Jason Law
Ok, so I was able to get it to work, but now I'm coming across another
issue.

I'm loading in xml using the old new XML() object and using xpath to
parse. One of the fields I have looks like this. itemField 
Stream/item. The issue is that the value I'm getting back from xpath
is Field amp; Stream and not Field  Stream. 

The textfield that is being used to display is not showing the text as
html and fontEmbed is false. Is there anything that I could do to fix
this?

Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: Wednesday, May 16, 2007 12:45 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] flash and xpath

it seems you want to get the text value of a node. try this


var item:String = XPathAPI.selectSingleNode(doc.firstChild,
/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']/text()
)toString();


notice the text()

On 5/16/07, Jason Law [EMAIL PROTECTED] wrote:

 I'm wondering if this is possible within flash 8 using the xpath api
to
 do something like this.



 var item:String = XPathAPI.selectSingleNode(doc.firstChild,
 /html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign'][2]
 ).firstChild.toString();



 now I know this works



 var item:String = XPathAPI.selectSingleNode(doc.firstChild,
 /html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']
 ).firstChild.toString();



 but it seems that when you add any kind of nodeItem to the end of an
 item flash returns undefined.





 jason law, detroit

 organic, inc. | www.organic.com http://www.organic.com/
 retail tech lead | interface engineer
 e: [EMAIL PROTECTED] | p: 248.454.3387 | aim: jaylaw81






 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 This email is intended only for the person or entity to which it is
 addressed
 and may contain information that is privileged, confidential or
otherwise
 protected from disclosure. Dissemination, distribution or copying of
this
 email or the information herein by anyone other than the intended
 recipient,
 or an employee or agent responsible for delivering the message to the
 intended
 recipient, is prohibited. If you have received this email in error,
please
 immediately notify us by calling our Help Desk at (415) 581-5552 or
 by e-mailing us at [EMAIL PROTECTED]

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

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




-- 
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This email is intended only for the person or entity to which it is addressed
and may contain information that is privileged, confidential or otherwise
protected from disclosure. Dissemination, distribution or copying of this
email or the information herein by anyone other than the intended recipient,
or an employee or agent responsible for delivering the message to the intended
recipient, is prohibited. If you have received this email in error, please
immediately notify us by calling our Help Desk at (415) 581-5552 or
by e-mailing us at [EMAIL PROTECTED]

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

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


Re: [Flashcoders] AS2: capturing a href=link/a events?

2007-05-16 Thread JOR
If you try my example in a previous reply you'll see it working with 
passed parameters.


-- JOR


sebastian wrote:

BTW: I've noticed the second parameter doesn't pass, only the first.
I'm using flash 8, AS2.

I think this is a known issue... but I could be wrong. I'm using a split 
function to extract more parameters...


Thought I'd share!

wk,

seb.

eka wrote:


Hello :)

in actionscript (1 or 2) you can use the notation :

a href=asfunction:myMethod,param1,param2Link/a

In your code... in the parent of your textfield (the parent 
movieclip), you

can creates the method myMethod 

example :

var format:TextFormat = new TextFormat(arial, 12) ;
format.bold = true ;

var target:MovieClip = this.createEmptyMovieClip(mc, 1) ;
target._x = 25 ;
target._y = 25 ;
target.myMethod = function( arg1, arg2 )
{
   trace( callback :  + arg1 +  :  + arg2) ;
}

var field:TextField  = target.createTextField( field, 1, 0 , 0, 200, 
20) ;

field.autoSize = true ;
field.border = true ;
field.setNewTextFormat( format ) ;
field.html = true ;
field.htmlText = 'a href=asfunction:myMethod,param1,param2Link/a' ;

You can use TextField.StyleSheet to apply a css style in your fields 
etc


Read the actionscript reference with the words TextField and 
asfunction :)


EKA+ :)

2007/5/16, sebastian [EMAIL PROTECTED]:



Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside of
a CSS formatted html text field?

Here is what I do:
- CDATA formatted text in an XML file.
- load it and associate a CSS file to a generated text field at run 
time.

- resulting a tags have links assigned to them.
- user 'clicks' them - event capture??

In other words: what I need to do is to hear the event so I can dispatch
an event to my Controller class [who then sends info to the stats class,
and opens a browser window with predetermined formatting].

At the moment I can't see a way for this event to be heard by my
controller. Maybe this is simple? maybe its impossible, or complex...
any ideas? Javascript maybe?

Thanks for your help!

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

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


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

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


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

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


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

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


RE: [Flashcoders] flash and xpath

2007-05-16 Thread Merrill, Jason
One of the fields I have looks like this. 
itemField  Stream/item. The issue is that the value I'm 
getting back from xpath is Field amp; Stream and not 
Field  Stream. 

Use this:

/*decodes any character entities in a string. For example, it converts
amp; to . */

private function decodeEntities(entityString:String):String 
{
var x:XML = new XML(n+entityString+/n); 
x.parseXML();
return x.firstChild.firstChild.nodeValue;
}

Jason Merrill
Bank of America  
GTO Learning  Leadership Development
eTools  Multimedia Team

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

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


RE: [Flashcoders] flash and xpath

2007-05-16 Thread Kerem Iseri
Use CDATA for that node inside the XML to make flash recognise everything
you write inside CDATA as html text.
You can even use  font size=12 color='#171717'/font or br for new line
etc. 

For example .. 

item![CDATA[Field  Stream]]/item

Kerem İŞERİ
Trafo Intractive
www.trafo.com.tr



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Law
Sent: Wednesday, May 16, 2007 11:38 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] flash and xpath

Ok, so I was able to get it to work, but now I'm coming across another
issue.

I'm loading in xml using the old new XML() object and using xpath to
parse. One of the fields I have looks like this. itemField 
Stream/item. The issue is that the value I'm getting back from xpath
is Field amp; Stream and not Field  Stream. 

The textfield that is being used to display is not showing the text as
html and fontEmbed is false. Is there anything that I could do to fix
this?

Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: Wednesday, May 16, 2007 12:45 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] flash and xpath

it seems you want to get the text value of a node. try this


var item:String = XPathAPI.selectSingleNode(doc.firstChild,
/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']/text()
)toString();


notice the text()

On 5/16/07, Jason Law [EMAIL PROTECTED] wrote:

 I'm wondering if this is possible within flash 8 using the xpath api
to
 do something like this.



 var item:String = XPathAPI.selectSingleNode(doc.firstChild,
 /html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign'][2]
 ).firstChild.toString();



 now I know this works



 var item:String = XPathAPI.selectSingleNode(doc.firstChild,
 /html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']
 ).firstChild.toString();



 but it seems that when you add any kind of nodeItem to the end of an
 item flash returns undefined.





 jason law, detroit

 organic, inc. | www.organic.com http://www.organic.com/
 retail tech lead | interface engineer
 e: [EMAIL PROTECTED] | p: 248.454.3387 | aim: jaylaw81






 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 This email is intended only for the person or entity to which it is
 addressed
 and may contain information that is privileged, confidential or
otherwise
 protected from disclosure. Dissemination, distribution or copying of
this
 email or the information herein by anyone other than the intended
 recipient,
 or an employee or agent responsible for delivering the message to the
 intended
 recipient, is prohibited. If you have received this email in error,
please
 immediately notify us by calling our Help Desk at (415) 581-5552 or
 by e-mailing us at [EMAIL PROTECTED]

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

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




-- 
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This email is intended only for the person or entity to which it is
addressed
and may contain information that is privileged, confidential or otherwise
protected from disclosure. Dissemination, distribution or copying of this
email or the information herein by anyone other than the intended recipient,
or an employee or agent responsible for delivering the message to the
intended
recipient, is prohibited. If you have received this email in error, please
immediately notify us by calling our Help Desk at (415) 581-5552 or
by e-mailing us at [EMAIL PROTECTED]

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

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

__ NOD32 2267 (20070515) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


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

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

Re: [Flashcoders] swfs in pdfs

2007-05-16 Thread nik crosina

Thanks Dave,

So I gather that this is not really a medium to send out to the
general public because of the Adobe Reader verison requirement.

NIk

On 5/16/07, Dave Watts [EMAIL PROTECTED] wrote:

 I have come across swf's embedded in PDFs, and in the process
 of doing a little research - is that taking off now, or is it
 a small specialist area?

You can embed several types of multimedia content in PDFs. I wouldn't say
it's taking off; neither is it a small specialist area. If you want to
generate multimedia presentations and deliver them as PDF, you can do this
sort of thing.

 I can't seem to find much technical info on this, especially,
 what are the system requirements on the user side: does s/he
 need flash as well as acrobat reader, and what versions would
 these have to be?

Acrobat Reader doesn't contain Flash Player functionality. To open a PDF
with embedded SWF content, you need Acrobat Reader 6 or newer.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net

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

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




--
Nik C
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Local Connection / Intel Mac bug??

2007-05-16 Thread Adam Hoyle

Hi Jeff,

Thanks for responding. Glad for sanity reasons to know that I am not  
the only person experiencing this.


Adam

On 16 May 2007, at 14:39, Jeff Gomes wrote:



Adam-

When one process is running natively (with Flash 9 universal binary  
player) and the other is running under emulation (with a Flash 8  
projector or the Director Flash Asset Xtra), I cannot get it to  
work either.


-Jeff

At 05:00 5/16/2007, Adam Hoyle wrote:

Hi Flash Coders

I am having a problem with local connection communication between an
exe and a website, but only on INTEL macs.

I have the underscore before the name, but the messages aren't
getting through (they do on windows and g4 mac). Interestingly
(frustratingly) the second thing to connect to lco doesn't get any
onStatus message called either. I have tried removing the underscore
and appending the domain and a colon to the beginning, but that also
fails on intel mac, but works on windows and g4 mac.

Has anyone else come across this bug, or more to the point has anyone
got an exe and a swf on a website to talk to one another on an intel
mac (g4 works fine, so it's specific to intel macs)? I've noticed
that the Luminic Box tracer doesn't work on Intel Macs either,
haven't checked xray.

Any help/suggestions would be gratefully received,

Cheers,

Adam


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

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


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

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


[Flashcoders] Dynamic E4X

2007-05-16 Thread Chris Hill

The as3 examples for XML show the following:
var node:String = zip;
trace(employees.employee[0].address[node]); // 98765

What I'd like to do is something like this:
var node:String = zip;
trace(employees..[node]); // 98765

ie: Find all nodes that are called 'zip' in the document, but do it 
dynamically.


any ideas?
C
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] swfs in pdfs

2007-05-16 Thread Randy Tinfow

Acrobat Reader doesn't contain Flash Player functionality. To open a PDF
with embedded SWF content, you need Acrobat Reader 6 or newer.

...and the appropriate Flash player plug-in, I'd assume.


I don't know any big corporation that doesn't have AcroReader 6+.  There are 
many that are stuck on Flash 6 or even lower.

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

2007-05-16 Thread Nick Johnston

Chris Hill wrote:

The as3 examples for XML show the following:
var node:String = zip;
trace(employees.employee[0].address[node]); // 98765

What I'd like to do is something like this:
var node:String = zip;
trace(employees..[node]); // 98765

ie: Find all nodes that are called 'zip' in the document, but do it 
dynamically.


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

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


Hey Chris,

You could do something like this:

for each(var n:String in employees..zip) {
   trace(n);
}

That will loop through your XML and find all nodes with the name zip.

For more information go 
here:http://livedocs.adobe.com/cfusion/search/index.cfm?loc=en_UStermPrefix=site%3Alivedocs.adobe.com%2Fflash%2F9.0++term=site%3Alivedocs.adobe.com%2Fflash%2F9.0++%22E4X%22area=search_text=E4Xaction=Search


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

2007-05-16 Thread Juan Carlos Anorga

check out the docs for the descendants method in the XML class.

http://livedocs.adobe.com/flex/2/langref/XML.html#descendants()

you should be able to do this:

var node:String = zip;
employees.descendants(node);

- juan

On May 16, 2007, at 4:57 PM, Chris Hill wrote:


The as3 examples for XML show the following:
var node:String = zip;
trace(employees.employee[0].address[node]); // 98765

What I'd like to do is something like this:
var node:String = zip;
trace(employees..[node]); // 98765

ie: Find all nodes that are called 'zip' in the document, but do it  
dynamically.


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

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


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

2007-05-16 Thread Chris Hill

That works great! Thanks a lot.
C

Juan Carlos Anorga wrote:

check out the docs for the descendants method in the XML class.

http://livedocs.adobe.com/flex/2/langref/XML.html#descendants()

you should be able to do this:

var node:String = zip;
employees.descendants(node);

- juan

On May 16, 2007, at 4:57 PM, Chris Hill wrote:


The as3 examples for XML show the following:
var node:String = zip;
trace(employees.employee[0].address[node]); // 98765

What I'd like to do is something like this:
var node:String = zip;
trace(employees..[node]); // 98765

ie: Find all nodes that are called 'zip' in the document, but do it 
dynamically.


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

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


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

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

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

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