Re: [Flashcoders] Creating a SWF to dynamically create SWF';s

2006-10-04 Thread Adrian Ionut Beschea
Do you really have to embed the images inside the swf ? Isn't any way you can 
load them dynamically ? 

Generating swfs at runtime on the client side, I don't think it's posible.
You can check out Php Turbine 
http://www.blue-pacific.com/products/phpturbine/default.htm With it you can 
generate swf through php on the server. It works great. 

Gaia-Tek [EMAIL PROTECTED] wrote: Hi All,

My client has asked me to create a SWF that reads in some XML and generates
a course depending on the amount of questions images etc. in the XML.
They found out today that the XML with all the images comes to about 6MB -
so suddenly frightened by the implications of this, they've asked me if I
can develop a SWF, that when run, will generate the same content, but then
save the resultant SWF to a file, with all images, sound and questions
embedded in the new SWF - and then score back to the shell application as
well...

Is this even possible??

.NET is NOT an option...

Thanks...

Don

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

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



-
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: class name conflicts bug [Was: [Flashcoders] (no subject)]

2006-10-04 Thread Stephen Downs
I know this is an old message and an old enemy, but I though I'd  
share a workaround that seems to do the trick.


When I get these errors (and I know my code is clean), I just delete  
my classpath settings (Preferences  ActionScript  ActionScript 2.0  
Settings) and click OK. Then I reset the settings back the way they  
were, click OK, check syntax again and the problem is gone. You might  
have to throw in a Delete ASO Files command as well.


I'm working with properly packaged reverse domain name as files (com/ 
myco/category/file.as), so that probably makes a difference as well.


Steve



On 2006-07-06, at 2:27 AM, Adrian Park wrote:

I encountered this strange quirk recently as well. I found the most  
reliable
solution is to duplicate your project folder, open and recompile  
from that
folder, close and continue working from your original folder and  
everything

is fine (for a while)!

No amount of deleting ASO cache solves it (in fact, some say it  
compounds

the problem).

Here is an extensive outline of the problem which a) doesn't seem  
to provide

a solution (other than saying you can safely ignore the error) and b)
doesn't suggest how to prevent the problem arising.

http://ericlin2.tripod.com/as2/conflict.html

If anyone can shed any more light on how to prevent this quirk, I'd be
grateful.

HTH
A.

On 7/6/06, grimmwerks  [EMAIL PROTECTED] wrote:


Curious - can't figure out where there's a second example of the  
classes

floating around -- any suggestions?

**Error** C:\Documents and Settings\grimmwerks\Local Settings 
\Application

Data\Macromedia\Flash
8\en\Configuration\Classes\com\grimmwerks\bakery 
\NumericStepperCell.as:

Line
13: The name of this class,  
'com.grimmwerks.bakery.NumericStepperCell',

conflicts with the name of another class that was loaded, '
com.grimmwerks.bakery.NumericStepperCell'.
 class com.grimmwerks.bakery.NumericStepperCell extends  
UIComponent {

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

2006-10-04 Thread Nicolas Cannasse
Would be interesting to compare with recently released Screenweaver HX
(http://haxe.org/swhx).
 
 
 ...says one of the authors of Screenweaver HX.  Being a shill doesn't
 work unless you use a different name.  ;)

Steven. You're posting your self-made comparison proclaiming mProjector
as the uber-wrapper. I don't see any moral problem at pointing you at a
new - completely rewritten from scratch - version of ScreenWeaver so
that you can compare it as well.

Now I could come with my own comparison or selling points, but I guess
that would not be seen as something fair, so it's better to give links
to people so they can start making their own opinion. Depending on the
features needed by the end-user, there might not be one single
kill-them-all choice.

If you want to be impartial and be able to efficiently advise people
about projector wrappers, you should stop throwing random facts without
evaluating first other technologies. I'm in general quite reluctant to
listen to people calling crap! before they even had a look at a given
solution.

Finally, I've been working with Edwin on SWHX and while I can't say
about previous Screenweaver, I can ensure you about the code quality of
SWHX. And you know what ? You can check it by yourself by browsing
https://svn.motion-twin.com/haxeDesktop/swhx.
If you find any bug, please report it to us ;)

Nicolas


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

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


[Flashcoders] PDF's in flash

2006-10-04 Thread karim beyrouti
I remember seing a component, to output pdf's from flash... Anyone has the
link to it?...


Cheers



Karim

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

2006-10-04 Thread rishi
Tryout blazepdf.com

Regards
Rishi

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of karim
beyrouti
Sent: Wednesday, October 04, 2006 4:02 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] PDF's in flash

I remember seing a component, to output pdf's from flash... Anyone has
the
link to it?...


Cheers



Karim

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] [JOB] Flash developer, Cambridge, UK

