[Flashcoders] test mail

2007-07-12 Thread Ravi Marella
 

 

Thanks and Regards

___

Ravikiran Marella



 

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

2007-07-12 Thread Count Schemula

If I'm doing a site in F9/AS3 is it enough to use swfobject just have
it test for player 9 and force upgrade accordingly?

It's a small personal site and I won't be making am F8/AS2 version.

Thanks.

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

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


Re: [Flashcoders] Q:Google API and gmaps

2007-07-12 Thread Andrei Thomaz

I still have not done it yet, but, if some of you want to write it in PHP, I
would like to help. It would great for me, and I can program in PHP (but not
in ASP).

[]'s
andrei


On 7/12/07, Glen Pike <[EMAIL PROTECTED]> wrote:


Hi,

You could write your own proxy to pass the request the for the
google map images via your own server.

Should be fairly simple in PHP / ASP.

Then it would look like the images game from your own server and you
would not have Cross domain problems.

Glen

Andrei Thomaz wrote:
> hello,
>
> yes, I guess it uses the script to get the api key. I am using the gmap
> component to load some maps in flash, and I had some problems, because
> flash
> player doesn't allow me to access the maps as bitmaps. I posted the
> problem
> in afcomponents forum, and the answer can be useful for you:
>
> "The problem lies in Flash Sandbox Security model. You can't access
> bitmap
> data of external loaded images. This can be fixed with crossdomain.xml
> file
> that should be put on the G-server and allow access to your server..."
>
> my answer:
> "thanks for the answer. Would it be a problem to put a crossdomain.xml
> file
> at www.afcomponents.com, so this kind of problem would be fixed?
>
> I got a API Key, so I could access the images through my server but,
> in this
> case, I would have to re-write the gateway that is at AFC server,
> written in
> ASP. That is what I could understand: the .swf loads the images from AFC
> server, that uses a ASP gateway to access Google Maps. Am I right? "
>
> "Nope, unfortunately this is not the way it works. The tile images are
> loaded DIRECTLY from the G-servers. Out server is used for loading the
> copyright information only. The only solution here will be a
> crossdomain.xmlfile on G-server which is not possible..."
>
>
> I hope this is useful,
> andrei
>
>
> On 7/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> Hi
>> Has anyone used the free gmaps component from afcomponents.com?
>>
>> I noticed that the component calls a php script on the afcomponent
site.
>>
>> Does anyone know the purpose of this?
>>
>> I'm assuming its simply a way to bypass the need for individual api
>> keys.
>>
>>
>>
>> [e] jbach at bitstream.ca
>> [c] 416.668.0034
>> [w] www.bitstream.ca
>> 
>> "...all improvisation is life in search of a style."
>>  - Bruce Mau,'LifeStyle'
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
I'm afraid that makes no sense to me.
It's perfectly allright to make instances private, as long as they're created 
through code.

package {

 import flash.display.MovieClip;
 import fl.controls.Button;

 public class MyComponent extends MovieClip {

  private var _btn:Button;

  function MyComponent() {
   trace("MyComponent ::: CONSTRUCTOR");
   init();
  }

  function init():void {
   _btn = new Button();
   _btn.label = "I'm Private";
   _btn.move(10, 100);
   addChild(_btn);
  }

 }

}

So why is it different when they're placed on stage?
I'm probably just missing something (and trying to understand the why of it).

regards,
Muzak


- Original Message - 
From: "Francis Cheng" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 13, 2007 3:34 AM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class


Sorry, I wasn't clear about my theory. Let me try again. I think that
you have to declare variables that represent stage instances as public
because Flash CS3 automatically executes an assignment statement at
runtime that involves those variables. If those variables are declared
as private, they are invisible at runtime, so the assignment attempt
results in an error.

Francis



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
Hi Helen,

I'm aware of the lack of private (and protected) constructors.
What I'm talking about is something different though.
It's about assets (movieclips or whatever) that are part of a class, but placed 
on stage rather than created through code.

Let's say you have a movieclip "MyComponent" with a class attached to it: 
"MyComponent".
Inside the MyComponent movieclip you drop a Button component, instance name: 
"my_btn"

The first annoying thing (IMO) is that you cannot (do not have to) declare the 
instance in your class (which is the error Matt ran 
into, because he did declare the instance, which results in a compile error).


//AS2 - working code
class MyComponent extends MovieClip {

private var my_btn:mx.controls.Button;

function MyComponent() {
//
}

function onLoad() {
trace(my_btn);
}
}

// AS3 - throws error because instances on stage are automatically declared
// Compiler Error: a conflict exists with definition my_btn in namespace 
internal
package {

import flash.display.MovieClip;
import fl.controls.Button;

public class MyComponent extends MovieClip {

private var my_btn:Button;

}

}

So to get rid of that, you have to go into the publish settings and disable 
this new (annoying) feature:
Publish Settings > Flash tab > Settings > uncheck "Automatically declare stage 
instances".

With that done, you'll now get the following error:
ReferenceError: Error #1056: Cannot create property my_btn on MyComponent.

That's gibberish for saying: "you have to make the my_btn instance public 
instead of private".

// AS3 working code - with declare stage instances disabled
package {

import flash.display.MovieClip;
import fl.controls.Button;

public class MyComponent extends MovieClip {

public var my_btn:Button;

}

}

Now, how silly is that..

regards,
Muzak

- Original Message - 
From: "Helen Triolo" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 13, 2007 3:10 AM
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class


> Colin Moock's book says it's because of adherence to ECMAScript 4, and points 
> to this page for explanation: 
> http://kuwamoto.org/2006/04/05/as3-on-the-lack-of-private-and-protected-constructors
>
> Helen
>
>
> Francis Cheng wrote:
>
>>I'm guessing that the odd reason has something to do with the behavior
>>of the "private" attribute in AS2 versus AS3. As most of you are aware,
>>the "private" attribute in AS2 only restricts access at compile time. In
>>AS3, however, "private" restricts access at both compile time and
>>runtime. Just a guess, though, I could be barking up the wrong tree.
>>
>>Francis
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
>>Sent: Thursday, July 12, 2007 5:21 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
>>AS3 class
>>
>>
>>>This means that you either have to declare the variables yourself (and
>>>
>>they have to be public, by the way)
>>
>>>or declare the class as dynamic so that the variables can be added at
>>>
>>runtime (specifically, at the time the
>>
>>>assignment statements are executed).
>>>
>>
>>I think the "has to be public" thing is one of the most annoying things
>>that has changed between AS2 and AS3.
>>In AS2 you can place assets on stage and declare them as private in your
>>class.
>>In AS3 this is not allowed/possible for some odd reason.
>>
>>regards,
>>Muzak
>>


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

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


RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Francis Cheng
Sorry, I wasn't clear about my theory. Let me try again. I think that
you have to declare variables that represent stage instances as public
because Flash CS3 automatically executes an assignment statement at
runtime that involves those variables. If those variables are declared
as private, they are invisible at runtime, so the assignment attempt
results in an error.

Francis 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Thursday, July 12, 2007 6:14 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

I'm aware of the differences, I just don't understand why it *has* to be
public.
Or put differently, I don't like that it has to be public.
If I had to guess, I'd say it has something to do with the display list.

regards,
Muzak

- Original Message - 
From: "Francis Cheng" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 13, 2007 2:45 AM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class


I'm guessing that the odd reason has something to do with the behavior
of the "private" attribute in AS2 versus AS3. As most of you are aware,
the "private" attribute in AS2 only restricts access at compile time. In
AS3, however, "private" restricts access at both compile time and
runtime. Just a guess, though, I could be barking up the wrong tree.

Francis

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Thursday, July 12, 2007 5:21 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

> This means that you either have to declare the variables yourself (and
they have to be public, by the way)
> or declare the class as dynamic so that the variables can be added at
runtime (specifically, at the time the
> assignment statements are executed).

I think the "has to be public" thing is one of the most annoying things
that has changed between AS2 and AS3.
In AS2 you can place assets on stage and declare them as private in your
class.
In AS3 this is not allowed/possible for some odd reason.

regards,
Muzak


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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
I'm aware of the differences, I just don't understand why it *has* to be public.
Or put differently, I don't like that it has to be public.
If I had to guess, I'd say it has something to do with the display list.

regards,
Muzak

- Original Message - 
From: "Francis Cheng" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 13, 2007 2:45 AM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class


I'm guessing that the odd reason has something to do with the behavior
of the "private" attribute in AS2 versus AS3. As most of you are aware,
the "private" attribute in AS2 only restricts access at compile time. In
AS3, however, "private" restricts access at both compile time and
runtime. Just a guess, though, I could be barking up the wrong tree.

