[Flashcoders] Microsoft wireless keyboard trouble with flash

2006-12-29 Thread Christian Pugliese

Just got a new microsoft wireless keyboard and mouse... it works fine with
all apps, but... only with flash nothing works, CTRL + anykey, Shift +
anykey, F1-F12... any ideas??
thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Offtop: Flash Platform Search

2006-12-29 Thread Furzahad

Hello List!
I've just created Google Co-op search engine for flash related searching - 
http://search.orangeflash.eu


It's currently has 63 resources (mail lists, blogs, forums) and I plan to 
add more after NY.


Hope you'll enjoy it. 


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

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


Re: [Flashcoders] dynamic TextField with AS3

2006-12-29 Thread eka

hello :)

to attach a Sprite, MovieClip, TextField, , DisplayObject in a
DisplayObjectContainer you must use the addChild method :

Read the examples in my article about TextField in AS3 (the article is in
french but the code is in AS3 ;))

http://www.ekameleon.net/blog/index.php?2006/07/18/38--as3-textfield-les-bases

For me the best solution to use a custome TextField is the implementation of
a custom class :

package
{

   import flash.display.Sprite ;

   class MainApplication extends Sprite
   {

// o Constructor

public function MainApplication ()
{

var tf:MyField = new MyField(10, 10, 120, 20) ;
tf.text = "Hello World" ;
addChild ( tf ) ;


}


   }

}

import flash.text.TextField ;

class MyField extends TextField
{

 // o Constructor

 public function MyField( x:Number=0, y:Number= 0, w:Number=0, h:Number=0)
 {

  this.x = x ;
  this.y = y ;

  height = h ;
  width = w ;

  selectable = false ;

  textColor = 0xFF ;

  border = true ;
  borderColor = 0xFF ;

 }


}


EKA+ :)

2006/12/29, John Lawrence <[EMAIL PROTECTED]>:


Hey folks,

Im trying to learn how to set a TextField on the stage dynamically with
ActionScript 3

something like

public function addText(txtname:String, txt:String, X:int, Y:int,
format:TextFormat):void {
//using array notation for a new variable does NOT WORK
var [txtname]:TextField = new TextField();


}

cheers!


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

2006-12-29 Thread ben gomez farrell
you created a text field, but you probably didn't add it to any display 
objects. 


import flash.display.Sprite;
import flash.text.TextField;

var myTextField:TextField = new Textfield();
myTextField.text = txt;
addChild( myTextField);
myTextField.x = X;
myTextField.y = Y

The important bit you gotta realize is that the addChild method (in this 
case) is using whatever the scope of the code is to add to the stage.  
So the scope, or "this" would need to extend from a display object  (a 
movieclip, sprite, stage, etc).


You could also import the stage class and do stage.addChild(myTextField).


John Lawrence wrote:

Hey folks,

Im trying to learn how to set a TextField on the stage dynamically 
with ActionScript 3


something like

public function addText(txtname:String, txt:String, X:int, Y:int, 
format:TextFormat):void {

   //using array notation for a new variable does NOT WORK
   var [txtname]:TextField = new TextField();

   
}

cheers!


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

2006-12-29 Thread John Lawrence

Hey folks,

Im trying to learn how to set a TextField on the stage dynamically with 
ActionScript 3


something like

public function addText(txtname:String, txt:String, X:int, Y:int, 
format:TextFormat):void {

   //using array notation for a new variable does NOT WORK
   var [txtname]:TextField = new TextField();

   
}

cheers!


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

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


Re: [Flashcoders] (no subject)

2006-12-29 Thread Gustavo Duenas

Thanks Omar, but how can I do that form my code?


Regards

On Dec 29, 2006, at 3:09 PM, Omar Fouad wrote:

u have to assign the created movie clip an _x and _y properties as  
soon as

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

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



Gustavo Duenas

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] slight delay prevents stack overflow in recursive function

2006-12-29 Thread Matt Garland

Hi,

I'm working on a background loading queue. It consists of a bunch of  
iterators and iterator composites. To find the next thing to load, a  
"has next" function recursively propagates down the tree, as it were,  
until it reports back that there is another thing to load, or not.


