[Flashcoders] push info from server to flash?

2006-10-22 Thread Millie Niss
Is there any way to push information from a server side script (PHP) to a 
flash client, rather than having the Flash ask for it by calling a PHP page? 
I want to create a virtual world whose state will be maintained in a MySQL 
database.


Multiple users will be able to connect, view, and interact with the world.

I need a way for the view (flash client) seen by one user to know when 
something another user has done has changed the world.  I could poll the 
server regularly with a setInterval, but that seems wasteful of bandwidth.


Most of the action in the world will be computed by the clients on their 
own; they just need to be informed when relatively rare events happen caused 
by other users.  (The creatures who live in the world will keep moving 
around on their own according to a prescribed behavior, and will just need 
to be informed when someone does something to them.)  Ideally, the creatures 
would do the same thing in all the users' views, but this would require 
constant back-and-forth communication with the server.  I am debating 
whether to fake it by having them work independently (so that viewers won't 
really see the same world) except when they interact.


Millie Niss
[EMAIL PROTECTED]
http://www.sporkworld.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] push info from server to flash?

2006-10-22 Thread Julien Vignali
The only way to achieve that is to use a socket server and to have the 
possibility to run it somewhere (some providers offer that). You have 
plenty of choice regarding which server you need and some are free, some 
aren't.
To name a few: Flash Data Services, Red5 (if I remember well), Oregano, 
Offbeat, ElectroServer, WebOrb...


Regards

Julien V.

Millie Niss a écrit :
Is there any way to push information from a server side script (PHP) to 
a flash client, rather than having the Flash ask for it by calling a PHP 
page? I want to create a virtual world whose state will be maintained in 
a MySQL database.


Multiple users will be able to connect, view, and interact with the world.

I need a way for the view (flash client) seen by one user to know when 
something another user has done has changed the world.  I could poll the 
server regularly with a setInterval, but that seems wasteful of bandwidth.


Most of the action in the world will be computed by the clients on their 
own; they just need to be informed when relatively rare events happen 
caused by other users.  (The creatures who live in the world will keep 
moving around on their own according to a prescribed behavior, and will 
just need to be informed when someone does something to them.)  Ideally, 
the creatures would do the same thing in all the users' views, but this 
would require constant back-and-forth communication with the server.  I 
am debating whether to fake it by having them work independently (so 
that viewers won't really see the same world) except when they interact.


Millie Niss
[EMAIL PROTECTED]
http://www.sporkworld.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] zinc instability

2006-10-22 Thread Lieven Cardoen
You should try to start from a blank project. Saving a Zinc-Project and
the reopen it causes problems.

If you post a question on the mdmForum, best to attach your project.

Lieven Cardoen, IndieGroup.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: vrijdag 20 oktober 2006 20:57
To: Flashcoders mailing list
Subject: Re: [Flashcoders] zinc instability

http://www.mdmforum.com/forum/index.php
or mail them:
[EMAIL PROTECTED]

regards,
Muzak

- Original Message - 
From: Ammon Lauritzen [EMAIL PROTECTED]
To: Flashcoders flashcoders@chattyfig.figleaf.com
Sent: Friday, October 20, 2006 7:50 PM
Subject: [Flashcoders] zinc instability


 Ok, so I've finally upgraded from the trial to a full licensed version
 of Zinc. I have a swf that when compiled on this machine segfaults
 immediately. Other swf's compile just fine, it's only this one file. I
 uninstalled the trial, the full version, even the mProjector demo that
 was still floating around on the machine. Rebooted twice. Reinstalled
 Zinc. No change.

 On a neighboring machine (which never had the trial installed), I did
 a fresh install and the troublesome file builds into a lovely exe w/o
 a hitch.

 So, my question is this. Have other people had similar reliability
 problems with Zinc? Is there any procedure I can go through to beat
 this into submission so I don't have to switch workstations to build?

 Ammon


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

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

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


Re: [Flashcoders] push info from server to flash?

2006-10-22 Thread Ron Wheeler
I believe that there is a game coders forum where these kinds of 
problems are very frequently discussed.
I have a client that has built a multiplayer gambling game that works 
like this. I can only say that it is possible and that it involves the 
Flash client having an outstanding request to the server at all times.
They originally bought an off-the-shelf game engine for their server 
side but have now replaced it with their own server engine.


Ron

Julien Vignali wrote:
The only way to achieve that is to use a socket server and to have the 
possibility to run it somewhere (some providers offer that). You have 
plenty of choice regarding which server you need and some are free, 
some aren't.
To name a few: Flash Data Services, Red5 (if I remember well), 
Oregano, Offbeat, ElectroServer, WebOrb...


Regards

Julien V.

Millie Niss a écrit :
Is there any way to push information from a server side script (PHP) 
to a flash client, rather than having the Flash ask for it by calling 
a PHP page? I want to create a virtual world whose state will be 
maintained in a MySQL database.


Multiple users will be able to connect, view, and interact with the 
world.


I need a way for the view (flash client) seen by one user to know 
when something another user has done has changed the world.  I could 
poll the server regularly with a setInterval, but that seems wasteful 
of bandwidth.


Most of the action in the world will be computed by the clients on 
their own; they just need to be informed when relatively rare events 
happen caused by other users.  (The creatures who live in the world 
will keep moving around on their own according to a prescribed 
behavior, and will just need to be informed when someone does 
something to them.)  Ideally, the creatures would do the same thing 
in all the users' views, but this would require constant 
back-and-forth communication with the server.  I am debating whether 
to fake it by having them work independently (so that viewers won't 
really see the same world) except when they interact.


Millie Niss
[EMAIL PROTECTED]
http://www.sporkworld.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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



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

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


Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread Ron Wheeler
Another approach would be to create an XML file that contains the data 
that you want formatted, send it to a server, process it into a PDF 
using FOP from Apache.org. This is a very flexible solution since you 
separate the data from the formatting and the output can be PDF, HTML, 
PCL(HP Printer language) and several others. The destination can be a 
file on the server, a printer or an e-mail address/distribution list.
XML-FO is a well documented standard for describing formatted reports 
and Apache's FOP is free and a fairly complete implementation of the 
XML-FO standard.


Ron


g.wygonik wrote:

Hi Jason

I didn't take any tone from your post - I try to read them as words 
and not
infer things. If you had said that sucks!, I would have taken it 
badly ;-)