Francis

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Thursday, July 12, 2007 5:21 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

> This means that you either have to declare the variables yourself (and
they have to be public, by the way)
> or declare the class as dynamic so that the variables can be added at
runtime (specifically, at the time the
> assignment statements are executed).

I think the "has to be public" thing is one of the most annoying things
that has changed between AS2 and AS3.
In AS2 you can place assets on stage and declare them as private in your
class.
In AS3 this is not allowed/possible for some odd reason.

regards,
Muzak


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

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


Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Helen Triolo
Colin Moock's book says it's because of adherence to ECMAScript 4, and 
points to this page for explanation: 
http://kuwamoto.org/2006/04/05/as3-on-the-lack-of-private-and-protected-constructors


Helen


Francis Cheng wrote:


I'm guessing that the odd reason has something to do with the behavior
of the "private" attribute in AS2 versus AS3. As most of you are aware,
the "private" attribute in AS2 only restricts access at compile time. In
AS3, however, "private" restricts access at both compile time and
runtime. Just a guess, though, I could be barking up the wrong tree.

Francis

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Thursday, July 12, 2007 5:21 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

 


This means that you either have to declare the variables yourself (and
   


they have to be public, by the way)
 


or declare the class as dynamic so that the variables can be added at
   


runtime (specifically, at the time the
 


assignment statements are executed).
   



I think the "has to be public" thing is one of the most annoying things
that has changed between AS2 and AS3.
In AS2 you can place assets on stage and declare them as private in your
class.
In AS3 this is not allowed/possible for some odd reason.

regards,
Muzak



 


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

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


RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Francis Cheng
I'm guessing that the odd reason has something to do with the behavior
of the "private" attribute in AS2 versus AS3. As most of you are aware,
the "private" attribute in AS2 only restricts access at compile time. In
AS3, however, "private" restricts access at both compile time and
runtime. Just a guess, though, I could be barking up the wrong tree.

Francis

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Thursday, July 12, 2007 5:21 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

> This means that you either have to declare the variables yourself (and
they have to be public, by the way)
> or declare the class as dynamic so that the variables can be added at
runtime (specifically, at the time the
> assignment statements are executed).

I think the "has to be public" thing is one of the most annoying things
that has changed between AS2 and AS3.
In AS2 you can place assets on stage and declare them as private in your
class.
In AS3 this is not allowed/possible for some odd reason.

regards,
Muzak


- Original Message - 
From: "Francis Cheng" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 12, 2007 11:02 PM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class


It looks to me like Matt avoided the namespace conflict by using a
private variable that differs from the instance name in case only. Note
that he uses all lowercase 'fullscreen' to represent the instance name
'fullScreen'.

Just to provide some background as to what's going on here, Flash CS3 is
automatically declaring variables for all instances on the stage. In
other words, Matt already has access to the instance name in his
document class, without having to declare it in his class. That's why
you get the duplicate name error if you declare it yourself. So Matt's
original code example will work if you simply delete the declaration:
"private var fullScreen:MovieClip".

If you don't want Flash CS3 to automatically declare variables, you can
turn off that feature by going to the Publish Settings dialog box,
selecting the "Flash" tab, and clicking on the "Settings" button. In the
"ActionScript 3.0 Settings" dialog box that appears, uncheck the
checkbox labeled: "Automatically declare stage instances".

If you disable this feature, note that Flash CS3 still expects those
variables to exist and will still execute assignment statements that
bind those variables to the instances on stage. This means that you
either have to declare the variables yourself (and they have to be
public, by the way) or declare the class as dynamic so that the
variables can be added at runtime (specifically, at the time the
assignment statements are executed).

Francis Cheng | Sr. Technical Writer | Adobe Systems Incorporated



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
> This means that you either have to declare the variables yourself (and they 
> have to be public, by the way)
> or declare the class as dynamic so that the variables can be added at runtime 
> (specifically, at the time the
> assignment statements are executed).

I think the "has to be public" thing is one of the most annoying things that 
has changed between AS2 and AS3.
In AS2 you can place assets on stage and declare them as private in your class.
In AS3 this is not allowed/possible for some odd reason.

regards,
Muzak


- Original Message - 
From: "Francis Cheng" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 12, 2007 11:02 PM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class


It looks to me like Matt avoided the namespace conflict by using a
private variable that differs from the instance name in case only. Note
that he uses all lowercase 'fullscreen' to represent the instance name
'fullScreen'.

Just to provide some background as to what's going on here, Flash CS3 is
automatically declaring variables for all instances on the stage. In
other words, Matt already has access to the instance name in his
document class, without having to declare it in his class. That's why
you get the duplicate name error if you declare it yourself. So Matt's
original code example will work if you simply delete the declaration:
"private var fullScreen:MovieClip".

If you don't want Flash CS3 to automatically declare variables, you can
turn off that feature by going to the Publish Settings dialog box,
selecting the "Flash" tab, and clicking on the "Settings" button. In the
"ActionScript 3.0 Settings" dialog box that appears, uncheck the
checkbox labeled: "Automatically declare stage instances".

If you disable this feature, note that Flash CS3 still expects those
variables to exist and will still execute assignment statements that
bind those variables to the instances on stage. This means that you
either have to declare the variables yourself (and they have to be
public, by the way) or declare the class as dynamic so that the
variables can be added at runtime (specifically, at the time the
assignment statements are executed).

Francis Cheng | Sr. Technical Writer | Adobe Systems Incorporated



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

2007-07-12 Thread Mary Cregut
We are looking for someone to provide consulting work for approximately 6 
weeks.   We desire to have the programmer on sight at our offices near Saratoga 
Springs, NY.   We are a small tech company founded by two RPI students in 2000- 
 our products are high end consumer electronics and a very cool project is 
available for the right person with the right skills!
 
check us out at www.request.com   !
 
If you are interested- please respond by sending your resume to me!
 
Here is a description of the work:
ReQuest, Inc. in has an outstanding opportunity for a brilliant ActionScript / 
Flash Programmer. This technically savvy professional will work with the 
backend engineers and will focus primarily on Flash applications as a Graphical 
User Interface (GUI) for ReQuest's line of premium multimedia servers and whole 
house audio products. We're seeking a gifted professional with excellent 
communication skills and superior Flash programming skills for this exciting 
position. 

You will be working with the frontend of the product, seen in the home on touch 
screens throughout the house, with an emphasis on user experience and 
performance.

Requirements:

* Bachelor's Degree in Computer Science or related field, or equivalent

* At least four (4) years related experience with at least two (2) years 
advanced Flash Programming experience

* Strong portfolio must demonstrate expertise in Flash Programming with 
advanced ActionScripting capability

* Required technical skills include experience with XML sockets, class object 
programming, performance tuning

* Primary responsibility will be to take our existing GUI concepts and 
implementations and optimize them for embedded systems on Flash 7 with limited 
memory

* Excellent project management and multi-tasking ability

* Experience with Linux operating systems a plus

Sincerely,

Mary Cregut 
ReQuest - Serious Play
Phone: 518.490.6145 

Fax: 518.899.1251
[EMAIL PROTECTED]    

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

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


Re: [Flashcoders] Q:Google API and gmaps

2007-07-12 Thread Glen Pike

Hi,

   You could write your own proxy to pass the request the for the 
google map images via your own server.


   Should be fairly simple in PHP / ASP.

   Then it would look like the images game from your own server and you 
would not have Cross domain problems.


   Glen

Andrei Thomaz wrote:

hello,

yes, I guess it uses the script to get the api key. I am using the gmap
component to load some maps in flash, and I had some problems, because 
flash
player doesn't allow me to access the maps as bitmaps. I posted the 
problem

in afcomponents forum, and the answer can be useful for you:

"The problem lies in Flash Sandbox Security model. You can't access 
bitmap
data of external loaded images. This can be fixed with crossdomain.xml 
file

that should be put on the G-server and allow access to your server..."

my answer:
"thanks for the answer. Would it be a problem to put a crossdomain.xml 
file

at www.afcomponents.com, so this kind of problem would be fixed?

I got a API Key, so I could access the images through my server but, 
in this
case, I would have to re-write the gateway that is at AFC server, 
written in

ASP. That is what I could understand: the .swf loads the images from AFC
server, that uses a ASP gateway to access Google Maps. Am I right? "

"Nope, unfortunately this is not the way it works. The tile images are
loaded DIRECTLY from the G-servers. Out server is used for loading the
copyright information only. The only solution here will be a
crossdomain.xmlfile on G-server which is not possible..."