2006-10-04 Thread Zárate

Hi guys,

The company I work for is looking to hire Flash developers as we have
a huge amount of work. We're based in Cambridge, UK and do
predominately e-learning applications. You can check out our website
http://www.tribalctad.co.uk for more info.

Main role: Flash developer. The level of your role will depend on
which of the following skills you can match (both freelance and
permanent roles are possible, though if you want to get the most out
of us you will need to be permanent).

You will need…

To be really fluent in AS2 + OOP.
Experience in *code* animation and rich interfaces,
Basic knowledge of most common OOP patterns (MVC, Factory, Singleton).

Ideally you should have experience with (or at least be willing to
learn) MTASC, SWFMill, Red5 or any other OS tool for Flash as we use
them in a daily basis.

Knowledge of any of the following technologies would be appreciated:

- *SCORM and related e-learning stuff *
- PHP
- JavaScript
- ZigoEngine and/or Fuse
- Versioning control (mostly SVN)
- CSS + HTML + standards
- C / Delphi / Java
- Mambo / Moodle

Any samples of your work would really help in the selection process. Including:

- Code samples. Don't need to compile, of course.
- del.icio.us / ma.gnolia / diigo or wherever you keep your bookmarks.
- Blogs and/or forums you participate in
- Links to any projects you're involved in

If you you're interested, please send an email to Juan Delgado
(juan.delgado [*] tribalctad.co.uk) with CV and your name in the
subject.

Thanks a lot
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [JOB] Flash developer, Cambridge, UK

2006-10-04 Thread Martin Wood



Zárate wrote:

Hi guys,

The company I work for is looking to hire Flash developers as we have
a huge amount of work. We're based in Cambridge, UK and do
predominately e-learning applications. You can check out our website
http://www.tribalctad.co.uk for more info.

Main role: Flash developer. The level of your role will depend on
which of the following skills you can match (both freelance and
permanent roles are possible, though if you want to get the most out
of us you will need to be permanent).


and do the freelancers have to be on-site or do you support remote workers?

thanks,

Martin

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [JOB] Flash developer, Cambridge, UK

2006-10-04 Thread Zárate

Ummm... I think we're open to all options but my feeling is that
on-site freelancers would be better. Anyway, if you feel you match the
requirements, please send your application, I'm sure we will look to
all of them :)

Thanks!

On 10/4/06, Martin Wood [EMAIL PROTECTED] wrote:



Zárate wrote:
 Hi guys,

 The company I work for is looking to hire Flash developers as we have
 a huge amount of work. We're based in Cambridge, UK and do
 predominately e-learning applications. You can check out our website
 http://www.tribalctad.co.uk for more info.

 Main role: Flash developer. The level of your role will depend on
 which of the following skills you can match (both freelance and
 permanent roles are possible, though if you want to get the most out
 of us you will need to be permanent).

and do the freelancers have to be on-site or do you support remote workers?

thanks,

Martin

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

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




--
Juan Delgado - Zárate
http://www.zarate.tv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Hough transform

2006-10-04 Thread dan
Hi guy's
Im tring something tht might work 
Heres the idea

Find the edge of a picture
And use the Hough transform to find the shape :)

Kinda stuck

Does anyone have a simple way to use the Hough transform?
10x


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Creating a SWF to dynamically create SWF';s

2006-10-04 Thread Merrill, Jason
Keep all images external and just reference them in the XML.  Then your
.swf is 50k or less, not 6MB.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Gaia-Tek
Sent: Tuesday, October 03, 2006 10:39 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Creating a SWF to dynamically create SWF';s

Hi All,

My client has asked me to create a SWF that reads in some XML and
generates
a course depending on the amount of questions images etc. in the XML.
They found out today that the XML with all the images comes to about
6MB -
so suddenly frightened by the implications of this, they've asked me
if I
can develop a SWF, that when run, will generate the same content, but
then
save the resultant SWF to a file, with all images, sound and questions
embedded in the new SWF - and then score back to the shell application
as
well...

Is this even possible??

.NET is NOT an option...

Thanks...

Don

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

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

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


RE: [Flashcoders] OT- subscribe to Flashcomm list

2006-10-04 Thread INK
The same story is here.
Doesn't working for me for two mounts or something.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Telmo Dias
Sent: Sunday, October 01, 2006 6:04 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT- subscribe to Flashcomm list

The list is off. You can see it by going there through HTTP.

http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

I even sent an e-mail to [EMAIL PROTECTED] but I don't 
think anyone received it...

