[Flashcoders] record audio with flash (offline or online)

2006-03-03 Thread Jan Schluenzen
Hey guys!
Does anyone have suggestions how I would record audio through a microphone
with a flash application (think: karaoke app)? This audio can either be
saved locally in the form of a projector app or online with a server-side
solution. Can this be accomplished with Flash Media Server 2? Will I need
additional server-side software? Any offline solutions available?
Thanks!
Jan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] v2 Button Label width?

2006-03-03 Thread Jim Tann
If textWidth returns undefined then it isn't the textfield you are
pointing to,  whenever you change the text in a textfield it updates the
textWidth property. Try using xray to see where the actual textfeild is
in the movie.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Polk
Sent: 02 March 2006 21:25
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] v2 Button Label width?

Setting sizes is not the issue. I need access to the size of the label
after running autoSize = left and adding text to the label. I am
putting in unknown text into each button and will need to resize them
according to the text (Unicode) length. This is mandatory since these
buttons are part of a application UI that sizes according to the
nationality's current language.

Using _width always returns the same result, no matter what size it is.
textWidth returns undefined.

Thanks,
Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jim
Sent: Thursday, March 02, 2006 3:12 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] v2 Button Label width?

You set the width of the button using myButton.setSize(width, height);
and
im not sure but I think if you have a reference to the label text field
you
can use label._width = label.textWidth; 

Hope this helped.
Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Polk
Sent: 02 March 2006 19:02
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] v2 Button Label width?

I have searched google, the list, MM/Adobe, help files and my new book,
Advanced Components. I cannot seem to figure out how to determine the
width of the Label embedded into the v2 Button component. I will be
loading many different languages via Unicode into the label and will not
know the exact size to set until I have fed the text into it.

 

In looping through its properties I have determined the Label is stored
in labelPath.

 

The other option I am trying to avoid is rendering an identical string
into an invisible label component to determine its size. The only option
I see right now, is using a non-monospaced font. Any help would be
appreciated.

 

Thanks,

Steve

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

2006-03-03 Thread Danny Kodicek

BUT if I change the line 'var word_mc:MovieClip' to just 'var word_mc',

ie remove the type definition

It works, so why if I define the type definition for my variable does

the assignment break?

I'd imagine that the compiler fails to realise that the eval statement could 
create a MovieClip object. What if instead of using eval you used

var word_mc:MovieClip = this[clipid + i]?

Best
Danny 


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

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


Re: [Flashcoders] Game Develop in Flash 8

2006-03-03 Thread Michael Klishin

Samuel Santos wrote:


I have a certain knowledge in 3D Game Development using C++ and OpenGL.

But I like Flash to much and I think it's less complicated to do game in it
(please, confirm that?)


Actually it heavy depends on coders skills. If you lack of OOD 
experience Flash game development may take even more time, believe me.



I would like tips for where I should begin to study to using flash to
develop games and if it possible to do 3D with it.


Forget about 3D at the moment, you CPU will lay down and die because of 
calculations volume. For 2D game dev there is an old good book by Jobe 
Makar, Flash Game Design Demystified. You'd better kick off with it I 
guess.


--
Michael Antares Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Game Develop in Flash 8

2006-03-03 Thread Danny Kodicek




Samuel Santos wrote:


I have a certain knowledge in 3D Game Development using C++ and OpenGL.

But I like Flash to much and I think it's less complicated to do game in 
it

(please, confirm that?)


Actually it heavy depends on coders skills. If you lack of OOD experience 
Flash game development may take even more time, believe me.



I would like tips for where I should begin to study to using flash to
develop games and if it possible to do 3D with it.


If you're interested in 3D, you should take a look at Director: Like Flash, 
it's quick to learn, has a satisfying development environment, a robust 
scripting language, a cross-platform, cross-browser plugin with wide 
installation base, a helpful developer community, and it supports hardware 
3D (although the 3D engine is a few years old now). Oh, and you can embed 
Flash in it if you want!


As an excellent example of Director's capabilities as a 3D game engine, have 
a look at Dodge That Anvil: http://www.rabidlab.com/games/dta/demo.html


Danny 


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

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


Re: [Flashcoders] Game Develop in Flash 8

2006-03-03 Thread Ramon Miguel M. Tayag
Are there recommended books available that use AS2.0?

I understand that even the Flash MX 2004 version of Jobe Makar's
book is much like the first (according to reviews in Amazon).

I found a couple of others that got good reviews but not close to as
many reviews as I would have wanted (1-2 reviews).

--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Problem to load a flashpaper from internet!!

2006-03-03 Thread David Serrano

Hello,
I have problems to load a flashpaper via internet. If I load it from 
internet, the flash player freezes.

I try this:

loadFlashPaper(http://www.antares.es/demos/etutor/docs/slides.swf,content_mc, 
500,500,this);


function onLoaded(){
   content_mc._visible=false;
   fp = content_mc.getIFlashPaper();
}
  
function loadFlashPaper(

  path_s,   // path of SWF to load
  dest_mc,  // MC which we should replace with the SWF
  width_i,  // new size of the dest MC
  height_i, // new size of the dest MC
  loaded_o) // optional: object to be notified that loading is complete
{
  var intervalID = 0;
  var loadFunc = function()   {
 dest_mc._visible = false;
 var fp = dest_mc.getIFlashPaper();
 if (!fp)
return;
 if (fp.setSize(width_i, height_i) == false)
return;
 dest_mc._visible = true;
 clearInterval(intervalID);
 loaded_o.onLoaded(fp);
  }
  intervalID = setInterval(loadFunc, 100);
  dest_mc.loadMovie(path_s);
}

But, If I try to load the same file but in local mode, It's run ok.

Any clue?

Thanks in advance!!

David
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Develop Model/Organization and about 3d Files

2006-03-03 Thread Samuel Santos
Guys, Hi for all!

I see in some sites, links to using MVC model to develop in flash

But to develop games it's the best choice?

There is other ways to structure your game?

How Am I organize?

where can I find information and examples about?

and another question...

As I see, AS 2.0 can use 3d math e and render 3d scenes (a tutorial in Flash
Developer sites in Macromedia)

Theorily (it's spell/write right?) , Am I can read a, for example, SMD
(half-life) file, or a 3DS, or ASE files and render in Flash? it's possible?

thanks in advanced folks

see ya

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

2006-03-03 Thread eric dolecki
I agree with Michael...

import mx.utils.ObjectCopy;

obj = new Object();
obj.color = red;

obj2 = ObjectCopy.copy( obj );
obj2.color = blue;

trace( obj.color );
trace( obj2.color );


This should work with an Array Object as well I assume


On 3/2/06, Michael Klishin [EMAIL PROTECTED] wrote:

 Wade Arnold wrote:
  Is it possible to clone and array in AS 2.0?  I have copied the array
 but
  that just places a pointer at the existing array. I am looking to
  clone/duplicate the array to separate the two data elements without
 having
  to do a for loop. This of course stops working once you use objects or
  multi-dimensional arrays.

 Isn't it a job for mx.utils.ObjectCopy class and it's static copy method?

 --
 Michael Antares Klishin,

 Email: [EMAIL PROTECTED]
 Web: www.novemberain.com

 Non progredi est regredi
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Game Develop in Flash 8

2006-03-03 Thread Samuel Santos
Thanks for the answers!

but if flash it's not supported well 3D so and if I make a fake 3D?

there is a way to learn that? to draw and give a feeling of depth? a 3d
draw? :D
in flash?

hehehehe

Director, I don't know, As I read about, Flash is pratically in every place
because of
web... Well, I don't know very much... I see in Flash more praticity to do
things as in otherside my experience in 3D, I see it can be a little
complicated... when you go more deep in game development...

where Director is more used? in the Industry?

:) this list it's very very useful like said to me. hehehe show!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Strange var assignment issues

2006-03-03 Thread Janis Radins
you should better use
 var word_mc:MovieClip = clip_to_copy.duplicateMovieClip(clipid + i, i)

tho that shouldnt

2006/3/3, Danny Kodicek [EMAIL PROTECTED]:

 BUT if I change the line 'var word_mc:MovieClip' to just 'var word_mc',
 ie remove the type definition
 It works, so why if I define the type definition for my variable does
 the assignment break?

 I'd imagine that the compiler fails to realise that the eval statement
 could
 create a MovieClip object. What if instead of using eval you used
 var word_mc:MovieClip = this[clipid + i]?

 Best
 Danny

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

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

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

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


Re: [Flashcoders] Clone Array of Type Object

2006-03-03 Thread Janis Radins
array clone is done quite easy.
see this:
var old_array:Array = new Array(1, 2, 3, 4);
var new_array:Array = old_array.concat();
new_array.shift();
trace(old_array+ : +new_array);

2006/3/3, eric dolecki [EMAIL PROTECTED]:

 I agree with Michael...

 import mx.utils.ObjectCopy;

 obj = new Object();
 obj.color = red;

 obj2 = ObjectCopy.copy( obj );
 obj2.color = blue;

 trace( obj.color );
 trace( obj2.color );


 This should work with an Array Object as well I assume


 On 3/2/06, Michael Klishin [EMAIL PROTECTED] wrote:
 
  Wade Arnold wrote:
   Is it possible to clone and array in AS 2.0?  I have copied the array
  but
   that just places a pointer at the existing array. I am looking to
   clone/duplicate the array to separate the two data elements without
  having
   to do a for loop. This of course stops working once you use objects or
   multi-dimensional arrays.
 
  Isn't it a job for mx.utils.ObjectCopy class and it's static copy
 method?
 
  --
  Michael Antares Klishin,
 
  Email: [EMAIL PROTECTED]
  Web: www.novemberain.com
 
  Non progredi est regredi
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Game Develop in Flash 8

2006-03-03 Thread Danny Kodicek

but if flash it's not supported well 3D so and if I make a fake 3D?


You can, but it's a lot of work. (Otherwise everyone would do it). 
ActionScript is getting faster, but it's still nowhere near as fast as you 
would need to do fully rendered real-time 3D. And judging by this:



there is a way to learn that? to draw and give a feeling of depth? a 3d

draw? :D

you almost certainly don't know enough about it to achieve anything 
worthwhile. Far better to go with something that does the hard work for you, 
Director as I said, or some other 3D engine.



Director, I don't know, As I read about, Flash is pratically in every place

because of
web...

