Re: [Flashcoders] TextField._yscale bug?

2006-04-03 Thread GregoryN

I'd suggest to use a wrapper movie clip and apply
 _yscale = -100

 to it instead of textfield itself.

-- 
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.

 -  Pieter Snoeck  wrote:
 
 Thanks Michael,
 but that's not what I'm looking for,
 I want a vertical mirror effect - _yscale = -100
 
 On 4/3/06, Michael Bedar wrote:

 copy_txt.text = something;
 copyMirror_txt.text = copy_txt.text.split().reverse().join()


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

2006-04-03 Thread Gabriel
Hey Ron...what I want to do is generate content in client side flash, 
pass it to the server (php or whatever) print this content to an eps, 
and return the eps to the client.



thanks


Ron Wheeler wrote:

What exactly do you want to do?

Ron

Gabriel wrote:

Hi everybody...

anybody knows a solution to convert/print from the server side a swf 
to eps?.



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

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



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

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



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

2006-04-03 Thread Gabriel
I generate the content of the swf on the client app, let's say a free 
drawing, then I want to print it to the *server printer* (?).


The point is...I need an eps from a generated content with origin in the 
client machine.
You was talking about many free printer drivers, can you point me to 
some of them?


thanks

GaB.



David Rorex wrote:

How are the swf's generated in the first place? Instead of doing
something-swf-eps
you can do:
something-swf
something-eps

-David R

On 3/30/06, Gabriel [EMAIL PROTECTED] wrote:
  

I save a swf to the server, and I need to retrieve an eps from it...any
idea?


Ron Wheeler wrote:


What exactly do you want to do?

Ron

Gabriel wrote:
  

Hi everybody...

anybody knows a solution to convert/print from the server side a swf
to eps?.


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

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




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

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

  

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

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



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

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

  

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

2006-04-03 Thread franto
is this suitable?
http://www.franto.com/blog2/as3-cloth-simulation-verlet-algorithm


On 4/3/06, Benjamin Dobler [EMAIL PROTECTED] wrote:



 Hey,



 can someone hook me up with some math, ideas or code on how to create the
 famous natzke/yugop ribbon effect?

 Something like: http://yugop.com/ver3/index.asp?id=32  (I know it`s
 director
 but natzke did the same in flash).



 Any input welcome



 Thanx



 benz







 RichApps.de

 RIA Development



 Benjamin Dobler



 web:   |  http://www.richapps.de http://www.richapps.de

 mail:   |  mailto:[EMAIL PROTECTED] [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




--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] TextField._yscale bug?

2006-04-03 Thread Pieter Snoeck
I have tried that too ... no luck.

copyOne_mc.textfield_txt.text = something;
copyTwo_mc.textfield_txt.text = something;
copyTwo_mc._yscale = -100;

same result as without wrapping the textfield in a mc

thanks,
pieter

On 4/3/06, GregoryN [EMAIL PROTECTED] wrote:


 I'd suggest to use a wrapper movie clip and apply
 _yscale = -100

 to it instead of textfield itself.

 --
 Best regards,
 GregoryN
 
 http://GOusable.com
 Flash components development.
 Usability services.



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

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


[Flashcoders] Re: looking for some .NET to Flash tools

2006-04-03 Thread daniel
Hi! Have you tried SQLXML? 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_sqlxml.asp


It allows you to send SQL queries with XML messages, or through normal URLs. 
(The latter is probably not very secure.)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sqlxml3/htm/otherimprovements_2i7s.asp

Hope that provides you with some help!


From: Brad Kozak [EMAIL PROTECTED]
Subject: [Flashcoders] looking for some .NET to Flash tools

I'm working on a project that involves a .NET backend database. So far,
we've successfully used XPath/XML to interface with the DB, but the database
guy wants to eliminate the XML output. He's not willing to invest in
ColdFusion, so I was wondering if anybody knows of a component that might
make it easy (read: brain-dead simple) to interface with a .NET database.

Thanks!

--

Brad Kozak | Novel Idea, LLP
www.Novel Idea | 806.584.5689


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

2006-04-03 Thread Tom Rhodes

hey,

might be a bit of a shot in the dark as i havenìt tried out your code 
but i would suggest finding out the .textHeight of your actual text as 
the textfield will undoubtedly be bigger than your text, then make any 
adjustments based on the difference between textHeight and the ._height 
of the textfield...


hth,

tom.

Pieter Snoeck wrote:

I have tried that too ... no luck.

copyOne_mc.textfield_txt.text = something;
copyTwo_mc.textfield_txt.text = something;
copyTwo_mc._yscale = -100;

same result as without wrapping the textfield in a mc

thanks,
pieter

On 4/3/06, GregoryN [EMAIL PROTECTED] wrote:
  

I'd suggest to use a wrapper movie clip and apply
_yscale = -100

to it instead of textfield itself.






  



--

__

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

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

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


RE: [Flashcoders] Good Math script for sheet movement when draged ontable

2006-04-03 Thread INK .
Not exactly.
I am looking for a script that simulates sheet of papper movment over
table with good physics and math.
startDrag() is not realy nice looking.
All need is to press and drag the papper with rotation according to
mouse X Y position and a distance. Like real sheet of papper on
polishing table.
This is not as simple as it seems to be...
Some good math formulas needed.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bart
Wttewaall
Sent: Saturday, April 01, 2006 6:23 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Good Math script for sheet movement when
draged ontable


What's your question?
If you're looking for a way to script animation, use the Tween class.

2006/3/31, INK. [EMAIL PROTECTED]:
 Hi, List?
 Anyone seen subj? Something real-life and natural motion?

 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] Publish my swf direct to server

2006-04-03 Thread Johnny Zen
Looks like i'm sticking with using dreamweaver ftp.

Dont want to use 3rd party ftp because its another window i have to use.

Using dreamweaver is ok I suppose, and Dave, I do it the same way you
do currently.

Its a shame studio doesnt have project management that combines
flash/dreamweaver etc, unless I'm missing something.

Regards

Johnny
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 8 video encoder causing spontaneous reboot!Help!

2006-04-03 Thread Mike Mountain
There's a windows XP setting that auto shuts down when a crash is
detected, it's in system, advanced, startup and recovery, untick
'Automatically restart' - then you'll get to see your blue screen. Lucky
you :D 

M

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Brad Kozak
 Sent: 02 April 2006 16:17
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Flash 8 video encoder causing 
 spontaneous reboot!Help!
 
 I'm in the process of encoding a bunch of :30 sec TV 
 commercials for my portfolio. I'm encoding them with the FL8 
 Video Encoder. All was well, until my laptop crashed 
 mid-encode. Now every time I attempt to encode, about halfway 
 through the video, the computer spontanously acts as if I've 
 press the power button, and shuts itself off. Note - it 
 doesnt' crash - it does an orderly (unstoppable) shutdown.
 
 The same thing happens if I try to encode a single video 
 using Flash 8 itself. Ditto for Sorenson Squeeze 4.3. As long 
 as I'm using on2 VP6, I'm boned. (Squeeze works, just fine, 
 if I use the Sorenson codec, but the file size suffers - 
 dramatically - and I'd much rather use the on2 VP6 codec.)
 
 I've deduced from this, that the VP6 encoder must be pooched, 
 but I have no idea where to find the file that might be 
 corrupted. If I could find the offending file(s), I might be 
 able to pull copies from another computer/installation, and 
 overwrite them.
 
 On the other hand, it might be better to simply re-install 
 Flash, however I don't want to do it, then get some message 
 about how I've exceeded the number of installations and I can 
 just bloody well go buy a new copy of Flash 8.
 
 That would be bad.
 
 Any ideas as to what might be wrong...and what I can do to 
 fix this problem?
 
 
 Thanks!
 
 Brad Kozak
 
 --
 
 Brad Kozak | Novel Idea, LLP
 www.Novel Idea | 806.584.5689
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] TextField._yscale bug?

2006-04-03 Thread Pieter Snoeck
Okay, I have found the solution!
the font has to be embedded as Anti-alias for animation + auto kern must
be activated.

Greetings,
Pieter

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

 hey,

 might be a bit of a shot in the dark as i havenìt tried out your code
 but i would suggest finding out the .textHeight of your actual text as
 the textfield will undoubtedly be bigger than your text, then make any
 adjustments based on the difference between textHeight and the ._height
 of the textfield...

 hth,

 tom.


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

2006-04-03 Thread Sam Thorne

Thanks guys, the flashout spaces issue was the problem.
Right now I've abandoned eclipse/mtasc anyway, deadlines and all.

But now I know how to get it working, I'll look into using it  
properly after this project, and explore Ant a bit more too.


On 2 Apr 2006, at 03:06AM, Chris Allen wrote:


Oh yes, the old Flashout on Macintosh problem; sorry that I didn't
realize that was what you were referring to.  I haven't been using
Flashout; I find that Ant just works better for my work flow.  Many
others seem to agree.  Anyway, if you are interested there are some
excellent Ant utilities for building Flash from as2lib called as2ant
that might be of interest.  You can find more information on that
here: http://osflash.org/ant