:-(



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

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


RE: [Flashcoders] Creating a SWF to dynamically create SWF';s

2006-10-04 Thread Harald Kobler
Hi Don,

We have a product called Snapp MX that you can use to create Flash screens
that are stored as XML.  A Flash Runtime reads this XML and displays the
fully formatted screen to the end user.  No Actionscript coding is required.

Snapp MX is completely written in Flash on the presentation tier (including
the development environment).  To make life easy it also has a built-in Web
Service code generator that will create fully documented Java, C#, VB.NET or
ColdFusion code (PHP will be supported shortly).  The best part is that
there is a freeware version called Snapp MX Express.

I hope this helps.

Harald
www.snappmx.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gaia-Tek
Sent: Tuesday, October 03, 2006 8:39 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Creating a SWF to dynamically create SWF';s

Hi All,

My client has asked me to create a SWF that reads in some XML and generates
a course depending on the amount of questions images etc. in the XML.
They found out today that the XML with all the images comes to about 6MB -
so suddenly frightened by the implications of this, they've asked me if I
can develop a SWF, that when run, will generate the same content, but then
save the resultant SWF to a file, with all images, sound and questions
embedded in the new SWF - and then score back to the shell application as
well...

Is this even possible??

.NET is NOT an option...

Thanks...

Don

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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.407 / Virus Database: 268.12.12/461 - Release Date: 10/2/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] HTTP Statuscode 206 Partial content

2006-10-04 Thread Ron Wheeler
Given that you have 1 server, one communication line and http server 
knows all of this, there is not much point in trying to get 100 things 
happening at once. The http server may be the source of your problem 
since it may have some settings to limit the number of simultaneous 
requests from broken or malicious clients to prevent DOS attacks.
The Flash player's http layer may also be unhappy with so many 
simultaneous connections.


With today's technology, the communication link should be the bottleneck 
and trying to ram more bits down the internet link by having lots of 
contention will not get you very much.


Read them one at a time.

Ron

Josh Santangelo wrote:
If there are 100 SWFs being loaded, the first thing I would check is 
that you aren't issuing 100 loadMovies all at once. Limit it to 
something like 4 at a time and wait for one to complete before issuing 
the 5th.


-josh

On Oct 3, 2006, at 6:12 AM, SBJ Consult wrote:


Peter wrote:

HTTP 206 Partial Content and LoadMovie

This is a nasty bug, and a little arcane, but  I'd greatly appreciate 
any

help.

I have a flash application (created in Flash MX 2004, Actionscript 2.0,
saved as flash 6) which is loading a number of swfs (100 or so).  The 
SWFs

make up some character animations, and we kick many of them off
simultaneously. We then have a loader that flips through them 
checking if

they are loaded, and once they are all loaded, starts the application.

99.9% of the time it works fine, but every so often it hangs on the load
screen and never leaves.

I've only been able to confirm this happening in firefox, but one of our
testers claims it happened in IE as well.

I finally got some hard evidence was going on by looking at the headers
(courtesy of the cool livehttpheaders firefox extension).

An example is pasted in below (scroll to bottom), here's the order of
events:
-Flash app loads objects.swfs a couple times
-First GET request is met with a happy HTTP/1.x 200 OK
-Second GET request is met with not so happy HTTP/1.x 206 Partial 
Content


And that's it, stuff pretty much just stops after that, movie never 
finishes

loading, so presumably objects.swf is never really complete.

My theory is flash is part of the way through getting the first 
objects.swf
when it requests the second one, which results in turn in a PARTIAL 
CONTENT

request, which for some reason isn't working as advertised in this
situation.

QUESTIONS:
1. Is my theory right? If not, any other ideas?

2. I can think of two possible fixes:
-Switch to flash 7, use the MovieLoaderClass and use the onLoadError to
trigger an attempted reload of the swfs.  This would suck because the 
app is

working fine in flash 6 now otherwise.
-Tack ?foo= + Math.random() on the end of every swf load, so we get no
caching. Downside is we get no caching, and we are loading a lot of swfs
repeatedly.
Anyone got any other bright ideas?

I'd GREATLY appreciate any help or advice!

_peter

206 Partial Content should mean either the file can not be completely
downloaded because it is still being uploaded or the web server or file
system is being overloaded and does not have the resources to access the
entire file. Hows the server load? What do the web server error logs 
say?

Are you using a PHP script to serve the file (I noticed the PHPSESSID)?
If so is it getting overloaded or not handling file locks properly?

I know this all sounds like stuff that should effect all browsers but
sometimes it's just timing and also how different browsers handle
different situations and errors.


-=- RuneImp
ImpTech - Web Design  Hosting







I have found the same problem getting HTTP statuscode 206 Partial 
Content

and the flash / movie is stopping before end.

My datacenter could not help me. Is there any answer to the above 
mentioned

issues.



Thanks in advance



Søren







Med venlig hilsen



Søren Bjarne Jensen

SBJ Consult ApS



Vivaldisvej 111, 9200  Aalborg SV