Shockwave has a pretty good install base - not as much as Flash, but pretty 
high (according to Macromedia, about 50% of users can view 3D content on the 
web with Shockwave: 
http://www.macromedia.com/software/player_census/shockwaveplayer/).



Well, I don't know very much... I see in Flash more praticity to do

things as in otherside my experience in 3D, I see it can be a little
complicated... when you go more deep in game development...


where Director is more used? in the Industry?


Director is a very commonly used tool for casual web gaming, especially in 
3D. It's not as ubiquitous as Flash, but you can find hundreds of good 
Director-made games out there. Some good links at 
http://www.director-3d.com/search.php?topic_id=15


(Incidentally, although I've been plugging Director here, I'm by no means a 
Director evangelist, I love Flash too. But use the best tool for the job!)


Best
Danny 


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

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


Re: [Flashcoders] Strange var assignment issues

2006-03-03 Thread Danny Kodicek

you should better use

var word_mc:MovieClip = clip_to_copy.duplicateMovieClip(clipid + i, i)

Does that work now? Last time I checked, duplicateMovieClip didn't return 
the object, annoyingly.


Danny 


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

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


Re: [Flashcoders] Clone Array of Type Object

2006-03-03 Thread eric dolecki
Here is the trace for your code BTW:

1,2,3,4 : 2,3,4



On 3/3/06, Janis Radins [EMAIL PROTECTED] wrote:

 array clone is done quite easy.
 see this:
 var old_array:Array = new Array(1, 2, 3, 4);
 var new_array:Array = old_array.concat();
 new_array.shift();
 trace(old_array+ : +new_array);

 2006/3/3, eric dolecki [EMAIL PROTECTED]:
 
  I agree with Michael...
 
  import mx.utils.ObjectCopy;
 
  obj = new Object();
  obj.color = red;
 
  obj2 = ObjectCopy.copy( obj );
  obj2.color = blue;
 
  trace( obj.color );
  trace( obj2.color );
 
 
  This should work with an Array Object as well I assume
 
 
  On 3/2/06, Michael Klishin [EMAIL PROTECTED] wrote:
  
   Wade Arnold wrote:
Is it possible to clone and array in AS 2.0?  I have copied the
 array
   but
that just places a pointer at the existing array. I am looking to
clone/duplicate the array to separate the two data elements without
   having
to do a for loop. This of course stops working once you use objects
 or
multi-dimensional arrays.
  
   Isn't it a job for mx.utils.ObjectCopy class and it's static copy
  method?
  
   --
   Michael Antares Klishin,
  
   Email: [EMAIL PROTECTED]
   Web: www.novemberain.com
  
   Non progredi est regredi
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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] Clone Array of Type Object

2006-03-03 Thread Janis Radins
sorry for duplicating, didnt noticed Ryan allready told same thing for other
Array prototype that does the same


2006/3/3, eric dolecki [EMAIL PROTECTED]:

 Here is the trace for your code BTW:

 1,2,3,4 : 2,3,4



 On 3/3/06, Janis Radins [EMAIL PROTECTED] wrote:
 
  array clone is done quite easy.
  see this:
  var old_array:Array = new Array(1, 2, 3, 4);
  var new_array:Array = old_array.concat();
  new_array.shift();
  trace(old_array+ : +new_array);
 
  2006/3/3, eric dolecki [EMAIL PROTECTED]:
  
   I agree with Michael...
  
   import mx.utils.ObjectCopy;
  
   obj = new Object();
   obj.color = red;
  
   obj2 = ObjectCopy.copy( obj );
   obj2.color = blue;
  
   trace( obj.color );
   trace( obj2.color );
  
  
   This should work with an Array Object as well I assume
  
  
   On 3/2/06, Michael Klishin [EMAIL PROTECTED] wrote:
   
Wade Arnold wrote:
 Is it possible to clone and array in AS 2.0?  I have copied the
  array
but
 that just places a pointer at the existing array. I am looking to
 clone/duplicate the array to separate the two data elements
 without
having
 to do a for loop. This of course stops working once you use
 objects
  or
 multi-dimensional arrays.
   
Isn't it a job for mx.utils.ObjectCopy class and it's static copy
   method?
   
--
Michael Antares Klishin,
   
Email: [EMAIL PROTECTED]
Web: www.novemberain.com
   
Non progredi est regredi
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] Microsoft Internet Explorer update and consequences for Flash

2006-03-03 Thread John Giotta
We've been running IE 7 Beta in our labs and we not experiencing any
requirements to activate the ActiveX.

Our experiments use the normal object/embed code approach and also the
FlashObject (http://blog.deconcept.com/flashobject/) approach. Yet, we
still haven't had a case where the activation was necessary.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Strange var assignment issues

2006-03-03 Thread Janis Radins
there are 2 duplicateMovieClip functions
first one is global function second one is prototype of MovieClip class

2006/3/3, Danny Kodicek [EMAIL PROTECTED]:

 you should better use
 var word_mc:MovieClip = clip_to_copy.duplicateMovieClip(clipid + i, i)

 Does that work now? Last time I checked, duplicateMovieClip didn't return
 the object, annoyingly.

 Danny

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

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

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

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


[Flashcoders] file reference

2006-03-03 Thread Andreas Rønning

I have an app that takes an xml file and displays it in a certain way.
The user needs to be able to choose from a range of XML files, and i 
thought filereference would let me use a classic browse-window to 
reference files to be loaded and parsed. However, apparently file.name 
only gives the bare file name and not a path to the file.


Is there a way to get around having to hardcore a directory for this?

- A
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Trying to understandi Live Preview

2006-03-03 Thread Frederick N. Brier

I have been mucking with this for several days and would love if someone could 
point me at an up-to-date explanation of how live preview is supposed to be 
done.

I have read about the old style of doing it using onUpdate() and an external 
.swf.

I have watched trace() statements execute my init(), createChildren(), 
constructors and property setters.

I have read posts saying that live preview mode does not support depths (only 
one depth), which can't be right (more prayerful), because most custom 
components are going to dynamically add MovieClips and graphics.

I have looked at mm_livepreview.as and read through the comments, but am unsure 
as to how it fits in the scheme of things.

Code using attachMovie and loadBitmap to load graphics or bitmaps from the 
library work in test mode, but return undefined in Live Preview.  Why can't I 
load graphics or bitmaps from the library?  Obviously MovieClip symbols show up.

Other than the simple triangle sample on the Macromedia web site which uses the 
old onUpdate/external .swf approach, there seems to be very little on this 
topic.  Please, just point me in the right direction!!  Thank you.

Fred.


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

2006-03-03 Thread Latcho
how to cast a string true into a boolean true and a false into false 
without using  this long trick;

   var myBool:Boolean;
   myBool= ( myString == true) ? true : false;

by the way:
Boolean(true) = true
Boolean(false) = true
man this sucks
So build our own toBool Proto ?
thanks,
latcho
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] max character for file name on a mac

2006-03-03 Thread quinrou .
Hi all,

I am sahring a problem that got solved bbut that i found really bizzare

We basically had a swf loading a video in itself, the file name for that vid
was pulled off an xml file which was loaded in. That swf worked fine on pc
but as soon as we tried to run it on a mac it stoped working. We first
thought that we were using the wrong flash player (8 - 7) but no it wasn't
that all. One of collagues who works on mac told us the mac has issues with
long filenames. At first i was really septical so we run some tests with
long and short filenames. It turned out that our collegue was right. the
maximum characters for a file name on a mac is 23 characters. if it's any
longuer things start breaking... very strange...

hope this can help anyone else

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

2006-03-03 Thread Jeremy Dost
You only need this---
var myBool:Boolean = ( myString == true);

If mixed case is a possibility then use myString.toLowerCase()

-jeremy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Latcho
Sent: Friday, March 03, 2006 9:43 AM
To: Flashcoders mailing list
Subject: [Flashcoders] casting string to bool

how to cast a string true into a boolean true and a false into false
without using  this long trick;
var myBool:Boolean;
myBool= ( myString == true) ? true : false;

by the way:
Boolean(true) = true
Boolean(false) = true
man this sucks
So build our own toBool Proto ?
thanks,
latcho
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 3/2/2006




-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 3/2/2006

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

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


Re: [Flashcoders] casting string to bool

2006-03-03 Thread Danny Kodicek


how to cast a string true into a boolean true and a false into false 
without using  this long trick;

   var myBool:Boolean;
   myBool= ( myString == true) ? true : false;


You could cut out the last bit:

myBool= ( myString == true) 


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

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


[Flashcoders] catching errors within swf with phpObject

2006-03-03 Thread Latcho

Is there a way ?
If I have for ex. a (catched) mysql error msg in php i can't seem to get 
that print_r/echo back to phpobject/flash.
myPHPObj.myFunc_onResult =function(res){ this.getOutput just 
won't display a thing.

any experiences with error catching  phpObject v1.5+ ? anybody?

cheers,
Latcho

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

2006-03-03 Thread Karim Beyrouti
Or ... Just to be sure: 

myBool= ( myString.toLowerCase() == true) 
 

- karim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: 03 March 2006 14:51
To: Flashcoders mailing list
Subject: Re: [Flashcoders] casting string to bool


 how to cast a string true into a boolean true and a false into 
 false without using  this long trick;
var myBool:Boolean;
myBool= ( myString == true) ? true : false;

You could cut out the last bit:

myBool= ( myString == true) 

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

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 02/03/2006


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

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


Re: [Flashcoders] casting string to bool

2006-03-03 Thread Latcho

Thanks!
that seems to be the triple right way ;)
but converting the type of a myString:String to a myString:Boolean is 
just a big nono possible?

Latcho

Danny Kodicek wrote:


how to cast a string true into a boolean true and a false into 
false without using  this long trick;

   var myBool:Boolean;
   myBool= ( myString == true) ? true : false;


You could cut out the last bit:

myBool= ( myString == true)
Danny
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


[Flashcoders] Autoscroll Dynamic Textfield: onChange Handler not firing?

2006-03-03 Thread lars

hi, i'm trying to autoscroll a dynamic textfield which doesnt work.
the onScroll handler only works the first time i'm putting content
into the textfield and the onChange handler doesnt fire at all?!