-Chris

On 4/1/06, Alain Rousseau [EMAIL PROTECTED] wrote:

Escaping spaces is fine in the Terminal, but not in Eclipse using
Flashout. That's the issue here, how to define the Class Path in  
Eclipse.

I've read a post about it at
http://www.pixelmotive.de/blog/archives/2005/06/fame_on_mac.php
Basically what it says is to create a shell script that catches the
call to mtasc then echoes the full mtasc command line into a seperate
shell scripts and returns mtasc's output.

Here is a shell script that works for me, you can save it anywhere  
and

give it a name with the .sh extension
make it executable like this

chmod a+x locmtasc.sh


and here is the shell script itself

#!/bin/sh
echo  #!/bin/sh  subc.sh
echo /usr/local/bin/mtasc $@  subc.sh
chmod a+x subc.sh
./subc.sh
exit $?


note that the shell will create a shell file for you, you don't  
need to

create an empty one yourself.
once this is done go in the Eclipse Preferences - Flashout
in the Location of mtasc.exe enter the path to your locmtasc.sh :
/Users/username/Documents/workspace/locmtasc.sh

and voilà you sould be able to make Flashout work with mtasc

The thing is that Eclipse adds quotes around the Macromedia Class  
Path,
but it fails to parse correctly through Flashout. With this shell  
script

the problem is solved.

Alain




Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Publish my swf direct to server

2006-04-03 Thread Mark Winterhalder
 Dont want to use 3rd party ftp because its another window i have to use.

If you can somehow launch a script on publish, then using scp with a
pgp/rsa key-pair authentication would be an option because you
wouldn't have to enter a password:

http://google.com/search?q=ssh+authentication

Your server almost certainly supports scp (if it supports ssh, scp
works, too), I'd even say it's more likely than that it still supports
ftp.

If you're using an external editor (which I would recommend anyway)
this shouldn't be a problem at all -- I use an AMES setup and adding
this to the ant build would be easy.

Mark


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

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


Re: [Flashcoders] Good Math script for sheet movement when draged ontable

2006-04-03 Thread f a r i d | s i l v a | a b o i d
have you tried this one?

http://laco.wz.cz/tween/


--
SalU2


f a r i d | s i l v a | a b o i d
www.e-foco.com.ar
tel: +54 11 4115-0773
cel: 15-5774-8005

Moderador de Salas Dreamweaver y Programación
Multimedia User Group Adobe Argentina
http://www.mmug-ar.com.ar
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Good Math script for sheet movement when dragedontable

2006-04-03 Thread INK .
Well.. I am not talking here about Movieclip twening engines.

The basic idea is: press and drag the sheet of papper with _rotation
based in the movement direction
doing some  Math with angles sin/ cos..
I am not good at trigonometric functions.
So maybe someone did something like that before.

Thanks.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of f a r i
d | s i l v a | a b o i d
Sent: Monday, April 03, 2006 1:43 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Good Math script for sheet movement when
dragedontable


have you tried this one?

http://laco.wz.cz/tween/


--
SalU2


f a r i d | s i l v a | a b o i d
www.e-foco.com.ar
tel: +54 11 4115-0773
cel: 15-5774-8005

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

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


[Flashcoders] XPath hangs

2006-04-03 Thread Yotam Laufer
Hi List,

I've been using xfactor studio's XPath class for AS 2.0 but have been
experiencing some problems with a specific path.

I've got this XML:

?xml version=1.0?
RetrieveContent xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
RetrieveContentResult
Assets
Asset
itemId45785/itemId
itemNameVolkslied/itemName
Properties
Property name=Abstract
valueWilhelmus, gezongen door Lois Lane/value
/Property
Property name=ThumbnailFilename
value
http://picsrv.dme.knvb.nl/?fif=/syndication/videos/13/36462.fpx/value
/Property
Property name=Duration
value53/value
/Property
/Properties
AssetFiles
AssetFile type=StreamFileWM2
Filename9138387_300kbps.mov/Filename
Path/Path
/AssetFile
AssetFile type=StreamFileWM3
Filename9138387_500kbps.mov/Filename
Path/Path
/AssetFile
AssetFile type=StreamFileWM4
Filename9138387_700kbps.mov/Filename
Path/Path
/AssetFile
/AssetFiles
/Asset
/Assets
/RetrieveContentResult
/RetrieveContent


And I'm using this:

trace (XPath.selectNodes (xml,
//[EMAIL PROTECTED]'ThumbnailFilename']/value));

And Flash seems to go into an infinite loop or recurssion and I get the a
script is causing your... would you like to abort window.
I know for a fact that it's the [EMAIL PROTECTED]'ThumbnailFilename'] part of 
the path
that is causing the problem but it happens that this is why I'm using XPath
in the first place.

Has anyone had this problem before and knows a way around it?

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

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

[Flashcoders] Falling leafs

2006-04-03 Thread Eskil Janson

Hi!

I have a customer who wants falling leafs or herbs (small jpg:s )  to 
fall in the foreground of a larger picture. Anyone who has done this,

and fells like sharing a few lines?

I don't really need advice on how to solve the problems involved, think 
I could figure something out, but i feel lazy, and not in the mood of

reinventing the weel...

thanks

/Eskil



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 with building a spider diagram

2006-04-03 Thread Kevin Boyd (MMCR)
I need to produce a spider diagram (a 360 deg personnel chart) dynamically
from an XML file in Flash 8. I have built most of it but hitting problems,
mainly with the layout and how to figure out if nodes are going to bump into
other nodes. Has anyone produced this kind of thing before and be up for
helping out on the job? Or point me to an example of how to handle a 360 deg
layout.

Contact me off list if you are free to help out at [EMAIL PROTECTED]

Thanks

Kevin Boyd
Multimedia Creations Ltd.
www.mmcr.co.uk
 



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

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


Re: [Flashcoders] Falling leafs

2006-04-03 Thread Daniel Cascais
I've seen a lot of apps like this, very popular in christmas time
(with falling snow) I'm sure Robert Penner has an example somewhere.
You can also try Ultrashock.com.

On 4/3/06, Eskil Janson [EMAIL PROTECTED] wrote:
 Hi!

 I have a customer who wants falling leafs or herbs (small jpg:s )  to
 fall in the foreground of a larger picture. Anyone who has done this,
 and fells like sharing a few lines?

 I don't really need advice on how to solve the problems involved, think
 I could figure something out, but i feel lazy, and not in the mood of
 reinventing the weel...

 thanks

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

2006-04-03 Thread franto
is this ok?
http://www.franto.com/particle/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XPath hangs

2006-04-03 Thread Ron Wheeler

What happens if you put the value in a CDATA?

Ron

Yotam Laufer wrote:

Hi List,

I've been using xfactor studio's XPath class for AS 2.0 but have been
experiencing some problems with a specific path.

I've got this XML:

?xml version=1.0?
RetrieveContent xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
RetrieveContentResult
Assets
Asset
itemId45785/itemId
itemNameVolkslied/itemName
Properties
Property name=Abstract
valueWilhelmus, gezongen door Lois Lane/value
/Property
Property name=ThumbnailFilename
value
http://picsrv.dme.knvb.nl/?fif=/syndication/videos/13/36462.fpx/value
/Property
Property name=Duration
value53/value
/Property
/Properties
AssetFiles
AssetFile type=StreamFileWM2
Filename9138387_300kbps.mov/Filename
Path/Path
/AssetFile
AssetFile type=StreamFileWM3
Filename9138387_500kbps.mov/Filename
Path/Path
/AssetFile
AssetFile type=StreamFileWM4
Filename9138387_700kbps.mov/Filename
Path/Path
/AssetFile
/AssetFiles
/Asset
/Assets
/RetrieveContentResult
/RetrieveContent


And I'm using this:

trace (XPath.selectNodes (xml,
//[EMAIL PROTECTED]'ThumbnailFilename']/value));

And Flash seems to go into an infinite loop or recurssion and I get the a
script is causing your... would you like to abort window.
I know for a fact that it's the [EMAIL PROTECTED]'ThumbnailFilename'] part of 
the path
that is causing the problem but it happens that this is why I'm using XPath
in the first place.

Has anyone had this problem before and knows a way around it?

Thanks, Yotam.
  



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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Alias
You could probably adapt the page drag mathematics from this article...

http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html

A good book to learn about trigonometry is the Complete Idiot's Guide to
Algebra by W. Michael Kelly - it's very well written and mathematical
beginner-friendly.
http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance

You won't get far in flash development without a basic knowledge of trig,
and besides, it starts to be fun after the first couple of years :)

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

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


Re: [Flashcoders] converting/printing swf to eps

2006-04-03 Thread Ron Wheeler
Have you looked at SVG as an alternative? You may be able generate this 
on the client without the server.


What about PDF.

Have a look at Apache's FOP as a server tool for converting input to 
various output formats.


Let me know what you think of these. There may be more ways to skin this 
cat.
How are the drawings made? If you are capturing the user's interactions, 
SVG might be pretty easy since it sort of mimics the steps that the user 
does (start here, draw to here, draw to this point, draw to next point, 
etc. finish here; move to here, draw to here, etc.) so you may be able 
to create the SVG by just transforming what you are already doing on the 
screen.
The Batik package or Adobe SVG lets you work with SVG drawings. What do 
you want to do with the output- what is magical about EPS for you?


Ron


Gabriel wrote:
I generate the content of the swf on the client app, let's say a free 
drawing, then I want to print it to the *server printer* (?).


The point is...I need an eps from a generated content with origin in 
the client machine.
You was talking about many free printer drivers, can you point me to 
some of them?


thanks

GaB.



David Rorex wrote:

How are the swf's generated in the first place? Instead of doing
something-swf-eps
you can do:
something-swf
something-eps

-David R

On 3/30/06, Gabriel [EMAIL PROTECTED] wrote:
 

I save a swf to the server, and I need to retrieve an eps from it...any
idea?


Ron Wheeler wrote:
   

What exactly do you want to do?

Ron

Gabriel wrote:
 

Hi everybody...

anybody knows a solution to convert/print from the server side a swf
to eps?.


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

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




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

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

  

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

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



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

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

  

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

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



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

2006-04-03 Thread Eskil Janson

Thanks Franto!

Looks nice. It's a really nice start, and I like the falling motion.

Some wind, a little sqewing, and a little more random rotation,
and you could start feel the smell of autumn...


/Eskil



franto skrev:

is this ok?
http://www.franto.com/particle/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



  



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

2006-04-03 Thread Ron Wheeler
If you just want something simple you can find examples of snow done 
with a scrolling image. Not very realistic.

You want to look at particle generators for a more realistic effect.

Ron

Daniel Cascais wrote:

I've seen a lot of apps like this, very popular in christmas time
(with falling snow) I'm sure Robert Penner has an example somewhere.
You can also try Ultrashock.com.

On 4/3/06, Eskil Janson [EMAIL PROTECTED] wrote:
  

Hi!

I have a customer who wants falling leafs or herbs (small jpg:s )  to
fall in the foreground of a larger picture. Anyone who has done this,
and fells like sharing a few lines?

I don't really need advice on how to solve the problems involved, think
I could figure something out, but i feel lazy, and not in the mood of
reinventing the weel...

thanks

/Eskil


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

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



  

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

2006-04-03 Thread Yotam Laufer
Hi Ron,

I don't see how that should change anything, but in any case I don't
have the option to do so. Even if I omit the value and search only for
//[EMAIL PROTECTED]'ThumbnailFilename'] it will still hang.

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

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

Re: [Flashcoders] Help with building a spider diagram

2006-04-03 Thread Ron Wheeler

GraphViz does this from some very simple input.
I am not sure how easy it would be to take their code and turn it into 
Actionscript

You could use it on the server side.

Ron

Kevin Boyd (MMCR) wrote:

I need to produce a spider diagram (a 360 deg personnel chart) dynamically
from an XML file in Flash 8. I have built most of it but hitting problems,
mainly with the layout and how to figure out if nodes are going to bump into
other nodes. Has anyone produced this kind of thing before and be up for
helping out on the job? Or point me to an example of how to handle a 360 deg
layout.

Contact me off list if you are free to help out at [EMAIL PROTECTED]

Thanks

Kevin Boyd
Multimedia Creations Ltd.
www.mmcr.co.uk
 




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

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


  

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

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


Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread eugen pflüger

i guess you are looking for something like this:
http://www.intentionallies.co.jp

this site is from yugo nakamura. very well scripted.

someday i tried it by myself but unfortunaly didnt get it to work.

my thoughts were this:
on click on a sheet find the distance from the middle and set it to  
be the new origin (thats the new rotation point).
then you have to find out in which direction the sheet should turn -  
calculate some forces...depending on the drag movement

something like this :)



Am 03.04.2006 um 14:22 schrieb Alias:

You could probably adapt the page drag mathematics from this  
article...


http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html

A good book to learn about trigonometry is the Complete Idiot's  
Guide to

Algebra by W. Michael Kelly - it's very well written and mathematical
beginner-friendly.
http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance

You won't get far in flash development without a basic knowledge of  
trig,

and besides, it starts to be fun after the first couple of years :)

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

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










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.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] Help with building a spider diagram