Telefon: 98 13 92 70

Email: [EMAIL PROTECTED]

www.sbjconsult.dk



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

[Flashcoders] printing in higher resolution than 72dpi with printAsBitmap

2006-10-04 Thread Tom Versweyveld
Is it at all possible to print a movieclip (wich has alpha and mask effects,
so printAsBitmap is needed), on a higher resolution than 72dpi. 

By this I mean, when the movieclip contains a  1000x1000px jpg, which is
scaled to 100x100px, how can the jpg be printed to its full potential of
1000x1000px, and not be printed as 100x100px mosaic.

 

Anybody got any experience with this.?

 

Grtz,

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] Creating a SWF to dynamically create SWF';s

2006-10-04 Thread Robert r. Sanders
I don't see how a generated SWF is going to be much smaller than the 
source (I could be wrong). 

As long as the files can load incrementally I don't see that the 6MB is 
too huge a problem; if you try to load it all in one go it would be, but 
if a reasonably sized XML is read in and then your images are read as 
needed it shouldn't be too much of a problem.


You could also look into some of the wrappers for actionscript draw 
commands - if some of the images are mostly shapes and text then maybe 
they could be represented as xml and drawn at run time (or loaded a 
sub-SWFs); this could potentially save space, as the same draw routines 
could be re-used vs. having tons of different but similar images.





My client has asked me to create a SWF that reads in some XML and generates
a course depending on the amount of questions images etc. in the XML.
They found out today that the XML with all the images comes to about 6MB -
so suddenly frightened by the implications of this, they've asked me if I
can develop a SWF, that when run, will generate the same content, but then
save the resultant SWF to a file, with all images, sound and questions
embedded in the new SWF - and then score back to the shell application as
well...

Is this even possible??

.NET is NOT an option...

Thanks...

Don

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

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

  

--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.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] Creating a SWF to dynamically create SWF';s

2006-10-04 Thread Merrill, Jason
6MB is insane for a .swf if you can keep the media external.  Why can
the media not be external to the .swf?

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Robert r. Sanders
Sent: Wednesday, October 04, 2006 1:49 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Creating a SWF to dynamically create SWF';s

I don't see how a generated SWF is going to be much smaller than the
source (I could be wrong).

As long as the files can load incrementally I don't see that the 6MB
is
too huge a problem; if you try to load it all in one go it would be,
but
if a reasonably sized XML is read in and then your images are read as
needed it shouldn't be too much of a problem.

You could also look into some of the wrappers for actionscript draw
commands - if some of the images are mostly shapes and text then maybe
they could be represented as xml and drawn at run time (or loaded a
sub-SWFs); this could potentially save space, as the same draw
routines
could be re-used vs. having tons of different but similar images.



 My client has asked me to create a SWF that reads in some XML and
generates
 a course depending on the amount of questions images etc. in the
XML.
 They found out today that the XML with all the images comes to about
6MB -
 so suddenly frightened by the implications of this, they've asked me
if I
 can develop a SWF, that when run, will generate the same content,
but then
 save the resultant SWF to a file, with all images, sound and
questions
 embedded in the new SWF - and then score back to the shell
application as
 well...

 Is this even possible??

 .NET is NOT an option...

 Thanks...

 Don

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

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


--
Robert r. Sanders
Chief Technologist
iPOV
(334) 821-5412
www.ipov.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] Date Format Time Zone Issues

2006-10-04 Thread Kevin Bachman
I hope someone here has run into this strange problem I am having. Using
a remoting call to a ColdFusion web service, I am returning a recordset
from my SQL database for use in my Flash application. One field in the
recordset is a datetime field type returning a date in the format
'2006-10-04 00:00:00.0' as an example. In my actionscript, I am parsing
this value to format it for display:

 

Var datestring = dayArray[result.items[i][date].getDay()] +   + 

monthArray[result.items[i][ date].getMonth()] +   + 

result.items[i][ date].getDate() + , +   + 

result.items[i][ date].getFullYear()

 

Where dayArray and monthArray are predefined

 

This displays perfectly as 'Wednesday October 4, 2006'. However, we and
our web and database server are on the east coast and we have recently
found that users with computers set to Pacific Time are getting the date
displayed 1 day earlier, 'Tuesday October 3, 2006'. I have replicated
this by setting the timezone on my own computer to Pacific Time. I have
also checked and double checked the web service return before it gets to
the Flash application and it is definitely returning the correct dates.
There should not be any time zone handling using these functions a it is
just a simple value coming directly from the database field. Has anyone
run into a date problem such as this? I am at a loss. 

 

Thanks in advance!!

 

Kevin Bachman
Senior Developer