i create a dynamic textfield using createTextField and added a
listener for onChange and onScroll to it afterwards. i wanted
to check scroll and maxscroll every time i add content to it
and scroll it if necessary, but it doesnt work with the event
handlers. any other ideas? it's some kind of autoscrolling
info console it wanna do. thanks: lars


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Huge Prob - Clear / Delete Array... :(

2006-03-03 Thread MJorge
I´m loading some vars from a php database. The prob is that i have to load
different php files (categories) and has i am using an Array to push my
database values, btu when i needed to change the ategorie, i load my php
again but the Arrays does not delete it always has the same values... :(

Code:

myDados = new LoadVars ();
myDados.onLoad = function ()
{
for (var c in this)
{
if (c != onLoad)
{
dados.push (this[c]);
}
}
trace (   + dados);
dados.pop ();
myLength = dados.length;
trace (myLength);
i = 0;
//assignDados (i);
};
function carregaDados (cat)
{
dados = null;
dados = new Array ();
myDados.load (http://www.myurl.com/myfile.php?serie=; + cat);
}

The function carregaDados is the one i run when i want to load new values or
a new categorie froom my DB. the prob is that i have tried everything to
delete the old Array to update with new values, but no luck.

Any help please?

--

Mário Jorge
Icq: 164987050
Msn + Mail: [EMAIL PROTECTED]
Web: http://www.beedigital.net
Blog: http://www.beedigital.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


[Bulk] [Flashcoders] ScrollPane Track Problem

2006-03-03 Thread varfoo

Any help with this would be greatly appreciated.
- Original Message - 
From: varfoo [EMAIL PROTECTED]

To: Flashcoders Mailing List flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 02, 2006 4:28 PM
Subject: [Bulk] [Flashcoders] ScrollPane Track Problem


Has anyone encountered this problem with the scrollPane?  The first time I 
click the track, nothing happens.  When I click the track again, the 
scrollPane positions itself in the location of the first click.  Need help 
quick.  Any insight greatly appreciated.


-vf
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Trying to understandi Live Preview

2006-03-03 Thread JesterXL
There was a good blog entry about this but no clue where it is.

Here's the 411:

- LivePreview in MX 2004  8 expects components to be used
- components defined as something that extends mx.core.UIComponent
- LivePreview uses that mm_livepreview.as class you found to compile the SWF 
when you compile your components (SWC, Compiled Clip).
- mm_livepreview.as calls setSize; that's why when you scale you're 
components, they re-size nicely.  If you implement a good setSize/size 
method, then you're livepreview will work good too.
- When you compile an SWC, your component is converted into a SWF file 
amongst other things.  The LivePreview uses your ACTUAL compiled component 
in the SWF to show.  In MX and 5 you had to compile these manually.  Now, 
compiled clips and SWC's are handled in the IDE for you.
- while you can use onUpdate if you wish, it can feel messy merging 
livepreview code into your production code.  The only solace is if ( 
_global.isLivePreview ).  If that's true, your component is running in the 
live preview window.
- you NEED to have something on frame 1 for the LivePreview to have drawing 
room.  I usually use the standard BoundingBox.  It just needs to be 1 x 1 
pixel, but I suggest making 100x100 or whatever the default value your 
component is since bounding box technically sets it.
- if you are not using UIComponent, you might want  to build the livepreview 
swf manually...
- the LivePreview actually runs a seperate SWF instance in the player. 
However, this SWF instance somehow shares the same global memory, so other 
livepreviews can somehow know about variables from other ones.  This is 
because of the magic mm_livepreview.as is doing.  I never figured it out.
- they cannot see library stuff because they are not FLA's, they are 
compiled SWF's, and secondly, the Library is not a compiled SWF, it's a set 
of assets in the binary FLA, not compiled to SWF.  The LivePreview is 
showing yoru compiled component, and any assets in it.  If you want it to 
show something in the LivePreview, put it in the component, and re-compile 
it to compiled clip or SWC.

- Original Message - 
From: Frederick N. Brier [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, March 03, 2006 9:38 AM
Subject: [Flashcoders] Trying to understandi Live Preview


I have been mucking with this for several days and would love if someone 
could point me at an up-to-date explanation of how live preview is supposed 
to be done.

I have read about the old style of doing it using onUpdate() and an external 
.swf.

I have watched trace() statements execute my init(), createChildren(), 
constructors and property setters.

I have read posts saying that live preview mode does not support depths 
(only one depth), which can't be right (more prayerful), because most custom 
components are going to dynamically add MovieClips and graphics.

I have looked at mm_livepreview.as and read through the comments, but am 
unsure as to how it fits in the scheme of things.

Code using attachMovie and loadBitmap to load graphics or bitmaps from the 
library work in test mode, but return undefined in Live Preview.  Why can't 
I load graphics or bitmaps from the library?  Obviously MovieClip symbols 
show up.

Other than the simple triangle sample on the Macromedia web site which uses 
the old onUpdate/external .swf approach, there seems to be very little on 
this topic.  Please, just point me in the right direction!!  Thank you.

Fred.


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

2006-03-03 Thread Ron Wheeler
Can you just put your list of files in an XML file and present that to 
the user?
You can map the file references to wherever you want and provide good 
descriptions rather than just file names.


If you just want the names, you could probably generate the XML index 
with Ant or some other scripting language.


Ron



Andreas Rønning wrote:

I have an app that takes an xml file and displays it in a certain way.
The user needs to be able to choose from a range of XML files, and i 
thought filereference would let me use a classic browse-window to 
reference files to be loaded and parsed. However, apparently file.name 
only gives the bare file name and not a path to the file.


Is there a way to get around having to hardcore a directory for this?

- A
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Return radio button index for selection

2006-03-03 Thread Wendy Richardson
Anyone know how I can access the index of a selected radio button?  


Or...
I am able to trace the .selection property and see a string, but can't 
actually change it into a string that I  can manipulate  - it's an 
object and toString just returns object or something similar.  If I 
could convert that to a real string  I could get the info I need from there.


Thanks for any ideas.

Wendy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Trying to understand Live Preview

2006-03-03 Thread GregoryN
Hello Fred,

I've answered the similar issues a number of times in February.
See in archive of this list:
- Component and Live Preview problems
- Creating Components - What am I over looking?
- Component instantiation- How does dragging affect  the constructor

 1) read the mm_livepreview.as file very carefully. Read Gary
 Grossman's comments in it and try to understand what each string of
 code does.
 2) Read Components Dictionary chapter of Using Components in Flash
 docs. you'll see the differencies of behaviour (in Live Preview) of MM native
 components.
 3) look into source files/code of MM components to see how exactly
 differencies of p.2 are implemented.
 4) make sure you have your own onUpdate and setSize methods defined.


Matter is that 2 instances are created for Live Preview, and the 1st
one then becomes invisible.


Comments for your lines.
 I have read posts saying that live preview mode does not support depths (only 
 one depth), which can't be right (more
 prayerful), because most custom components are going to dynamically add 
 MovieClips and graphics.

I haven't seen such posts (at least in this list :-).

 in Live Preview.  Why can't I load graphics or bitmaps from the library?  
 Obviously MovieClip symbols show up.

A movie in LivePreview (on the stage in IDE) is compiled clip. BTW,
are you talking about components (like I do)?
As a compiled clip, it can't use any symbols from the _host_ library.
It uses it's own library.
You may want to clarify what you mean by load graphics or bitmaps
from the library.


Feel free to ask more questions if you'll have them.





-- 
Best regards,
 GregoryN

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


___ Frederick N. Brier wrote:
 
 I have been mucking with this for several days and would love if someone 
 could point me at an up-to-date explanation of how
 live preview is supposed to be done.
 
 I have read about the old style of doing it using onUpdate() and an external 
 .swf.
 
 I have watched trace() statements execute my init(), createChildren(), 
 constructors and property setters.
 
 I have read posts saying that live preview mode does not support depths (only 
 one depth), which can't be right (more
 prayerful), because most custom components are going to dynamically add 
 MovieClips and graphics.
 
 I have looked at mm_livepreview.as and read through the comments, but am 
 unsure as to how it fits in the scheme of things.
 
 Code using attachMovie and loadBitmap to load graphics or bitmaps from the 
 library work in test mode, but return undefined
 in Live Preview.  Why can't I load graphics or bitmaps from the library?  
 Obviously MovieClip symbols show up.
 
 Other than the simple triangle sample on the Macromedia web site which uses 
 the old onUpdate/external .swf approach, there
 seems to be very little on this topic.  Please, just point me in the right 
 direction!!  Thank you.
 
 Fred.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Develop Model/Organization and about 3d Files

2006-03-03 Thread Manuel Saint-Victor
Let me know if this article helps at all.  The whole site is prety good.

http://www.gotoandplay.it/_articles/2005/07/patterns.php

Mani