From what I've gathered from users who have contacted me to tell me 
how they
use it, there seems to be a lot of fill out this form and we'll 
assemble a

PDF of your choices-type apps. I've seen some impressive full-color
catalogs for big companies created that way. But in these cases, each 
page

is programmatically typeset.

Here's some code that would illustrate how text is added:

mypage = myPDF.setDrawingPage(1);
mypage.setNumberFormat(inches);
mypage.drawString(1,1,myFont1,24,0xff,This is red, 24point text 
at 1

inch over and 1 inch down from the top left);

You can kind-of setup templates by using a Flash movie that is the 
size of

your document (in inches) x 72 (for dpi), and then lay out text areas and
take their locations and use those in your drawString() methods being 
sure

to set the drawing mode to pixels or points.

I hope that helps. I don't want to do too much support or up-front 
info on
Flashcoders, but I figured I'd follow-up this one since others may 
want to

know. I'd prefer to do support and other questions off-list. :-)

g.


On 10/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:


I realized after I sent that my tone didn't appear to good - it looks
like a great product Greg - just trying to figure out how I can use it
for a project. How do most people handle text with it?

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, October 20, 2006 8:41 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Exporting from flash to vector format

So to get text into the PDF you would need to re-draw it somehow?
Hmmm,
might be a showstopper for me, but thanks anyway.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Thursday, October 19, 2006 9:11 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hey Jason (and all)


 Do you know how many PDF pages it can generate (is there a max)?


There is no programmatic limit to the number of pages. While I have
had
users create 20-40 page documents, I haven't had anyone try, say,
9,000
pages. :-)

Will it render out dynamic textfields in the positions they are in?


No. Not exactly. Basically all text is created in the document by
using a
drawString() method. So, you would need to re-draw things into the
PDF. Or,
you could use the component as your main display and only do it
once.
But
it's not take this textfield and pop it into the PDF.

What about HTML text?


Nope.

Can you generate a hardcopy PDF Document or does it just sent the
PDF
 data to a browser window?