I hope this is useful,
andrei


On 7/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi
Has anyone used the free gmaps component from afcomponents.com?

I noticed that the component calls a php script on the afcomponent site.

Does anyone know the purpose of this?

I'm assuming its simply a way to bypass the need for individual api 
keys.




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

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

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


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

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



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Francis Cheng
It looks to me like Matt avoided the namespace conflict by using a
private variable that differs from the instance name in case only. Note
that he uses all lowercase 'fullscreen' to represent the instance name
'fullScreen'.

Just to provide some background as to what's going on here, Flash CS3 is
automatically declaring variables for all instances on the stage. In
other words, Matt already has access to the instance name in his
document class, without having to declare it in his class. That's why
you get the duplicate name error if you declare it yourself. So Matt's
original code example will work if you simply delete the declaration:
"private var fullScreen:MovieClip".

If you don't want Flash CS3 to automatically declare variables, you can
turn off that feature by going to the Publish Settings dialog box,
selecting the "Flash" tab, and clicking on the "Settings" button. In the
"ActionScript 3.0 Settings" dialog box that appears, uncheck the
checkbox labeled: "Automatically declare stage instances". 

If you disable this feature, note that Flash CS3 still expects those
variables to exist and will still execute assignment statements that
bind those variables to the instances on stage. This means that you
either have to declare the variables yourself (and they have to be
public, by the way) or declare the class as dynamic so that the
variables can be added at runtime (specifically, at the time the
assignment statements are executed).

Francis Cheng | Sr. Technical Writer | Adobe Systems Incorporated

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sunil
Jolly
Sent: Thursday, July 12, 2007 9:51 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

Does that work? I'm getting a namespace conflict.

Sunil

-Original Message-

Thanks all, I ended up with something like this...

package com.foo.view.playerSkins {

import flash.display.MovieClip;
import com.sky.view.playerSkins.*;

public class SkinInventory extends MovieClip{

private var fullscreen:MovieClip;

public function SkinInventory()
{
_init();
}

private function _init():void
{
fullscreen = getChild(this, "fullScreen");
fullscreen = (fullscreen as FullScreen);
}

public function getChild(stage, _name:String):MovieClip
{
return stage.getChildByName(_name);
}
}
}

On 7/12/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
> Hi Matt,
>
> AS3 is slightly different.
>
> You need to say:
> private var fullScreen_mc:MovieClip = getChildByName("fullscreen");
>
> Note that the reference (fullscreen_mc) can't be the same as the name
on
> the stage ("fullscreen"). Also in AS3 you can actually set instance
> variables outside of functions.
>
> I'm quite new to AS3 so I'd be interested if there's another way to do
> this. I haven't really worked out a good naming convention for this
yet
> either - anyone have any ideas?
>
> Sunil
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] Q:Google API and gmaps

2007-07-12 Thread Andrei Thomaz

hello,

yes, I guess it uses the script to get the api key. I am using the gmap
component to load some maps in flash, and I had some problems, because flash
player doesn't allow me to access the maps as bitmaps. I posted the problem
in afcomponents forum, and the answer can be useful for you:

"The problem lies in Flash Sandbox Security model. You can't access bitmap
data of external loaded images. This can be fixed with crossdomain.xml file
that should be put on the G-server and allow access to your server..."

my answer:
"thanks for the answer. Would it be a problem to put a crossdomain.xml file
at www.afcomponents.com, so this kind of problem would be fixed?

I got a API Key, so I could access the images through my server but, in this
case, I would have to re-write the gateway that is at AFC server, written in
ASP. That is what I could understand: the .swf loads the images from AFC
server, that uses a ASP gateway to access Google Maps. Am I right? "

"Nope, unfortunately this is not the way it works. The tile images are
loaded DIRECTLY from the G-servers. Out server is used for loading the
copyright information only. The only solution here will be a
crossdomain.xmlfile on G-server which is not possible..."


I hope this is useful,
andrei


On 7/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi
Has anyone used the free gmaps component from afcomponents.com?

I noticed that the component calls a php script on the afcomponent site.

Does anyone know the purpose of this?

I'm assuming its simply a way to bypass the need for individual api keys.



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

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

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


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

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


[Flashcoders] Oddities with content scale in AS3 Application

2007-07-12 Thread Jeff Tapper

I'm in the process of upgrading parts of an AS2 application to AS3, and am
noticing some very odd behavior.  It seems every display object i load
(whether it is an AV1Movie, a BitMap, etc) is loading in at a much larger
scale.  The Flex Builder debugger is showing its height and width as i
expect them to be, but visually everything is about 1.6X larger than it
claims to be (ie, a 100x100 item is showing as 160x160.  Has anyone else
seen behavior like this?  Im probably doing something stupid, but was hoping
someone might have seen similar problems.

thanks as always for any help.


--
Jeff Tapper
Tapper, Nimer and Associates, Inc.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MouseEvent.DOUBLE_CLICK Bug?

2007-07-12 Thread Enrique Chávez

Damn,

I have to read the Docs first...
I have to read the Docs first...
I have to read the Docs first...
I have to read the Docs first...

jeje.

Thanks a Sorry.


Rákos Attila escribió:

You have to enable this event by setting the object's
doubleClickEnabled property to true.

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Enrique Chávez <[EMAIL PROTECTED]>
To:  Flashcoders mailing list 
Date:Thursday, July 12, 2007, 9:02:06 PM
Subject: [Flashcoders] MouseEvent.DOUBLE_CLICK Bug?
--===--
Hi.

I am trying to use the doubleClick event, but it never trigger the handler

My function is something like that

private function loadIconComplete(event:Event):void
{
var rIcon:LoaderInfo = event.target as LoaderInfo
var fIcon = rIcon.loader
var iStage =  lIcon.content as MovieClip
iStage.label.autoSize = TextFieldAutoSize.CENTER
iStage.label.text = xmlInfo.appProperties.label
iStage.hit.x = iStage.label.x
iStage.hit.width = iStage.label.width
iStage.hit.addEventListener(MouseEvent.DOUBLE_CLICK, dobleClick);
iStage.hit.addEventListener(MouseEvent.CLICK, onClick);
iStage.hit.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
iStage.hit.addEventListener(MouseEvent.MOUSE_UP, onUp);
iStage.icon.addChild(fIcon)
}

All the events trigger the handlers except the doubleClick

i also try with a simple sample.

in a normal FLA 1 frame

import flash.display.Sprite;
import flash.events.*;
var size:uint= 100;
var bgColor:uint = 0xFFCC00;
function SpriteExample() {
var child : Sprite = new Sprite();
child.addEventListener(MouseEvent.DOUBLE_CLICK, dobleClick);
child.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
draw(child);
addChild(child);
}
function dobleClick(event:MouseEvent):void {
trace("dobleClick");
}
function mouseUpHandler(event:MouseEvent):void {
trace("mouseUpHandler");
}
function draw(sprite : Sprite):void {
sprite.graphics.beginFill(bgColor);
sprite.graphics.drawRect(0, 0, size, size);
sprite.graphics.endFill();
}
SpriteExample();

And dont work .

Anyone know something about it..??

Cheers

  



--
Enrique Chavez aka Tmeister
http://www.klr20mg.com
http://www.tmeister.net
http://desktoptwo.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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Laurie Jensen
Hi Matt,
I spent an embarrassing amount of time recently playing with ways to import
common classes and libraries in AS3, so your post drew my attention.  Then I
ran the class from your first post and had no error: your fullScreen
variable traces as null, as expected.

So then I read the subsequent posts.  If I understand correctly, you are
trying to load classes from an swc\swf, right?  Or have I got it wrong?

The first obvious point: your swc needs to be in the class path of your fla,
and its swf needs to be in the same folder as your other swf's.

Some other points (relating to the fla that imports the classes)...
1.)You need to declare your imported classes as variables
e.g.
public var YourClass:Class

2.) I noticed that you call init() in your constructor.  According to Moock
in Essential ActionScript 3.0, code within a class constructor block (i.e.
the class initializer) runs in interpreted mode, and is not compiled by the
JIT compiler.  So this might shed some insight as to when to use dynamic
classes or not. I don't think you need to use a Dynamic Class, but you might
try to avoid using the init() function, at least until you have the thing
working.

3.) Within your class constructor you import your classes as
YourClass = getDefinitionByName("com.foo.whatever.YourClass") as Class


Having said all that, I am still not sure I understand what you are doing.
In any case I hope this helps.


Public class
Laurie Jensen


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Muller
Sent: Friday, 13 July 2007 12:27 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