2006-04-03 Thread Kevin Boyd (MMCR)
Yes great stuff on GraphViz, though I do need something more Flash based
because, as usual, only have a couple of days to get this out! 


Kevin Boyd
Multimedia Creations Ltd.
www.mmcr.co.uk
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler
Sent: 03 April 2006 13:39
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Help with building a spider diagram

GraphViz does this from some very simple input.
I am not sure how easy it would be to take their code and turn it into
Actionscript You could use it on the server side.

Ron

Kevin Boyd (MMCR) wrote:
 I need to produce a spider diagram (a 360 deg personnel chart) 
 dynamically from an XML file in Flash 8. I have built most of it but 
 hitting problems, mainly with the layout and how to figure out if 
 nodes are going to bump into other nodes. Has anyone produced this 
 kind of thing before and be up for helping out on the job? Or point me 
 to an example of how to handle a 360 deg layout.

 Contact me off list if you are free to help out at [EMAIL PROTECTED]

 Thanks

 Kevin Boyd
 Multimedia Creations Ltd.
 www.mmcr.co.uk
  



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

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


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

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


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

2006-04-03 Thread franto
it's particle class, all depends on settings :)

On 4/3/06, Ron Wheeler [EMAIL PROTECTED] wrote:

 If you just want something simple you can find examples of snow done
 with a scrolling image. Not very realistic.
 You want to look at particle generators for a more realistic effect.

 Ron

 Daniel Cascais wrote:
  I've seen a lot of apps like this, very popular in christmas time
  (with falling snow) I'm sure Robert Penner has an example somewhere.
  You can also try Ultrashock.com.
 
  On 4/3/06, Eskil Janson [EMAIL PROTECTED] wrote:
 
  Hi!
 
  I have a customer who wants falling leafs or herbs (small jpg:s )  to
  fall in the foreground of a larger picture. Anyone who has done this,
  and fells like sharing a few lines?
 
  I don't really need advice on how to solve the problems involved, think
  I could figure something out, but i feel lazy, and not in the mood of
  reinventing the weel...
 
  thanks
 
  /Eskil
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XPath hangs

2006-04-03 Thread Bart Wttewaall
I've tested it and it just works like a charm. No hangup or anything.
I'm using Flash 8  AS2 by the way and the latest release of
xfactorstudio's XPath

import DepthManagerTest;
import nl.mediamonkey.xml.XMLLoader;
import mx.utils.Delegate;
import com.xfactorstudio.xml.xpath.XPath;

var test = new DepthManagerTest(this);

var loader = new XMLLoader(data.xml);
loader.addEventListener(load, Delegate.create(this, onComplete));
loader.startLoading();

