Re: [Flashcoders] Array Limit

2011-08-04 Thread Pedro Taranto
you should consider to use a linked list

--
Pedro Taranto


On Thu, Aug 4, 2011 at 4:26 AM, Kerry Thompson al...@cyberiantiger.bizwrote:

 Deepak Sahu wrote:

  consider a vector..its faster than array.

 It is. There are a couple of essential differences you should know of.
 Primarily, all the elements of the vector need to be of the same type.
 I think it will work with objects.

 The other difference is that you can't have empty elements in a
 vector. This is perfectly legal for an array:

 arr[0] = 0;
 arr[1] = 1;
 arr[100] = 100;

 You have 99 empty elements in that array--that is, there is nothing in
 arr[2]...arr[99].

 You can't do that with a vector. I think the compiler will throw an
 error. If not, you'll get an error at runtime.

 Cordially,

 Kerry Thompson
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash On The Beach 2010

2010-09-20 Thread Pedro Taranto

 Me too

--
Pedro Taranto


On 20/09/2010 08:13, Cor wrote:

Yes, I am.

Groeten,
Cor van Dooren
www.codobyte.com
--
  There are only 10 types of people in the world:
Those who understand binary and those who don't.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Hunter
Sent: maandag 20 september 2010 12:58
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash On The Beach 2010


Anyone going to Flash On The Beach next week in Brighton?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.851 / Virusdatabase: 271.1.1/3142 - datum van uitgifte: 09/17/10
20:34:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sprite alpha

2010-01-25 Thread Pedro Taranto

if you are using AS3, the alpha value range is 0-1
in AS2 its 0-100

--
Pedro Taranto


Paul Andrews wrote:

I have a bit of an oddity with a sprite alpha.

At alpha=0.0 - invisible
At any other alpha it's full on.

Anyone else seen this?

Things are a bit frantic just now, so I have little time to experiment 
to see what the problem is.


Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Duplicate multiple lines in FlashDevelop?

2009-08-18 Thread Pedro Taranto
don't know about multiple lines, but to duplicate a simple line just use 
CTRL+D


--
Pedro Taranto


Joel Stransky wrote:

Anyone know how? Like if I want to dupe an entire function sig.

  

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Disabling Print Screen key

2008-10-24 Thread Pedro Taranto
Thanks for remember that Jim, I forgot to say that it just worked on windows
in my tests it didnt work on linux nor mac, but it was OK for the project I
developed

but you have to remember that the user wont be able to copy anything while
your flash is running, even in the background

--
Pedro Taranto


On Fri, Oct 24, 2008 at 1:37 PM, Jim McIntyre [EMAIL PROTECTED] wrote:

 If you have any Macs in your target audience, remember that the OS's screen
 capture routine doesn't involve the clipboard, but creates a PNG file
 directly on the desktop.

 Remember too that there is a variety of screen grab utilities out there on
 either platform... this might be a losing battle.

 -Jim

 Pedro Taranto wrote:

 In AS2 I used to create an onEnterFrame loop to overwrite the clipboard
 content using the System.setClipboard(string) function, it still works in
 AS3

 Bests,

 --
 Pedro Taranto


 Andrew Murphy wrote:

 Hi. :)

 I'm attempting to disable using the Print Screen button for an AS3 movie
 on
 a web page.  The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN
 when
 the Print Screen key is pressed.

 Is there a way to detect the Print Screen key?  Or another method for
 disabling the user's ability to do a Print Screen screen cap of a Flash
 movie?

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Disabling Print Screen key

2008-10-23 Thread Pedro Taranto
In AS2 I used to create an onEnterFrame loop to overwrite the clipboard 
content using the System.setClipboard(string) function, it still works 
in AS3


Bests,

--
Pedro Taranto


Andrew Murphy wrote:

Hi. :)

I'm attempting to disable using the Print Screen button for an AS3 movie on
a web page.  The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when
the Print Screen key is pressed.

Is there a way to detect the Print Screen key?  Or another method for
disabling the user's ability to do a Print Screen screen cap of a Flash
movie?



Andrew Murphy
Interactive Media Specialist
[EMAIL PROTECTED]

Delvinia
214 King Street West, Suite 214 
Toronto Canada M5H 3S6


P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com

CONFIDENTIALITY NOTICE
This email message may contain privileged or confidential information. If
you are not the intended recipient or received this communication by error,
please notify the sender and delete the message without copying or
disclosing it.

AVIS DE CONFIDENTIALITÉ
Ce message peut contenir de l'information légalement privilégiée ou
confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
détruire le contenu sans le communiquer a d'autres ou le reproduire.



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Tutorials for AS3 for beginners

2008-07-18 Thread Pedro Taranto
The Learning ActionScript 3.0 by Rich Shupe and Zevan Rosser is a very good
book
http://www.learningactionscript3.com/

--
Pedro Taranto


On Fri, Jul 18, 2008 at 12:18 PM, Cor [EMAIL PROTECTED] wrote:

 I think AS2 is not compairable with AS3.
 But I can surely recommend Essential Actionscript 3.0 of Moock and
 Actionscript Cookbook of Lott, Schall  Peters.
 Both can be find ar O Reilly

 HTH

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Paul Jinks
 Sent: vrijdag 18 juli 2008 17:08
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Tutorials for AS3 for beginners

 I'm looking for a tutorial/book on AS3. I have some knowledge of AS2 and
 rather more of JavaScript and would like to set about learning AS3 in a
 fairly systematic way. Any recommendations?

 TIA

 Paul


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 Frameworks for Game Development

2008-06-23 Thread Pedro Taranto
- GameDataStructure: http://code.google.com/p/as3ds/
- Lowra: http://code.google.com/p/lowra/

--
Pedro Taranto


On Mon, Jun 23, 2008 at 1:59 PM, August Gresens 
[EMAIL PROTECTED] wrote:

 Hello

 Wondering what is out there as far as open source (or otherwise) AS3
 frameworks for Game Development.

 Looking for something that works for desktop and web based apps.

 I'm looking for something like AS-HIVE (which doesn't seem too active right
 now), with support for:

 * state/navigation management
 * asset management
 * IOC container for object initialization (ideally)
 * modality (dialogs)
 * patterns for event handling

 What are peeps using for this type of thing? I want to make sure nothing
 exists before I write my own thing.

 Note: PureMVC looks interesting but seems more geared toward a data
 driven/server integrated project - RIA. Am I right about that or do people
 also use that for games?

 Thanks,

 August

 --
 -
 

 August Gresens
 Technical Director
 Black Hammer Productions, NYC
 [EMAIL PROTECTED]

 -
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] random char

2008-04-29 Thread Pedro Taranto
you can download the code, why dont you port it to AS2?

--
Pedro Taranto