It generates a full PDF document into a variable in Flash. So it's
left up
to the developer to either save it to the server, push it to the
client via
the server, or save it locally via Zinc or other projector.

Thanks


No problem. Hope that helps. :-)

g.


--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

Re: [FlashCoders] Delegates and performance

2006-10-22 Thread Dimitrios Bendilas
Yeah, I know that Steven. Unofrtunately I'm still using the IDE 
for some complex sprite animations, eventhough I know I shouldn't.


The IDE compile time really sucks. I hope I'll start using MTASC soon.

Thanks,

Dimitrios


- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 20, 2006 9:11 PM
Subject: RE: [FlashCoders] Delegates and performance


You should look into using MTASC via FLASC to compile your games.  Since
games are mostly code, you'll save yourself a ton of time by using
MTASC.  The difference in compile time is astounding.  MTASC compiles in
about one second when the IDE can take much longer.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


[Flashcoders] Q:simple trig question

2006-10-22 Thread bitstreams
Ok
i'm sure this is elementary for any math whizzes out there, but this is my 
problem:

Given an initial point x1,y1 on the cicumference of a circle, how do we 
determine point 2(x2,t2) and point 3 (x3,y3) if point 2 and 3 are 120 and 240 
degrees respectively removed from point 1. ie all 3 points are 120 degrees 
apart.

Thanks in advance
Jim Bachalo

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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Q:Elementary Trig part 2

2006-10-22 Thread bitstreams
Another way of stating my problem:


Given an initial angle, and a circle with radius r, how do you determine the 
x,y coordinates of the point p1 on the circumference of this circle...assuming 
the circle's center is at 0,0.?



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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Q:simple trig question

2006-10-22 Thread Mark Winterhalder

On 10/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Ok
i'm sure this is elementary for any math whizzes out there, but this is my 
problem:

Given an initial point x1,y1 on the cicumference of a circle, how do we 
determine point 2(x2,t2) and point 3 (x3,y3) if point 2 and 3 are 120 and 240 
degrees respectively removed from point 1. ie all 3 points are 120 degrees 
apart.


If the center of the circle is at (0, 0), then you can just rotate
point p1 by 120 and 240 degrees respectively, to get p2 and p3:

var angle = 120 / (180 * Math.PI); // ...or 240 instead of 120
var sin = Math.sin( angle );
var cos = Math.cos( angle );
x2 = cos * x1 - sin * y1;
y2 = sin * x1 + cos * y1;

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

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


Re: [Flashcoders] Q:simple trig question

2006-10-22 Thread Mark Winterhalder

On 10/22/06, Mark Winterhalder [EMAIL PROTECTED] wrote:

var angle = 120 / (180 * Math.PI); // ...or 240 instead of 120


Sorry -- wrong conversion between degrees and radians:
var angle = 120 * (Math.PI / 180);

Hmmm... I think we need a FlashCoders Math FAQ, maybe on the OSFlash Wiki?

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

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


RE: [Flashcoders] Q:Elementary Trig part 2

2006-10-22 Thread Jayson K Hanes
Been awhile since I've explained this to anyone.. lets see how this
goes!

SOHCAHTOA (so-ca-toa)

Sin(a) = opposite/hypotenuse
Cos(a) = adjacent/hypotenuse
Tan(a) = opposite/adjacent

a = angle in RADIANS *not* degrees.. you'll have to convert degrees to
radians with knowing:

..there are PI (3.14159..) radians in 180 degrees (a fundamental), thus:
a = A*(PI/180), thus:
a = 45*(3.14159/180) = .785 (roughly)

Given r and angle=A degrees converted to a radians, r is the same as the
length of a basic triangles' hypotenuse in this -- we're looking for x,y
.. moving on:

A=45 degrees but converted to a=.785 radians (approx).. we know that: 

r=10, and should know that: 
r=sqrt(x^2+y^2) (per Pythagoras theorem)

so we're going to reverse format the SOH and CAH parts since we know the
length of the hypotenuse and need to find out x and y (the opposite and
adjacent sides' lengths) one at a time based on angle, a in radians:

sin(a)=y/r, and,
cos(a)=x/r, which translates to:

y=sin(a)/r, and
x=cos(a)/r, however:

y=sin(a)/10, and
x=cos(a)/10, thus:

y=sin(.785)/10, and
x=cos(.785)/10, thus:

y=0.707/10 = 7.07 (roughly)
x=0.707/10 = 7.07 (roughly)

I think that should set you on you on track! Hope that helps :)