function onComplete(evt:Object):Void {
trace(XPath.selectNodes(evt.value,
//[EMAIL PROTECTED]'ThumbnailFilename']/value/));
// outputs the node

trace(XPath.selectNodes(evt.value,
//[EMAIL PROTECTED]'ThumbnailFilename']/value/text()));
// outputs the string with some returns in front of it

trace(XPath.selectNodesAsString(evt.value,
//[EMAIL PROTECTED]'ThumbnailFilename']/value/text()));
// outputs the string with some returns in front of it
}

2006/4/3, Yotam Laufer [EMAIL PROTECTED]:
 Hi Ron,

 I don't see how that should change anything, but in any case I don't
 have the option to do so. Even if I omit the value and search only for
 //[EMAIL PROTECTED]'ThumbnailFilename'] it will still hang.

 Thanks, Yotam.

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

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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Seb L
yeah that's close...! What you need is a pendulum simulation, where
the clicked point is the pivot, and the centre point is the weight
(centre of gravity). I built something like this for
www.jak2renegade.com, except there was gravity involved too. (check
scene 2). Take out the effects of gravity and you get what you're
looking for.

If I wasn't snowed under building a 3D shootout game in Flash, I'd dig
out the code...

cheers
Seb

On 03/04/06, eugen pflüger [EMAIL PROTECTED] wrote:
 i guess you are looking for something like this:
 http://www.intentionallies.co.jp

 this site is from yugo nakamura. very well scripted.

 someday i tried it by myself but unfortunaly didnt get it to work.

 my thoughts were this:
 on click on a sheet find the distance from the middle and set it to
 be the new origin (thats the new rotation point).
 then you have to find out in which direction the sheet should turn -
 calculate some forces...depending on the drag movement
 something like this :)



 Am 03.04.2006 um 14:22 schrieb Alias:

  You could probably adapt the page drag mathematics from this
  article...
 
  http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html
 
  A good book to learn about trigonometry is the Complete Idiot's
  Guide to
  Algebra by W. Michael Kelly - it's very well written and mathematical
  beginner-friendly.
  http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance
 
  You won't get far in flash development without a basic knowledge of
  trig,
  and besides, it starts to be fun after the first couple of years :)
 
  Hope this helps,
  Alias
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 








 plugisto
 ...
 eugen pflüger

 alexanderstr. 109
 70180 stuttgart

 fon +49.711.6739797
 mobil   +49.177.6428272
 e-mail  [EMAIL PROTECTED]
 ...
 http://www.plugisto.net
 http://itself.pmalc.de
 http://www.lifeperformance.net


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

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

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

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


RE: [Flashcoders] Help with building a spider diagram

2006-04-03 Thread Mike Guerrero
B-Line has some charting components and I believe they have a spider plot
one, or something similar

http://www.blinex.com/

MikeG
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Boyd
(MMCR)
Sent: Monday, April 03, 2006 8:19 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Help with building a spider diagram

Yes great stuff on GraphViz, though I do need something more Flash based
because, as usual, only have a couple of days to get this out! 


Kevin Boyd
Multimedia Creations Ltd.
www.mmcr.co.uk
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler
Sent: 03 April 2006 13:39
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Help with building a spider diagram

GraphViz does this from some very simple input.
I am not sure how easy it would be to take their code and turn it into
Actionscript You could use it on the server side.

Ron

Kevin Boyd (MMCR) wrote:
 I need to produce a spider diagram (a 360 deg personnel chart) 
 dynamically from an XML file in Flash 8. I have built most of it but 
 hitting problems, mainly with the layout and how to figure out if 
 nodes are going to bump into other nodes. Has anyone produced this 
 kind of thing before and be up for helping out on the job? Or point me 
 to an example of how to handle a 360 deg layout.

 Contact me off list if you are free to help out at [EMAIL PROTECTED]

 Thanks

 Kevin Boyd
 Multimedia Creations Ltd.
 www.mmcr.co.uk
  



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

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


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

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


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

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 3/31/2006
 

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

2006-04-03 Thread Yotam Laufer
I can't get it to work. Saved it as a file, new FLA, still hangs. MX2004, FP7.

On 03/04/06, Bart Wttewaall [EMAIL PROTECTED] wrote:
 I've tested it and it just works like a charm. No hangup or anything.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Good Math script for sheet movement whendragedontable

2006-04-03 Thread Zeh Fernando

Another good article on something like that is this --

http://www.mactech.com/articles/mactech/Vol.12/12.08/GXRigidBodyDragging/index.html

It's done for some kind of Apple scripting language, but of course the
important part (trigonometry) still holds. That's what I used as a guide
when I wanted to build a similar 'rigib body dragging' mechanism for a site. 
Here's one of my test SWFs by the way, so you can see what I'm talking 
about:


http://hosted.zeh.com.br/misc/novo2.swf


- Zeh


- Original Message - 
From: eugen pflüger [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, April 03, 2006 10:08 AM
Subject: Re: [Flashcoders] Good Math script for sheet movement
whendragedontable


i guess you are looking for something like this:
http://www.intentionallies.co.jp

this site is from yugo nakamura. very well scripted.

someday i tried it by myself but unfortunaly didnt get it to work.

my thoughts were this:
on click on a sheet find the distance from the middle and set it to
be the new origin (thats the new rotation point).
then you have to find out in which direction the sheet should turn -
calculate some forces...depending on the drag movement
something like this :)



Am 03.04.2006 um 14:22 schrieb Alias:


You could probably adapt the page drag mathematics from this  article...

http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html

A good book to learn about trigonometry is the Complete Idiot's  Guide to
Algebra by W. Michael Kelly - it's very well written and mathematical
beginner-friendly.
http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance

You won't get far in flash development without a basic knowledge of  trig,
and besides, it starts to be fun after the first couple of years :)

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

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










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


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

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

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

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


Re: [Flashcoders] Falling leafs

2006-04-03 Thread Gerry Creighton

This is probably what you want...
http://hosted.zeh.com.br/mctween/examples/leaves.swf

Gerry
 
...

http://www.thespikeranch.com
Certified Macromedia Flash MX Designer
 
...


On Apr 3, 2006, at 8:03 AM, Eskil Janson wrote:


Hi!

I have a customer who wants falling leafs or herbs (small jpg:s )   
to fall in the foreground of a larger picture. Anyone who has done  
this,

and fells like sharing a few lines?

I don't really need advice on how to solve the problems involved,  
think I could figure something out, but i feel lazy, and not in the  
mood of

reinventing the weel...

thanks

/Eskil



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

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


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

2006-04-03 Thread Gabriel
What I need is to import the drawing, that's why I choose eps (but the 
only real need is that it must be vectorial), Not really to export the 
image created by the user, but recreate it on the server side, based on 
a few parameters.

I can live without the drawing part.

PDF would be a possibility, but can I export from swf 2 pdf??

about FOP, It could be useful but how I load the eps/whatever icon and 
apply some changes (color, scale or so)?


thanks
GaB



Ron Wheeler wrote:
Have you looked at SVG as an alternative? You may be able generate 
this on the client without the server.


What about PDF.

Have a look at Apache's FOP as a server tool for converting input to 
various output formats.


Let me know what you think of these. There may be more ways to skin 
this cat.
How are the drawings made? If you are capturing the user's 
interactions, SVG might be pretty easy since it sort of mimics the 
steps that the user does (start here, draw to here, draw to this 
point, draw to next point, etc. finish here; move to here, draw to 
here, etc.) so you may be able to create the SVG by just transforming 
what you are already doing on the screen.
The Batik package or Adobe SVG lets you work with SVG drawings. What 
do you want to do with the output- what is magical about EPS for you?


Ron


Gabriel wrote:
I generate the content of the swf on the client app, let's say a free 
drawing, then I want to print it to the *server printer* (?).


The point is...I need an eps from a generated content with origin in 
the client machine.
You was talking about many free printer drivers, can you point me 
to some of them?


thanks

GaB.



David Rorex wrote:

How are the swf's generated in the first place? Instead of doing
something-swf-eps
you can do:
something-swf
something-eps

-David R

On 3/30/06, Gabriel [EMAIL PROTECTED] wrote:
 
I save a swf to the server, and I need to retrieve an eps from 
it...any

idea?


Ron Wheeler wrote:
  

What exactly do you want to do?

Ron

Gabriel wrote:


Hi everybody...

anybody knows a solution to convert/print from the server side a swf
to eps?.


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

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




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

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

  

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

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



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

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

  

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

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



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

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


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

2006-04-03 Thread Eskil Janson

This example definitely went straight up to number one on my list!

Thanks a lot,

/Eskil

Gerry Creighton skrev:

This is probably what you want...
http://hosted.zeh.com.br/mctween/examples/leaves.swf

Gerry
... 


http://www.thespikeranch.com
Certified Macromedia Flash MX Designer
... 



On Apr 3, 2006, at 8:03 AM, Eskil Janson wrote:


Hi!

I have a customer who wants falling leafs or herbs (small jpg:s )  to 
fall in the foreground of a larger picture. Anyone who has done this,

and fells like sharing a few lines?

I don't really need advice on how to solve the problems involved, 
think I could figure something out, but i feel lazy, and not in the 
mood of

reinventing the weel...

thanks

/Eskil



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

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


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

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






___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] looking for some .NET to Flash tools

2006-04-03 Thread Gavin Lilley
I do not fully understand what you mean by .net database?

if this is an online project with a budget and php is an option then I
recomend amfphp. or remoting for .net is good.

if this is an offline project then it is possible to connect to .net
facilities via the ExternalInterface.

--
Gavin Lilley.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 8 video encoder causing spontaneousreboot!Help!

2006-04-03 Thread Hauwert, Ralph
Brad,

I've got a lot of experience with both the Flash 8 encoder, as with the
SSqueeze (with the on2 plugin), and have not seen it push an entire
system into reset state. 

Have you tried any other CPU intensive application lately ? A crash that
severe using 2 different applications would imply corrupt RAM memory, or
a CPU overheating. Try SiSoft sandra's burn-in test, and if that crashes
you laptop too, you know what the issue is.

Ralph.
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Brad Kozak
 Sent: 02 April 2006 16:17
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Flash 8 video encoder causing 
 spontaneous reboot!Help!
 
 I'm in the process of encoding a bunch of :30 sec TV 
 commercials for my portfolio. I'm encoding them with the FL8 
 Video Encoder. All was well, until my laptop crashed 
 mid-encode. Now every time I attempt to encode, about halfway 
 through the video, the computer spontanously acts as if I've 
 press the power button, and shuts itself off. Note - it 
 doesnt' crash - it does an orderly (unstoppable) shutdown.
 
 The same thing happens if I try to encode a single video 
 using Flash 8 itself. Ditto for Sorenson Squeeze 4.3. As long 
 as I'm using on2 VP6, I'm boned. (Squeeze works, just fine, 
 if I use the Sorenson codec, but the file size suffers - 
 dramatically - and I'd much rather use the on2 VP6 codec.)
 
 I've deduced from this, that the VP6 encoder must be pooched, 
 but I have no idea where to find the file that might be 
 corrupted. If I could find the offending file(s), I might be 
 able to pull copies from another computer/installation, and 
 overwrite them.
 
 On the other hand, it might be better to simply re-install 
 Flash, however I don't want to do it, then get some message 
 about how I've exceeded the number of installations and I can 
 just bloody well go buy a new copy of Flash 8.
 
 That would be bad.
 
 Any ideas as to what might be wrong...and what I can do to 
 fix this problem?
 
 
 Thanks!
 
 Brad Kozak
 
 --
 
 Brad Kozak | Novel Idea, LLP
 www.Novel Idea | 806.584.5689
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Good Math script for sheet movement whendragedontable

2006-04-03 Thread eugen pflüger

looks great!

i thought that topic is dead for me. but maybe i give a triy again :)

zeh, would you share the code of your test swf?

thanks in advance.
e





Am 03.04.2006 um 16:11 schrieb Zeh Fernando:


Another good article on something like that is this --

http://www.mactech.com/articles/mactech/Vol.12/12.08/ 
GXRigidBodyDragging/index.html


It's done for some kind of Apple scripting language, but of course the
important part (trigonometry) still holds. That's what I used as a  
guide
when I wanted to build a similar 'rigib body dragging' mechanism  
for a site. Here's one of my test SWFs by the way, so you can see  
what I'm talking about:


http://hosted.zeh.com.br/misc/novo2.swf


- Zeh


- Original Message - From: eugen pflüger [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, April 03, 2006 10:08 AM
Subject: Re: [Flashcoders] Good Math script for sheet movement
whendragedontable


i guess you are looking for something like this:
http://www.intentionallies.co.jp

this site is from yugo nakamura. very well scripted.

someday i tried it by myself but unfortunaly didnt get it to work.

my thoughts were this:
on click on a sheet find the distance from the middle and set it to
be the new origin (thats the new rotation point).
then you have to find out in which direction the sheet should turn -
calculate some forces...depending on the drag movement
something like this :)



Am 03.04.2006 um 14:22 schrieb Alias:

You could probably adapt the page drag mathematics from this   
article...


http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html

A good book to learn about trigonometry is the Complete Idiot's   
Guide to

Algebra by W. Michael Kelly - it's very well written and mathematical
beginner-friendly.
http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance

You won't get far in flash development without a basic knowledge  
of  trig,

and besides, it starts to be fun after the first couple of years :)

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

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










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


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

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

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

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










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.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] Good Math script for sheet movementwhendragedontable