On 3/3/06, Samuel Santos [EMAIL PROTECTED] wrote:

 Guys, Hi for all!

 I see in some sites, links to using MVC model to develop in flash

 But to develop games it's the best choice?

 There is other ways to structure your game?

 How Am I organize?

 where can I find information and examples about?

 and another question...

 As I see, AS 2.0 can use 3d math e and render 3d scenes (a tutorial in
 Flash
 Developer sites in Macromedia)

 Theorily (it's spell/write right?) , Am I can read a, for example, SMD
 (half-life) file, or a 3DS, or ASE files and render in Flash? it's
 possible?

 thanks in advanced folks

 see ya

 Samuel
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Game Develop in Flash 8

2006-03-03 Thread Samuel Santos
well Danny I have some knowledege to programming
and to use some 3d softwares (more MAX, and I would like to use Blender
more)
and I have some books of drawing too that I read a little and well...
thinking now, I believe that I have
a little notion to do that...

but I would appreciate with you have sites has teaching that in flash (Am I
searching google too huh? hehehehe)
or something to help...

anyway... I'll try flash to make 3D-fake games not necessary use
actionscript programming in all, but in
a what it helps...

try and persistance, right? :D and flashcoders :D

thanks


but if flash it's not supported well 3D so and if I make a fake 3D?

You can, but it's a lot of work. (Otherwise everyone would do it).
ActionScript is getting faster, but it's still nowhere near as fast as you
would need to do fully rendered real-time 3D. And judging by this:

there is a way to learn that? to draw and give a feeling of depth? a 3d
draw? :D

you almost certainly don't know enough about it to achieve anything
worthwhile. Far better to go with something that does the hard work for you,
Director as I said, or some other 3D engine.

Director, I don't know, As I read about, Flash is pratically in every place
because of
web...

Shockwave has a pretty good install base - not as much as Flash, but pretty
high (according to Macromedia, about 50% of users can view 3D content on the
web with Shockwave:
http://www.macromedia.com/software/player_census/shockwaveplayer/).

Well, I don't know very much... I see in Flash more praticity to do
things as in otherside my experience in 3D, I see it can be a little
complicated... when you go more deep in game development...

where Director is more used? in the Industry?

Director is a very commonly used tool for casual web gaming, especially in
3D. It's not as ubiquitous as Flash, but you can find hundreds of good
Director-made games out there. Some good links at
http://www.director-3d.com/search.php?topic_id=15

(Incidentally, although I've been plugging Director here, I'm by no means a
Director evangelist, I love Flash too. But use the best tool for the job!)

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

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


[Flashcoders] DateFiels component text dissapears

2006-03-03 Thread Jim Tann
If my date component has a date set with .selectedDate and I set it to
have the same date again the date of the component changes but the text
field goes blank.

I have seen this question asked in the live docs but with no answer. Is
there a way to force a redraw of a compnent? Or just stop this from
happening?

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] Re:SMALL Prob - Clear / Delete Array

2006-03-03 Thread Latcho

I think it has to do with the scope of dados, so put on top of your script:
   *var dados = new Array (); *

the func carregaDados doesn't empty the same dados as the one in  in the onLoad func, 
because it won't know it;
try to put trace(dados) as the first line in carregaDados 
before you empty the array; without declaring the var globally it will trace undefined I guess.**




*var dados = new Array (); *

myDados = new LoadVars ();
myDados.onLoad = function ()
{
   for (var c in this)
   {
   if (c != onLoad)
   {
   dados.push (this[c]);
   }
   }
   trace (   + dados);
   dados.pop ();
   myLength = dados.length;
   trace (myLength);
   i = 0;
   //assignDados (i);
};
function carregaDados (cat)
{
   *trace(dados)* //??? 
   dados = null;

   dados = new Array ();
   myDados.load (http://www.myurl.com/myfile.php?serie=; + cat);
}


* you can remove the dados = null; *



I´m loading some vars from a php database. The prob is that i have to load
different php files (categories) and has i am using an Array to push my
database values, btu when i needed to change the ategorie, i load my php
again but the Arrays does not delete it always has the same values... :(

Code:

myDados = new LoadVars ();
myDados.onLoad = function ()
{
for (var c in this)
{
if (c != onLoad)
{
dados.push (this[c]);
}
}
trace (   + dados);
dados.pop ();
myLength = dados.length;
trace (myLength);
i = 0;
//assignDados (i);
};
function carregaDados (cat)
{
dados = null;
dados = new Array ();
myDados.load (http://www.myurl.com/myfile.php?serie=; + cat);
}

The function carregaDados is the one i run when i want to load new values or
a new categorie froom my DB. the prob is that i have tried everything to
delete the old Array to update with new values, but no luck.

Any help please?

--

Mário Jorge
Icq: 164987050
Msn + Mail: [EMAIL PROTECTED]
Web: http://www.beedigital.net
Blog: http://www.beedigital.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

  


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

2006-03-03 Thread eric dolecki
Im looking for some code so I can move a mc smoothly along an arc (curve) -
using my mouse to move back and forth along it. Using code only.

Is there any code or a place I can look to find out more?

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

2006-03-03 Thread Spencer Markowski
Has anyone used the anitialising features of Flash 8 for actionscript?

It doesn't seem to render out the font anywhere near the quality as opposed
to placing a text box on the stage and selecting 'Antialias for
Readability'.

Macromedia doesn't have very well-documented explanations for how this
works, so if anyone can enlighten me I'd appreciate it.

gridFitType
antiAliasType
TextRenderer
maxLevel
setAdvancedAntialiasingTable()


Gets pretty ugly and messy once you start playing around with it. Will Flash
ever really have clear text?
--
Spencer Markowski
[EMAIL PROTECTED]
314.631.5576
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Can a class be conditionally included with an if statement

2006-03-03 Thread Manuel Saint-Victor
Would something like this keep a file from being included in compilation ?

If(debug){
   debugData:TestData=new TestData();
}

My goal is to have some class files that are not compiled if that value is
set to debug=false.  Or does the mere mention of the TestData class make it
get packaged in my swf?

Mani
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Can a class be conditionally included with an if statement

2006-03-03 Thread Johannes Nel
that class will get included
search for a pre-compiller

On 3/3/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote:

 Would something like this keep a file from being included in compilation ?

 If(debug){
debugData:TestData=new TestData();
 }

 My goal is to have some class files that are not compiled if that value is
 set to debug=false.  Or does the mere mention of the TestData class make
 it
 get packaged in my swf?

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

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


Re: [Flashcoders] Move object along a curve

2006-03-03 Thread Jeff Earhart
This is the best class I have found for doing this.  You can even
change curve in real time.  It does run a little heavy if you use too
many movieClips though.

http://www.dembicki.org/path/index-eng.html



On 3/3/06, eric dolecki [EMAIL PROTECTED] wrote:
 Im looking for some code so I can move a mc smoothly along an arc (curve) -
 using my mouse to move back and forth along it. Using code only.

 Is there any code or a place I can look to find out more?

 -e.dolecki
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Move object along a curve

2006-03-03 Thread eric dolecki
Do you have an example of that class moving a mc along an arc? I downloaded
the example FLAs and there is nothing in there to show that

On 3/3/06, Jeff Earhart [EMAIL PROTECTED] wrote:

 This is the best class I have found for doing this.  You can even
 change curve in real time.  It does run a little heavy if you use too
 many movieClips though.

 http://www.dembicki.org/path/index-eng.html



 On 3/3/06, eric dolecki [EMAIL PROTECTED] wrote:
  Im looking for some code so I can move a mc smoothly along an arc
 (curve) -
  using my mouse to move back and forth along it. Using code only.
 
  Is there any code or a place I can look to find out more?
 
  -e.dolecki
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Move object along a curve

2006-03-03 Thread eric dolecki
I should state what I am trying to do here...

I'd like to generate a curve (not a circle) - one that bows out to the
right... and animate mcs along the curve. Up and down. Once I can get that
working, I'll play with scale.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XMLConnectior HTTPS IE problem

2006-03-03 Thread James Wrubel
All,

I have a really odd problem that has manifested itself now that we have moved a 
data-driven site with a Flash front end to https. The front end is at 
https://www.vte.cert.org/vte1_5/vtelibrary.html. When you click the 'go' button 
in the Flash app, it triggers an XMLConnector component that calls a Breeze API 
to return XML which is then displayed in the grid. The Breeze back end is at 
https://river.vte.cert.org and has the proper crossdomain.xml file in place 
(actually the file allows access from * with secure=false).

The problem is that if you try this process in Firefox, it works fine. If you 
try it in IE, it never loads. it worked fine until we put the SSL certificate 
on the Breeze server (the back end). Now it fails. The flash documentation says 
that a SWF loaded in a non-https domain will never be able to access content 
from an https domain, but it works in Firefox so this can't be the problem, and 
in this case both content sets are loaded under https. 

I generated a quick tester to see what the error message was in IE. If you go 
to this page:

https://www.vte.cert.org/vte1_5/APITester.html

You see that in firefox, the XML loads successfully, but in IE, it fails with a 
Fault XMLConnector.No.Data.Received Was expecting data from the server, but 
none was received message. In fact when I look at netstat for the machine, the 
outbound https connection to river.vte.cert.org never actually initiates.

I think it must be possible to have a SWF run an XMLConnector talking to a 
server in its same domain in IE. It seems that it could be an issue of an IE 
setting causing the blocked access attempt, some code error on my part that 
Firefox is more forgiving about, or some Flash security setting that I haven't 
accounted for.

Has anyone ever run in to 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


Re: [Flashcoders] Move object along a curve

2006-03-03 Thread eric dolecki
I foud something called AnimationPackage and its a huge collection of stuff
- but I think its overkill :/ Nice stuff though!

On 3/3/06, eric dolecki [EMAIL PROTECTED] wrote:

 I should state what I am trying to do here...

 I'd like to generate a curve (not a circle) - one that bows out to the
 right... and animate mcs along the curve. Up and down. Once I can get that
 working, I'll play with scale.



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

2006-03-03 Thread Moses Gunesch

Eric,

Yeah Uhlmann's stuff is incredible, really sophisticated, although I  
agree with you that it's not as approachable as it could be. Robert  
Penner wrote a move-on-path thing that's been used in a lot of these  
types of products. He da man.


Fuse 1.1 has simple (cubic) bezier functionality, and it's pretty  
easy to use because you can pass relative positions for the control  
points, much easier than absolute ones. Adding other tween props into  
a bezier tween in no problem. (Check out fuse at my site  
mosessupposes.com. It got a warm response at my Flash Forward pres,  
which was really a great experience.)


Moses


On Mar 3, 2006, at 11:30 AM, eric dolecki wrote:

I foud something called AnimationPackage and its a huge collection  
of stuff

- but I think its overkill :/ Nice stuff though!

I'd like to generate a curve (not a circle) - one that bows out to  
the
right... and animate mcs along the curve. Up and down. Once I can  
get that

working, I'll play with scale.


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

2006-03-03 Thread eric dolecki
Thats very cool too - but I would like to dynamically affect the position of
a MC, not using a tween engine where i tell it go from here to there. I just
wanna be able to tell a mc to be:

a scale
an alpha
at this x, y

and when I move my mouse up/down, affect all three of those, while moving it
on an arc.

 http://www.ericd.net/new_css/img/arc.jpg

Like that - ultimately with more than one object - using a bunch of them...



On 3/3/06, Moses Gunesch [EMAIL PROTECTED] wrote:

 Eric,

 Yeah Uhlmann's stuff is incredible, really sophisticated, although I
 agree with you that it's not as approachable as it could be. Robert
 Penner wrote a move-on-path thing that's been used in a lot of these
 types of products. He da man.

 Fuse 1.1 has simple (cubic) bezier functionality, and it's pretty
 easy to use because you can pass relative positions for the control
 points, much easier than absolute ones. Adding other tween props into
 a bezier tween in no problem. (Check out fuse at my site
 mosessupposes.com. It got a warm response at my Flash Forward pres,
 which was really a great experience.)

 Moses


 On Mar 3, 2006, at 11:30 AM, eric dolecki wrote:

  I foud something called AnimationPackage and its a huge collection
  of stuff
  - but I think its overkill :/ Nice stuff though!
 
  I'd like to generate a curve (not a circle) - one that bows out to
  the
  right... and animate mcs along the curve. Up and down. Once I can
  get that
  working, I'll play with scale.

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Finding Next Closest High/Low Number??

2006-03-03 Thread jleo


   I am trying to build a seek forward reverse into a media player, 
and can grab the current time in seconds. But how would I say, if 
wanting to seek forward, jump to the next closest
chapter marker time. In other words, if the playhead is at 220 and my 
next chapter marker is at 250 (or reverse).


   Is there some command like findNextDesendingNumber(220) or similar?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] detect events on an embedded clip

2006-03-03 Thread elr
Seems basic, but I can't find a way to easily catch events from a mc 
subclip which is in a movie clip subclass (called A)


I tried the following approach but wherever I click on A clip, only 
A.onRelease reacts..even when it's over clip mc...:-(


Thank's for your help.

Eric




import mx.utils.Delegate;
class A extends MovieClip{
var clip_mc:MovieClip;  //...required to give access to embedded clip
...
function init(){
...
clip_mc.onRelease=Delegate.create(this,clickOnMc);  
}


function clickOnMc(){   //should catch click on sub clip
trace(clickOnMc  this=+targetPath(this) + clicked...);

}

function onRelease(){   //manage clicks on main clip
trace(onRelease  this=+targetPath(this) + clicked...);
}
}


on frame 1:
var myA:A=new A();
myA.init();


on Stage:
A_mc(A symbol linked to A class) containing clip_mc (clip instance)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] detect events on an embedded clip

2006-03-03 Thread John Berzy
since you have an onRelease in the main MovieClip no events will get called 
from the subclips.
also shouldnt the following line of code be reffering to the 'A_mc' instance 
and not the myA instance.


var myA:A=new A();
myA.init();

should be:
var A_mc:A=new A();
A_mc.init();




From: elr [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] detect events on an embedded clip
Date: Fri, 03 Mar 2006 15:15:44 -0500

Seems basic, but I can't find a way to easily catch events from a mc 
subclip which is in a a  style='text-decoration: none; border-bottom: 3px 
double;' href=http://www.serverlogic3.com/lm/rtl3.asp?si=5k=movie%20clip; 
onmouseover=window.status='movie clip'; return true; 
onmouseout=window.status=''; return true;movie clip/a subclass (called 
A)


I tried the following approach but wherever I click on A clip, only 
A.onRelease reacts..even when it's over clip mc...:-(


Thank's for your help.

Eric




import mx.utils.Delegate;
class A extends MovieClip{
var clip_mc:MovieClip;  //...required to give access to embedded clip
...
function init(){
...
clip_mc.onRelease=Delegate.create(this,clickOnMc);
}


function clickOnMc(){   //should catch click on sub clip
trace(clickOnMc  this=+targetPath(this) + clicked...);

}

function onRelease(){   //manage clicks on main clip
trace(onRelease  this=+targetPath(this) + clicked...);
}
}


on frame 1:
var myA:A=new A();
myA.init();


on Stage:
A_mc(A symbol linked to A class) containing clip_mc (clip instance)

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

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


_
Powerful Parental Controls Let your child discover the best the Internet has 
to offer.  
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Return radio button index for selection

2006-03-03 Thread Latcho

Wendy Richardson wrote:
Anyone know how I can access the index of a selected radio button? 
Or...
I am able to trace the .selection property and see a string, but can't 
actually change it into a string that I  can manipulate  - it's an 
object and toString just returns object or something similar.  If I 
could convert that to a real string  I could get the info I need from 
there.


Thanks for any ideas.

Wendy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Move object along a curve

2006-03-03 Thread Ryan Potter
Are you looking for something like a tsunami effect where the proximity of the 
mouse effects the size and position of the clips?
 
Like the nav here:
www.miketea.com
 

-Original Message- 
From: [EMAIL PROTECTED] on behalf of eric dolecki 
Sent: Fri 3/3/2006 1:05 PM 
To: Flashcoders mailing list 
Cc: 
Subject: Re: [Flashcoders] Move object along a curve



Thats very cool too - but I would like to dynamically affect the 
position of
a MC, not using a tween engine where i tell it go from here to there. I 
just
wanna be able to tell a mc to be:

a scale
an alpha
at this x, y

and when I move my mouse up/down, affect all three of those, while 
moving it
on an arc.

 http://www.ericd.net/new_css/img/arc.jpg

Like that - ultimately with more than one object - using a bunch of 
them...



On 3/3/06, Moses Gunesch [EMAIL PROTECTED] wrote:

 Eric,

 Yeah Uhlmann's stuff is incredible, really sophisticated, although I
 agree with you that it's not as approachable as it could be. Robert
 Penner wrote a move-on-path thing that's been used in a lot of these
 types of products. He da man.

 Fuse 1.1 has simple (cubic) bezier functionality, and it's pretty
 easy to use because you can pass relative positions for the control
 points, much easier than absolute ones. Adding other tween props into
 a bezier tween in no problem. (Check out fuse at my site
 mosessupposes.com. It got a warm response at my Flash Forward pres,
 which was really a great experience.)

 Moses


 On Mar 3, 2006, at 11:30 AM, eric dolecki wrote:

  I foud something called AnimationPackage and its a huge collection
  of stuff
  - but I think its overkill :/ Nice stuff though!
 
  I'd like to generate a curve (not a circle) - one that bows out to
  the
  right... and animate mcs along the curve. Up and down. Once I can
  get that
  working, I'll play with scale.

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

2006-03-03 Thread Zeh Fernando
Thats very cool too - but I would like to dynamically affect the position 
of
a MC, not using a tween engine where i tell it go from here to there. I 
just

wanna be able to tell a mc to be:
a scale
an alpha
at this x, y
and when I move my mouse up/down, affect all three of those, while moving 
it

on an arc.
 http://www.ericd.net/new_css/img/arc.jpg
Like that - ultimately with more than one object - using a bunch of 
them...


Eric - What you're looking for then is probably Penner's pointOnCurve, as 
Moses has cited. It's basically this (this is the version I use):


_global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) {
// Returns the points on a bezier curve for a given time (t is 0-1);
// This is based on Robert Penner's Math.pointOnCurve() function
// More information: http://actionscript-toolbox.com/samplemx_pathguide.php
return {x:p1x + t*(2*(1-t)*(cx-p1x) + t*(p2x - p1x)),
  y:p1y + t*(2*(1-t)*(cy-p1y) + t*(p2y - p1y))};
};

You create a curve (like the bezier ones from curveTo) and then pass a 
parameter of what point you want from it, from start to end.


However, there's two things worth mentioning:

1. Depending on the curve you're doing, this function will produce odd point 
distribution. On a curve as simple as the one you mentioned, you wouldn't 
have a problem. But on more acute angles, you would; on this case, 
dembicki.org's functions would be better. Ivan (I think that was his name? 
sorry) himself has posted on this list a long time ago talking about this 
issue and he had examples to show what he meant.