-Jayson

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Sunday, October 22, 2006 3:11 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Q:Elementary Trig part 2
 
 Another way of stating my problem:
 
 
 Given an initial angle, and a circle with radius r, how do you
determine
 the x,y coordinates of the point p1 on the circumference of this
 circle...assuming the circle's center is at 0,0.?
 
 
 
 [e] jbach at bitstream.ca
 [c] 416.668.0034
 [w] www.bitstream.ca
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] suppress data in ComBoBox

2006-10-22 Thread Laurent CUCHET
If there is mutiple line with duplicated label in a combobox, how can I do
to supress the duplicated line ?
In this case its done with macromedia exemple but its to work with dynamic
data at the end.

How can I do in this exemple to suppress duplicated data ?

Than you



this.createClassObject(mx.controls.ComboBox, my_cb, 10);
my_cb.addItem({data:1, label:One});
my_cb.addItem({data:2, label:Two});
my_cb.addItem({data:3, label:One});
my_cb.addItem({data:4, label:Two});


var cbListener:Object = new Object();
cbListener.change = function (evt_obj:Object) {
 trace(Currently selected item is:  + evt_obj.target.selectedItem.label);
}
my_cb.addEventListener(change, cbListener);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread Alain Rousseau
Have you looked at Adobe EPS File  language specification ? You can find 
it  here : http://partners.adobe.com/public/developer/ps/index_specs.html


*Encapsulated PostScript (EPS) File Format Specification Version 3.0* 
#5002 http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf


You should be able to do something with that ...


HTH



Eric Lee wrote:

Howdy list,

I'm looking for a way to export vector data from flash to some sort of a
format that Illustrator can use-svg, ai, eps, etc. Does anyone know how to
do this?

 


Thanks!

-eric

++

 


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

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



  

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

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


[Flashcoders] Q:Change center registration point for dynamically created MovieClip

2006-10-22 Thread bitstreams
Hi
Does anyone know if its possible to change the center registration(rotation) 
point for a dynamically created MovieClip?

I have one parent movieclip that I would like to rotate around the center of 
the stage.

Roating it causes it rotate around the origin (0,0).


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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread Josh Santangelo
Josh Davis demonstrated how to do this at an old Flash Forward  
conference. I don't remember the exact details, but it involved  
printing the SWF as it was running to a Postscript printer driver,  
but having the output save to a PS file rather than actually  
printing. I'm sure the exact process is described on the web someplace.


-josh

On Oct 19, 2006, at 1:51p, Eric Lee wrote:


Sorry, should've been a bit more specific --

I have a swf that is dynamically generating vector data (placing movie
clips, drawing lines, etc. according to predefined algorithms). I'm  
looking
to export data generated from that swf to a vector format, and I  
don't think

copy and paste works for this type of thing. Any recommendations?

Thanks!
-Eric
++

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

Sent: Thursday, October 19, 2006 1:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Copy and paste seems to work if you are using both Flash  Illustrator
at home.  If you have to share with others, Flash will export to a
sensible medium - ai / eps are both available in the Export Image
dialogues, but watch out, I think it exports from the clip you are
editing rather than the main timeline.

Eric Lee wrote:

Howdy list,

I'm looking for a way to export vector data from flash to some  
sort of a
format that Illustrator can use-svg, ai, eps, etc. Does anyone  
know how to

do this?



Thanks!

-eric

++



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

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




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

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

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

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



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

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


Re: [Flashcoders] EmbedFonts = true

2006-10-22 Thread Joseph Balderson
You can't. The best way to use an embedded font with only certain 
outlines included in the embedding is to create a dummy (i.e. 
'invisible') dynamic textfield, and in the property inspector select the 
outlines you want embedded. That way you don't have to create a linked 
font symbol, you just refer to the font by name, because it's already 
been embedded in that hidden textfield.


The tricky part is that you'll need to have a separate textfield for 
normal, bold and italics, just like you would if you were creating font 
symbols, to make sure normal, bold and italics will all show up properly 
in your formatted textfield.