I feel like a bit of an idiot asking this, but I keep getting errors. I'm
creating some custom player skin templates and have some ui elements which
are MovieClips on the stage.
Bearing in mind, this will be a swf loaded into another swf all I'm trying
to do is create class definitions and its throwing errors.

in as2, it would normally be something like name your instance on stage
'btn_fullScreen' and then in the class just type it to have access to it.
private var btn_fullScreen:MovieClip;

So in the document class I have something like this (as3) with a MovieClip
with a matching instance name "fullScreen"  thats on the stage/timeleine but
its clashing when I try and access it from the class.

and I get this error when I try to trace it.

1151: A conflict exists with definition fullScreen in namespace internal.

package com.foo.view.playerSkins {

import flash.display.MovieClip;

public class SkinInventory extends MovieClip{

private var fullScreen:MovieClip;

public function SkinInventory()
{
trace(fullScreen)
}
}
}



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

2007-07-12 Thread R�kos Attila

You have to enable this event by setting the object's
doubleClickEnabled property to true.

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Enrique Chávez <[EMAIL PROTECTED]>
To:  Flashcoders mailing list 
Date:Thursday, July 12, 2007, 9:02:06 PM
Subject: [Flashcoders] MouseEvent.DOUBLE_CLICK Bug?
--===--
Hi.

I am trying to use the doubleClick event, but it never trigger the handler

My function is something like that

private function loadIconComplete(event:Event):void
{
var rIcon:LoaderInfo = event.target as LoaderInfo
var fIcon = rIcon.loader
var iStage =  lIcon.content as MovieClip
iStage.label.autoSize = TextFieldAutoSize.CENTER
iStage.label.text = xmlInfo.appProperties.label
iStage.hit.x = iStage.label.x
iStage.hit.width = iStage.label.width
iStage.hit.addEventListener(MouseEvent.DOUBLE_CLICK, dobleClick);
iStage.hit.addEventListener(MouseEvent.CLICK, onClick);
iStage.hit.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
iStage.hit.addEventListener(MouseEvent.MOUSE_UP, onUp);
iStage.icon.addChild(fIcon)
}

All the events trigger the handlers except the doubleClick

i also try with a simple sample.

in a normal FLA 1 frame

import flash.display.Sprite;
import flash.events.*;
var size:uint= 100;
var bgColor:uint = 0xFFCC00;
function SpriteExample() {
var child : Sprite = new Sprite();
child.addEventListener(MouseEvent.DOUBLE_CLICK, dobleClick);
child.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
draw(child);
addChild(child);
}
function dobleClick(event:MouseEvent):void {
trace("dobleClick");
}
function mouseUpHandler(event:MouseEvent):void {
trace("mouseUpHandler");
}
function draw(sprite : Sprite):void {
sprite.graphics.beginFill(bgColor);
sprite.graphics.drawRect(0, 0, size, size);
sprite.graphics.endFill();
}
SpriteExample();

And dont work .

Anyone know something about it..??

Cheers

-- 
Enrique Chavez aka Tmeister
http://www.klr20mg.com
http://www.tmeister.net
http://desktoptwo.com


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

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

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

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


[Flashcoders] Flash Media Server Component Usage Survey

2007-07-12 Thread greg h

Do you work with the Flash Media Server?  If so, the FMS product team would
like feedback on how you use the FMS
components.
Or, if you do not use them, why not.  The product team has opened up a
survey at the following link.  Please take a moment to share your experience
with them:

Survey of FMS2 Component Usage
http://www.pollcat.com/K10B9FDA2A66F193CCB5
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MouseEvent.DOUBLE_CLICK Bug?

2007-07-12 Thread Enrique Chávez

Hi.

I am trying to use the doubleClick event, but it never trigger the handler

My function is something like that

private function loadIconComplete(event:Event):void
{
   var rIcon:LoaderInfo = event.target as LoaderInfo
   var fIcon = rIcon.loader
   var iStage =  lIcon.content as MovieClip
   iStage.label.autoSize = TextFieldAutoSize.CENTER
   iStage.label.text = xmlInfo.appProperties.label
   iStage.hit.x = iStage.label.x
   iStage.hit.width = iStage.label.width
   iStage.hit.addEventListener(MouseEvent.DOUBLE_CLICK, dobleClick);
   iStage.hit.addEventListener(MouseEvent.CLICK, onClick);
   iStage.hit.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
   iStage.hit.addEventListener(MouseEvent.MOUSE_UP, onUp);
   iStage.icon.addChild(fIcon)
}

All the events trigger the handlers except the doubleClick

i also try with a simple sample.

in a normal FLA 1 frame

import flash.display.Sprite;
import flash.events.*;
var size:uint= 100;
var bgColor:uint = 0xFFCC00;
function SpriteExample() {
   var child : Sprite = new Sprite();
   child.addEventListener(MouseEvent.DOUBLE_CLICK, dobleClick);
   child.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
   draw(child);
   addChild(child);
}
function dobleClick(event:MouseEvent):void {
   trace("dobleClick");
}
function mouseUpHandler(event:MouseEvent):void {
   trace("mouseUpHandler");
}
function draw(sprite : Sprite):void {
   sprite.graphics.beginFill(bgColor);
   sprite.graphics.drawRect(0, 0, size, size);
   sprite.graphics.endFill();
}
SpriteExample();

And dont work .

Anyone know something about it..??

Cheers

--
Enrique Chavez aka Tmeister
http://www.klr20mg.com
http://www.tmeister.net
http://desktoptwo.com


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

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


[Flashcoders] Q:refresh bug in Firefox

2007-07-12 Thread moveup
Zeh
no
9,0,16,0 installed

I wonder if it has anything to do with the object embed code...



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

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

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


Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Jim Kremens

"I've been declaring classes extending MovieClip as dynamic."

They claim that you'll lose speed by doing this.

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

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


[Flashcoders] Q:Google API and gmaps

2007-07-12 Thread moveup
Hi
Has anyone used the free gmaps component from afcomponents.com?

I noticed that the component calls a php script on the afcomponent site.

Does anyone know the purpose of this?

I'm assuming its simply a way to bypass the need for individual api keys.



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

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

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


Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread elibol

I've been declaring classes extending MovieClip as dynamic. Using this to
get the child seems to work.

this.fullScreen;

And to get the object to cast to the proper type, I've had to have it in the
code.

FullScreen;
trace(this.fullScreen); //should trace [object FullScreen]

FYI, I've been using swc's to load MovieClips from Flash CS3. Things may
behave differently when working entirely in Flash CS3.

Also, I get namespace issues when I declare empty variables with movieclips
that already have instances of those objects. I mean essentially declaring
MovieClip extensions the old school way doesn't appear to work.

H

On 7/12/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:


Does that work? I'm getting a namespace conflict.

Sunil

-Original Message-

Thanks all, I ended up with something like this...

package com.foo.view.playerSkins {

import flash.display.MovieClip;
import com.sky.view.playerSkins.*;

public class SkinInventory extends MovieClip{

private var fullscreen:MovieClip;

public function SkinInventory()
{
_init();
}

private function _init():void
{
fullscreen = getChild(this, "fullScreen");
fullscreen = (fullscreen as FullScreen);
}

public function getChild(stage, _name:String):MovieClip
{
return stage.getChildByName(_name);
}
}
}

On 7/12/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
> Hi Matt,
>
> AS3 is slightly different.
>
> You need to say:
> private var fullScreen_mc:MovieClip = getChildByName("fullscreen");
>
> Note that the reference (fullscreen_mc) can't be the same as the name
on
> the stage ("fullscreen"). Also in AS3 you can actually set instance
> variables outside of functions.
>
> I'm quite new to AS3 so I'd be interested if there's another way to do
> this. I haven't really worked out a good naming convention for this
yet
> either - anyone have any ideas?
>
> Sunil
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] I'm a Shared library dumb dumb

2007-07-12 Thread Chris Bell
I learned that the problem with my current approach. If a parent loads a
child, none of the clips in the child's library

can be attached to the parent's timeline and vice-versa. 

 

>From Ian Thomas that "in AS2, you can't attach a symbol from one .SWF's
library into

another movie's timeline." He says "The only exception is when using
shared libraries."

 

And Fumio Nonaka pointed out this kb article:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15638&slice
Id=2

"Instances of imported symbols must be manually placed on the Timeline 

during authoring."

 

So, I'm ready to try this shared library approach. The problem is, I've
never used a shared library before and I just don't get it. Can anyone
point me in the right direction on how to set up a test for my main
problem? 

 

Thanks,

 

Chris Bell

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