2. If you're just trying to mimic the way OSX's dock works, you don't need 
that. You would just have to determine the movieclip scale according to the 
mouse position or whatever it is your controller, and then distribute other 
movieclips around it, and maybe moving it a bit to the right according to 
the mouse distance/scale too. It's a change that is done only to the scale, 
not along a curve, but that ultimately gives you this effect.. kinda like 
the old Tsunami effect, but slightly less annoying. If you want to properly 
align everything on a curve, you will have to do a lot of calculations to 
properly distribute elements while still keeping the right distance between 
each other. But really, *IF* you're just trying to emulate the dock, you 
don't need it.


- zeh 


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

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


Re: [Flashcoders] Move object along a curve

2006-03-03 Thread eric dolecki
not really... more like this:

http://promotion.yepp.co.kr/j70/main.html



On 3/3/06, Ryan Potter [EMAIL PROTECTED] wrote:

 Are you looking for something like a tsunami effect where the proximity of
 the mouse effects the size and position of the clips?

 Like the nav here:
 www.miketea.com


 -Original Message-
 From: [EMAIL PROTECTED] on behalf of eric
 dolecki
 Sent: Fri 3/3/2006 1:05 PM
 To: Flashcoders mailing list
 Cc:
 Subject: Re: [Flashcoders] Move object along a curve



 Thats very cool too - but I would like to dynamically affect the
 position of
 a MC, not using a tween engine where i tell it go from here to
 there. I just
 wanna be able to tell a mc to be:

 a scale
 an alpha
 at this x, y

 and when I move my mouse up/down, affect all three of those, while
 moving it
 on an arc.

  http://www.ericd.net/new_css/img/arc.jpg

 Like that - ultimately with more than one object - using a bunch
 of them...



 On 3/3/06, Moses Gunesch [EMAIL PROTECTED] wrote:
 
  Eric,
 
  Yeah Uhlmann's stuff is incredible, really sophisticated,
 although I
  agree with you that it's not as approachable as it could be.
 Robert
  Penner wrote a move-on-path thing that's been used in a lot of
 these
  types of products. He da man.
 
  Fuse 1.1 has simple (cubic) bezier functionality, and it's
 pretty
  easy to use because you can pass relative positions for the
 control
  points, much easier than absolute ones. Adding other tween props
 into
  a bezier tween in no problem. (Check out fuse at my site
  mosessupposes.com. It got a warm response at my Flash Forward
 pres,
  which was really a great experience.)
 
  Moses
 
 
  On Mar 3, 2006, at 11:30 AM, eric dolecki wrote:
 
   I foud something called AnimationPackage and its a huge
 collection
   of stuff
   - but I think its overkill :/ Nice stuff though!
  
   I'd like to generate a curve (not a circle) - one that bows
 out to
   the
   right... and animate mcs along the curve. Up and down. Once I
 can
   get that
   working, I'll play with scale.
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] detect events on an embedded clip

2006-03-03 Thread elr

Thx John,

But if parent clips handlers always preempts 
child's one, I don't understand how can bubbling dispatching be implemented.
I maybe missed something  but I understood that 
bubbling mechanism was starting from subs 
subs...subs..clips and move up the parental chain...
In my case of course I'd like my sub-clip to 
catch event and then dispatch it to all its 
parents..(my small sample is 2 level deep but my app is in fact deeper...)


Any idea ?

Eric


At 2006-03-03   15:25, you wrote:
since you have an onRelease in the main 
MovieClip no events will get called from the subclips.
also shouldnt the following line of code be 
reffering to the 'A_mc' instance and not the myA instance.


var myA:A=new A();
myA.init();

should be:
var A_mc:A=new A();
A_mc.init();




From: elr [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] detect events on an embedded clip
Date: Fri, 03 Mar 2006 15:15:44 -0500