Hope that helps,

Joseph

__

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Lieven Cardoen wrote:
FlashCoders, 

 


If in ActionScript(2.0) I set the EmbedFonts property from a textField to true, 
I need to put the Font in the library with correct Export Linkage. Right?

 

But how can I make sure that special characters are embedded? I mean, if you select a textField on stage, you can embed the font + select which characters should be embedded. In the library this is not possible. As a result a French character like Πis not displayed. 

 


Even more strange. If I put a static textField on stage with Arial as font, the 
font is automatically embedded. Then Πis displayed.

 


But when I put Arial font in library with linkage “Arial”, suddenly Œ is no 
more displayed.

 


Can’t seem to understand this…

 


thx

Lieven Cardoen
Application developer

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 

 


Indie group zal op maandag 23 oktober uitzonderlijk gesloten zijn.

Indie group will be closed on Monday, October 23th. 

 


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

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


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

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


[Flashcoders] AS 3: URLLoader Firefox IO Error Trigger Issue

2006-10-22 Thread Mischa Williamson

I'm wondering if anyone can replicate or has experienced this issue.
When using URLLoader and playing back in Firefox 1.0.7/Camino 1.0 on
OS X (10.4.7) with Flash player 9,0,15,0 the IOErrorEvent.IO_ERROR
does not fire.

When I test in Safari the event triggers fine. Is this a known issue?
I couldn't find anything searching the list. I haven't had the chance
to test on Windows.

These results can be verified by compiling and testing the example here:

http://livedocs.macromedia.com/flex/2/langref/flash/net/URLLoader.html

I'm using mm.cfg and a tail -f flashLog.txt to test the behaviour in
the browser.

Can anyone from Adobe comment on this? If anyone could test this on a
Windows machine with Firefox/IE etc and the same Flash player version
it would be appreciated.

Cheers,

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

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


Re: [Flashcoders] Q:Change center registration point for dynamically created MovieClip

2006-10-22 Thread Josh Santangelo

This class works for me:

http://www.darronschall.com/weblog/archives/54.cfm

-josh

On Oct 22, 2006, at 2:39p, [EMAIL PROTECTED] wrote:


Hi
Does anyone know if its possible to change the center registration 
(rotation) point for a dynamically created MovieClip?


I have one parent movieclip that I would like to rotate around the  
center of the stage.


Roating it causes it rotate around the origin (0,0).


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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


[Flashcoders] OT: Flash based annual reports

2006-10-22 Thread 杜邦傑
Maybe it is time trying Flex 2:
http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html

Benjamin.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday, October 21, 2006 3:09 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Flashcoders Digest, Vol 21, Issue 58

Hi list...

Can anyone recommend some links to eye catching Flash based corporate annual
reports?

Thanks,
- Michael M.


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

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


[Flashcoders] Is there a Flowchart Opensource Project based on Flash?

2006-10-22 Thread Jason Jiang
Hello, everyone,please tell me if there is a Flowchart project based on Flash 
to be used for development? Thanks!


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

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

Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread g . wygonik

I always forget that I posted my original EPS drawing experiments to my
lab site (i always forget that i have a lab site). You can check
http://lab.artificialcolors.com/index.php?id=2,0,0,1,0,0 for the Flash2EPS
experiment.

There's a sample SWF and a ZIP file with source. It's a little scattered but
there are some comments in there that should get you going if you want to go
this route. It does work and has been used in that awesome create a
snowflake app from years back, so it might work for you too. :-)

enjoy
g.

On 10/22/06, Josh Santangelo [EMAIL PROTECTED] wrote:


Josh Davis demonstrated how to do this at an old Flash Forward
conference. I don't remember the exact details, but it involved
printing the SWF as it was running to a Postscript printer driver,
but having the output save to a PS file rather than actually
printing. I'm sure the exact process is described on the web someplace.

-josh

On Oct 19, 2006, at 1:51p, Eric Lee wrote:

 Sorry, should've been a bit more specific --

 I have a swf that is dynamically generating vector data (placing movie
 clips, drawing lines, etc. according to predefined algorithms). I'm
 looking
 to export data generated from that swf to a vector format, and I
 don't think
 copy and paste works for this type of thing. Any recommendations?

 Thanks!
 -Eric
 ++