On Tue, Apr 29, 2008 at 5:53 PM, Corban Baxter [EMAIL PROTECTED] wrote:

 hey guys I'm looking for a little help with doing something similar to
 this:
 http://www.zeuslabs.us/2008/01/17/source-code-for-custom-textfields-with-cool-effects/.
 ..
 but in AS2. Can someone point me in the right direction? thanks!

 --
 Corban Baxter
 http://www.projectx4.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Moock TileMap/TileSet/TileMapRenderer

2008-04-10 Thread Pedro Taranto
there is a as3 version, but its not completed: 
http://www.tonypa.pri.ee/tbw/as3/index.html


--
Pedro Taranto
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash8 Question

2008-03-30 Thread Pedro Taranto

laurent wrote:
If I remember right you must create a Color object for your mac, then 
use color method setRGB to change the mc's tint to the hexadecimal you 
want:


var c:Color = new Color( yourMC );
c.setRGB( 0xff );

L


Ibrahim Y a écrit :

Hello folks,
I have the following case,
I have a lot of movie clips, they have a lot of effect separately (i.e.
each movieclip has it's own effect on hover, on press ...etc) most 
effect

implemented in design not in code.
what I want to ask about, most movie clips have on hover effect that 
change
it's color to orange, is there a way in code that can change this 
property

to red for example instead change this effect for each movie clip.

Thanks.
Ibrahim
Color class is deprecated, you should use ColorTransform and Tranform 
classes


ex:

var myTransform : Transform = new Transform(myMc);
var myColor : ColorTransform = new ColorTransform();
myColor.rgb = 0x262626;

//apply the color
myMc.colorTransform = myColor;

--
Pedro Taranto
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash8 Question - contrast transform

2008-03-30 Thread Pedro Taranto

laurent wrote:

Hm...I should play with colors again.

How do we change the contrast or brightness of a color ? using HSV ?? 
or is there a straight way using colorTransformin AS3 or AS2.


thx
L


you should apply some BitmapFilter

--
Pedro Taranto
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] L'index indiqué sort des limites....something like, index out of range or out of limit

2008-03-30 Thread Pedro Taranto

laurent wrote:

What does it means ?

I add a movieClip to another one using addChildAt.

I specify the level 10 to keep some space if I want to easily add 
another mc between 0 and 10.
But perhpas I must add a child to next highest depth that there's 
always a displayObject at any depth between 0 an 10.


Or is it coming from something else ?

thx
L
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



in AS3 you cant have spaces between depths, only in as2
http://www.emanueleferonato.com/2008/03/29/understanding-howas3-manages-depths/

--
Pedro Taranto
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-16 Thread Pedro Taranto
look at osflash.org and code.google.com

--
Pedro Taranto


On Sun, Mar 16, 2008 at 7:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote:

 Hi coders

 I want to start coding with frameworks and classes like TweenLite. I would
 be pretty new at it, so i'd like you to recommend me some of them that
 makes
 flash coding easier or faster and improving performence.

 Thanks

 --
 Pedro D.K.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-16 Thread Pedro Taranto
what are the 'best' framework/classes is very subjective, there isnt an
UNIQUE framework that will solve all your problems

you have to choose and use the ones that speed up your workflow

In most of my projects I use pixlib (as2) and lowra (as3), but there are a
lot of frameworks that is better in each case

you should try all of them and use the one you feel more confortable to use,
maybe try to do the same thing using differents frameworks that have the
same purpose/focus:

for example:
Tweener vs TweenLite vs
Papervision3D vs Sandy vs Away3D
..

--
Pedro Taranto


On Sun, Mar 16, 2008 at 8:57 PM, Pedro Kostelec [EMAIL PROTECTED] wrote:

 If I start searching this two sites (which i did once) i will fill my
 computer with stuff i will surely never use. I just want to get the best
 ones, the most used...which for a curious person like me is impossible.

 So, can't you just tell which one are the best? I mean i am mostly using
 fLASH  for as3 motion.

 On Sun, Mar 16, 2008 at 11:58 PM, Pedro Taranto [EMAIL PROTECTED]
 wrote:

  look at osflash.org and code.google.com
 
  --
  Pedro Taranto
 
 
  On Sun, Mar 16, 2008 at 7:36 PM, Pedro Kostelec [EMAIL PROTECTED]
  wrote:
 
   Hi coders
  
   I want to start coding with frameworks and classes like TweenLite. I
  would
   be pretty new at it, so i'd like you to recommend me some of them that
   makes
   flash coding easier or faster and improving performence.
  
   Thanks
  
   --
   Pedro D.K.
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 Pedro D.K.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] exit screen button script

2007-09-17 Thread Pedro Taranto

fscommand(quit); //to close the projector

--
Pedro Taranto

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 version of the ol' dynamically-created constructor trick?

2007-09-05 Thread Pedro Taranto

you can use:

var classRef:Class = getDefinitionByName(MyClassNmae) as Class;
var myInstance:* = new classRef();

--
Pedro Taranto

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

2007-08-20 Thread Pedro Taranto

I think you should use composition in this case, not inheritance.

--
Pedro Taranto

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [FP8, AS2] Rules of thumb: Coding tips?

2007-07-27 Thread Pedro Taranto
if you want to return diferent types in one function you dont specify 
any return data type


function foo () {...}

if you wanna use an auxiliary 'object' to use as a reference to another, 
try to use the same data type


...
var auxVideo : Video = myVideo;
...

--
Pedro Taranto

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

2007-07-24 Thread Pedro Taranto
you forgot to put a 'return' statement where you call 
eliminateSpaces(phrase)


--
Pedro Taranto

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] YouTube is hiring experienced Flash engineers

2007-07-16 Thread Pedro Taranto

caso alguem queira trabalhar no YouTube

--
Pedro Taranto

John Harding wrote:

If interested, please send your resume to [EMAIL PROTECTED] with
YouTube/Flash Resume in the subject.


*Flash Engineer, Monetization - San Bruno*
http://www.google.com/support/jobs/bin/answer.py?answer=47251

*This position is available in San Bruno, CA.*

Working closely with product management, UI designers, visual 
designers and

engineering the Senior Flash Developer will be responsible for the
architecture and development of all of YouTube's flash based feature
expansion. Although interactive design experience is preferred, the 
primary

responsibility of this role is flash development.

Requirements:

  - BS or MS in Computer Science or equivalent.
  - 3+ years experience.
  - Flash/ActionScript/JavaScript/HTML/CSS experience.
  - Experience with Flash Media Server.
  - Deep experience designing modular, object-oriented ActionScript.
  - Experience with Flash communication server and/or Flash remoting a
  bonus, but not required.
  - Experience with server-side web frameworks.
  - Development experience in Python, C/C++ or Java a strong plus.
  - Experience developing features for website: HTML, XML, Ajax,
  Javascript a strong plus.
  - Approaches Flash solution as a software engineering project.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] [Job] YouTube is hiring experienced Flash engineers

2007-07-16 Thread Pedro Taranto

sorry about last message, it should be fowarded, not replyed
sorry again

--
Pedro Taranto

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

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