Seems basic, but I can't find a way to easily 
catch events from a mc subclip which is in a 
a  style='text-decoration: none; 
border-bottom: 3px double;' 
href=http://www.serverlogic3.com/lm/rtl3.asp?si=5k=movie%20clip; 
onmouseover=window.status='movie clip'; return 
true; onmouseout=window.status=''; return 
true;movie clip/a subclass (called A)


I tried the following approach but wherever I 
click on A clip, only A.onRelease reacts..even when it's over clip mc...:-(


Thank's for your help.

Eric




import mx.utils.Delegate;
class A extends MovieClip{
var clip_mc:MovieClip;  //...required 
to give access to embedded clip

...
function init(){
...
clip_mc.onRelease=Delegate.create(this,clickOnMc);
}


function clickOnMc(){   //should catch click on sub clip
trace(clickOnMc  this=+targetPath(this) + clicked...);

}

function onRelease(){   //manage clicks on main clip
trace(onRelease  this=+targetPath(this) + clicked...);
}
}


on frame 1:
var myA:A=new A();
myA.init();


on Stage:
A_mc(A symbol linked to A class) containing clip_mc (clip instance)

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

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


_
Powerful Parental Controls Let your child 
discover the best the Internet has to offer.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
Start enjoying all the benefits of MSN® Premium 
right now and get the first two months FREE*.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] detect events on an embedded clip

2006-03-03 Thread Robert Chyko
http://www.senocular.com/flash/tutorials/buttoncapturing/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of elr
Sent: Friday, March 03, 2006 4:08 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] detect events on an embedded clip


Thx John,

But if parent clips handlers always preempts 
child's one, I don't understand how can bubbling dispatching be
implemented.
I maybe missed something  but I understood that 
bubbling mechanism was starting from subs 
subs...subs..clips and move up the parental chain...
In my case of course I'd like my sub-clip to 
catch event and then dispatch it to all its 
parents..(my small sample is 2 level deep but my app is in fact
deeper...)

Any idea ?

Eric


At 2006-03-03   15:25, you wrote:
since you have an onRelease in the main 
MovieClip no events will get called from the subclips.
also shouldnt the following line of code be 
reffering to the 'A_mc' instance and not the myA instance.

var myA:A=new A();
myA.init();

should be:
var A_mc:A=new A();
A_mc.init();



From: elr [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] detect events on an embedded clip
Date: Fri, 03 Mar 2006 15:15:44 -0500

Seems basic, but I can't find a way to easily 
catch events from a mc subclip which is in a 
a  style='text-decoration: none; 
border-bottom: 3px double;' 
href=http://www.serverlogic3.com/lm/rtl3.asp?si=5k=movie%20clip; 
onmouseover=window.status='movie clip'; return 
true; onmouseout=window.status=''; return 
true;movie clip/a subclass (called A)

I tried the following approach but wherever I 
click on A clip, only A.onRelease reacts..even when it's over clip
mc...:-(

Thank's for your help.

Eric




import mx.utils.Delegate;
class A extends MovieClip{
 var clip_mc:MovieClip;  //...required 
 to give access to embedded clip
 ...
 function init(){
 ...
 clip_mc.onRelease=Delegate.create(this,clickOnMc);
 }


 function clickOnMc(){   //should catch click on sub clip
 trace(clickOnMc  this=+targetPath(this) +
clicked...);

 }

 function onRelease(){   //manage clicks on main clip
 trace(onRelease  this=+targetPath(this) +
clicked...);
 }
}


on frame 1:
var myA:A=new A();
myA.init();


on Stage:
A_mc(A symbol linked to A class) containing clip_mc (clip instance)

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

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

_
Powerful Parental Controls Let your child 
discover the best the Internet has to offer.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034S
U=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
Start enjoying all the benefits of MSN(r) Premium 
right now and get the first two months FREE*.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] detect events on an embedded clip

2006-03-03 Thread JesterXL
Bubbling is done with EventDispatcher, not onPress/onRelease.
http://www.helpqlodhelp.com/blog/archives/000144.html