2007-07-12 Thread Joshua Sera
Yeah, that pretty much looks like what's going on to
me.
A coworker came up with a similar technique that's in
use on a few sites, but it wasn't taken anywhere near
to Papervision's level, what with the phong shading
and the like.

--- Hans Wichman <[EMAIL PROTECTED]>
wrote:

> Hi Joshua,
> 
> can I conclude from the demo its cutting up and
> skewing? (even though I
> brutely simplify whats happening with this
> statement:))
> 
> greetz
> JC
> 
> 
> On 7/12/07, Joshua Sera <[EMAIL PROTECTED]>
> wrote:
> >
> > Actually, this demo made it pretty apparent what
> > they're doing. Pretty cool.
> >
> > http://www.papervision3d.org/demos/LinearMapping/
> >
> >
> > --- Joshua Sera <[EMAIL PROTECTED]> wrote:
> >
> > > So how does Papervision3D actually work? Are
> they
> > > just
> > > using a big BitmapData object, and using
> existing 3D
> > > techniques to render to that, or are they
> > > skewing/chopping movieclips into triangles?
> > >
> > > Basically, are they using ingenious hacks, or
> have
> > > they just written a software renderer?
> > >
> > >
> > >
> > >
> >
> >
>

> > > Moody friends. Drama queens. Your life? Nope! -
> > > their life, your story. Play Sims Stories at
> Yahoo!
> > > Games.
> > > http://sims.yahoo.com/
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search
> the
> > > archive:
> > >
> >
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> >
> >
> >
> >
> >
> >
>

> > Be a better Globetrotter. Get better travel
> answers from someone who
> > knows. Yahoo! Answers - Check it out.
> >
>
http://answers.yahoo.com/dir/?link=list&sid=396545469
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the
> archive:
> >
>
http://chattyfig.figleaf.com/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
> 



   

Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Sunil Jolly
Does that work? I'm getting a namespace conflict.

Sunil

-Original Message-

Thanks all, I ended up with something like this...

package com.foo.view.playerSkins {

import flash.display.MovieClip;
import com.sky.view.playerSkins.*;

public class SkinInventory extends MovieClip{

private var fullscreen:MovieClip;

public function SkinInventory()
{
_init();
}

private function _init():void
{
fullscreen = getChild(this, "fullScreen");
fullscreen = (fullscreen as FullScreen);
}

public function getChild(stage, _name:String):MovieClip
{
return stage.getChildByName(_name);
}
}
}

On 7/12/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
> Hi Matt,
>
> AS3 is slightly different.
>
> You need to say:
> private var fullScreen_mc:MovieClip = getChildByName("fullscreen");
>
> Note that the reference (fullscreen_mc) can't be the same as the name
on
> the stage ("fullscreen"). Also in AS3 you can actually set instance
> variables outside of functions.
>
> I'm quite new to AS3 so I'd be interested if there's another way to do
> this. I haven't really worked out a good naming convention for this
yet
> either - anyone have any ideas?
>
> Sunil
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] [JOB] Flash Developer – Pho enix AZ

2007-07-12 Thread Steve Mathews

We are in need of an experienced Flash developer and would prefer AS3
experience. We are currently a small company, and will be expanding
greatly in the near future. It is a great environment with lots of
opportunity for growth and learning.

Check the full job posting at
http://seeker.dice.com/jobsearch/servlet/JobSearch?op=302&dockey=xml/7/9/[EMAIL 
PROTECTED]&source=3

You can apply directly at dice, or email me off-list.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Application Structure - Flash Remoting& MovieClipLoader

2007-07-12 Thread eka

Hello :)

An other framework it's VEGAS : http://code.google.com/p/vegas/

Install the framework   :
http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN
The tutorials in english :
http://code.google.com/p/vegas/wiki/TutorialsVEGAS (in progress)
Examples in the svn repository of the project :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/

My framework contains 4 extensions + 1 template framework + examples...

To manipulate Remoting connection you can use my RemotingService class, you
can find the examples of this class in the directory :

http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/net/remoting/

(You must install vegas before test the .fla )

If you want understant the RIA structure with VEGAS you can install to AST'r
: http://code.google.com/p/astr/

AST'r is a template + samples to understand the implementations with VEGAS
(MVC, FrontController, Localization, Configuration, Process etc)

In Ast'r you can find a full example to use Remoting or local connection
(with Eden format)... I'm begin to write the tutorials of this examples this
week-end.

For me this tutorials are important to learn the mecanism to implement a
little or big application...

EKA+ :)

2007/7/12, Richard Mueller <[EMAIL PROTECTED]>:



Well, the past 24 hours have been interesting to say the least.  I've
never
really written a class, yet I know a lot about them and understand them
for
the most part.  Before starting the project, I knew I was going to run
into
data access issues but didn't really have a solution.  I'd never heard of
mvc until yesterday so thanks for pointing me in the right direction.  I'm
confident I can start building classes using the mvc pattern, however, I
don't think I'm quite ready for something like ARP.  I think I'd be taking
on too much and our development resources are almost tapped.  Or should I
seriously reconsider using ARP, is it something I can easily implement
later once I'm more confident with classes?


At  7/12/2007 Thursday 04:00 AM, you wrote:
>Hi,
>
>I would recommend ARP for this too. It's a bit tricky to use (at first),
>but it will keep your code clean for sure and save you a lot of time.
>There's a remoting example that you could adjust quite easily.
>
>As for the moviecliploader, I try to use a single class to do all my
>loading. I guess that's what you mean by a "smart" loader.
>
>Sunil
>http://www.suniljolly.com
>
>PS - Hi! I'm new to the list, I hould have joined a long time ago!
>
>-Original Message-
>
>Hi,
>
> I would suggest looking at ARP or another Framework to handle your
>Service calls through a single interface which you create services for.
>
> It is well documented with examples and OS so you should be able to
>get the hang of it quite quickly.
>
> osflash.org/projects/arp
>
> HTH
>
> Glen
>
>Richard Mueller wrote:
> >
> > I'm building an application that is going to use Flash Remoting very
> > heavily.  I'm wondering how I should structure my Service
> > connections.  Should I put them in each(several) loaded movies or in
> > the root timeline where any loaded move can access them.  The latter
> > would cause issues when trying to test each movie individually.  But
> > by putting the Service connections in each movie would require imports
>
> > needed for FR at the top..
> >
> > Also, I'm new to using the moviecliploader.  I have a few functioning
> > properly, however, is it wise to try and create a "smart" loader?
> > Meaning use one loader and zip when the zip.swf is loaded and zag with
>
> > zag.swf.  Or should I just accept, and get in the habit of using a zip
>
> > loader and a zag loader separately, meaning each loader simply serve a
>
> > specific function.
> >
> > Richard
> >
>
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/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] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Matt Muller

Thanks all, I ended up with something like this...

package com.foo.view.playerSkins {

   import flash.display.MovieClip;
   import com.sky.view.playerSkins.*;

   public class SkinInventory extends MovieClip{

   private var fullscreen:MovieClip;

   public function SkinInventory()
   {
   _init();
   }

   private function _init():void
   {
   fullscreen = getChild(this, "fullScreen");
   fullscreen = (fullscreen as FullScreen);
   }

   public function getChild(stage, _name:String):MovieClip
   {
   return stage.getChildByName(_name);
   }
   }
}

On 7/12/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:


Hi Matt,

AS3 is slightly different.

You need to say:
private var fullScreen_mc:MovieClip = getChildByName("fullscreen");

Note that the reference (fullscreen_mc) can't be the same as the name on
the stage ("fullscreen"). Also in AS3 you can actually set instance
variables outside of functions.

I'm quite new to AS3 so I'd be interested if there's another way to do
this. I haven't really worked out a good naming convention for this yet
either - anyone have any ideas?

Sunil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans
Wichman
Sent: 12 July 2007 15:34
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

Hi,
reserver keyword maybe?
greetz
JC


On 7/12/07, Matt Muller <[EMAIL PROTECTED]> wrote:
>
> I feel like a bit of an idiot asking this, but I keep getting errors.
I'm
> creating some custom player skin templates and have some ui elements
which
> are MovieClips on the stage.
> Bearing in mind, this will be a swf loaded into another swf all I'm
trying
> to do is create class definitions and its throwing errors.
>
> in as2, it would normally be something like name your instance on
stage
> 'btn_fullScreen' and then in the class just type it to have access to
it.
> private var btn_fullScreen:MovieClip;
>
> So in the document class I have something like this (as3) with a
MovieClip
> with a matching instance name "fullScreen"  thats on the
stage/timeleine
> but
> its clashing when I try and access it from the class.
>
> and I get this error when I try to trace it.
>
> 1151: A conflict exists with definition fullScreen in namespace
internal.
>
> package com.foo.view.playerSkins {
>
>import flash.display.MovieClip;
>
>public class SkinInventory extends MovieClip{
>
>private var fullScreen:MovieClip;
>
>public function SkinInventory()
>{
>trace(fullScreen)
>}
>}
> }
>
> Any ideas??
>
> thanks
>
> matt
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Application Structure - FlashRemoting& MovieClipLoader