[Flashcoders] Another Flash 3D Engine

2007-07-14 Thread Pedro Taranto

Realtime 3D Engine for Flash in Actionscript 3

http://away3d.com/

Away3D is a realtime 3d engine for flash in actionscript 3, originally 
derived from Papervision3D.


it looks really nice

--
Pedro Taranto

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

2007-07-11 Thread Pedro Taranto

http://pixelfumes.blogspot.com/2006/07/business-card-flip-effect-class-with.html

--
Pedro Taranto

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Tips and advice for online bugtracking

2007-07-10 Thread Pedro Taranto

using FlashInspector with PixLib is very easy

http://osflash.org/luminicbox.log
http://osflash.org/projects/pixlib

--
Pedro Taranto

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

2007-06-28 Thread Pedro Taranto
Card Flip Effect: 
http://pixelfumes.blogspot.com/2006/07/business-card-flip-effect-class-with.html


--Pedro Taranto


Peter Geller escreveu:

Hi list,

 


can somebody give me an answer how this turn around effect was made when
you click on the speech bubble?

 


http://www.ja-ik-doe-mee.be/

 


Or is it done with a visual flatted 3D Image made with
http://www.flashsandy.org/ ?

 

 


Another nice technique which interests me is used on this side:

http://lab.mathieu-badimon.com/ same technique?

 


Maybe some of you have a link for me how this is done?

 


Thanks a lot

 

Peter 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] loading xml into flash in spanish(desperate)

2007-06-25 Thread Pedro Taranto

if you trace it, do you see the especials characters in the output panel??
if the problem is only in the text field you have to embed the font and 
the especials characters in the textfield?

here is the list that I always use when i have to embed fonts:
UPPERCASE
LOWERCASE
NUMERALS
PUNCTUATION
BASICLATIN
include these characters: 
ºª¹²³£¢¬°°§ºçàáâãèéêìíîòóôõùúûüÀÁÇÂÃÈÉÊÌÍÎÒÓÔÕÙÚÛÜñÑ


flash does not understand the html entities like acetilde, because the 
'' is used to separete variables


hope it helps

--Pedro Taranto


Jesse Graupmann escreveu:

Using Macromedia Flash MX as a multilingual authoring tool
http://www.adobe.com/support/flash/languages/flashlocalization/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: Monday, June 25, 2007 11:50 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] loading xml into flash in spanish(desperate)

I'm still stuck on this... would somebody help me, I don't know why  
this flash apparently doesn't want to read the xml from the attributes,
I changed the xml into utf-8 and nothing, I also set up _sans in the  
css and nothing, does anyone knows how can I finally convince this  
flash to show my spanish characters as ñ and the é(tildes)...thanks  
Everyhting is ok, but the spanish characters. this is quite  
disturbing because I speak spanish.



Gustavo
this is my code:


stop();




menus = new XML();

menus.ignoreWhite = true;

menus.onLoad = function(success)
{

var target = _root.screenTxt.myText_txt1;
var holder = _root.menu;

var titleMenus = this.firstChild.childNodes.length;
var menuContent = this.firstChild;

for (var i = 0; i  titleMenus; ++i )
{

var depth = holder.getNextHighestDepth();
var btn = holder.attachMovie( buttons, 'btn_' + i , depth
);

btn._x = 0;
btn._y = -10 * i * 4;

btn.data = {
text: menuContent.childNodes[i].attributes.text,
title: menuContent.childNodes[i].attributes.title
};


btn.poa.text = btn.data.title;
btn.onRelease = function(){

target.html=true;
target.htmlText =title+
this.data.title+/title +br +
text+this.data.text+/text;

}

}

}

menus.load(txt/poa.xml);


this is the xml

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

2007-06-18 Thread Pedro Taranto
which tools do you use/recommend to generate a diagram classes FROM AS2 
code ???


--Pedro Taranto


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

2007-05-29 Thread Pedro Taranto

you also can use Pixlib framework
www.osflash.org/projects/pixlib

--Pedro Taranto


Hans Wichman escreveu:
have a look at guggaf too, might be applicable here as well i think, 
it goes

further then an application framework, it present a website-application
framework.

greetz
JC



On 5/29/07, Muzak [EMAIL PROTECTED] wrote:


Have a look at ARP
http://osflash.org/projects/arp

With ARP you don't use the main timeline at all.

A base MovieClip/Class acts as the root (because of the lack of being 
able

to assign a class to the main stage - without hacks).
The base Class is usually called Application and all the content 
goes in

there.

The Application MovieClip is the only thing on stage.
Content inside the Application is made visible/invisible as needed.

This comes close to using the Form fla document type (which you can also
use with ARP by the way), but without actually using the v2
component framework.

Here's what an Application looks like in the IDE, including the Project
Panel.
http://muzakdeezign.com/arp/arp_application.jpg

There's no ActionScript in the FLA (part from some stop actions here and
there).
Everything goes in Classes, assigned to MovieClips.

This kind of approach easily 'translates' into Flex as well, using a
ViewStack container with custom MXML Components.

Oh, and classes should be named after their purpose..
   - Application, Home, Products, Contact, etc.. for Form/View type
classes.
   - ScrollBar, MenuButton, Preloader, etc.. for control type classes.

regards,
Muzak

- Original Message -
From: misa [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Tuesday, May 29, 2007 5:02 PM
Subject: [Flashcoders] Site structure with classes


 Hello group,
 I'm wondering is there something like 'the best way to structure a 
flash

site'. How should the classes be named, should we use
 frames in the root timeline and should we use frames at all (expect 
for

animations)? Any advice or help is welcome!

 Thanks,
 Mihajlo Nikolic


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

2007-05-29 Thread Pedro Taranto

for desktop you must use Apollo, the alpha version is avaiable

http://labs.adobe.com/wiki/index.php/Apollo

--Pedro Taranto

Gustavo Duenas escreveu:
Hi coders , Does anyone know a tutorial about how can I do desktop 
applications using flex builder?
Because I googled and I wasn't much successful in my search... Maybe I 
don't know where I can find it?




Regards.


Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 W. Beaver St. Suite 119
Jacksonville, Fl.  32204
904 . 2650330
www.leftandrightsolutions.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] (no subject)

2007-05-29 Thread Pedro Taranto

Apollo SDK is free like Flex SDK

--Pedro Taranto


Gustavo Duenas escreveu:
is this  an open source or is program that cost something?...I mean 
Apollo.

On May 29, 2007, at 3:58 PM, Steven Sacks wrote:


Apollo

Gustavo Duenas wrote:
Hi coders , Does anyone know a tutorial about how can I do desktop 
applications using flex builder?
Because I googled and I wasn't much successful in my search... Maybe 
I don't know where I can find it?

Regards.
Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 W. Beaver St. Suite 119
Jacksonville, Fl.  32204
904 . 2650330
www.leftandrightsolutions.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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 W. Beaver St. Suite 119
Jacksonville, Fl.  32204
904 . 2650330
www.leftandrightsolutions.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] amfphp.org?