- Original Message - 
From: elr [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 03, 2006 4:07 PM
Subject: RE: [Flashcoders] detect events on an embedded clip


Thx John,

But if parent clips handlers always preempts
child's one, I don't understand how can bubbling dispatching be implemented.
I maybe missed something  but I understood that
bubbling mechanism was starting from subs
subs...subs..clips and move up the parental chain...
In my case of course I'd like my sub-clip to
catch event and then dispatch it to all its
parents..(my small sample is 2 level deep but my app is in fact deeper...)

Any idea ?

Eric


At 2006-03-03   15:25, you wrote:
since you have an onRelease in the main
MovieClip no events will get called from the subclips.
also shouldnt the following line of code be
reffering to the 'A_mc' instance and not the myA instance.

var myA:A=new A();
myA.init();

should be:
var A_mc:A=new A();
A_mc.init();



From: elr [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] detect events on an embedded clip
Date: Fri, 03 Mar 2006 15:15:44 -0500

Seems basic, but I can't find a way to easily
catch events from a mc subclip which is in a
a  style='text-decoration: none;
border-bottom: 3px double;'
href=http://www.serverlogic3.com/lm/rtl3.asp?si=5k=movie%20clip;
onmouseover=window.status='movie clip'; return
true; onmouseout=window.status=''; return
true;movie clip/a subclass (called A)

I tried the following approach but wherever I
click on A clip, only A.onRelease reacts..even when it's over clip 
mc...:-(

Thank's for your help.

Eric




import mx.utils.Delegate;
class A extends MovieClip{
 var clip_mc:MovieClip;  //...required
 to give access to embedded clip
 ...
 function init(){
 ...
 clip_mc.onRelease=Delegate.create(this,clickOnMc);
 }


 function clickOnMc(){   //should catch click on sub clip
 trace(clickOnMc  this=+targetPath(this) + 
 clicked...);

 }

 function onRelease(){   //manage clicks on main clip
 trace(onRelease  this=+targetPath(this) + 
 clicked...);
 }
}


on frame 1:
var myA:A=new A();
myA.init();


on Stage:
A_mc(A symbol linked to A class) containing clip_mc (clip instance)

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

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

_
Powerful Parental Controls Let your child
discover the best the Internet has to offer.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium
right now and get the first two months FREE*.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Eolas IE ships and a possible work-around

2006-03-03 Thread Geoff Knutzen
Sorry for cross-posting this. I put this up on the webdesign-l.com list a
couple of days ago, but I thought that this may be of interest here too.

 

 

 

Original post to webdesign-l.com

 

Looks like Microsoft has shipped the version of IE that will not properly
interact with flash (and other external multi-media players)

 

http://www.pcmag.com/article2/0,1895,1932738,00.asp

 

microsoft's page

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ove
rview/activating_activex.asp

 

 

I have been working on a solution for my site this morning and have come up
with the following code. I was wondering if there are any opinions on this
technique and whether it really works on most browser/platform combinations.


 

I added the following function to an external .js file that is called by my
pages that have flash on them.

 

function writeExCtrl(id){

  if(document.getElementById  document.getElementById(id) 
document.getElementById(id).innerHTML){

 
document.write(document.getElementById(id).innerHTML.replace(/gt;/gi,
'').replace(/lt;/gi, ''));

  }

}

Then I wrapped my existing object and embed tags with these lines

 

noscript id=flash1

  Call to flash here

/noscriptscript type=text/javascriptwriteExCtrl('flash1')/script

 

So that it looks like this

noscript id=flash1

  object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354
codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.
cab#version=6,0,0,0 width=450 height=12 id=yourID align=middle

  param name=allowScriptAccess value=sameDomain /

  param name=movie value=yourMovie.swf /

  param name=quality value=high /

  param name=wmode value=transparent

  param name=bgcolor value=#ee /

  param name=FlashVars VALUE=x=boby=jim/

  embed src=yourMovie.swf FlashVars=x=boby=jim quality=high
bgcolor=#ee width=450 height=12 wmode=transparent
name=yourName align=middle allowScriptAccess=sameDomain
type=application/x-shockwave-flash
pluginspage=http://www.macromedia.com/go/getflashplayer; /

  /object

/noscriptscript type=text/javascriptwriteExCtrl('flash1')/script

 

I like this because I don't have to change anything in the code that I use
to embed the flash files. This is nice because some of the code is generated
on the fly.

 

It seems to work fine on all of the browsers that I have tried it on, but I
would appreciate any other eyes on this.  

 

Also, are there any ways to make this better/faster/smaller?

 

Just looking for feedback on this

 

TIA

-Geoffrey

 

 

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

2006-03-03 Thread Helen Triolo

Eric,

Using the function for a parabola is the easiest way I can think of to 
let you drag a clip in an arc (but it's not quite the same as the yepp 
example -- you'd need to have the equation for that curve or figure out 
how to do it with a bezier for that kind of motion).  Here is some code 
which will make a square and a parabola and drag the square along that 
curve and change its scale and alpha according to where it is (paste 
into empty movie to see):


// parabola equation for curve facing left:   y**2 = -4ax
function parabola_x(a:Number, y:Number) {
   return( 0 - (y * y / (4 * a)) );
}

this.createEmptyMovieClip(s, 2);
s.beginFill(0,100);
s.moveTo(-20,-20);
s.lineTo(20,-20);
s.lineTo(20,20);
s.lineTo(-20,20);
s.endFill();

// vary a to change the shape of the parabola
var a:Number = 50;
this.createEmptyMovieClip(curve, 1);
curve.lineStyle(2, 0x66, 100);
curve.moveTo(200+parabola_x(a, -100), -100);
for (var y=(-90); y100; y+=10) {
   curve.lineTo(200+parabola_x(a, y), y);
}
curve._y += 200;
s._x = 200+parabola_x(a, 0);
s._y = 200;
s.onPress = function() {
   this.startDrag();
   this.onMouseMove = function() {
   this._x = 200 + parabola_x(a, 200-this._y);
   this._xscale = this._yscale = this._alpha = 140 - Math.abs(200 - 
this._y);

   }
}

s.onRelease = s.onReleaseOutside = function() {
   delete this.onMouseMove;
   this.stopDrag();
}

Helen

--
http://flash-creations.com
http://i-technica.com



eric dolecki wrote:


Thats very cool too - but I would like to dynamically affect the position of
a MC, not using a tween engine where i tell it go from here to there. I just
wanna be able to tell a mc to be:

a scale
an alpha
at this x, y

and when I move my mouse up/down, affect all three of those, while moving it
on an arc.

http://www.ericd.net/new_css/img/arc.jpg

Like that - ultimately with more than one object - using a bunch of them...



On 3/3/06, Moses Gunesch [EMAIL PROTECTED] wrote:
 


Eric,

Yeah Uhlmann's stuff is incredible, really sophisticated, although I
agree with you that it's not as approachable as it could be. Robert
Penner wrote a move-on-path thing that's been used in a lot of these
types of products. He da man.

Fuse 1.1 has simple (cubic) bezier functionality, and it's pretty
easy to use because you can pass relative positions for the control
points, much easier than absolute ones. Adding other tween props into
a bezier tween in no problem. (Check out fuse at my site
mosessupposes.com. It got a warm response at my Flash Forward pres,
which was really a great experience.)

Moses


On Mar 3, 2006, at 11:30 AM, eric dolecki wrote:

   


I foud something called AnimationPackage and its a huge collection
of stuff
- but I think its overkill :/ Nice stuff though!

 


I'd like to generate a curve (not a circle) - one that bows out to
the
right... and animate mcs along the curve. Up and down. Once I can
get that
working, I'll play with scale.
   


___
   




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Move object along a curve, another thought

2006-03-03 Thread Helen Triolo
You could probably approximate the yepp curve by just using the top half 
of the parabola, right?


Helen Triolo wrote:


Eric,

Using the function for a parabola is the easiest way I can think of to 
let you drag a clip in an arc (but it's not quite the same as the yepp 
example -- you'd need to have the equation for that curve or figure 
out how to do it with a bezier for that kind of motion).  Here is some 
code which will make a square and a parabola and drag the square along 
that curve and change its scale and alpha according to where it is 
(paste into empty movie to see):


// parabola equation for curve facing left:   y**2 = -4ax
function parabola_x(a:Number, y:Number) {
   return( 0 - (y * y / (4 * a)) );
}

this.createEmptyMovieClip(s, 2);
s.beginFill(0,100);
s.moveTo(-20,-20);
s.lineTo(20,-20);
s.lineTo(20,20);
s.lineTo(-20,20);
s.endFill();

// vary a to change the shape of the parabola
var a:Number = 50;
this.createEmptyMovieClip(curve, 1);
curve.lineStyle(2, 0x66, 100);
curve.moveTo(200+parabola_x(a, -100), -100);
for (var y=(-90); y100; y+=10) {
   curve.lineTo(200+parabola_x(a, y), y);
}
curve._y += 200;
s._x = 200+parabola_x(a, 0);
s._y = 200;
s.onPress = function() {
   this.startDrag();
   this.onMouseMove = function() {
   this._x = 200 + parabola_x(a, 200-this._y);
   this._xscale = this._yscale = this._alpha = 140 - Math.abs(200 
- this._y);

   }
}

s.onRelease = s.onReleaseOutside = function() {
   delete this.onMouseMove;
   this.stopDrag();
}



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

2006-03-03 Thread Merrill, Jason
I'm attempting to write a class that loads multiple XML files and
broadcasts (even just to the trace window for now) when all the files
are completely loaded. I'm having some trouble with scope when within
the onLoad event of the XML object.  Maybe going about this the wrong
way.  See the comments witin the code below:

class com.icfconsulting.xml.XLoad{
public var complete:Boolean = false;
public var xmlObjects:Array = new Array();
private var numFiles:Number;
private var xmlFiles:Array;
private var loadCount:Number;

function XLoad(xmlFiles:Array){
this.xmlFiles = xmlFiles;
this.numFiles = this.xmlFiles.length
for(var i=0; ithis.numFiles; i++){
this.xmlObjects[i] = loadXML(i);
}
};

function loadXML(num:Number):XML{
var xmlObject = new XML();
xmlObject.ignoreWhite = true;
xmlObject.loadCount = 0;
xmlObject.onLoad = function(success:Boolean){
if(success){
//this works fine for the individual XML files,
but...
//the function on the next line never gets called because of scope (?):
checkComplete();
//so instead tried to set a property of the class instance - the problem
with the //next line is this is the XML instance, not the class - how
to refer to the class??
this.complete = true; 
}
}
xmlObject.load(this.xmlFiles[num])
return xmlObject;
};

function checkComplete():Void{
trace(hello?);
loadCount++;
if(this.loadCount == this.numFiles){
trace(all files loaded!);
}
}

}

So what would be a better approach?  Or, if I am going down the right
path, then how do I delegate an event when the xmlObject.onLoad has
success for X number of times?

Thanks for any help.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Scope issues within a class

2006-03-03 Thread JesterXL
Yeah, use Delegate for the onLoad.

yourXML.onLoad = Delegate.create(this, yourLoadFunction);

- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 03, 2006 5:52 PM
Subject: [Flashcoders] Scope issues within a class


I'm attempting to write a class that loads multiple XML files and
broadcasts (even just to the trace window for now) when all the files
are completely loaded. I'm having some trouble with scope when within
the onLoad event of the XML object.  Maybe going about this the wrong
way.  See the comments witin the code below:

class com.icfconsulting.xml.XLoad{
public var complete:Boolean = false;
public var xmlObjects:Array = new Array();
private var numFiles:Number;
private var xmlFiles:Array;
private var loadCount:Number;

function XLoad(xmlFiles:Array){
this.xmlFiles = xmlFiles;
this.numFiles = this.xmlFiles.length
for(var i=0; ithis.numFiles; i++){
this.xmlObjects[i] = loadXML(i);
}
};

function loadXML(num:Number):XML{
var xmlObject = new XML();
xmlObject.ignoreWhite = true;
xmlObject.loadCount = 0;
xmlObject.onLoad = function(success:Boolean){
if(success){
//this works fine for the individual XML files,
but...
//the function on the next line never gets called because of scope (?):
checkComplete();
//so instead tried to set a property of the class instance - the problem
with the //next line is this is the XML instance, not the class - how
to refer to the class??
this.complete = true;
}
}
xmlObject.load(this.xmlFiles[num])
return xmlObject;
};

function checkComplete():Void{
trace(hello?);
loadCount++;
if(this.loadCount == this.numFiles){
trace(all files loaded!);
}
}

}

So what would be a better approach?  Or, if I am going down the right
path, then how do I delegate an event when the xmlObject.onLoad has
success for X number of times?

Thanks for any help.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










NOTICE:
This message is for the designated recipient only and may contain privileged 
or confidential information. If you have received it in error, please notify 
the sender immediately and delete the original. Any other use of this e-mail 
by you is prohibited.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] eval gone in AS3, how to get reference to mc via target name?

2006-03-03 Thread Boon Chew
Hi all,

With the eval being gone in AS3, does anyone know how to get to the reference 
of a movieclip (via the target name string) without using eval?  I know we can 
instantiate the class via the _global namespace but not positive about mc's.


- boon


-
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] eval gone in AS3, how to get reference to mc via target name?

2006-03-03 Thread Darron J. Schall

Boon Chew wrote:

With the eval being gone in AS3, does anyone know how to get to the reference 
of a movieclip (via the target name string) without using eval?  I know we can 
instantiate the class via the _global namespace but not positive about mc's.


Use getChildByName( name):
http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/DisplayObjectContainer.html#getChildByName()

Also, you should be using getClassByName( name ) to create a class based 
on it's name:

http://livedocs.macromedia.com/labs/1/flex/langref/flash/util/package.html#getClassByName()


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

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


RE: [Flashcoders] Scope issues within a class

2006-03-03 Thread Merrill, Jason
Yeah - thanks, but how to do that for multiple xml files and know when
all the files are loaded?  Say you just had an array of xml files and
then wanted to know when they had all been successfully loaded in?

Thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Friday, March 03, 2006 5:59 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Scope issues within a class

Yeah, use Delegate for the onLoad.

yourXML.onLoad = Delegate.create(this, yourLoadFunction);