2007-07-12 Thread Ron Wheeler

I recommend reading "Head First Design Patterns".
The code examples are Java but the principles are universal and you get 
to see how classes can be made to work effectively.

The Singleton pattern is one of the patterns discussed.
Very entertaining approach to a serious subject.
It will save you a lot of time and make your code much smaller and more 
robust.


Ron


Sunil Jolly wrote:

I think that if you're just starting out with classes then using MVC
would be an excellent place to start since ARP could be quite
overwhelming. 


Others might disagree. :)

I've spent many hours trying to figure out how to do some seemingly
basic things in ARP and to be honest I'm still not 100% sure I'm doing
the "right" thing in places!

Do you know about singletons? To make your service(s) available to all
items in Flash it would be best to use it in a singleton pattern.
(http://www.flashcoder.net/blog/?p=81).

Sunil

-Original Message-

Well, the past 24 hours have been interesting to say the least.  I've
never 
really written a class, yet I know a lot about them and understand them
for 
the most part.  Before starting the project, I knew I was going to run
into 
data access issues but didn't really have a solution.  I'd never heard
of 
mvc until yesterday so thanks for pointing me in the right direction.
I'm 
confident I can start building classes using the mvc pattern, however, I


don't think I'm quite ready for something like ARP.  I think I'd be
taking 
on too much and our development resources are almost tapped.  Or should
I 
seriously reconsider using ARP, is it something I can easily implement 
later once I'm more confident with classes?



At  7/12/2007 Thursday 04:00 AM, you wrote:
  

Hi,

I would recommend ARP for this too. It's a bit tricky to use (at


first),
  

but it will keep your code clean for sure and save you a lot of time.
There's a remoting example that you could adjust quite easily.

As for the moviecliploader, I try to use a single class to do all my
loading. I guess that's what you mean by a "smart" loader.

Sunil
http://www.suniljolly.com

PS - Hi! I'm new to the list, I hould have joined a long time ago!

-Original Message-

Hi,

I would suggest looking at ARP or another Framework to handle your
Service calls through a single interface which you create services for.

It is well documented with examples and OS so you should be able


to
  

get the hang of it quite quickly.

osflash.org/projects/arp

HTH

Glen



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] tween in a function doesn't working

2007-07-12 Thread elibol

I'm not sure what it could be, but you should try delegating the onRelease
function to this:

import mx.util.Delegate;

plus6_mc.plus6_btNext_mc.onRelease = Delegate.create(this,
btNext_mc_onRelease);

function btNext_mc_onRelease() {
  plus6_mc._y = -160;
  response2_mc._y = 123;
  animateIt(response2_mc)
};

The strange thing is, if this were the issue, your first code should not
work since response2_mc is not in plus6_btNext_mc's scope. My guess is that
animateIt is out of scope and that response2_mc is referenced somewhere in
plus6_btNext_mc.

One way to find out if it's scoping is to trace animateIt and response2_mc.

Hope this helps,

H

On 7/12/07, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote:


Hi list,

I have some code that I've made that I don't understand why it is
failing, and I want your help

this works

var time = .3;
var easeType = mx.transitions.easing.Regular.easeOut;
var response2_mc:MovieClip = this.frmContato_response2_mc;
var plus6_mc:MovieClip = this.frmContato_plus6_mc;

plus6_mc.plus6_btNext_mc.onRelease = function() {
plus6_mc._y = -160;
response2_mc._y = 123;
var startY = response2_mc._y + 10;
var endY = response2_mc._y;
yTween = new mx.transitions.Tween(response2_mc, "_y", easeType,
startY, endY, time, true);
alpha_Tween = new mx.transitions.Tween(response2_mc, "_alpha",
easeType, 0, 100, time, true);
};

this don't

var time = .3;
var easeType = mx.transitions.easing.Regular.easeOut;
var response2_mc:MovieClip = this.frmContato_response2_mc;
var plus6_mc:MovieClip = this.frmContato_plus6_mc;

function animateIt(tgt){
var startY = tgt._y + 10;
var endY = tgt._y;
yTween = new mx.transitions.Tween(tgt, "_y", easeType, startY, endY,
time, true);
alpha_Tween = new mx.transitions.Tween(tgt, "_alpha", easeType, 0,
100, time, true);
}

plus6_mc.plus6_btNext_mc.onRelease = function() {
plus6_mc._y = -160;
response2_mc._y = 123;
animateIt(response2_mc)
};

I have many tweens like that, is that why I want to have a function to
just call it everytime it's need, any clues why it don't work when it's
called via function?

TIA
Marcelo Wolfgang



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Sunil Jolly
Hi Matt,

AS3 is slightly different.

You need to say:
private var fullScreen_mc:MovieClip = getChildByName("fullscreen");

Note that the reference (fullscreen_mc) can't be the same as the name on
the stage ("fullscreen"). Also in AS3 you can actually set instance
variables outside of functions.

I'm quite new to AS3 so I'd be interested if there's another way to do
this. I haven't really worked out a good naming convention for this yet
either - anyone have any ideas?

Sunil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans
Wichman
Sent: 12 July 2007 15:34
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class

Hi,
reserver keyword maybe?
greetz
JC


On 7/12/07, Matt Muller <[EMAIL PROTECTED]> wrote:
>
> I feel like a bit of an idiot asking this, but I keep getting errors.
I'm
> creating some custom player skin templates and have some ui elements
which
> are MovieClips on the stage.
> Bearing in mind, this will be a swf loaded into another swf all I'm
trying
> to do is create class definitions and its throwing errors.
>
> in as2, it would normally be something like name your instance on
stage
> 'btn_fullScreen' and then in the class just type it to have access to
it.
> private var btn_fullScreen:MovieClip;
>
> So in the document class I have something like this (as3) with a
MovieClip
> with a matching instance name "fullScreen"  thats on the
stage/timeleine
> but
> its clashing when I try and access it from the class.
>
> and I get this error when I try to trace it.
>
> 1151: A conflict exists with definition fullScreen in namespace
internal.
>
> package com.foo.view.playerSkins {
>
>import flash.display.MovieClip;
>
>public class SkinInventory extends MovieClip{
>
>private var fullScreen:MovieClip;
>
>public function SkinInventory()
>{
>trace(fullScreen)
>}
>}
> }
>
> Any ideas??
>
> thanks
>
> matt
> 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Application Structure - FlashRemoting& MovieClipLoader

2007-07-12 Thread Sunil Jolly
I think that if you're just starting out with classes then using MVC
would be an excellent place to start since ARP could be quite
overwhelming. 

Others might disagree. :)

I've spent many hours trying to figure out how to do some seemingly
basic things in ARP and to be honest I'm still not 100% sure I'm doing
the "right" thing in places!

Do you know about singletons? To make your service(s) available to all
items in Flash it would be best to use it in a singleton pattern.
(http://www.flashcoder.net/blog/?p=81).

Sunil

-Original Message-

Well, the past 24 hours have been interesting to say the least.  I've
never 
really written a class, yet I know a lot about them and understand them
for 
the most part.  Before starting the project, I knew I was going to run
into 
data access issues but didn't really have a solution.  I'd never heard
of 
mvc until yesterday so thanks for pointing me in the right direction.
I'm 
confident I can start building classes using the mvc pattern, however, I

don't think I'm quite ready for something like ARP.  I think I'd be
taking 
on too much and our development resources are almost tapped.  Or should
I 
seriously reconsider using ARP, is it something I can easily implement 
later once I'm more confident with classes?


At  7/12/2007 Thursday 04:00 AM, you wrote:
>Hi,
>
>I would recommend ARP for this too. It's a bit tricky to use (at
first),
>but it will keep your code clean for sure and save you a lot of time.
>There's a remoting example that you could adjust quite easily.
>
>As for the moviecliploader, I try to use a single class to do all my
>loading. I guess that's what you mean by a "smart" loader.
>
>Sunil
>http://www.suniljolly.com
>
>PS - Hi! I'm new to the list, I hould have joined a long time ago!
>
>-Original Message-
>
>Hi,
>
> I would suggest looking at ARP or another Framework to handle your
>Service calls through a single interface which you create services for.
>
> It is well documented with examples and OS so you should be able
to
>get the hang of it quite quickly.
>
> osflash.org/projects/arp
>
> HTH
>
> Glen

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Hans Wichman