2007-05-15 Thread Pedro Taranto

http://www.5etdemi.com/blog/archives/2007/05/amfphporg-domain-name-debacle/

--Pedro Taranto


dnk escreveu:

looks like the domain has expired (May 7th). I am assuming the project is
not dead, but it is rather just an over site by the owner. Does anyone 
have

any info on this? How about a spot to download the latest?

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

2007-04-14 Thread Pedro Taranto
it looks like you have an invisible button on top of it, that way it 
dont allow to bubbling the events to lower depths


--Pedro Taranto


Jonathan Berry escreveu:
Sorry, did want to at least give the site I have under construction so 
you

can see what I am talking about. Code is also available:
http://www.fjroadtrip.com - click on Interactive map.

On 4/14/07, Jonathan Berry [EMAIL PROTECTED] wrote:


Hello all,
Did a search on Google for this, but really didn't know what to search
for. I have a series of textarea components that are dynamically 
generated
through createClassObject as children of movieclips and at runtime 
they are

not scrollable or selectable. Hope this is not too easy, but I had this
problem before when I had a movie wherein I generated list components as
children of a scrollPane and I had to mess with the DepthManager, 
which I

tried again-but I would just like a definitive answer, O noble Flash
wizards. A tutorial or anything you have to help my search would be 
great.

Thank you in advance.

--
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
www.mindarc.com

---

This E-mail is covered by the Electronic Communications Privacy Act, 18
U.S.C. ?? 2510-2521 and is legally privileged.
This information is confidential information and is intended only for
the use of the individual or entity named above. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.

---






___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Re: textarea component not scrollable.

2007-04-14 Thread Pedro Taranto
so it should be the movieclip you are using to detect the rollover and 
rollout to show or hide the container

if you use the mouse scroll the text scroll, so it is not the component

--Pedro Taranto


Jonathan Berry escreveu:

No, no button.

On 4/14/07, Pedro Taranto [EMAIL PROTECTED] wrote:


it looks like you have an invisible button on top of it, that way it
dont allow to bubbling the events to lower depths

--Pedro Taranto






___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Re: textarea component not scrollable.

2007-04-14 Thread Pedro Taranto

sorry about my english :(
try to use the mouse wheel on the text area, i will notice that the text 
moves


as the rollver/out is on the circle and the container is a child of the 
circle, the container inherits the parent behavior

and it is problem in flash to bubbling events to child movieclips/buttons

you could try to put the container outside the circle as an independent 
mc, using the rollover on the circle to show the container, and use the 
rollout on the container to hide it, and hide it when you rollover the 
other circle too


hope you understand

--Pedro Taranto


Jonathan Berry escreveu:

so it should be the movieclip you are using to detect the rollover and
rollout to show or hide the container


The rollover/out is on the city circle. Don't know if this is correct, 
but
the container is child of each city circle and the TA component a 
child of

the container.


if you use the mouse scroll the text scroll, so it is not the component


I do not understand this.

On 4/14/07, Pedro Taranto [EMAIL PROTECTED] wrote:


so it should be the movieclip you are using to detect the rollover and
rollout to show or hide the container
if you use the mouse scroll the text scroll, so it is not the component

--Pedro Taranto






___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] about depth

2007-03-30 Thread Pedro Taranto

you are changing the depth between the same mc, thats the error in your code

--Pedro Taranto


Gustavo Duenas escreveu:
ok ,I did it but stills is loading the image above the other layers 
(the layers of the code is the layer 1, there is 10 more above it)


this is the code I'm using but something else you advice me.

_root.createEmptyMovieClip('empty',0);
this.empty.loadMovie('newBack.jpg');
this.empty.swapDepths(this.empty);

I've tried the getNextHighestDepth() and nothing so far.

The images which is loading have to be as background for everyone, I 
know that I can use a movie clip or a loader in that layer, but 
writing code is more exiting for a newbie like me.


Regards



On Mar 30, 2007, at 4:08 PM, Merrill, Jason wrote:


Objects added to the stage manually have negative depths. Objects loaded
with code have positive depths, which thus are above all other clips.
You can use mc.swapDepths() to move things in negative depths to be
positive if they have a depth value that is higher.  Use
getNextHighestDepth() to swap something above something else.

i.e.

myPictureFrame.swapDepths(_level0.getNextHighestDepth());

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





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Gustavo Duenas
Sent: Friday, March 30, 2007 3:58 PM
To: Flashcoders mailing list
Subject: [Flashcoders] about depth

Hi My idea is to set a dinamyc background in the layer 1 of
my flash (so far it has 10 layers)

the code is as:

_root.createEmptyMovieClip(myClip, 0);
myclip.loadMovie(back1.jpg);

but when It loads the jpg, the jpg is above all the other
layers, when I really needed this underneath.
Someone knows what should I do?

Regards



Gustavo Duenas


p.S: I don't know much about this depth thing, but I'm really
stuck with this problem.


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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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] scope in AS3

2007-03-28 Thread Pedro Taranto

in flash8 the propertie is _visible, check it in the flash9 help

--Pedro Taranto


Dennis Asher escreveu:

I've managed to avoid OOP till now but AS3 is here and no choice now.
What's wrong in the class below? The code in the mouseover/mouseout
functions do not reference the textfield correctly. I've tried adding:

event.hello.visible = true;

and

event.target.hello.visible = true;   


without success. May be a general OOP issue rather than specific to AS3.
- 