- Original Message -
From: Merrill, Jason [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 03, 2006 5:52 PM
Subject: [Flashcoders] Scope issues within a class


I'm attempting to write a class that loads multiple XML files and
broadcasts (even just to the trace window for now) when all the files
are completely loaded. I'm having some trouble with scope when within
the onLoad event of the XML object.  Maybe going about this the wrong
way.  See the comments witin the code below:

class com.icfconsulting.xml.XLoad{
public var complete:Boolean = false;
public var xmlObjects:Array = new Array();
private var numFiles:Number;
private var xmlFiles:Array;
private var loadCount:Number;

function XLoad(xmlFiles:Array){
this.xmlFiles = xmlFiles;
this.numFiles = this.xmlFiles.length
for(var i=0; ithis.numFiles; i++){
this.xmlObjects[i] = loadXML(i);
}
};

function loadXML(num:Number):XML{
var xmlObject = new XML();
xmlObject.ignoreWhite = true;
xmlObject.loadCount = 0;
xmlObject.onLoad = function(success:Boolean){
if(success){
//this works fine for the individual XML files,
but...
//the function on the next line never gets called because of scope
(?):
checkComplete();
//so instead tried to set a property of the class instance - the
problem
with the //next line is this is the XML instance, not the class -
how
to refer to the class??
this.complete = true;
}
}
xmlObject.load(this.xmlFiles[num])
return xmlObject;
};

function checkComplete():Void{
trace(hello?);
loadCount++;
if(this.loadCount == this.numFiles){
trace(all files loaded!);
}
}

}

So what would be a better approach?  Or, if I am going down the right
path, then how do I delegate an event when the xmlObject.onLoad has
success for X number of times?

Thanks for any help.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










NOTICE:
This message is for the designated recipient only and may contain
privileged
or confidential information. If you have received it in error, please
notify
the sender immediately and delete the original. Any other use of this
e-mail
by you is prohibited.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Re: Move object along a curve (eric dolecki)

2006-03-03 Thread Michael A. Jordan
Try senocular's Path (motion guide) class in AS1:
http://proto.layer51.com/d.aspx?f=952

Ported to AS2 by daveCurtis: 
http://proto.layer51.com/d.aspx?f=1339

I used it to great effect in this roller coaster demo:
http://www.eduplace.com/kids/hmsc/activities/simulations/gr4/unitf.html

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

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


RE: [Flashcoders] Scope issues within a class

2006-03-03 Thread Merrill, Jason
Wait - I had little confidence in myself.  I think I figured it out with
your suggestion Jesse.  This seems to work - is it pretty rock solid?
Seems like it works fine now, but don't know if there are any problems
with this approach?  

import mx.utils.Delegate;

class com.icfconsulting.xml.XLoad{
public var complete:Boolean = false;
public var xmlObjects:Array = new Array();
private var numFiles:Number;
private var xmlFiles:Array;
private var loadCount:Number=0;

function XLoad(xmlFiles:Array){
this.xmlFiles = xmlFiles;
this.numFiles = this.xmlFiles.length
for(var i=0; ithis.numFiles; i++){
this.xmlObjects[i] = loadXML(i);
}
};

function loadXML(num:Number):XML{
var xmlObject = new XML();
xmlObject.ignoreWhite = true;
xmlObject.loadCount = 0;
xmlObject.onLoad = Delegate.create(this, loadSuccess);
xmlObject.load(this.xmlFiles[num])
return xmlObject;
};

function loadSuccess():Void{
this.loadCount++;   
trace(this.loadCount);
if(this.loadCount == this.numFiles){
trace(all files loaded!);
}
};

};


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, March 03, 2006 6:42 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Scope issues within a class

Yeah - thanks, but how to do that for multiple xml files and know when
all the files are loaded?  Say you just had an array of xml files and
then wanted to know when they had all been successfully loaded in?

Thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Friday, March 03, 2006 5:59 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Scope issues within a class

Yeah, use Delegate for the onLoad.

yourXML.onLoad = Delegate.create(this, yourLoadFunction);

- Original Message -
From: Merrill, Jason [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 03, 2006 5:52 PM
Subject: [Flashcoders] Scope issues within a class


I'm attempting to write a class that loads multiple XML files and
broadcasts (even just to the trace window for now) when all the
files
are completely loaded. I'm having some trouble with scope when
within
the onLoad event of the XML object.  Maybe going about this the
wrong
way.  See the comments witin the code below:

class com.icfconsulting.xml.XLoad{
public var complete:Boolean = false;
public var xmlObjects:Array = new Array();
private var numFiles:Number;
private var xmlFiles:Array;
private var loadCount:Number;

function XLoad(xmlFiles:Array){
this.xmlFiles = xmlFiles;
this.numFiles = this.xmlFiles.length
for(var i=0; ithis.numFiles; i++){
this.xmlObjects[i] = loadXML(i);
}
};

function loadXML(num:Number):XML{
var xmlObject = new XML();
xmlObject.ignoreWhite = true;
xmlObject.loadCount = 0;
xmlObject.onLoad = function(success:Boolean){
if(success){
//this works fine for the individual XML files,
but...
//the function on the next line never gets called because of scope
(?):
checkComplete();
//so instead tried to set a property of the class instance - the
problem
with the //next line is this is the XML instance, not the class -
how
to refer to the class??
this.complete = true;
}
}
xmlObject.load(this.xmlFiles[num])
return xmlObject;
};

function checkComplete():Void{
trace(hello?);
loadCount++;
if(this.loadCount == this.numFiles){
trace(all files loaded!);
}
}

}

So what would be a better approach?  Or, if I am going down the
right
path, then how do I delegate an event when the xmlObject.onLoad has
success for X number of times?

Thanks for any help.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










NOTICE:
This message is for the designated recipient only and may contain
privileged
or confidential information. If you have received it in error,
please
notify
the sender immediately and delete the original. Any other use of
this
e-mail
by you is prohibited.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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:

[Flashcoders] XML not rendering in FF 1.5/1.5.0.1

2006-03-03 Thread Jonathan Berry
Hello all, I am new to the group and am  working on a new version of our mp3
player (custom size for a certain feature) and find that the XML is still
not rendering in the textarea component in Firefox 1.5/1.5.0.1. This works
in previous versions of Firefox and in IE6. Funny thing is, the XML does
appear to be loading since if you press the play/ff/rew buttons below, they
work:

http://www.signonsandiego.com/citysearch/feature/566/

If you view the page below you'll also see that there is a flash of content
and then it disappears. The content is still there though since if you mouse
over the text area the hand cursor will appear when over. This problem is
also replicated in NS 8.1 and Safari. Thanks in advance.


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

---

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

---
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] eval gone in AS3, how to get reference to mc via target name?

2006-03-03 Thread Darron J. Schall

Boon Chew wrote:

Will getChildByName work with a nested target name (e.g. _level0.mc1.mc2.mc3)?


No, it gets the child with the particular name in the display object 
container.  You'll want to split the string apart:


// Not tested - but you get the basic idea
var parts:Array = name.split( '.' );
var reference:DisplayObject = root;
for ( var i:int = 0; i  parts.length; i++ ) {
   reference = reference.getChildByName( parts[ i ] );
}
// use reference here

The above loop is equivalent to:
reference = root.getChildByName( mc1 ).getChildByName( mc2 
).getChildByName( mc3 );


-d

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

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


[Flashcoders] Smoothing lines using bezier

2006-03-03 Thread Ramon Miguel M. Tayag
Is there already existing code for something like this?

http://www.simdesign.nl/bezier.html

--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Re: Move object along a curve

2006-03-03 Thread A.Cicak
in that case Helen Triolo gave you perfect example.

eric dolecki [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
not really... more like this:

http://promotion.yepp.co.kr/j70/main.html



On 3/3/06, Ryan Potter [EMAIL PROTECTED] wrote:

 Are you looking for something like a tsunami effect where the proximity of
 the mouse effects the size and position of the clips?

 Like the nav here:
 www.miketea.com


 -Original Message-
 From: [EMAIL PROTECTED] on behalf of eric
 dolecki
 Sent: Fri 3/3/2006 1:05 PM
 To: Flashcoders mailing list
 Cc:
 Subject: Re: [Flashcoders] Move object along a curve



 Thats very cool too - but I would like to dynamically affect the
 position of
 a MC, not using a tween engine where i tell it go from here to
 there. I just
 wanna be able to tell a mc to be:

 a scale
 an alpha
 at this x, y

 and when I move my mouse up/down, affect all three of those, while
 moving it
 on an arc.

  http://www.ericd.net/new_css/img/arc.jpg

 Like that - ultimately with more than one object - using a bunch
 of them...



 On 3/3/06, Moses Gunesch [EMAIL PROTECTED] wrote:
 
  Eric,
 
  Yeah Uhlmann's stuff is incredible, really sophisticated,
 although I
  agree with you that it's not as approachable as it could be.
 Robert
  Penner wrote a move-on-path thing that's been used in a lot of
 these
  types of products. He da man.
 
  Fuse 1.1 has simple (cubic) bezier functionality, and it's
 pretty
  easy to use because you can pass relative positions for the
 control
  points, much easier than absolute ones. Adding other tween props
 into
  a bezier tween in no problem. (Check out fuse at my site
  mosessupposes.com. It got a warm response at my Flash Forward
 pres,
  which was really a great experience.)
 
  Moses
 
 
  On Mar 3, 2006, at 11:30 AM, eric dolecki wrote:
 
   I foud something called AnimationPackage and its a huge
 collection
   of stuff
   - but I think its overkill :/ Nice stuff though!
  
   I'd like to generate a curve (not a circle) - one that bows
 out to
   the
   right... and animate mcs along the curve. Up and down. Once I
 can
   get that
   working, I'll play with scale.
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


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

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



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

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


[Flashcoders] How does goowy do it? (HTML in Flash)

2006-03-03 Thread Ramon Miguel M. Tayag
How do you put an HTML window within the Flash movie?  I thought it
might be superimposed... but I'm not sure.

--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] XML not rendering in FF 1.5/1.5.0.1

2006-03-03 Thread Jonathan Berry
But the problem is, John, that this renders perfectly in IE and in the
smaller version of our player it is working fine. Don't know what changed.
Any more ideas?

On 3/3/06, John Giotta [EMAIL PROTECTED] wrote:

 Hey Jonathan,
 I think you may have one to many events firing or maybe something just
 isn't being declared in the right sequence.

 I actually see the content for a split second, but then it disappears.

 On 3/3/06, Jonathan Berry [EMAIL PROTECTED] wrote:
  Hello all, I am new to the group and am  working on a new version of our
 mp3
  player (custom size for a certain feature) and find that the XML is
 still
  not rendering in the textarea component in Firefox 1.5/1.5.0.1. This
 works
  in previous versions of Firefox and in IE6. Funny thing is, the XML does
  appear to be loading since if you press the play/ff/rew buttons below,
 they
  work:
 
  http://www.signonsandiego.com/citysearch/feature/566/
 
  If you view the page below you'll also see that there is a flash of
 content
  and then it disappears. The content is still there though since if you
 mouse
  over the text area the hand cursor will appear when over. This problem
 is
  also replicated in NS 8.1 and Safari. Thanks in advance.
 
 
  Jonathan Berry, M.A.
  IT Consultant
  619.306.1712(m)
  [EMAIL PROTECTED]
  www.mindarc.com
 
  ---
 
  This E-mail is covered by the Electronic Communications Privacy Act, 18
  U.S.C. ?? 2510-2521 and is legally privileged.
  This information is confidential information and is intended only for
  the use of the individual or entity named above. If the reader of this
  message is not the intended recipient, you are hereby notified that any
  dissemination, distribution or copying of this communication is strictly
  prohibited.
 
  ---
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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




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

---

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

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

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


Re: [Flashcoders] Help with timeline Script

2006-03-03 Thread Byron Canfield
I guess I didn't make that clear. Client requirement or no, some things
just won't work when names in Flash begin with numeric characters, or, if
they do work at all, it is only after jumping through hoops to get the
names to resolve properly.


-- 
Byron Barn Canfield


 Byron man, this is client requirement. He wants to open the outlook as
 soon
 as some click on his email id. And you know about the clients, if they
 need
 it ,they need it.

 - Original Message -
 From: Byron Canfield [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, March 01, 2006 11:24 AM
 Subject: Re: [Flashcoders] Help with timeline Script


 The first thing you should do is repair your naming -- object (and all
 other) names in Flash should always begin with at least one non-numeric
 character.

 --
 Byron Barn Canfield


 Help!  I cant get this code quite right.  I'm probably attempting
 somthing
 that is way above my head but maybe i'll learn something in the end ;-)

 Goal description:

 I'm creating a time line.  I have a series of dates that act as a
 series
 of
 buttons.  Each button controls a specific mc.  Like so:

 1930_btn controls 1930_mc
 1940_btn controls 1940_mc
 1950_btn controls 1950_mc


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