2006-04-03 Thread INK .
Thanks in reply, guys!
 This is exact as I need http://hosted.zeh.com.br/misc/novo2.swf


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh
Fernando
Sent: Monday, April 03, 2006 5:11 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Good Math script for sheet
movementwhendragedontable


Another good article on something like that is this --

http://www.mactech.com/articles/mactech/Vol.12/12.08/GXRigidBodyDragging
/index.html

It's done for some kind of Apple scripting language, but of course the
important part (trigonometry) still holds. That's what I used as a guide
when I wanted to build a similar 'rigib body dragging' mechanism for a
site. 
Here's one of my test SWFs by the way, so you can see what I'm talking 
about:

http://hosted.zeh.com.br/misc/novo2.swf


- Zeh


- Original Message - 
From: eugen pflüger [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, April 03, 2006 10:08 AM
Subject: Re: [Flashcoders] Good Math script for sheet movement
whendragedontable


i guess you are looking for something like this:
http://www.intentionallies.co.jp

this site is from yugo nakamura. very well scripted.

someday i tried it by myself but unfortunaly didnt get it to work.

my thoughts were this:
on click on a sheet find the distance from the middle and set it to be
the new origin (thats the new rotation point). then you have to find out
in which direction the sheet should turn - calculate some
forces...depending on the drag movement something like this :)



Am 03.04.2006 um 14:22 schrieb Alias:

 You could probably adapt the page drag mathematics from this  
 article...

 http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html

 A good book to learn about trigonometry is the Complete Idiot's  Guide

 to Algebra by W. Michael Kelly - it's very well written and 
 mathematical beginner-friendly. 
 http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance

 You won't get far in flash development without a basic knowledge of  
 trig, and besides, it starts to be fun after the first couple of years

 :)

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

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









plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


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

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

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

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

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

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


RE: [Flashcoders] Flash to excel?

2006-04-03 Thread Juan Anzaldo
I export reports in a excel file from flash writing
the headers like:


response.AddHeader Content-Type,application/xls
response.AddHeader
Content-Disposition,attachment;filename=reporteBitacora.xls
response.AddHeader
Content-Type,application/force-download
response.AddHeader Cache-Control,post-check=0,
pre-check=0,false

/*
I force to download the document whit this statement

response.AddHeader
Content-Type,application/force-download
*/

all that you want to put in the document, is stored in
a variable and send in a 

Response.write(string)  