--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Is there a Flowchart Opensource Project based on Flash?

2006-10-22 Thread John Grden

have you checked over at www.osflash.org?

On 10/22/06, Jason Jiang [EMAIL PROTECTED] wrote:


Hello, everyone,please tell me if there is a Flowchart project based on
Flash to be used for development? Thanks!


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

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





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

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


Re: [Flashcoders] Is there a Flowchart Opensource Project based onFlash?

2006-10-22 Thread Jason Jiang
Thanks for your message! I have ever visited to there many times, but can't 
find out any I want. It is better if you offer me more details to check. Thanks 
for John.

Jason Jiang
- Original Message - 
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 23, 2006 9:48 AM
Subject: Re: [Flashcoders] Is there a Flowchart Opensource Project based 
onFlash?


 have you checked over at www.osflash.org?
 
 On 10/22/06, Jason Jiang [EMAIL PROTECTED] wrote:

 Hello, everyone,please tell me if there is a Flowchart project based on
 Flash to be used for development? Thanks!


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

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


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

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

RE: [Flashcoders] Q:Elementary Trig part 2

2006-10-22 Thread Pete Miller
Check your algebra,

Since sin(a) = y/r, then y = r sin(a), etc.

P.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Jayson K Hanes
 Sent: Sunday, October 22, 2006 7:42 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Q:Elementary Trig part 2
 
 Been awhile since I've explained this to anyone.. lets see how this
 goes!
 
 SOHCAHTOA (so-ca-toa)
 
 Sin(a) = opposite/hypotenuse
 Cos(a) = adjacent/hypotenuse
 Tan(a) = opposite/adjacent
 
 a = angle in RADIANS *not* degrees.. you'll have to convert degrees
to
 radians with knowing:
 
 ..there are PI (3.14159..) radians in 180 degrees (a fundamental),
thus:
 a = A*(PI/180), thus:
 a = 45*(3.14159/180) = .785 (roughly)
 
 Given r and angle=A degrees converted to a radians, r is the same as
the
 length of a basic triangles' hypotenuse in this -- we're looking for
x,y
 .. moving on:
 
 A=45 degrees but converted to a=.785 radians (approx).. we know that:
 
 r=10, and should know that:
 r=sqrt(x^2+y^2) (per Pythagoras theorem)
 
 so we're going to reverse format the SOH and CAH parts since we know
the
 length of the hypotenuse and need to find out x and y (the opposite
and
 adjacent sides' lengths) one at a time based on angle, a in radians:
 
 sin(a)=y/r, and,
 cos(a)=x/r, which translates to:
 
 y=sin(a)/r, and
 x=cos(a)/r, however:
 
 y=sin(a)/10, and
 x=cos(a)/10, thus:
 
 y=sin(.785)/10, and
 x=cos(.785)/10, thus:
 
 y=0.707/10 = 7.07 (roughly)
 x=0.707/10 = 7.07 (roughly)
 
 I think that should set you on you on track! Hope that helps :)
 
 -Jayson
 
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
  Sent: Sunday, October 22, 2006 3:11 PM
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] Q:Elementary Trig part 2
 
  Another way of stating my problem:
 
 
  Given an initial angle, and a circle with radius r, how do you
 determine
  the x,y coordinates of the point p1 on the circumference of this
  circle...assuming the circle's center is at 0,0.?
 
 
 
  [e] jbach at bitstream.ca
  [c] 416.668.0034
  [w] www.bitstream.ca
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 developer needed: Sydney, Australia.

2006-10-22 Thread Ryan Sabir
Hi all,
 
We have heaps of Flash work on these days, any can't seem to find anyone to do 
it. Are there any people on the list, preferably Sydney based, who are 
interested in short and/or long term contracts developing Flash apps? These 
range from simple games to complex RIAs.
 
Please send your details to [EMAIL PROTECTED]
 
thanks.
 
 
Ryan Sabir
Technical Director

p: (02) 9274 8030
f: (02) 9274 8099
m: 0411 512 454
w: www.newgency.comNewgency Pty Ltd
Web | Multimedia | eMarketing

224 Riley St
Surry Hills NSW 2010
Sydney, Australia


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

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