The problem: When I debug, the queue works dandy, but the vanilla  
Flash 9 player reports a stack overflow originating with "has next".


I have no idea what's going on, because I can't debug! But I do know  
this strange fact: a trace statement in the "has next" function  
corrects the problem, and queue is formed as it should be.


So if you've worked with recursion before: under what circumstances  
would a slight delay in a recursive function prevent it from going  
off the tracks?


Here's the relevant code:

public class SortIteratorComposite extends SortIterator implements  
ISortIterableComposite

{
protected var curLeaf:ISortIterable;

public function SortIteratorComposite()
{
curLeaf=null;
}
public override function 
hasNext(leaf:ISortIterable=null):Boolean
{
var more:Boolean=false;
//the superclass keeps track of the children
trace ("create a delay"+numChildren);
for (var i:uint=0; ihttp://chattyfig.figleaf.com/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] (no subject)

2006-12-29 Thread Omar Fouad

u have to assign the created movie clip an _x and _y properties as soon as
it loads
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 place a dynamically created loader

2006-12-29 Thread Gustavo Duenas
Hi, I have  a little question for all you guys, would someone help me  
out, I have a movie that creates a loader which loads a .swf, but it  
seems not in the place I want, instead of this misplaced object,  
there is a
way to create the loader and state that it has to be loaded in  
determined position (x= and y=). Thanks, I guess this would be the  
easiest thing you ever see.


The code is:

import mx.controls.Loader;

var myLoader: Loader = createClassObject(Loader, "loader",  
nextHighestDepht)

myLoader.contentPath="main.swf";
myLoader.setSize(content._width, content._height);



Regards

Gustavo Duenas

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

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


Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2006-12-29 Thread Evan Bond

I'm not sure what to check exactly. I added the domain ppt.unisurv.com to my
allowed list.still a no go though on the uploading using FP9

On 12/29/06, l u c h y x <[EMAIL PROTECTED]> wrote:


Yep yep.
The same behavior here.
Did you check the privacy settings ?

Also check this Firefox plug-in.

http://www.sephiroth.it/weblog/archives/2006/10/flash_switcher_for_firefox.php

Best


On 12/29/06, Evan Bond <[EMAIL PROTECTED]> wrote:
>
> Hi all, this is my first post on this list :)
>
> Hope someone can help me out with this...
>
> There seems to be an issue with the new Flash Player 9 in combination
with
> FileReference and uploading through ASP.
>
> I tested the following scenario's
>
> Flash 8 Player -> PHP = OK
> Flash 8 Player -> CF = OK
> Flash 8 Player -> ASP = OK
>
> Flash 9 Player -> PHP = OK
> Flash 9 Player -> CF = OK
> Flash 9 Player -> ASP = DOES NOT WORK
>
> It seems like flash player 9 has difficulties uploading through ASP. We
> tried this on 2 ASP servers which are running ASP 1+.
>
> I used the asp script in combination with FreeAspUpload.asp a popular
asp
> component.
>
> Has anyone else experienced problems like this? I submitted feedback to
> the
> FlashPlayer9 feedback submission page on adobe.com. But in any case they
> never reply to emails unless to obtain more info.
>
> Here is an example:
> http://ppt.unisurv.com/test/FileReference.html
>
> If you uninstal FlashPlayer9 and install FlashPlayer8 you can see it
work.
> Once you upload your file will be here:
> http://ppt.unisurv.com/test/upload/files/
>
> Any help is much appreciated.
>
> Cheers,
>
> Evan
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



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

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


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

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


Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2006-12-29 Thread l u c h y x

Yep yep.
The same behavior here.
Did you check the privacy settings ?

Also check this Firefox plug-in.
http://www.sephiroth.it/weblog/archives/2006/10/flash_switcher_for_firefox.php

Best


On 12/29/06, Evan Bond <[EMAIL PROTECTED]> wrote:


Hi all, this is my first post on this list :)

Hope someone can help me out with this...

There seems to be an issue with the new Flash Player 9 in combination with
FileReference and uploading through ASP.

I tested the following scenario's

Flash 8 Player -> PHP = OK
Flash 8 Player -> CF = OK
Flash 8 Player -> ASP = OK

Flash 9 Player -> PHP = OK
Flash 9 Player -> CF = OK
Flash 9 Player -> ASP = DOES NOT WORK

It seems like flash player 9 has difficulties uploading through ASP. We
tried this on 2 ASP servers which are running ASP 1+.

I used the asp script in combination with FreeAspUpload.asp a popular asp
component.

Has anyone else experienced problems like this? I submitted feedback to
the
FlashPlayer9 feedback submission page on adobe.com. But in any case they
never reply to emails unless to obtain more info.

Here is an example:
http://ppt.unisurv.com/test/FileReference.html

If you uninstal FlashPlayer9 and install FlashPlayer8 you can see it work.
Once you upload your file will be here:
http://ppt.unisurv.com/test/upload/files/

Any help is much appreciated.

Cheers,

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

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





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

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


[Flashcoders] FileReference + ASP + FlashPlayer9

2006-12-29 Thread Evan Bond

Hi all, this is my first post on this list :)