sorry typo, i meant *reserved*

On 7/12/07, Hans Wichman <[EMAIL PROTECTED]> wrote:


Hi,
reserver keyword maybe?
greetz
JC


 On 7/12/07, Matt Muller <[EMAIL PROTECTED]> wrote:
>
> I feel like a bit of an idiot asking this, but I keep getting errors.
> I'm
> creating some custom player skin templates and have some ui elements
> which
> are MovieClips on the stage.
> Bearing in mind, this will be a swf loaded into another swf all I'm
> trying
> to do is create class definitions and its throwing errors.
>
> in as2, it would normally be something like name your instance on stage
> 'btn_fullScreen' and then in the class just type it to have access to
> it.
> private var btn_fullScreen:MovieClip;
>
> So in the document class I have something like this (as3) with a
> MovieClip
> with a matching instance name "fullScreen"  thats on the stage/timeleine
> but
> its clashing when I try and access it from the class.
>
> and I get this error when I try to trace it.
>
> 1151: A conflict exists with definition fullScreen in namespace
> internal.
>
> package com.foo.view.playerSkins {
>
>import flash.display.MovieClip;
>
>public class SkinInventory extends MovieClip{
>
>private var fullScreen:MovieClip;
>
>public function SkinInventory()
>{
>trace(fullScreen)
>}
>}
> }
>
> Any ideas??
>
> thanks
>
> matt
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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 MovieClips on a timeline from an AS3 class

2007-07-12 Thread Hans Wichman

Hi,
reserver keyword maybe?
greetz
JC


On 7/12/07, Matt Muller <[EMAIL PROTECTED]> wrote:


I feel like a bit of an idiot asking this, but I keep getting errors. I'm
creating some custom player skin templates and have some ui elements which
are MovieClips on the stage.
Bearing in mind, this will be a swf loaded into another swf all I'm trying
to do is create class definitions and its throwing errors.

in as2, it would normally be something like name your instance on stage
'btn_fullScreen' and then in the class just type it to have access to it.
private var btn_fullScreen:MovieClip;

So in the document class I have something like this (as3) with a MovieClip
with a matching instance name "fullScreen"  thats on the stage/timeleine
but
its clashing when I try and access it from the class.

and I get this error when I try to trace it.

1151: A conflict exists with definition fullScreen in namespace internal.

package com.foo.view.playerSkins {

   import flash.display.MovieClip;

   public class SkinInventory extends MovieClip{

   private var fullScreen:MovieClip;

   public function SkinInventory()
   {
   trace(fullScreen)
   }
   }
}

Any ideas??

thanks

matt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Matt Muller

I feel like a bit of an idiot asking this, but I keep getting errors. I'm
creating some custom player skin templates and have some ui elements which
are MovieClips on the stage.
Bearing in mind, this will be a swf loaded into another swf all I'm trying
to do is create class definitions and its throwing errors.

in as2, it would normally be something like name your instance on stage
'btn_fullScreen' and then in the class just type it to have access to it.
private var btn_fullScreen:MovieClip;

So in the document class I have something like this (as3) with a MovieClip
with a matching instance name "fullScreen"  thats on the stage/timeleine but
its clashing when I try and access it from the class.

and I get this error when I try to trace it.

1151: A conflict exists with definition fullScreen in namespace internal.

package com.foo.view.playerSkins {

   import flash.display.MovieClip;

   public class SkinInventory extends MovieClip{

   private var fullScreen:MovieClip;

   public function SkinInventory()
   {
   trace(fullScreen)
   }
   }
}

Any ideas??

thanks

matt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Application Structure - Flash Remoting& MovieClipLoader

2007-07-12 Thread Richard Mueller


Well, the past 24 hours have been interesting to say the least.  I've never 
really written a class, yet I know a lot about them and understand them for 
the most part.  Before starting the project, I knew I was going to run into 
data access issues but didn't really have a solution.  I'd never heard of 
mvc until yesterday so thanks for pointing me in the right direction.  I'm 
confident I can start building classes using the mvc pattern, however, I 
don't think I'm quite ready for something like ARP.  I think I'd be taking 
on too much and our development resources are almost tapped.  Or should I 
seriously reconsider using ARP, is it something I can easily implement 
later once I'm more confident with classes?



At  7/12/2007 Thursday 04:00 AM, you wrote:

Hi,

I would recommend ARP for this too. It's a bit tricky to use (at first),
but it will keep your code clean for sure and save you a lot of time.
There's a remoting example that you could adjust quite easily.

As for the moviecliploader, I try to use a single class to do all my
loading. I guess that's what you mean by a "smart" loader.

Sunil
http://www.suniljolly.com

PS - Hi! I'm new to the list, I hould have joined a long time ago!

-Original Message-

Hi,

I would suggest looking at ARP or another Framework to handle your
Service calls through a single interface which you create services for.

It is well documented with examples and OS so you should be able to
get the hang of it quite quickly.

osflash.org/projects/arp

HTH

Glen

Richard Mueller wrote:
>
> I'm building an application that is going to use Flash Remoting very
> heavily.  I'm wondering how I should structure my Service
> connections.  Should I put them in each(several) loaded movies or in
> the root timeline where any loaded move can access them.  The latter
> would cause issues when trying to test each movie individually.  But
> by putting the Service connections in each movie would require imports

> needed for FR at the top..
>
> Also, I'm new to using the moviecliploader.  I have a few functioning
> properly, however, is it wise to try and create a "smart" loader?
> Meaning use one loader and zip when the zip.swf is loaded and zag with

> zag.swf.  Or should I just accept, and get in the habit of using a zip

> loader and a zag loader separately, meaning each loader simply serve a

> specific function.
>
> Richard
>

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

2007-07-12 Thread Jim Armstrong
Not sure if this is what you want, but check out the JTS Topology Suite.


Here is the user's guide - The Polygonizer class may be in the ballpark
of what you desire

http://www.vividsolutions.com/jts/bin/JTS%20Developer%20Guide.pdf

This is not a Flash library (it's Java), but it is available for
download.  Might be possible to convert to AS.  Yes, it's much easier
said than done :)

good luck!

- jim
www.algorithmist.net
http://algorithmist.wordpress.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Smeets,
Ben
Sent: Wednesday, July 11, 2007 4:13 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Simplify point collection

I might be pushing my luck here, but is there some similar magic piece
of code which can transform a collection of lines to a single polygon
line? (So i can use the linegeneralization code below) I have a large
collection of random lines which have a lot of overlappig start/end
points. The only dinkytoy way I can think of to combine these into
polygons is to take point 1, look through the whole collection for
matching points, take point 2..etc. 
 
The way too global searchterms i can think of to use for googling brings
up everything but related stuff.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] tween in a function doesn't working

2007-07-12 Thread Marcelo Wolfgang

Hi list,

I have some code that I've made that I don't understand why it is 
failing, and I want your help


this works

var time = .3;
var easeType = mx.transitions.easing.Regular.easeOut;
var response2_mc:MovieClip = this.frmContato_response2_mc;
var plus6_mc:MovieClip = this.frmContato_plus6_mc;

plus6_mc.plus6_btNext_mc.onRelease = function() {
   plus6_mc._y = -160;
   response2_mc._y = 123;
   var startY = response2_mc._y + 10;
   var endY = response2_mc._y;
   yTween = new mx.transitions.Tween(response2_mc, "_y", easeType, 
startY, endY, time, true);
   alpha_Tween = new mx.transitions.Tween(response2_mc, "_alpha", 
easeType, 0, 100, time, true);

};

this don't

var time = .3;
var easeType = mx.transitions.easing.Regular.easeOut;
var response2_mc:MovieClip = this.frmContato_response2_mc;
var plus6_mc:MovieClip = this.frmContato_plus6_mc;

function animateIt(tgt){
   var startY = tgt._y + 10;
   var endY = tgt._y;
   yTween = new mx.transitions.Tween(tgt, "_y", easeType, startY, endY, 
time, true);
   alpha_Tween = new mx.transitions.Tween(tgt, "_alpha", easeType, 0, 
100, time, true);

}

plus6_mc.plus6_btNext_mc.onRelease = function() {
   plus6_mc._y = -160;
   response2_mc._y = 123;
   animateIt(response2_mc)
};

I have many tweens like that, is that why I want to have a function to 
just call it everytime it's need, any clues why it don't work when it's 
called via function?


TIA
Marcelo Wolfgang



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Sending Base64 Encoded Data As XML Data