ActiveGroup 
3720 DaVinci Court, Suite 100 
Norcross, GA 30092 
678.405.1197
www.activegroup.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] OT- subscribe to Flashcomm list

2006-10-04 Thread greg h

fyi ... Following was posted a week ago on the
bloghttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialistover
at
flashcomguru.com:

September 27, 2006
Alternative Mailing List for Flashcom and Flash
Videohttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialist

After I have been receiving many emails on a daily basis from people asking
me what has happened to chattyfig's flashcomm
listhttp://chattyfig.figleaf.com/mailman/listinfo/flashcommI want to
remind everyone about the existence of the Flash
Media List http://www.flashcomguru.com/flashmedialist/.

It's not as popular as chattyfig but around 200 people are signed up
already. You're welcome to
subscribehttp://www.flashcomguru.com/flashmedialist/and ask
questions related to Flash Media Server, Flash Video and the like -
or simply have a chat and say hello.

I don't want to encourage anyone to leave chattyfig's flashcomm list but
maybe this list offers an alternative until figleaf can fix their database
problems http://blog.owenvandijk.nl/2006/09/flashcomm_updat.html, which
will hopefully be soon.

You can subscribe to the Flash Media
Listhttp://www.flashcomguru.com/flashmedialist/here:
http://www.flashcomguru.com/flashmedialist/

** END CUT AND PASTE OF BLOG POST **

fwiw, some members of the Flash Media Server team (Asa Whillock and Steve
Wolkoff) are now on the Flash Media
Listhttp://www.flashcomguru.com/flashmedialist/and have posted
there.

hth,

g


On 10/4/06, INK [EMAIL PROTECTED] wrote:


The same story is here.
Doesn't working for me for two mounts or something.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Telmo Dias
Sent: Sunday, October 01, 2006 6:04 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT- subscribe to Flashcomm list

The list is off. You can see it by going there through HTTP.

http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

I even sent an e-mail to [EMAIL PROTECTED] but I don't
think anyone received it...

:-(


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

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


RE: [Flashcoders] VitalStream Bandwidth detection

2006-10-04 Thread Rob Bayne
looks like bwcheck to me. i'd just use p_bw in a condition where p_bw is 
detected bandwidth.

if p_bw is less than than x play stream1, else if p_bw is greater than x and 
less than y play stream2, else play stream3. 
ie. stream1=56kbps; stream2=150kbps; stream3=300kbps;

i usually run the bwcheck on an interval several times and get an average bw 
figure to go by and even dynamically change streams-- you can do it seemlessly 
by bookmarking ns.time and seeking to it once new stream has loaded.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian
Weil
Sent: Tuesday, October 03, 2006 12:38 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] VitalStream Bandwidth detection


Does anybody have code to detect users bandwidth on VitalStream? I'm using
the custom player source provided by vitalstream but it only works with
single bitrate streams. When I try to use a multi bitrate stream as the
sname parameter in the m_XMLURI string the player fails. Looking through the
source code I found some clues as to why it is not working, but don't have a
lot of time to debug the code and find the solution. I've been working with
VitalStream support on this and they are no help at all. They sent me links
to an irrelevent adobe tutorial as their solution.

Here is a fragment of code from that player that hints about bandwith
detection but also says it is not used?!!?

[code]
//the server calls this object to continue (auto bandwidth detection is
complete)
this[nc+i].onBWDone = function(p_bw) {
trace(onBWDone: +p_bw);
//we pass the successful netConnection and the
calculated bandwidth speed to
// the onconnected function to continue
this.mc.onConnected(this, p_bw);
};
m_payload = 0;
//this function is not currently used; it is for checking
bandwidth speed
// initiated by the server
this[nc+i].onBWCheck = function() {
trace(onBWCheck returning:
+(this.mc.m_payload+1));
return ++this.mc.m_payload;
};
[/code]

So my question is: Does anybody have a working (multi-bitrate streams)
example of a video player for the VitalStream content delivery system? They
have players that work with multi-bitrate streams in .swf format but do not
release the flv source for those players. 

Any help would be appreciated. A working .fla example would be priceless!

Thanks,
Brian


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

2006-10-04 Thread Doug Coning
Does anyone know of a flash component that allows direct connectivity
between flash and an ODBC source?  Is this an impossibility?  I know
that I could probably write a web service to pull the data, but wanted
to see if there was a component that allows me to point to any odbc data
source and then pass in the sql query?  I imagine this is not possible,
but thought I'd ask before ruling it out.  

Thanks,

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

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


[Flashcoders] [JOB] Flash Developer | NYC | 50/hour

2006-10-04 Thread Beau Gould
Flash Developer | NYC | 50/hour

Location: New York City (on-site)
Duration: 2 months
Rate: 50/hour