Hope someone can help me out with this...

There seems to be an issue with the new Flash Player 9 in combination with
FileReference and uploading through ASP.

I tested the following scenario's

Flash 8 Player -> PHP = OK
Flash 8 Player -> CF = OK
Flash 8 Player -> ASP = OK

Flash 9 Player -> PHP = OK
Flash 9 Player -> CF = OK
Flash 9 Player -> ASP = DOES NOT WORK

It seems like flash player 9 has difficulties uploading through ASP. We
tried this on 2 ASP servers which are running ASP 1+.

I used the asp script in combination with FreeAspUpload.asp a popular asp
component.

Has anyone else experienced problems like this? I submitted feedback to the
FlashPlayer9 feedback submission page on adobe.com. But in any case they
never reply to emails unless to obtain more info.

Here is an example:
http://ppt.unisurv.com/test/FileReference.html

If you uninstal FlashPlayer9 and install FlashPlayer8 you can see it work.
Once you upload your file will be here:
http://ppt.unisurv.com/test/upload/files/

Any help is much appreciated.

Cheers,

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

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


Re: [Flashcoders] Flash adds seconds to audio clip

2006-12-29 Thread Marc Hoffman

Hi Frank,

Not sure why it's an issue for you, so I'm not sure what to suggest.

If you still want to test the length of the audio clip, use 
SoundObject to load it and then use SoundObject's onComplete method 
to tell you when the sound is done.


But the bigger question is, why is this a problem? As I mentioned, if 
the sound is musical, you'd almost certainly hear a change in pitch 
if the speed were off by one or two percent.


Marc

At 08:40 AM 12/29/2006, you wrote:

Thanx Marc,

I don't have a stopwatch...but I did use windows media player and when
I put a 'finish' text box on the 362nd frame, then it doesn't appear
until approximately 2 seconds after the audio has finished playing.

In one way it seems like a bug since the frame after the audio clip is
not being executed until 2 seconds later than it should.  But it
maybe, like you said, the audio clip is eating up so many resources
that Flash won't even show the 'finish' text box until 2 seconds after
it should.

It does fine with .avi video files though...it is just .wav and .mp3
files that are giving me troubles.


Any other suggestions?

thanx -
 Frank



On 12/28/06, Marc Hoffman <[EMAIL PROTECTED]> wrote:

 From your description, it's not clear if the trace output is 32
seconds or 28.1 seconds. But either way, if the sound were being
slowed down or sped up that much, you would likely hear a difference
in pitch (especially if it's music).

Try timing the audio with a stopwatch. I'm guessing it's the trace
call that's being delayed due to the sound processing, and that the
sound is being played correctly.

Marc Hoffman

At 12:30 PM 12/28/2006, you wrote:
>Hello all,
>
>When I play a 30 second audio file in Flash (.wav or .mp3), it is
>taking flash 32 seconds to run it.
>
>
>To test this, I've made it real simple and only used one layer (The
>frame rate for the audio is 12 fps).  The audio starts on the first
>frame and lasts until the 361st (30 seconds x 12 fps + 1) frame.  I've
>added this code to these frames:
>
>var tmp = new Date();
>trace("start time: " + tmp.getSeconds());
>
>On the 362nd frame (immediately after the audio has played) I have
>another key frame with this code:
>
>var tmp = new Date();
>trace("end time: " + tmp.getSeconds());
>
>
>That's it.  I just output the time when the movie starts and when it
>stops.  When I only use 338 frames (instead of 361), then the whole
>clips pays fine and lasts 30 seconds.
>
>
>Why is a 30 second clip (running at 12 fps) only taking 28.1 
seconds to play?