/* you can write tables /* 

maybe you can do something similar with javascript and
embed in a html  document 

you can view the sample in the following link 

http://201.131.19.21/administracion2/bitacora/portalesrevision.html

/* In the excel icon  /*

I hope it helps :)

Ing. Juan Anzaldo
Tel Cel. 614 427-6523
Blog : http://janzaldo.blogspot.com

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-04-03 Thread Tyler Wright
 I have over 20 years of programming experience including at assembler
 level, advanced Java, etc, but thanks for trying to put me in my place :-)


There is no error. There is no timeout. Not in the PrintDialog object.

I think the FlashCoders list in general has a silly habbit of saying
something like:

does mc._xscale = 50 change the width? does anyone know this answer?

and then half a week later, after pages of theoretical discussion, someone
actually tries out the half-minute test.

Try and do anything advanced (such as a stock exchange trading system) and
it [breaks] ... That ain't an error with my code!  is a DailyWTF-worthy
comment. What does a stock exchange trading system have to do with the OS
print dialog?

I've never seen this error, in any version of Flash since 7 when it was
created. I've created complex (2-year) systems where the sole product is a
printed page from Flash.

simple test. just a simple test

Tyler
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 e-commerce site

2006-04-03 Thread Ryan Potter
Not sure why you would want to use flash for an e-comm site, and this is coming 
from a person that tries to use flash all the time even when it isn't 
necessarily appropriate.  

That being said, we used oscommerce and had a store up and running in less than 
a week.  I was pretty impressed with it.  If you absolutely need to use flash I 
would suggest using a hybrid approach of keeping track of the items in flash 
and passing the items to the php cart at checkout.  I don't know how easy it is 
to make flash secure, and that would be my biggest worry.  

I haven't used it but here is a flash e-comm engine. 
http://www.flashcart.com/

Good Luck,
Ryan




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss
Sent: Sunday, April 02, 2006 8:53 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash e-commerce site

The e-commerce website is not easy to achieve in Flash.
My recommendation, 
1. don't assume it to be easy.
2. any amount of time you believe it will take you times it by 6.
3. don't bother with oscommerce. You're better off with a proper OOP backend
where the business tier is separated from view.
4. most valuably, wait for FB2, data-binding, view states and all the new
features will cut your development time to a third of the previous.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helios
Pregioni Bayma
Sent: Sunday, 2 April 2006 1:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash e-commerce site

Hi,

I have to define what technologies and how much I´ll ask for an e-commerce
Flash website.
I pretend using PHP and MySQL and did read that it´s better using already
made codes, is it true? Does anyone knows a good one?
The store will accept payment with all credit cards and Pay Pal.

I have experience using PHP and MySQL but never did an online store, so I´ll
thank any help about this.

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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Good Math script for sheet movementwhendragedontable

2006-04-03 Thread Zeh Fernando

Another good article on something like that is this --
http://www.mactech.com/articles/mactech/Vol.12/12.08/ 
GXRigidBodyDragging/index.html
Here's one of my test SWFs by the way, so you can see  what I'm talking 
about:

http://hosted.zeh.com.br/misc/novo2.swf




looks great!
i thought that topic is dead for me. but maybe i give a triy again :)
zeh, would you share the code of your test swf?



It's a bit old (should be some kind of class now) but here it is:


Math.decToRad = function (graus) {
 return (graus * (Math.PI/180));
}
ASSetPropFlags(Math, decToRad, 1, 1);


Math.radToDec = function (radianos) {
 return (radianos / (Math.PI/180));
}
ASSetPropFlags(Math, radToDec, 1, 1);

MovieClip.prototype.makeDraggable = function() {
this.onPress = function() {
 this.lastMouseX = this._parent._xmouse;
 this.lastMouseY = this._parent._ymouse;
 this.onMouseMove = function() {
  this.deltaX = this._parent._xmouse - this.lastMouseX;
  this.deltaY = this._parent._ymouse - this.lastMouseY;

  this.delta = Math.sqrt((this.deltaX*this.deltaX) + 
(this.deltaY*this.deltaY));


  this.radiusX = this.lastMouseX - this._x;
  this.radiusY = this.lastMouseY - this._y;
  this.radius = Math.sqrt((this.radiusX*this.radiusX) + 
(this.radiusY*this.radiusY));
  this.dragAngle = Math.atan2(this.deltaX, this.deltaY) - 
Math.atan2(this.radiusX, this.radiusY);
  this.rotationAngleSin = this.delta * Math.sin(this.dragAngle) / 
this.radius;


  this._x += this.deltaX;
  this._y += this.deltaY;

  var p1 = {x:this._xmouse, y:this._ymouse};
  var p2 = {x:this._xmouse, y:this._ymouse};
  this.localToGlobal(p1);
  this._rotation -= Math.radToDec(Math.asin(this.rotationAngleSin)) * 
(this.radius/25);

  this.localToGlobal(p2);

  this._x -= p2.x-p1.x;
  this._y -= p2.y-p1.y;

  this.lastMouseX = this._parent._xmouse;
  this.lastMouseY = this._parent._ymouse;

  updateAfterEvent();
 };
 this.onMouseMove();
};

this.onMouseUp = function() {
 delete this.onMouseMove;
};
};

Then to apply:

myMC.makeDraggable();

This is a literal remake of the equations mentioned on that article I've 
linked above (I even used similar variable names). It isn't perfect, though; 
you'll notice, for instance, that dragging an object by its center will make 
it rotate more than it normally should (as if the whole thing was 
lightweight). Probably some kind of strength based on the drag radius should 
be applied to the rotation force.


It did work perfect for what I needed, though (I just had to drag objects 
from a few special corners).


I know Yugo Nakamura has made something similar a lng time ago (Flash 4) 
and it worked great, with inertia and all, but I guess the logics behind his 
one were a bit different.



- Zeh 


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

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


[Flashcoders] Steps of colors

2006-04-03 Thread Juan Anzaldo
I'm doing a class that manages a colors palette 
I want to select a color and know 10 steps from the
color to White to the color 

I have this code that make a gradient from white to
the color that I want and from this color to black
---
createEmptyMovieClip(gradiente_mc, 10);
var xi:Number = 301;
var yi:Number = 0;
var ancho:Number = 30;
var alto:Number = 150;
var fillType:String = linear;
var alphas:Array = [100, 100, 100];
var ratios:Array = [1, 100, 254];
var matrix:Object =
{matrixType:box,x:xi,y:yi,w:ancho,h:alto,r:90/180*Math.PI};
var spreadMethod:String = pad;
var interpolationMethod:String = linearRGB;
var focalPointRatio:Number = 0.9; 

dibuja = function(sColor)
   {
   var colores:Array = [0xFF,sColor, 0x00];
with (gradiente_mc) 
  {
lineStyle(1, 0x00)
beginGradientFill(fillType, colores, alphas,
ratios, matrix);
moveTo(xi, yi);
lineTo(xi+ancho, yi);
lineTo(xi+ancho, yi+alto);
lineTo(xi, yi+alto);
lineTo(xi, yi);
endFill();
  }
   }
dibuja(0x2B0A9E);  

--
It functions very good but I need just 10 steps from
the color to white and each color stay in a movie clip

like shows the figure because I need to use the colors
for apply in others _mc's

figure URL :

http://201.131.19.21/administracion2/colores.gif

tnx for your help


Ing. Juan Anzaldo
Tel Cel. 614 427-6523
Blog : http://janzaldo.blogspot.com

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Flash e-commerce site

2006-04-03 Thread Ettwein, Josh
Off the top of my head, I'd say you would want to use it for an e-comm
site because it is rather well suited for that, imho. The persistent
state is perfect for this sort of thing, and allows for the entire
checkout process to happen without browser refresh. As far as security
goes, put it on an https server - done. With few exceptions, the flash
player uses the browser for all of its communication with the server, so
you can rest assured that all the data being posted is encrypted - it's
the same solution as for security concerns with regular old html pages.
Ok, some of the socket connections (XMLsocket, for example, I think) do
not use the browser, but for the most part, using SSL is safe.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Potter
Sent: Monday, April 03, 2006 9:45 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash e-commerce site

Not sure why you would want to use flash for an e-comm site, and this is
coming from a person that tries to use flash all the time even when it
isn't necessarily appropriate.  

That being said, we used oscommerce and had a store up and running in
less than a week.  I was pretty impressed with it.  If you absolutely
need to use flash I would suggest using a hybrid approach of keeping
track of the items in flash and passing the items to the php cart at
checkout.  I don't know how easy it is to make flash secure, and that
would be my biggest worry.  

I haven't used it but here is a flash e-comm engine. 
http://www.flashcart.com/

Good Luck,
Ryan




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

2006-04-03 Thread Kevin Matzdorf

Why do you not recommend using flash for e-commerce?
I'm finishing up a site based off of the book Beginning PHP 5 and MySQL 
E-Commerce: From Novice to Professional and I'm am building a flash front 
end for it.  Why would I want to stick to html when I could have a flash 
front end??


Kevin



From: Ettwein, Josh [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash e-commerce site
Date: Mon, 3 Apr 2006 10:54:29 -0700

Off the top of my head, I'd say you would want to use it for an e-comm
site because it is rather well suited for that, imho. The persistent
state is perfect for this sort of thing, and allows for the entire
checkout process to happen without browser refresh. As far as security
goes, put it on an https server - done. With few exceptions, the flash
player uses the browser for all of its communication with the server, so
you can rest assured that all the data being posted is encrypted - it's
the same solution as for security concerns with regular old html pages.
Ok, some of the socket connections (XMLsocket, for example, I think) do
not use the browser, but for the most part, using SSL is safe.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Potter
Sent: Monday, April 03, 2006 9:45 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash e-commerce site

Not sure why you would want to use flash for an e-comm site, and this is
coming from a person that tries to use flash all the time even when it
isn't necessarily appropriate.

That being said, we used oscommerce and had a store up and running in
less than a week.  I was pretty impressed with it.  If you absolutely
need to use flash I would suggest using a hybrid approach of keeping
track of the items in flash and passing the items to the php cart at
checkout.  I don't know how easy it is to make flash secure, and that
would be my biggest worry.

I haven't used it but here is a flash e-comm engine.
http://www.flashcart.com/

Good Luck,
Ryan




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

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



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

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


[Flashcoders] Max connections from T1

2006-04-03 Thread Jed Wood
Sorry if this is totally obvious, but I just want to confirm before I  
go making some important and drastic decisions. If I set up FMS2 on a  
server that's just connected to a T1 line (getting 1300 kbps each  
direction), and I want to stream FLVs that are encoded at 300 kbps,  
I'll likely only be able to handle 4 connections at a time. Is that  
correct? Seems really weak, but the math is pretty simple. No wonder  
there are streaming solution providers. :)


Thanks,
-Jed

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

2006-04-03 Thread Duncan Reid
Hi Juan,


I had a similar question last year and Andreas Weber provided a perfect
solution:

http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-February/131505.html

Andreas Weber
motiondraw.com


hope this helps,
Dunc
**

On 4/3/06, Juan Anzaldo [EMAIL PROTECTED] wrote:

 I'm doing a class that manages a colors palette
 I want to select a color and know 10 steps from the
 color to White to the color

 I have this code that make a gradient from white to
 the color that I want and from this color to black
 ---
 createEmptyMovieClip(gradiente_mc, 10);
 var xi:Number = 301;
 var yi:Number = 0;
 var ancho:Number = 30;
 var alto:Number = 150;
 var fillType:String = linear;
 var alphas:Array = [100, 100, 100];
 var ratios:Array = [1, 100, 254];
 var matrix:Object =
 {matrixType:box,x:xi,y:yi,w:ancho,h:alto,r:90/180*Math.PI};
 var spreadMethod:String = pad;
 var interpolationMethod:String = linearRGB;
 var focalPointRatio:Number = 0.9;

 dibuja = function(sColor)
{
var colores:Array = [0xFF,sColor, 0x00];
 with (gradiente_mc)
   {
 lineStyle(1, 0x00)
 beginGradientFill(fillType, colores, alphas,
 ratios, matrix);
 moveTo(xi, yi);
 lineTo(xi+ancho, yi);
 lineTo(xi+ancho, yi+alto);
 lineTo(xi, yi+alto);
 lineTo(xi, yi);
 endFill();
   }
}
 dibuja(0x2B0A9E);

 --
 It functions very good but I need just 10 steps from
 the color to white and each color stay in a movie clip

 like shows the figure because I need to use the colors
 for apply in others _mc's

 figure URL :

 http://201.131.19.21/administracion2/colores.gif

 tnx for your help


 Ing. Juan Anzaldo
 Tel Cel. 614 427-6523
 Blog : http://janzaldo.blogspot.com

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] Flash e-commerce site

2006-04-03 Thread richard carr
FWIW
Here is one similar to flashcart, I have not used it.
http://www.flashkart.com/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Find Nearest Color?

2006-04-03 Thread Darren Cook
Hi,
A minor optimization, but you can drop the Math.sqrt(). I.e.
   x^2  y^2  == x  y

for all positive values of x and y.

Darren


 That's what I actually ended up doing, and it worked out pretty good:
 
 private function getClosest (red1:Number, green1:Number, 
 blue1:Number):Number {

 var totalColors:Number = __palette.length;
 var tempDistance:Number;
 var closestColor:Number;

 for (var i:Number = 0; i  totalColors; i++) {
 // first, break up the color to check
 var red2:Number = (__palette[i]  0xFF)  16;
 var green2:Number = (__palette[i]  0x00FF00)  8;
 var blue2:Number = __palette[i]  0xFF;

 // now, get the distance from the source
 var tempD:Number = Math.sqrt ((Math.abs(red1 - red2) ^ 2) + 
 (Math.abs(green1 - green2) ^ 2) + (Math.abs(blue1 - blue2) ^ 2));

 if ((tempD = tempDistance) || tempDistance == undefined) {
 tempDistance = tempD;
 closestColor = __palette[i];
 }
 }

 return closestColor;
 }
 
 
 - Josh
 
 
 On Mar 16, 2006, at 7:59 PM, Ron Wheeler wrote:
 
 If a color can be treated as a point in a 3-d cube 256 units on  each
 side, you can use the formula in this reference
 http://www.uwm.edu/~ericskey/TANOTES/Ageometry/node10.html
 to calculate the distance between 2 colors.

 I have not tried this but it would seem logical that this would work

 Ron

 elibol wrote:

 K, here is some better math for getRGB, performance will probably be
 important:

 return [c16, c8~0xFF00, c~0xF00];

 You can also try using the ColorTransform or Color class to get  the rgb
 values, except they might be slower than getting the raw math right.

 M.

 On 3/15/06, Josh Buhler [EMAIL PROTECTED] wrote:

 Thanks - I'll give it a shot and see how it goes.


 - Josh

 On Mar 15, 2006, at 3:10 PM, elibol wrote:


 I tried comparing the hex values directly, but there were
 inaccuracies,
 maybe the same ones you've been having. I think since the value  of a
 particular color precedes with a 0 even when it's below 17(0F), the
 preceding 0 causes a shifting in the comparison. It would, for
 example,
 cause 0x00 to seem farther to 0x123456 than 0x00FF00, where
 visually you
 can see clearly that black is closer to 0x00.

 btw in my example, var a = 0x12345 where it should be 0x123456.

 The numbers hold to be accurate after correcting this typo.

 On 3/15/06, Josh Buhler [EMAIL PROTECTED] wrote:

 I'm working on a project that requires that I take an uploaded 
 image,
 and convert it to use a limited palette of colors - around 5-10
 colors.

 I've got the custom palette I have to work with stored in an  array,
 and for each color in my image, I've got it finding the color  in the
 array it's closest to numerically, but the results aren't exactly
 what I'm looking for.

 Does anybody know of any formulas available for comparing multiple
 colors and finding the ones that are the closest matches? I've  been
 searching Google for a while, with no luck. Any good resources on
 color formulas  such would be appreciated.

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

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


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

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

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

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


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

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




 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] If not Zinc, then what?

2006-04-03 Thread Darren Cook
 I always had this feeling Flash is not meant to be run for a long period
 of time - no one will interact with your Flash movie on browser for 24
 hours continuously, so that's absolutely fine. But can anyone tell me if
 you have successfully developed 24/7 app using Flash wrapped in
 Zinc/SWFStudio/mProjector/Screenweaver without having issues such as
 memory leaks?

Conversely I've started using a projector (screenweaver) for a 24/7
application because flash has a memory leak.

The leak is simply that the garbage collector is not freeing everything,
and it is easy to see it is the flash player's problem because
minimizing then restoring the window *does* free up the memory. It
happens with both Flash 7 and Flash 8 (only analyzed on windows XP). See
flashcoder's Memory leak in Flash projector thread for more background
(feb 25 2006 and mar 14-16 2006).

I had two options:
  1. Use a projector to a minimize then restore the window.

  2. Start a 2nd application window, initially hidden, then when ready,
close the 1st application window, then make the 2nd window visible. I
needed a projector to be able to make the application hide/show itself
and be hidden initially.

The 2nd option is more complex but I chose it as then I can be sure it
avoids any memory leaks that the minimize/restore trick does not; and
because I was concerned about the desktop appearing briefly using the
first option. (The PHP back-end was already controlling the creation of
the flash front-end so I had much of the logic already there.)

Darren

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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.0 class ................. private function calling...

2006-04-03 Thread Alias
Hi guys,

Unfortunately, this is old news. Flash's private/public modifiers are
compile-time only. Once actionscript is compiled down to bytecode,
everything's public.

If you want to call private methods, you can do it even more easily like so:

_global.com.yourclass.yourMethod()

or, possibly:

this[className].functionName();

To quote Bjarne Stroustrup (inventor of C++):

Language level protection mechanisms are protection against accident, not
against fraud.

HTH,
Alias




On 4/2/06, Michael Bedar [EMAIL PROTECTED] wrote:

 You mean that Flash ignores private when calling from the
 timeline?  Try from another class.


 On Apr 2, 2006, at 12:16 PM, 신진석[Jinseok Shin] wrote:

  I found private function call.
 
  //class as file
 
  class test_class{
   private var _path:MovieClip = path
   function test_class(path:MovieClip){
 _path = path
   }
   private function trace_test(){
 trace(aaa)
   }
  }
 
 
  //fla action
  In _root = _level0 = this
 
  var new_test:test_class = new test_class(this);
 
  i can private function call
 
  try it
 
  About this question sending me e-mail
  e-mail : [EMAIL PROTECTED]
  it's bug reporting now...Adobe Macromedia
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com

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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 window layering issue

2006-04-03 Thread Stephen Downs
I'm having a problem creating an Alert window instance which renders  
in a layer depth above all other stage elements.


The Alert window consistently renders behind some other  
programatically instantiated movieClip elements. When creating the  
Alert, I've tried setting the parent parameter (using Alert.show())  
to an element which is a subclass of the UIComponent class which is  
attached to a movieClip on a layer way on top of all other layers in  
the movie, but the problem persists. The Alert window is centered  
within this element fine, but it appears beneath it and other elements.


Perhaps at the root of my problem is a misunderstanding of the parent  
parameter of the Alert.show() method. The documentation refers to  
this as the parent window which must be a subclass of the  
UIComponent class or the _root timeline. Is the Alert window depth  
truly inherited from the parent?


Is there some method in the UIObject class to change the object  
instance depth?


I'm using Flash 8, ActionScript 2.0.

Here's what my Alert instantiation looks like :

// test using simple button instance as parent
Alert.show(Start?, Alert, Alert.YES | Alert.NO,  
_root.alertParent_mc.my_button, _global.myController.myAlertClick);

// same depth layering as:
Alert.show(Start?, Alert, Alert.YES | Alert.NO, undefined,  
_global.myController.myAlertClick);

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] If not Zinc, then what?

2006-04-03 Thread Grant Cox
Well, I was probably being too harsh with major bugs, as I can't 
remember exactly what they were now (it was about 6 months ago I used 
it).  I believe we had the same issue with building - having to reload 
SW first, but often when reloading it would fail because the process was 
still running in the background.  Also, we had some issues with system 
dialog boxes, that they displayed multiple times.


Anyway, I was somewhat naive as to what to expect of Projector 
applications, and as SW was quite new to Open Source, had a very small 
developer and user base, we thought it best to go to a third party.


Regards,
Grant Cox


Darren Cook wrote:


Support I can live without but I wondered what the major bugs were that
you found?

I've started using it on a project and was pleased with it. But my
current usage is relatively simple.
 


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

2006-04-03 Thread JesterXL
It may be too late, but typically Alert's are created on _root.  This is 
also how ComboBox's and other popups in the PopUpManager are created.

If you put 1 movieclip on _root, and put you're entire app in it, you should 
have no problems.  If you creating your own custom movieclips on _root, 
don't.  If you still have to, investigate using PopUpManager instead and 
using some of DepthManager's constants.

Alert.show does return an instance, so if you're brave, you can force it up.

- Original Message - 
From: Stephen Downs [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 03, 2006 8:49 PM
Subject: [Flashcoders] Alert window layering issue


I'm having a problem creating an Alert window instance which renders
in a layer depth above all other stage elements.

The Alert window consistently renders behind some other
programatically instantiated movieClip elements. When creating the
Alert, I've tried setting the parent parameter (using Alert.show())
to an element which is a subclass of the UIComponent class which is
attached to a movieClip on a layer way on top of all other layers in
the movie, but the problem persists. The Alert window is centered
within this element fine, but it appears beneath it and other elements.

Perhaps at the root of my problem is a misunderstanding of the parent
parameter of the Alert.show() method. The documentation refers to
this as the parent window which must be a subclass of the
UIComponent class or the _root timeline. Is the Alert window depth
truly inherited from the parent?

Is there some method in the UIObject class to change the object
instance depth?

I'm using Flash 8, ActionScript 2.0.

Here's what my Alert instantiation looks like :

// test using simple button instance as parent
Alert.show(Start?, Alert, Alert.YES | Alert.NO,
_root.alertParent_mc.my_button, _global.myController.myAlertClick);
// same depth layering as:
Alert.show(Start?, Alert, Alert.YES | Alert.NO, undefined,
_global.myController.myAlertClick);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

2006-04-03 Thread Helios Pregioni Bayma
Thanks everyone for all the help.

Ryan, I know Flash is still something to belive for many people and that
withouth it should be more reliable on security issues, but I believe it has
changed completely in last years and had developed so much on application
creation, and Rich Internet Application is their highest bet. And there´s
the fact I love Flash and can make any design I want there. I´ll take a look
at this flashcart.com, thanks.

Josh, what you wrote is correct and Kevin, I´ll take a look at this book.
My problem is with technologies out of Flash, that will deal with db and use
Flash as presenter.

Thanks again,
Helios


2006/4/3, richard carr [EMAIL PROTECTED]:

 FWIW
 Here is one similar to flashcart, I have not used it.
 http://www.flashkart.com/
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
Helios Pregioni Bayma
Macromedia Certified FlashMX Designer
21 8742 0577
[EMAIL PROTECTED]  |  www.heliospb.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] converting/printing swf to eps

2006-04-03 Thread David Rorex
Ok, let me get this straight:
You don't want to convert a .swf file into a .eps file. You want to export
data generated from within your .swf file into a .eps file?

If it is just vector images you want to export, than I would say go with
SVG, it's XML based, and most vector image tools will read in SVG. There are
various free tools which will let you convert SVG into a raster image if you
need.

---

If you want to do PDF, search for PHP or ASP (depending on your server
scripting language) PDF libraries. There are several out there, that will
let you do something like:

$pdf = new PDF(); // create a new PDF
$pdf-drawLine(x1,y1,x2,y2); // draw a line on the PDF...the data is passed
in from your swf
$pdf-writeFile(output.pdf); // save out a .pdf file.

-David R

On 4/3/06, Gabriel [EMAIL PROTECTED] wrote:

 What I need is to import the drawing, that's why I choose eps (but the
 only real need is that it must be vectorial), Not really to export the
 image created by the user, but recreate it on the server side, based on
 a few parameters.
 I can live without the drawing part.

 PDF would be a possibility, but can I export from swf 2 pdf??

 about FOP, It could be useful but how I load the eps/whatever icon and
 apply some changes (color, scale or so)?

 thanks
 GaB



 Ron Wheeler wrote:
  Have you looked at SVG as an alternative? You may be able generate
  this on the client without the server.
 
  What about PDF.
 
  Have a look at Apache's FOP as a server tool for converting input to
  various output formats.
 
  Let me know what you think of these. There may be more ways to skin
  this cat.
  How are the drawings made? If you are capturing the user's
  interactions, SVG might be pretty easy since it sort of mimics the
  steps that the user does (start here, draw to here, draw to this
  point, draw to next point, etc. finish here; move to here, draw to
  here, etc.) so you may be able to create the SVG by just transforming
  what you are already doing on the screen.
  The Batik package or Adobe SVG lets you work with SVG drawings. What
  do you want to do with the output- what is magical about EPS for you?
 
  Ron
 
 
  Gabriel wrote:
  I generate the content of the swf on the client app, let's say a free
  drawing, then I want to print it to the *server printer* (?).
 
  The point is...I need an eps from a generated content with origin in
  the client machine.
  You was talking about many free printer drivers, can you point me
  to some of them?
 
  thanks
 
  GaB.
 
 
 
  David Rorex wrote:
  How are the swf's generated in the first place? Instead of doing
  something-swf-eps
  you can do:
  something-swf
  something-eps
 
  -David R
 
  On 3/30/06, Gabriel [EMAIL PROTECTED] wrote:
 
  I save a swf to the server, and I need to retrieve an eps from
  it...any
  idea?
 
 
  Ron Wheeler wrote:
 
  What exactly do you want to do?
 
  Ron
 
  Gabriel wrote:
 
  Hi everybody...
 
  anybody knows a solution to convert/print from the server side a
 swf
  to eps?.
 
 
  cheers,
  GaB
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  

Re: [Flashcoders] Flash and input type=file....

2006-04-03 Thread Grant Cox

Except that only works in Flash 8, as the OP mentioned.

Unfortunately there is no way to do this in Flash 7, except for iframe 
hacks or similar.  I saw a link a year or so ago where someone placed a 
transparent HTML iframe over the top of the flash SWF, so the HTML form 
looked as though it was part of the flash.  It was fairly hacky, and I 
don't think it was cross-browser compatible.


Regards,
Grant Cox


Manuel Saint-Victor wrote:


Do you mean like a filebrowser window?

import flash.net.FileReference;
var myFileReference:FileReference=new FileReference();
myFileReference.browse();





On 3/31/06, Felipe Fernandez [EMAIL PROTECTED] wrote:
 


Hi, is it possible show in a flash (Flash 2004 MX) a input type file form
in
order to catch user file selection?

Basically, I need to show an html form inside a flash movie. Is there any
flash component to show that?

I know Flash 8 has upload files capabilities but Flash Mx 2004 is
requiered
in my project.

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

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

   


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

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


 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 in HTML and the Object Embed tags ...

2006-04-03 Thread Stephen Ford
Can anyone tell my why the following icon/image appears momentarilyin the top 
left of my browser screen when visiting my website: (click link to see 
image)http://i56.photobucket.com/albums/g194/CarlosBrems/image.gif Is this 
something to do with the OBJECT tag or EMBED tag that Ihave accidentally broken 
within my HTML page?? It only appears for a second before the page loads 
normally. Thanks,Stephen.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 8 Asset Xtra

2006-04-03 Thread Michael Bedar
Assessability and EternalInterface both involve talking to the host  
player, so i would not be shocked if these never work...  no pun


As far as V2 components..  I have tested my own custom components and  
they are working fine, so I'm not sure what the catching point is..  
Maybe they will fix this, and if not you may want to check 3rd party  
component sets for compatibility..or make your own of course.




On Apr 3, 2006, at 9:07 PM, David Cohn wrote:


Hey all,

The documentation for the new Flash 8 Asset Xtra states:

	The following Flash Player 8 features are not supported in the  
Flash Asset Xtra for Flash Player 8.

Version 2 components
Accessibility code
ExternalInterface class

Does anyone know if this is a permanent state of affairs, or  
whether this support will be added in the future?


Thanks,
--Dave

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

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


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

2006-04-03 Thread Stephen Downs

Problem solved, thanks to you!

Alert.show() does return an instance (part 1 of the puzzle), which  
can then be forced to the top via the DepthManager (part 2 of the  
puzzle), a class I didn't know existed.


Thanks again JesterXL.


On Apr 3, 2006, at 6:05 PM, JesterXL wrote:

It may be too late, but typically Alert's are created on _root.   
This is

also how ComboBox's and other popups in the PopUpManager are created.

If you put 1 movieclip on _root, and put you're entire app in it,  
you should
have no problems.  If you creating your own custom movieclips on  
_root,
don't.  If you still have to, investigate using PopUpManager  
instead and

using some of DepthManager's constants.

Alert.show does return an instance, so if you're brave, you can  
force it up.


- Original Message -
From: Stephen Downs [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 03, 2006 8:49 PM
Subject: [Flashcoders] Alert window layering issue


I'm having a problem creating an Alert window instance which renders
in a layer depth above all other stage elements.

The Alert window consistently renders behind some other
programatically instantiated movieClip elements. When creating the
Alert, I've tried setting the parent parameter (using Alert.show())
to an element which is a subclass of the UIComponent class which is
attached to a movieClip on a layer way on top of all other layers in
the movie, but the problem persists. The Alert window is centered
within this element fine, but it appears beneath it and other  
elements.


Perhaps at the root of my problem is a misunderstanding of the parent
parameter of the Alert.show() method. The documentation refers to
this as the parent window which must be a subclass of the
UIComponent class or the _root timeline. Is the Alert window depth
truly inherited from the parent?

Is there some method in the UIObject class to change the object
instance depth?

I'm using Flash 8, ActionScript 2.0.

Here's what my Alert instantiation looks like :

// test using simple button instance as parent
Alert.show(Start?, Alert, Alert.YES | Alert.NO,
_root.alertParent_mc.my_button, _global.myController.myAlertClick);
// same depth layering as:
Alert.show(Start?, Alert, Alert.YES | Alert.NO, undefined,
_global.myController.myAlertClick);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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



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

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