We need someone who lives Actionscript and breathes creativity. This is
an amazing opportunity to work with a great team and develop high-
profile projects. The nature of the projects range from micro sites and
rich media banners to integrating 3D elements into online Flash games.
The projects are equally interesting as they are challenging. Developers
looking for a chance to develop unique and demanding solutions are ideal
candidates. 

Technical Requirements: 
- Actionscript (AS2 and understading of OOP principles essential) 
- XHTML and CSS 
- Database integration 
- Working knowledge of PHP and mySQL a plus 

We have a very down-to-earth and self-motivated attitude, so the ability
to work in a team is a must. The position will give you immediate access
to our deep pool of creative talent. Good communication skills are key. 

Technically the position requires the ability to code in Actionscript,
XHTML and CSS. Experience using AS2 and and understanding of OOP
principles is essential. Database integration experience is a must.
Working knowledge in PHP and mySQL is a plus. 

If you are interested in this contract opportunity and are a tri-state
(NY, NJ, CT) resident, please submit your resume and/or portfolio,
hourly requirements, and a paragraph (or two) highlighting your
skills/experience as it pertains to this job to
[EMAIL PROTECTED]

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

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


RE: [Flashcoders] [JOB] Flash Developer | NYC | 50/hour

2006-10-04 Thread Steven Sacks | BLITZ
Isn't $50/hr kind of low for a senior level contract in the most
expensive place to live in the country?

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

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


[Flashcoders] xical-like project

2006-10-04 Thread Andrei Thomaz

hello list,

I need to create a lot of presentations. They are very simple, so I guess I
can use Xical to make that. But I would like to ask you if there are more
projects like Xical, that can read a XML, load assets (images and sounds)
and show a slideshow, with some basic animations.

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

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


[Flashcoders] Find point after rotation

2006-10-04 Thread Jason C Reynolds
Hi, having some math problems... hoping someone can help

Lets say I have a rectangle (height  width). I need to know the bottom middle 
point. That would be point(clipWidth / 2, clipHeight).
But I am having a hard time keeping track of this point after I rotate that 
clip. If I rotate the clip 40 degrees (clip._rotation = -40), where on the 
stage is that bottom middle point now?

I have searched the forums, and came up with alot of finding the angles, but 
all seem to assume I know 2 points.
Closest I've gotten is using:
x=ClipWidth / 2 + Math.cos(angle)
y=ClipWidth / 2 - Math.sin(angle)

Sorry, I'm s rusty with math and hoping someone can push me in the right 
direction. Right now I'm trying to figure out the radius of the 'circle' that 
is formed while rotating, but that isn't going anywhere (fast anway).

Thanks for any tips,
Jason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 point after rotation

2006-10-04 Thread Steven Sacks | BLITZ
The _width and _height change based on the rotation so don't use the
stored _width and _height and instead use the current _width and
_height.

That is, unless you're trying to keep track of that exact point on the
rectangle after you rotate it, then that's something more complex.

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

2006-10-04 Thread Arva, Adrian

the easiest way to get your task done is to attach in that point an mc
After rotation ,you get localToGlobal coords for it

-Original Message-
From: [EMAIL PROTECTED] on behalf of Jason C Reynolds
Sent: Wed 10/4/2006 6:08 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Find point after rotation
 
Thanks for the response,
Yes, I'm trying to keep track of the exact point on the rectangle after it's 
rotated... any advice?

- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 04, 2006 4:59 PM
Subject: RE: [Flashcoders] Find point after rotation


The _width and _height change based on the rotation so don't use the
stored _width and _height and instead use the current _width and
_height.

That is, unless you're trying to keep track of that exact point on the
rectangle after you rotate it, then that's something more complex.

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

2006-10-04 Thread Mark Winterhalder

Lets say I have a rectangle (height  width). I need to know the bottom middle 
point. That would be point(clipWidth / 2, clipHeight).


So we'll say:
var x = clipWidth / 2;
var y = clipHeight;


Closest I've gotten is using:
x=ClipWidth / 2 + Math.cos(angle)
y=ClipWidth / 2 - Math.sin(angle)


That's pretty close already -- it's what you would use to draw a
circle (by iterating the angle and connecting the resulting dots).

What you need is those two values:
var cos = Math.cos( angle );
var sin = Math.sin( angle );

Then do the following with x and y from above (your vector for the
rotation matrix):
var rotX = cos * x - sin * y;
var rotY = sin * x + cos * y;

rotX and rotY are your coordinates (relative to the rectangle clip's
position on its parent clip).

One more thing:
_rotation is stored as one byte, so it's rounded to 360 / 255. That's
something you will have to take in account for the angle if you want
to be exact, easiest would be to read the angle from the _rotation
property after you've changed that.

HTH,
Mark




On 10/4/06, Jason C Reynolds [EMAIL PROTECTED] wrote:

Hi, having some math problems... hoping someone can help

Lets say I have a rectangle (height  width). I need to know the bottom middle 
point. That would be point(clipWidth / 2, clipHeight).
But I am having a hard time keeping track of this point after I rotate that 
clip. If I rotate the clip 40 degrees (clip._rotation = -40), where on the 
stage is that bottom middle point now?

I have searched the forums, and came up with alot of finding the angles, but 
all seem to assume I know 2 points.
Closest I've gotten is using:
x=ClipWidth / 2 + Math.cos(angle)
y=ClipWidth / 2 - Math.sin(angle)

Sorry, I'm s rusty with math and hoping someone can push me in the right 
direction. Right now I'm trying to figure out the radius of the 'circle' that 
is formed while rotating, but that isn't going anywhere (fast anway).

Thanks for any tips,
Jason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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: RE: [Flashcoders] [JOB] Flash Developer | NYC | 50/hour

2006-10-04 Thread stefan burt

I would agree that amount of money sucks for the level of experience
you asking for, I'm sure you'll probably get someone but they would
still be eating mac and cheese for their effort.

On 10/4/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

Isn't $50/hr kind of low for a senior level contract in the most
expensive place to live in the country?

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

2006-10-04 Thread l u c h y x

Yesss it here.! now available.
Detailed example here  http://www.riaevolution.com/blog/?p=44



--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Flash Player 9 FullScreen Mode

2006-10-04 Thread Bjorn Schultheiss
There's got to be a few implications about this.
Imagine the new generation of full screen banner ads, nasty. 


Regards,
 
Bjorn Schultheiss


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of l u c h y x
Sent: Thursday, 5 October 2006 11:47 AM
To: The haXe compiler list; Flashcoders mailing list
Subject: [Flashcoders] Flash Player 9  FullScreen Mode

Yesss it here.! now available.
Detailed example here  http://www.riaevolution.com/blog/?p=44



-- 
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 Player 9 FullScreen Mode

2006-10-04 Thread l u c h y x

Loll .. yes it's true.
A trusted fullscreen site settings panel will help, I think.
:P

On 10/4/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:


There's got to be a few implications about this.
Imagine the new generation of full screen banner ads, nasty.


Regards,

Bjorn Schultheiss


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of l u c h y
x
Sent: Thursday, 5 October 2006 11:47 AM
To: The haXe compiler list; Flashcoders mailing list
Subject: [Flashcoders] Flash Player 9  FullScreen Mode

Yesss it here.! now available.
Detailed example here  http://www.riaevolution.com/blog/?p=44



--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 point after rotation

2006-10-04 Thread Zeh Fernando
orry, I'm s rusty with math and hoping someone can push me in the 
right

direction. Right now I'm trying to figure out the radius of the 'circle'
that is formed while rotating, but that isn't going anywhere (fast anway).


Just to kinda repeat what everybody has said -- 

You could easily find the angle of that point, rotate it a few more degrees, 
find the right X/Y and be done with it. Using flash.geom.Point would make it 
a snap.