package {
  import flash.display.MovieClip;
  import flash.events.MouseEvent;
  import flash.display.DisplayObjectContainer;
  import flash.text.TextField;


  public class Location extends MovieClip {

 public function Location() {
this.addEventListener(MouseEvent.MOUSE_OVER, mouseOverListener);
this.addEventListener(MouseEvent.ROLL_OUT, mouseOutListener);
   
var hello:TextField = new TextField();

addChild(hello);
hello.text = this.name;
   hello.visible = false;


}

 private function mouseOverListener(event:MouseEvent):void {
  hello.visible = true;   


 }
 private function mouseOutListener(event:MouseEvent):void {
  hello.visible = true;   
 }

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

2007-03-28 Thread Pedro Taranto

April 20th

--Pedro Taranto


Omar Fouad escreveu:

but when the Flash CS3 Full version (not update) will be available??



On 3/28/07, Jason Cordial [EMAIL PROTECTED] wrote:


I used to make jokes about Fireworks, but after I studies up and got my
Dreamweaver 8 cert, I realized what it was and what it was for, and now
I'm
really pretty glad it's still around. It'll never replace Photoshop, and
that's not what it's there for. The beautiful integration with 
Dreamweaver
and features designed largely for buttons and web graphics make it a 
whole

other beast.

Now, as to Freehand/Illustrator, I personally only used Illustrator,
because
that's what they have where I work.  So long as there still is a product
like that, I'm fine. I'm just kind of peeved that what I've been calling
Flash 9 isn't called that anymore. I just don't like the sound of flash
cs3...

On 3/27/07, Paul Andrews [EMAIL PROTECTED] wrote:

 - Original Message -
 From: Merrill, Jason [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, March 27, 2007 8:52 PM
 Subject: RE: [Flashcoders] Flash CS3 Announced


 My experience
 is that most people who don't like Freehand never actually
 gave it a proper chance or were content because they already
 knew Illustrator and couldn't motivate to learn something new
 that does the same thing.
 
  Well, if you're generalizing me as one of those people, you're 
wrong.

  I've used both Illustrator and Freehand, and found Freehand to be
vastly
  more buggy  hard to use.
 
  Jason Merrill
  Bank of America
  GTO Learning  Leadership Development
  eTools  Multimedia Team

 LOL am I the only person here that uses this:
 http://www.xara.com/products/xtreme/?v=prot= ?

 Paul

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

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

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




--
Jason Cordial
VIA 2 Lab Grunt - Waist deep beneath the borderline...
Life is a euhemerism...
http://bsu.edu/blogcaster2/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: [Flashcoders] Accessing all properties in an object ...

2007-03-28 Thread Pedro Taranto

if I understand what you want, replace your trace with this one:

trace('prop: '+ props +'\tvalue: '+oObject[props]);

--Pedro Taranto


Stephen Ford escreveu:

Anyone have a small script they use when they want to trace out both the name 
and values of all properties in an object. I'm sure I've done this before, but 
can't recall at the moment (I'm half asleep this morning). Something building 
on:var oObject:Object = {};for (var props in oObject) { trace(oObject[props]); 
}Thanks.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

  

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

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


Re: [Flashcoders] Flash and levels

2007-03-28 Thread Pedro Taranto

the movielicps placed on the stage have negative depths

--Pedro Taranto


Gustavo Duenas escreveu:
I have  a questionthe level 20 is over or under the other movie 
clips the flash movie would have?



Regards


Gustavo Duenas


P.s: the idea about a movie clip is very useful, because I'm looking 
for something like that for a project of mine.

On Mar 27, 2007, at 7:30 PM, Omar Fouad wrote:


If you need to create a movieClip on level 20 for example :
var myClip:MovieClip = createEmtpyMovieClip(myClipInstance, 20)
Note that the secont parameter (20), is the level number you wish the
movieClip is created, in this case therefore will not get into _level0..

if you Need to get a movieClip nasted into another so:

var myClip:MovieClip = 
containerClip.createEmptyMovieClip(otherMcInstance,

containerClip.getNextHighestDepth);

The second Parameter specifies the next Free Level inside the 
containerClip

where the myClip will be nasted...

Hope it helps


On 3/28/07, James Tu [EMAIL PROTECTED] wrote:


Is there a way to createEmptyMovieClip on a level other than _level0?

I tried doing this:
var tmc = _level5.createEmptyMovieClip(foo, 10);
trace(tmc);  //gives me undefined

I also tried to load a blank .swf into _level5 and then creating a
movieclip on _level5 and that didn't work either.


-James

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

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





--Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never 
boastful
nor conceited It is never rude or selfish. It does not take offense 
and is
not resentful. Love takes no pleasure in other people's sins...but 
delights

in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] setting a timer in flash 8

2007-03-25 Thread Pedro Taranto

var intervalID:Number = setInterval(timer, 1000, this);
var timeLimit:Number = 20;
var timeCounter:number = 0;

function timer( mc:MovieClip )
{
   if( mc.timeCounter == mc.timeLimit )
   {
  mc.timeLimit = 0;
  clearInterval(mc.IntervalID);
   trace(time LIMIT);
   }
   else
   {
  mc.timeCounter++;
  trace(time: +mc.timeCounter);
   }
}

--Pedro Taranto

Gustavo Duenas escreveu:
Hi, I'm trying to set a timer to trigger a event after 20 seconds or 
less, but so far i have this code, but with no results

someone help me? .
I don't know how could I got into but some help might be needed


this is the code: is inside the first frame of a movie clip and the 4 
frame has: gotoAndPlay(1);



var now = getTimer();
var seconds:Number = now/1000;
var later:Number = seconds+20;
this.onEnterFrame= function (){
if(seconds == later){
trace(llegamos);
   
}

}
trace(seconds);



Regards


Gustavo Duenas



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

2007-03-25 Thread Pedro Taranto

you should use setInterval, see it in documentation

--Pedro Taranto


Gustavo Duenas escreveu:
Hi, I'm trying to launch an event using a timer so far the code for 
trace something is this:


var now = new Date();

var seconds:Number = now.getSeconds();

trace(seconds);

var newSeconds: Number = seconds+10;

if ( seconds == newSeconds){
trace(plus 10);
}

var seconds:Number = seconds;



the problem is that this ones doesn't trace plus 10, instead just 
traces the var seconds.


Do you know what is wrong here?


Regards.



Gustavo Duenas

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

2007-03-23 Thread Pedro Taranto
you can put an invisible button at each side of your photo, and use 
onRollOver and onRollOut to change the mouse cursor


--Pedro Taranto


Perdue, Blake escreveu:

I am building a photo slideshow and I want to add a next/back button to
the mouse cursor. If the mouse is on the right half of the screen, it
displays a right arrow (indicating that onclick, it will load the next
photo). When on the left half, it displays a left arrow (onclick loads
the previous photo).

My question is this: is there a better way to do this than using
onMouseMove and onMouseDown event handlers? My code is below. Adding
these event handlers is making my SWF eat up 20% more of the CPU
resources. Is there a less processor intensive method of achieving this?
A Group94 site seems to do a good job of this without hogging CPU
cycles: http://www.schierke.com/home.php?p=


// w=screenWidth

onMouseMove=function() {
arrowL._x=_xmouse-14;
arrowL._y=_ymouse+4;
arrowR._x=_xmouse+14;
arrowR._y=_ymouse+4;
if (_xmousew/2) {arrowL._visible=true; arrowR._visible=false;}
else {arrowR._visible=true; arrowL._visible=false;}
}


onMouseDown=function() {
if (_xmousew/2) {loadImage(current-1);}
else { loadImage(current+1);}
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] Test

2007-03-23 Thread Pedro Taranto

yes

--Pedro Taranto


Omar Fouad escreveu:

Is this delivered???


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

2007-03-23 Thread Pedro Taranto
what is the problem ?? you expect to receive the top-left corner _x 
position of the drawed box ?


--Pedro Taranto


Lee Marshall escreveu:

Hi all

Just trying to create a box in actionscript into an empty movieclip. I
then wanted to reurn the _x postion of the box, but it's just not
happening for me. Here is my code. Any ideas?

Cheers all


Stage.scaleMode = scale;
Create a box to encapsulate the loader indicator
var bW:Number = 200;//Width of loader
var bH:Number = 8;//Height of loader
var bLC:Number = 0x77;//Colour of loader box
var bFC:Number = 0xFF;//Fill colour of loader box
var inC:Number = 0x4654FF;//Fill colour of indicator
var loaderBox_mc:MovieClip = this.createEmptyMovieClip(loaderBox_mc,
this.getNextHighestDepth());
loaderBox_mc.beginFill(bFC, 100);
loaderBox_mc.lineStyle(1, bLC, 100);
loaderBox_mc.moveTo((Stage.width/2)-bW/2, (Stage.height/2)-bH/2);
loaderBox_mc.lineTo((Stage.width/2)+bW/2, (Stage.height/2)-bH/2);
loaderBox_mc.lineTo((Stage.width/2)+bW/2, (Stage.height/2)+bH/2);
loaderBox_mc.lineTo((Stage.width/2)-bW/2, (Stage.height/2)+bH/2);
loaderBox_mc.moveTo((Stage.width/2)-bW/2, (Stage.height/2)-bH/2);
loaderBox_mc.endFill();
trace(loaderBox_mc._x)

 


Lee Marshall.
Senior Media Designer/Developer

Transart Educational Marketing Systems 
Clare Hall

Parsons Green
St Ives Business Park
St Ives
Cambridgeshire PE27 4WY

Tel Direct Dial: +44(0)1480 499213
Tel General Enquiries: +44(0)1480 499200
Fax: +44(0)1480 499201
email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
web: www.transart.co.uk http://www.transart.co.uk/ 


Confidentiality notice:
Please note that the information contained herein is highly confidential
and may also be privileged and is for the named recipient(s) only, on no
account should any part or details be disclosed to any third party
without the prior written consent of Transart.  In the event that you
are not the intended recipient then please delete it and any copies that
you have made and contact me on the above number.
 
General statement:

Any statements made, or intentions expressed in this communication may
not necessarily reflect the view of Transart.  Be advised that no
content herein may be held binding upon Transart or any associated
company unless confirmed by the issuance of a formal contractual
document or purchase order.

 


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

2007-03-21 Thread Pedro Taranto

show your xml file with the link and the code you are using to load

--Pedro Taranto


Gustavo Duenas escreveu:

sounds good, how could I do it?

Regards

Gustavo
On Mar 20, 2007, at 2:32 PM, Pedro Taranto wrote:

you wanto to load a swf from a xml and pass a parameter by the url in 
the xml ??
why dont you put these variables in the same node and when you load 
it you pass to your swf?


--Pedro Taranto


Gustavo Duenas escreveu:

ok, how can i do it using swf?

link in xml file:

1.swf?id=something


action script

this is what I don't know, how can I send it.


Regards


Gustavo Duenas

On Mar 20, 2007, at 1:15 PM, Pedro Taranto wrote:

you have to pass the variables to the swf, if you are passing by 
html you have to use some script language to pass it swf


--Pedro Taranto


Gustavo Duenas escreveu:

ok Pedro, let me see if I can get it:

on the xml link.

1.swf?id=something or should be the html where this one is 
embedded like 1.html?id=something


var id = _root.id;

if ( id==something){
tellTarget(_root.mc){
do something;}
}

is the right thing?

or

myText.txt = _root.id;

if (_root.id==something){
tellTarget(_root.mc){
do something;}

tell me if the first is right, or the second or both are wrong, I 
have a few ideas on mind and I'd like to resolve this matter 
before going forward.



Regards


Gustavo Duenas



on the action script.


On Mar 20, 2007, at 12:36 PM, Pedro Taranto wrote:


it is loaded on the _root

you use like this == yourTxt.text = _root.userId

--Pedro Taranto

Gustavo Duenas escreveu:
Hi, I have a curiosity...or an itch about something (I'm full of 
it). The thing is that  I'm loading a xml page into my flash and 
I'd like to know
how can I handle the links, I know I can trigger external events 
(in a browser window), but there is a way that this particular 
xml link, can trigger an
event inside the flash , like using the regular buttons. I've 
tried in the past with html variables: 
mypage.html?userId=something but not good results, maybe I was 
wrong in the written.

but how can I make the  flash read it?
I'd appreciate your help.


Regards.



Gustavo Duenas



P.s: how the flash vars works and how ca I use it.


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

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


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

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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

Re: [Flashcoders] html vars and flash vars

2007-03-20 Thread Pedro Taranto

it is loaded on the _root

you use like this == yourTxt.text = _root.userId

--Pedro Taranto

Gustavo Duenas escreveu:
Hi, I have a curiosity...or an itch about something (I'm full of it). 
The thing is that  I'm loading a xml page into my flash and I'd like 
to know
how can I handle the links, I know I can trigger external events (in a 
browser window), but there is a way that this particular xml link, can 
trigger an
event inside the flash , like using the regular buttons. I've tried in 
the past with html variables: mypage.html?userId=something but not 
good results, maybe I was wrong in the written.

but how can I make the  flash read it?
I'd appreciate your help.


Regards.



Gustavo Duenas



P.s: how the flash vars works and how ca I use it.


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

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


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

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


Re: [Flashcoders] html vars and flash vars

2007-03-20 Thread Pedro Taranto
you have to pass the variables to the swf, if you are passing by html 
you have to use some script language to pass it swf


--Pedro Taranto


Gustavo Duenas escreveu:

ok Pedro, let me see if I can get it:

on the xml link.

1.swf?id=something or should be the html where this one is embedded 
like 1.html?id=something


var id = _root.id;

if ( id==something){
tellTarget(_root.mc){
do something;}
}

is the right thing?

or

myText.txt = _root.id;

if (_root.id==something){
tellTarget(_root.mc){
do something;}

tell me if the first is right, or the second or both are wrong, I have 
a few ideas on mind and I'd like to resolve this matter before going 
forward.



Regards


Gustavo Duenas



on the action script.


On Mar 20, 2007, at 12:36 PM, Pedro Taranto wrote:


it is loaded on the _root

you use like this == yourTxt.text = _root.userId

--Pedro Taranto

Gustavo Duenas escreveu:
Hi, I have a curiosity...or an itch about something (I'm full of 
it). The thing is that  I'm loading a xml page into my flash and I'd 
like to know
how can I handle the links, I know I can trigger external events (in 
a browser window), but there is a way that this particular xml link, 
can trigger an
event inside the flash , like using the regular buttons. I've tried 
in the past with html variables: mypage.html?userId=something but 
not good results, maybe I was wrong in the written.

but how can I make the  flash read it?
I'd appreciate your help.


Regards.



Gustavo Duenas



P.s: how the flash vars works and how ca I use it.


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

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


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

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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] html vars and flash vars

2007-03-20 Thread Pedro Taranto
you wanto to load a swf from a xml and pass a parameter by the url in 
the xml ??
why dont you put these variables in the same node and when you load it 
you pass to your swf?


--Pedro Taranto


Gustavo Duenas escreveu:

ok, how can i do it using swf?

link in xml file:

1.swf?id=something


action script

this is what I don't know, how can I send it.


Regards


Gustavo Duenas

On Mar 20, 2007, at 1:15 PM, Pedro Taranto wrote:

you have to pass the variables to the swf, if you are passing by html 
you have to use some script language to pass it swf


--Pedro Taranto


Gustavo Duenas escreveu:

ok Pedro, let me see if I can get it:

on the xml link.

1.swf?id=something or should be the html where this one is embedded 
like 1.html?id=something


var id = _root.id;

if ( id==something){
tellTarget(_root.mc){
do something;}
}

is the right thing?

or

myText.txt = _root.id;

if (_root.id==something){
tellTarget(_root.mc){
do something;}

tell me if the first is right, or the second or both are wrong, I 
have a few ideas on mind and I'd like to resolve this matter before 
going forward.



Regards


Gustavo Duenas



on the action script.


On Mar 20, 2007, at 12:36 PM, Pedro Taranto wrote:


it is loaded on the _root

you use like this == yourTxt.text = _root.userId

--Pedro Taranto

Gustavo Duenas escreveu:
Hi, I have a curiosity...or an itch about something (I'm full of 
it). The thing is that  I'm loading a xml page into my flash and 
I'd like to know
how can I handle the links, I know I can trigger external events 
(in a browser window), but there is a way that this particular xml 
link, can trigger an
event inside the flash , like using the regular buttons. I've 
tried in the past with html variables: 
mypage.html?userId=something but not good results, maybe I was 
wrong in the written.

but how can I make the  flash read it?
I'd appreciate your help.


Regards.



Gustavo Duenas



P.s: how the flash vars works and how ca I use it.


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

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


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

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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] Help: test EventDispatcher speed please

2007-03-20 Thread Pedro Taranto

the results  in the IE is faster than at FF on my PC:

IE:
EventBroadcaster: 3906
EventDispatcher: 2615
WIN 9,0,28,0


FF:
EventBroadcaster: 4232
EventDispatcher: 3958
WIN 9,0,28,0

sorry but i dont have a mac to compare

--Pedro Taranto


Francis Bourre escreveu:

Hello list !

I noticed something weird about EventDispatcher execution speed in my 
mac player.
EventDispatcher.dispatchEvent execution is slow compared to a custom 
dispatcher implementation (named EventBroadcaster).


On Mac, EventDispatcher is slow:
EventBroadcaster: 2925
EventDispatcher: 12438

On Pc, EventDispatcher is faster.
EventBroadcaster: 3908
EventDispatcher: 3407

Can you please report the values you got (displayed on screen) when 
you open the url below and the browser you used for testing.

It takes few seconds to initialize (bench with iterations)

http://www.tweenpix.net/TestEventBroadcaster.swf

Any clue is welcome. ;)
Thanks in advance guys !

francis



Content of the test:

var tf1 : TextField = new TextField();
var tf2 : TextField = new TextField();
var tf3 : TextField = new TextField();
tf2.y += 30;
tf3.y += 60;
tf1.width = tf2.width = tf3.width = 150;
this.addChild( tf1 );
this.addChild( tf2 );
this.addChild( tf3 );
   
var holder : Array = new Array();

var l1 : Number = 1;
var l2 : Number = 1;
var lNum : Number = 500;

var eb : EventBroadcaster = new EventBroadcaster ( this );

var ed : EventDispatcher = new EventDispatcher ();
   
while( --lNum -(-1) )

{
var tg : Object = {foo:function( e : Event ):void{ this.e = 
e.type; }};

ed.addEventListener( foo, tg.foo );
eb.addEventListener( foo, tg );
holder.push( tg );
}

var t : Number = 0;
var e : Event = new Event( foo );

//

t = getTimer();
while( --l2 -(-1)) eb.broadcastEvent( e );
t = getTimer() - t;
trace( EventBroadcaster: , t );
tf1.text = EventBroadcaster:  + t;
//
t = getTimer();
while( --l1 -(-1)) ed.dispatchEvent( e );
t = getTimer() - t;
trace( EventDispatcher: , t );
tf2.text = EventDispatcher:  + t;

tf3.text = flash.system.Capabilities.version;
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] stopDrag question

2007-03-19 Thread Pedro Taranto
your function control, just run 1 time, only when you release, you 
should put it on the mc.onEnterFrame, or start an interval when you 
startdrag it


--Pedro Taranto


Gustavo Duenas escreveu:
Hi, I'm trying to stop the drag of a movie click when its x value 
equals the x value of other movie clip.

The code is in the other object not in the drag-object.

stop();

var movieClip1Pos: Number = this._x;

var movieClip2Pos: Number = this._parent.MC2._x;

///here start the drag.


this.OnRelease =  function(){

 this._parent.MC2.startDrag(true);
this.control();
}

var control = function(){
if( movieClip1Pos == movieClip2Pos){
 this._parent.MC2.stopDrag();
}
}

so far it doesn't work, but I don't know why? looks good in paper but 
when I'm trying to use it on the flash I don't get it...



the code is in the frame one of the movieClip MC1.

I hope you guys can help me out.



Gustavo Duenas

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

2007-03-16 Thread Pedro Taranto

i havent use but there it is: http://www.aflax.org/

--Pedro Taranto


John Dowdell escreveu:

bruce wrote:

looking at implementing an ajax widget and wanted to know if anybody's
combined ajax and flash to be able to implement a cross-domain solution?


I don't know of any, but I do know that this would be of interest to 
many:

http://ajaxian.com/archives/current-concerns-with-ajax

Firefox is currently specifying a similar method of server consent to 
foreign requests, but a small invisible SWF with a JavaScript API 
seems like it would be very attractive to many developers for quite 
awhile ahead.


Feeding dynamic text from JavaScript to SWF to text-to-speech 
screenreaders is another utility that seems like it would have high 
demand. Dojo already uses invisible SWF for local storage, so there's 
a model people have already been taught to accept.


I don't have a lead on an implementation, but if one is developed, I 
suspect it may be advantageous to many.


jd






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

2007-03-16 Thread Pedro Taranto
loadProgressOutput = 
Math.round(this.getBytesLoaded()*100/this.getBytesTotal());


--Pedro Taranto


Gustavo Duenas escreveu:

hi, this is the code of my loader.

if(_framesloaded  0  _framesloaded == _totalframes){
gotoAndPlay(beginMovie);
} else{
loadProgressOutput = this.getBytesLoaded()*100/getBytesTotal();
}


in order to have the percentage without the decimals...Adrian Lynch 
told me that I need the Mat.round()


but I don't know where should I put in...would you help me?


I was trying

this.loadProgressOutput.Math.round();

and Also I tried Math.round(this.loadProgressOutput);

I know that maybe the problem is that i don't know what should be into 
the parenthesis.




Gustavo Duenas

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] Addressing functions in frame script from class script