>
>Thank you -
>  Frank
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/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] Flash adds seconds to audio clip

2006-12-29 Thread Frank Dewey

Thanx Marc,

I don't have a stopwatch...but I did use windows media player and when
I put a 'finish' text box on the 362nd frame, then it doesn't appear
until approximately 2 seconds after the audio has finished playing.

In one way it seems like a bug since the frame after the audio clip is
not being executed until 2 seconds later than it should.  But it
maybe, like you said, the audio clip is eating up so many resources
that Flash won't even show the 'finish' text box until 2 seconds after
it should.

It does fine with .avi video files though...it is just .wav and .mp3
files that are giving me troubles.


Any other suggestions?

thanx -
 Frank



On 12/28/06, Marc Hoffman <[EMAIL PROTECTED]> wrote:

 From your description, it's not clear if the trace output is 32
seconds or 28.1 seconds. But either way, if the sound were being
slowed down or sped up that much, you would likely hear a difference
in pitch (especially if it's music).

Try timing the audio with a stopwatch. I'm guessing it's the trace
call that's being delayed due to the sound processing, and that the
sound is being played correctly.

Marc Hoffman

At 12:30 PM 12/28/2006, you wrote:
>Hello all,
>
>When I play a 30 second audio file in Flash (.wav or .mp3), it is
>taking flash 32 seconds to run it.
>
>
>To test this, I've made it real simple and only used one layer (The
>frame rate for the audio is 12 fps).  The audio starts on the first
>frame and lasts until the 361st (30 seconds x 12 fps + 1) frame.  I've
>added this code to these frames:
>
>var tmp = new Date();
>trace("start time: " + tmp.getSeconds());
>
>On the 362nd frame (immediately after the audio has played) I have
>another key frame with this code:
>
>var tmp = new Date();
>trace("end time: " + tmp.getSeconds());
>
>
>That's it.  I just output the time when the movie starts and when it
>stops.  When I only use 338 frames (instead of 361), then the whole
>clips pays fine and lasts 30 seconds.
>
>
>Why is a 30 second clip (running at 12 fps) only taking 28.1 seconds to play?
>
>Thank you -
>  Frank
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/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] setInterval creates tooltip, then kills it

2006-12-29 Thread Mendelsohn, Michael
Thanks, Grégoire.  Your thought process seemed to work.  I also ended up having 
to include a check for whether or not the tooltip MC was undefined 
onEnterFrame.   

- MM


class toolbarFunctions extends MovieClip {
private var tipID:Number;
function toolbarFunctions() {
}
function onRollOver():Void {
this.tipID = setInterval(this, "displayTip", 1000);
}
function displayTip():Void {
// create text container...
// check to see if it was getting created again and again...
if (_root.tooltip == undefined) {
_root.createEmptyMovieClip("tooltip", 20);
_root.tooltip.createTextField("tip", 1, 0, 0, 100, 100);
_root.tooltip.tip.text = "tooltip";
// make text follow mouse...
_root.tooltip.onEnterFrame = function():Void  {
var coord:Object = {xx:_root._xmouse, 
yy:_root._ymouse};
this._x = coord.xx;
this._y = coord.yy;
};
clearInterval(this.tipID);
}
}
}

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

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


Re: [Flashcoders] Flash on Wii

2006-12-29 Thread John Giotta

Off-topic, but has anyone experienced lock-ups when using the browser?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Q:using a flash projector to extract metadata from desktop files

2006-12-29 Thread moveup
I'm putting together a proposal for a desktop app that would be able to 
dynamically extract metadata from desktop files and then save this to a 
database.