2007-07-12 Thread Paul Steven
Thanks for the reply Johannes

The client has specified the base64 data be sent inside an xml file. Not
sure why or exactly what they do on the server side of things but I just
wanted to be sure what I was sending them was infact xml data.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel
Sent: 12 July 2007 10:42
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Sending Base64 Encoded Data As XML Data

its simple string concatenation after the base64 encoding, although you
never create a xml object, which makes me wonder why do you not just send
and blob text instead of xml.

On 7/12/07, Paul Steven <[EMAIL PROTECTED]> wrote:
>
> Thanks for the advice Johannes
>
> Does that mean my code looks ok to you?
>
>
> >
> >
> > var dataStrEncoded:String=Base64.Encode(ByteLoader.data);
> >
> > var XMLString:String;
> >
> > XMLString = "";
> > XMLString += "";
> > XMLString += "";
> > XMLString += dataStrEncoded;
> > XMLString += "";
> >
> > loader = new URLLoader();
> > loader.addEventListener(Event.COMPLETE, xmlLoaded);
> >
> > var request:URLRequest = new URLRequest(ScriptPath);
> >
> > request.method = URLRequestMethod.POST;
> >
> > var variables:URLVariables = new URLVariables()
> > variables.xml = XMLString;
> >
> > request.data = variables
> >
> > loader.load(request);
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> j:pn
> http://www.memorphic.com/news/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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
>



-- 
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Sending Base64 Encoded Data As XML Data

2007-07-12 Thread Johannes Nel

its simple string concatenation after the base64 encoding, although you
never create a xml object, which makes me wonder why do you not just send
and blob text instead of xml.

On 7/12/07, Paul Steven <[EMAIL PROTECTED]> wrote:


Thanks for the advice Johannes

Does that mean my code looks ok to you?


>
>
> var dataStrEncoded:String=Base64.Encode(ByteLoader.data);
>
> var XMLString:String;
>
> XMLString = "";
> XMLString += "";
> XMLString += "";
> XMLString += dataStrEncoded;
> XMLString += "";
>
> loader = new URLLoader();
> loader.addEventListener(Event.COMPLETE, xmlLoaded);
>
> var request:URLRequest = new URLRequest(ScriptPath);
>
> request.method = URLRequestMethod.POST;
>
> var variables:URLVariables = new URLVariables()
> variables.xml = XMLString;
>
> request.data = variables
>
> loader.load(request);
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



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





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

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


[Flashcoders] OT: SURVEY - Flash and Poker

2007-07-12 Thread sean
yes, that's right Poker. It's not as off topic as it may initially sound.
I recently spoke with an Adobe representative at Chinwag in London. They
had laid on a Casino for the event and I commented that I was very
surprised at there not being any Poker tables. I mean, in the 8 years I've
been a Flash developer, at least 80% of the fellow developers I have met
have played Poker (some to a semi-professional level). Statistically, this
is a very significant number. Adobe were apparently unaware of this
correlation and were interested in exploring it further. To that end I
have put up a quick poll to gather some  empirical data for them. I would
appreciate it if as many of you as possible could visit
http://www.flashcoder.net/blog/survey1.html and click on the appropriate
choice. It's a simple one question survey and you will see the results as
they come in. Please tell everyone you know who is involved with Flash /
Flex / Actionscript.

Thanks to the list in advance.

Sean

www.flashcoder.net/blog




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Application Structure - Flash Remoting& MovieClipLoader

2007-07-12 Thread Sunil Jolly
Hi,

I would recommend ARP for this too. It's a bit tricky to use (at first),
but it will keep your code clean for sure and save you a lot of time.
There's a remoting example that you could adjust quite easily.

As for the moviecliploader, I try to use a single class to do all my
loading. I guess that's what you mean by a "smart" loader. 

Sunil
http://www.suniljolly.com

PS - Hi! I'm new to the list, I hould have joined a long time ago!

-Original Message-

Hi,

I would suggest looking at ARP or another Framework to handle your 
Service calls through a single interface which you create services for.

It is well documented with examples and OS so you should be able to 
get the hang of it quite quickly.

osflash.org/projects/arp

HTH

Glen

Richard Mueller wrote:
>
> I'm building an application that is going to use Flash Remoting very 
> heavily.  I'm wondering how I should structure my Service 
> connections.  Should I put them in each(several) loaded movies or in 
> the root timeline where any loaded move can access them.  The latter 
> would cause issues when trying to test each movie individually.  But 
> by putting the Service connections in each movie would require imports

> needed for FR at the top..
>
> Also, I'm new to using the moviecliploader.  I have a few functioning 
> properly, however, is it wise to try and create a "smart" loader?  
> Meaning use one loader and zip when the zip.swf is loaded and zag with

> zag.swf.  Or should I just accept, and get in the habit of using a zip

> loader and a zag loader separately, meaning each loader simply serve a

> specific function.
>
> Richard
>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Sending Base64 Encoded Data As XML Data

2007-07-12 Thread Paul Steven
Thanks for the advice Johannes

Does that mean my code looks ok to you?


>
>
> var dataStrEncoded:String=Base64.Encode(ByteLoader.data);
>
> var XMLString:String;
>
> XMLString = "";
> XMLString += "";
> XMLString += "";
> XMLString += dataStrEncoded;
> XMLString += "";
>
> loader = new URLLoader();
> loader.addEventListener(Event.COMPLETE, xmlLoaded);
>
> var request:URLRequest = new URLRequest(ScriptPath);
>
> request.method = URLRequestMethod.POST;
>
> var variables:URLVariables = new URLVariables()
> variables.xml = XMLString;
>
> request.data = variables
>
> loader.load(request);
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



-- 
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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.onLoad and onClipEvent :S

2007-07-12 Thread Dennis - I Sioux

I must say i don't use it that mutch either.. and i know what you ment..

I'm just saying.. when i do that.. and i don't put any script on the 
movieclip directly the onLoad won't be called..
If i do put something on it.. even if it's just comments the onLoad will be 
called.


For your point.. as far as i know.. frame script is called first and then 
the graphics.. so either way the onload would be put on first.. as far as i 
know.
Unless when there is script or comments on the mc that it get's in a 
different order?


Just fount it weird :) and began to doubt ghehe

- Original Message - 
From: "Hans Wichman" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, July 11, 2007 5:35 PM
Subject: Re: [Flashcoders] Movieclip.onLoad and onClipEvent :S



Hi,
what i meant was:

If you do:
this.test_mc.onLoad = function(){
trace("onLoad");
}

Then the test_mc is either there or not. If it's there, it has been loaded
already and you are overwriting the function after the fact. If it's not
there.. well it's not there...

At least that is how I think it works. I never use it myself so i might be
wrong :)

greetz
JC



On 7/11/07, Dennis - I Sioux <[EMAIL PROTECTED]> wrote:


In the small test i'm setting an onLoad from the frame script where the 
mc

appears.
If i'm not mistaken frame script is run first before the mc appears then.

Anyway.. the onLoad will give a trace when i put script (even just "//")
on
the mc itself .. otherwise it won't call the onLoad.

- Original Message -
From: "Hans Wichman" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, July 11, 2007 4:25 PM
Subject: Re: [Flashcoders] Movieclip.onLoad and onClipEvent :S


> Hi,
>
> am I right in thinking you are putting a movieclip on the stage and try
to
> overwrite its onLoad function?
>
> By the time the object is available for you to act upon, its onLoad is
> already executed, so overwriting it is no use.
>
> greetz
> JC
>
>
> On 7/11/07, Dennis - I Sioux <[EMAIL PROTECTED]> wrote:
>>
>> Hey List,
>>
>> This one is making me nuts :-D .. while it is so easy.
>>
>> i'm extending the textfield constructor and it needs to set an onLoad
on
>> his parent mc.
>> Because i had some trouble and it was a big file i've made a small
test..
>>
>> But asfar as i can see.. when i put an onLoad on a mc.. it will only 
>> be

>> called if i put script on the mc itself.. even if it is just comment.
>> Can anyone explain this? Or is this an old subject?
>>
>> the Script (if there is any:-D) .. :
>>
>> this.test_mc.onLoad = function(){
>> trace("onLoad");
>> }
>>
>> set a test_mc movieclip on the stage
>> then run it.. .. nothing happens.
>> Select the test_mc ..  put "//" on it in the action panel..
>> And.. you get a trace.
>>
>> Anyone? Or is there a way to dynamically put the onClipEvent(load) on
it?
>>
>> Greetz,
>>
>>
>> Dennis
>> I Sioux
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


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

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


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

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




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

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