2007-03-16 Thread Pedro Taranto

if you are using classes, why do you have code in the movieclip timeline ???

--Pedro Taranto


Danny Kodicek escreveu:

If I have a class that extends MovieClip, and various movieClips that use
that class, is there a way for a function in the class to speak to a
function that's on the first frame of the clip? Or is it not possible to mix
and match scripting styles like that? (leaving aside the question of whether
it's wise or advisable...)

Otherwise, I guess I'll need to use #include instead of classes.

Danny

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

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

  

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

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


Re: [Flashcoders] Flash - using the back button

2007-03-15 Thread Pedro Taranto

http://www.asual.com/swfaddress/

--Pedro Taranto


Karim Beyrouti escreveu:
Hi All,  


I was just wondering what the best way to activate the browser's back button
for a Flash(8) app?... are there any up to date resources / tutorial about
this?...


Kind regards



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] TextField variable and arrays - please help!

2007-03-15 Thread Pedro Taranto

you have to use the .text propertie
mc.txt.text = _root[winner+i+PercentPayout];

--Pedro Taranto


Johan Nyberg escreveu:
I tried to get help here a couple of days ago, but alas to no avail. 
Please give me a hand with this if you can:


How do I make a connection between a TextField and an array with the 
variable property when creating TextFields dynamically?