Has anyone done anything similar?
Is this feasible using flash and say, Zinc from Northcode?
I was thinking it might be possible to integrate a flash projector and 
libextractor to do this.


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

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

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


[Flashcoders] [job] Stockholm -Sweden

2006-12-29 Thread Eskil Janson

Hi,

Are there any freelance actionscript programmers in Stockholm that are 
interested

to work in January, starting as soon as possible ?

Requirements:

Experienced AS2 OOP programmer, used to work with XML and dynamic 
structures.

living in, or close to Stockholm, Sweden.

email me at:

[EMAIL PROTECTED]



--

---eskilStina 
--

Eskil Janson  Mobil: +46 0735 31 68 52
Slupskjulsvägen 38   	  E-post: [EMAIL PROTECTED] 


111 49 Stockholm  Webb: www.eskilstina.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] setInterval creates tooltip, then kills it

2006-12-29 Thread Grégoire Divaret

The issue is not the interval but the rollOver. when you move your
mouse, the tooltip MC is not immediately moved and you roll over it (so
you got the
I-beam cursor) when it is moved the rollOver function is called again
and the interval is launched again.


You only have to put _root.tooltip.onMouseMove  instead of
_root.tooltip.onEnterFrame and it will be ok (until the user don't move
the mouse too fast)


Mendelsohn, Michael a écrit :

Hi list...

//Happy new year!
I have a tooltip function that makes a tooltip MC follow the mouse over
when rolling over another MC, but it gets blown out after two frames,
and the mouse turns to an I-beam cursor.  I can't figure out why.  I
*don't* think it's a setInterval issue, but I might be wrong.
Curiously, the onEnterFrame function works only when I *don't* set the
_x property of the tooltip MC.

Any feedback is appreciated.
- Michael M.



class toolbarFunctions extends MovieClip {
private var tipID:Number;
function toolbarFunctions() {
}
function onRollOver():Void {
this.tipID = setInterval(this, "displayTip", 1000);
}
function displayTip():Void {
// create text container...
_root.createEmptyMovieClip("tooltip", 20);
_root.tooltip.createTextField("tip", 1, 0, 0, 100, 100);
_root.tooltip.tip.text = "tooltip";
// make text follow mouse...
_root.tooltip.onEnterFrame = function():Void  {
var coord:Object = {xx:_root._xmouse,
yy:_root._ymouse};
this._x = coord.xx;
this._y = coord.yy;
//this._x = _root._xmouse;
//this._y = _root._ymouse;
//_root.tooltip._x = _root._xmouse;
};
clearInterval(this.tipID);
}
}

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

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






_
Live.com: le nouveau moteur de recherche par Messenger! 
http://www.windowslive.fr/livecom/


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] setInterval creates tooltip, then kills it

2006-12-29 Thread Mendelsohn, Michael
Hi list...

//Happy new year!
I have a tooltip function that makes a tooltip MC follow the mouse over
when rolling over another MC, but it gets blown out after two frames,
and the mouse turns to an I-beam cursor.  I can't figure out why.  I
*don't* think it's a setInterval issue, but I might be wrong.
Curiously, the onEnterFrame function works only when I *don't* set the
_x property of the tooltip MC.

Any feedback is appreciated.
- Michael M.



class toolbarFunctions extends MovieClip {
private var tipID:Number;
function toolbarFunctions() {
}
function onRollOver():Void {
this.tipID = setInterval(this, "displayTip", 1000);
}
function displayTip():Void {
// create text container...
_root.createEmptyMovieClip("tooltip", 20);
_root.tooltip.createTextField("tip", 1, 0, 0, 100, 100);
_root.tooltip.tip.text = "tooltip";
// make text follow mouse...
_root.tooltip.onEnterFrame = function():Void  {
var coord:Object = {xx:_root._xmouse,
yy:_root._ymouse};
this._x = coord.xx;
this._y = coord.yy;
//this._x = _root._xmouse;
//this._y = _root._ymouse;
//_root.tooltip._x = _root._xmouse;
};
clearInterval(this.tipID);
}
}

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

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


Re: [Flashcoders] Flash on Wii

2006-12-29 Thread Seb L