However, when rotating movieclips, there's the problem of precision like 
Mark said. Sometimes this won't matter, and sometimes this will be utterly 
important. I had a lot of issues with that on agenciatudo.com: the movement 
is done based on a given destination point and was snapping too much) 
until I realized the rotation's degree of precision was messing with my 
camera angles (which were 'correctly' set based on another of the image's 
axis. Since the image is pretty big (3000x1600) it was pretty messy.


Because of this, your *best* choice is to make a new point using the 
coordinates of your movieclip, doing a localToGlobal on it from the original 
movieclip, then a globalToLocal on whichever scope you wanted the 
coordinates to be. That's what I've done on my case and it worked perfectly. 
In your case, it'd be something like this:


 import flash.geom.Point;
 var p:Point = new Point(clipWidth / 2, clipHeight);
 this.myMC.localToGlobal(p);
 this.globalToLocal(p);

Then p.x and p.y will have the new coordinates.

Really, localToGlobal/globalToLocal saves *a lot* of time and avoids a lot 
of headache.



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


RE: [Flashcoders] Flash Player 9 FullScreen Mode

2006-10-04 Thread Bjorn Schultheiss
There will have to be ??

I propose a test what happens when launching 20 banners ads all fighting for
fullscreen,
In windows are you able to alt+tab between fullscreen swf's?


Regards,
 
Bjorn Schultheiss


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of l u c h y x
Sent: Thursday, 5 October 2006 12:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Player 9  FullScreen Mode

Loll .. yes it's true.
A trusted fullscreen site settings panel will help, I think.
:P

On 10/4/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:

 There's got to be a few implications about this.
 Imagine the new generation of full screen banner ads, nasty.


 Regards,

 Bjorn Schultheiss


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of l u c 
 h y x
 Sent: Thursday, 5 October 2006 11:47 AM
 To: The haXe compiler list; Flashcoders mailing list
 Subject: [Flashcoders] Flash Player 9  FullScreen Mode

 Yesss it here.! now available.
 Detailed example here  http://www.riaevolution.com/blog/?p=44



 --
 l   u   c   h   y   x
 r i a e v o l u t i o n (r)
 [EMAIL PROTECTED]
 http://www.riaevolution.com
 Phone: +54 (11) 4931-7006
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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




-- 
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 Player 9 FullScreen Mode

2006-10-04 Thread l u c h y x

If you hit ALT+TAB the SWF restore the state to NORMAL_MODE

On 10/5/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:


There will have to be ??

I propose a test what happens when launching 20 banners ads all fighting
for
fullscreen,
In windows are you able to alt+tab between fullscreen swf's?


Regards,

Bjorn Schultheiss


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of l u c h y
x
Sent: Thursday, 5 October 2006 12:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Player 9  FullScreen Mode

Loll .. yes it's true.
A trusted fullscreen site settings panel will help, I think.
:P

On 10/4/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:

 There's got to be a few implications about this.
 Imagine the new generation of full screen banner ads, nasty.


 Regards,

 Bjorn Schultheiss


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of l u c
 h y x
 Sent: Thursday, 5 October 2006 11:47 AM
 To: The haXe compiler list; Flashcoders mailing list
 Subject: [Flashcoders] Flash Player 9  FullScreen Mode

 Yesss it here.! now available.
 Detailed example here  http://www.riaevolution.com/blog/?p=44



 --
 l   u   c   h   y   x
 r i a e v o l u t i o n (r)
 [EMAIL PROTECTED]
 http://www.riaevolution.com
 Phone: +54 (11) 4931-7006
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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




--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Player 9 FullScreen Mode

2006-10-04 Thread Zeh Fernando

There will have to be ??
I propose a test what happens when launching 20 banners ads all fighting 
for

fullscreen,
In windows are you able to alt+tab between fullscreen swf's?


Well, this is a huge can of worms.

Thankfully, there's this:

-8-8-8-8-8-8-8-8-8-

End-user security was a key consideration in the implementation of this 
feature, and developers need to understand the following end-user, 
security-related restrictions and design content accordingly:
 a.. To enable full-screen mode, developers must add a new object and 
embed tag parameter, allowFullScreen, to their HTML. This parameter 
defaults to false, or not allowing full screen. To allow full-screen, 
developers must set allowFullScreen to true in their object/embed tags.
 b.. An overlay dialog box will appear when the movie enters full-screen 
mode, instructing the user how to exit and return to normal mode. The dialog 
box appears for a few seconds and then fades out.
 c.. The ActionScript that initiates full-screen mode can be called only in 
response to a mouse click or keypress. If it is called in other situations, 
it will be ignored (in ActionScript 2.0) or throw an exception (in 
ActionScript 3.0).
 d.. Users cannot enter text in text input fields while in full-screen 
mode. All keyboard input and key-related ActionScript is disabled while in 
full-screen mode, with the exception of the keyboard shortcuts that take the 
viewer out of full-screen mode.

-8-8-8-8-8-8-8-8-8-

Pretty cool, I just find it weird that the user can't input text while in 
full screen mode. Probably to avoid browser hijackers, but still wack.


Source:
http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode 


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

2006-10-04 Thread Jack Doyle
Pick up a copy of Foundation ActionScript Animation: Making Things Move!
by Keith Peters. Best $26.39 (at Amazon.com) you'll ever spend. The answer
to your question (and a bunch more you never knew you had) is in that book. 

Jack

--
Date: Wed, 4 Oct 2006 16:55:45 -0500
From: Jason C Reynolds [EMAIL PROTECTED]
Subject: [Flashcoders] Find point after rotation

Hi, having some math problems... hoping someone can help

Lets say I have a rectangle (height  width). I need to know the bottom
middle point. That would be point(clipWidth / 2, clipHeight).
But I am having a hard time keeping track of this point after I rotate that
clip. If I rotate the clip 40 degrees (clip._rotation = -40), where on the
stage is that bottom middle point now?

I have searched the forums, and came up with alot of finding the angles, but
all seem to assume I know 2 points.
Closest I've gotten is using:
x=ClipWidth / 2 + Math.cos(angle)
y=ClipWidth / 2 - Math.sin(angle)

Sorry, I'm s rusty with math and hoping someone can push me in the right
direction. Right now I'm trying to figure out the radius of the 'circle'
that is formed while rotating, but that isn't going anywhere (fast anway).

Thanks for any tips,
Jason




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

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