Now I'm doing a work around where I create a variables on the fly, 
fill it with values from the array (winnerPercentPayout), and then 
connect the variable with the TextField.


for(var i:Number=0; i=100; i++){
   mc = 
settings_mc.winner_mc.container_mc.attachMovie(txt30DynDark,col0_+i+_mc,100+i); 


   _root[winner+i+PercentPayout] = winnerPercentPayout[i];
   mc.txt.variable = _root.winner+i+PercentPayout;
}

mc.txt is the instance name of the textfield. What I would like to do 
is to connect the TextFields with the array directly, like this (which 
doesn't work):


for(var i:Number=0; i=100; i++){
   mc = 
settings_mc.winner_mc.container_mc.attachMovie(txt30DynDark,col0_+i+_mc,100+i); 

   _root[winner+i+PercentPayout] = 
_root.winnerPercentPayout[+i+];

}

Grateful for help with this.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Urgent: flash detection error with swf object and query string

2007-03-15 Thread Pedro Taranto

you should use
|so.addVariable(variable1, value1);


--Pedro Taranto

|
[EMAIL PROTECTED] escreveu:

Came across something that has me baffled.

When appending a query string to a URL, certain query string values give me an 
arror, ie , i'm prompted for a plugin download.

for instance

?ecard=21key=a9a08

gives me an error but if I change the last 8 to any other number, or the 
previous '0' to any other number everytghing works fine!

Help please!


[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


Re: [Flashcoders] xml parse question

2007-03-15 Thread Pedro Taranto

use pixlib == http://osflash.org/projects/pixlib

and use the Config, ConfigLoader and ConfigLoaderEvent

it convert an xml file to a object
here is 2 good tutorials about it

http://relivethefuture.com/choronzon/2006/11/14/getting-to-know-pixlib/
http://relivethefuture.com/choronzon/2006/11/15/pixlib-part-2-more-configuration-features-and-a-hidden-gem/

--Pedro Taranto


John laPlante escreveu:
The xml that you've shown consists of all attributes, that is value 
pairs inside a tag. Each node has a attributes property. Here is a 
small snippet that demonstrates accessing attributes.


   private function loadProblems(xFileName:String):Void
   {
   var sLessonPath = this.theLessonPath;// _root.lesson_path;
   var pathedFileName:String = sLessonPath + xFileName
   xmlFile = new XML();
   xmlFile.ignoreWhite = true;
   xmlFile.onLoad = mx.utils.Delegate.create(this, fetchLessonFiles);
   xmlFile.load( pathedFileName );return;
   }  
   public function fetchLessonFiles():Void

   {   var cFileNum:Number = 1;// counter
   var cFileID:String;
   cFileID = unescape(xmlFile[cFileNum].attributes.fileName);

   }



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

2007-03-14 Thread Pedro Taranto

well, sandy is just an API to work with 3D in flash
and pixlib is not a game engine, it is a generic as2 framework with a 
lot of classes and design patterns that you can use to develop your own 
isometric engine


--Pedro Taranto


Anggie Bratadinata escreveu:

have you tried www.flashsandy.org ?

--
Anggie Bratadinata
www.masputih.com
I N D O N E S I A

gilles wrote:

Hi all,

we are currently looking for a tile iso game engine for one of our 
projects.


Does anybody knows some good engine with the new flash 8 enhancement 
even commercial we are interessed.


Don't hesitate to contact me.

It doesn't need to be multi-player but we must have the source to 
adapt it to our use.


PS: maybe pixlib but we didn't find much over the iso game

BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM

BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM
PHONE +32 499 529229

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

2007-03-14 Thread Pedro Taranto

http://www.theoworlds.com/ == this is a commercial one

--Pedro Taranto


Mike Mountain escreveu:

http://oos.moxiecode.com/

You may find something here...

M


ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
Tel: 01964 672000 
Fax: 01964 671102
Registered in England no. 01646471 
The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us.

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

2007-03-14 Thread Pedro Taranto

its a nice work, do you pretend to share the as2 code too ??

--Pedro Taranto


matt zb escreveu:

Hi,

I've been working on an AS3 isometric game engine for a few months now.

http://www.zenbullets.com/isometric/

It's not finished, and it's not open source (yet), but may be of interest if
you are developing along similar lines.


matt


  

gilles wrote:
  

Hi all,

we are currently looking for a tile iso game engine for one of our
projects.

Does anybody knows some good engine with the new flash 8 enhancement
even commercial we are interessed.

Don't hesitate to contact me.

It doesn't need to be multi-player but we must have the source to
adapt it to our use.

PS: maybe pixlib but we didn't find much over the iso game

BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM



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

2007-03-14 Thread Pedro Taranto

if you are reading a xml file, you shold use the XML API
loadVariables is deprecated

--Pedro Taranto


Gustavo Duenas escreveu:
Hi, there is a limit height that flash can process or read from a text 
file?, because I have something with xml tags, the file reads well 
till the
item4, so far i didn't read anything...there is a way to tell flash 
that there is something way beyond that ...?
I'm using loadVariables(url, this.content(the name of the dinamic 
text));



Regards



Gustavo Duenas

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

2007-03-12 Thread Pedro Taranto

you can build the absolute position adding the _parent nested positions

--Pedro Taranto


Jason Lutes escreveu:

Is there a way determine clip position that doesn't presume the location of
the registration point relative to clip content, or doesn't care where
nested clip content is positioned relative to the registration point? For
example, if I need to programmatically position a clip along the left edge
of the stage, without a guarantee that all items nested within the clip are
registered at positive x and y coordinates, I need to be able to identify
the top and leftmost edges of the clip.

Apparently, I've taken positioning for granted for a while now, since I
always register clip content at 0,0 for the upper left corner. I have a
situation now that violates my convention.

Thanks.


-
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