Don't speak too soon!

http://aralbalkan.com/825

regards
Seb Lee-Delisle
http://sebleedelisle.com

On 28/12/06, Max <[EMAIL PROTECTED]> wrote:

Hey, good news. The buttons on the Wiimote give out key events.

http://wiinintendo.net/2006/12/27/wiimote-d-pad-works-in-javascript-or-flash-games/

On 12/25/06, Max <[EMAIL PROTECTED]> wrote:
> Any key events? What about right-clicks or mouse scrolling?
>
> I'd do it myself but I'm facinated by this and don't have any wireless
> Internet for a while so I can't test anything.
>
> On 12/25/06, Martin Jonasson <[EMAIL PROTECTED]> wrote:
> > I've also been doing some poking around. It seems it renders the page at
> > a higher resolution than the one displayed and then scales it down
> > (since you can zoom), so setting the swf to half the resolution (400x250
> > for 4:3) and then zooming in gives a nice performance boost.
> >
> > The only real problems I've been having is some trouble getting all
> > mousedown's to register properly, sometimes it just ignores the clicks,
> > but zooming in and then out again helps. It might be my code acting up
> > though.
> >
> > Josh Santangelo skrev:
> > > I did some poking around and discovered the following:
> > >
> > > - The user-agent of the Wii browser (US version) is  "Opera/9.00
> > > (Nintendo Wii; U; ; 1309-9; en)".
> > > - The Flash Player version on the Wii is "WII 7.0.70.0"
> > > - You CAN enter a URL directly to a SWF.
> > > - You CAN add a favorite directly to a SWF, but it won't show a good
> > > icon in the favorites screen.
> > > - A SWF's stage at 100% width and height in 16:9 mode (480p) is 1024x500.
> > > - In 4:3 mode it is 800x500.
> > > - After messing with the screen mode I was able to get the browser
> > > into a state where it was reporting the stage size as 700x150.
> > > Restarting the Wii fixed it.
> > > - There are no global objects named Controller, Remote, Buttons, Wii,
> > > Nintendo, or com (looking for things like Mouse and Key).
> > > - When pressing the A button on the remote, you get a mousedown event
> > > -- in fact it seems like you get four of them!
> > > - Releasing the A button does not create a mouseup event.
> > > - onMouseMove works pretty much as expected.
> > > - Mouse.hide() does not hide the Wii remote pointer.
> > > - Clicking on a text input field does bring up the Wii on-screen
> > > keyboard.
> > > - I was not able to trap any events from buttons other than A on the
> > > main remote using mouse or keyboard events -- also tried Nunchuck and
> > > Classic Controller.
> > >
> > > My only tools here are outputting things to a text field and using
> > > ASSetPropFlags to unhide any potentially-hidden variables. If anyone
> > > else has other tricks for finding things, I'd be into hearing them,
> > > but at this point it looks like you can't do anything particularly
> > > cool with Flash on Wii.
> > >
> > > -josh
> > >
> > > On Dec 22, 2006, at 9:37a, Josh Santangelo wrote:
> > >
> > >> The Wii's "Internet Channel" launched today, which is basically a
> > >> downloadable version of Opera. Of course the first thing I did after
> > >> getting it was check out what version of Flash was included.
> > >> getVersion() returns "WII 7.0.70.0".
> > >>
> > >> Kind of lame that it's only Flash 7. It looks like wiicade.com, a
> > >> site full of Flash games to play on the Wii, was surprised too:
> > >> http://wiicade.com/
> > >>
> > >> I wonder if there's any kind of hidden API to trap events from the
> > >> Wii remote control.
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/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] AS to convert bitmap -> vector?

2006-12-29 Thread Danny Kodicek
 > On 12/28/06, Matthew Pease <[EMAIL PROTECTED]> wrote:
> > Anyone know of a tool to convert a bitmap -> vector on the command 
> > line in linux?
> 
> I think nowadays it's getting more difficult to say "you 
> can't do X with AS" -- since you can read colour values of 
> pixels, you could of course write your own vector tracing code... :)

If you don't need to do it at runtime (your commandline comment suggests
not) then maybe you could use jsfl.

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