[Flashcoders] Job offer in Berlin (ActionScript)

2008-06-11 Thread Abe Pazos

The company where I work is growing and needs more
AS3 developers. The project is called Panfu, one
of the biggest virtual worlds for children, developed
in AS3 and PureMVC.

It's a large and young international team with programmers,
designers, illustrators, translators, moderators and many
others. Work conditions are quite good I think.

Berlin is a great city to live in, specially in summer. It's full
of cultural events, parks where you can relax, lakes, and
people coming from all countries. You can go around with
bicycle or using a very efficient public transportation. Flats
and food are quite inexpensive compared to other large cities.

For more details or for sending a CV please use my e-mail
address.

Hopefully one of you is working here with us soon! :)

Abe

ps. I'm sending this job offer to the list as it was said a
couple of weeks ago it is ok to do so. Hopefully it
does not upset anyone.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] [solved] scope issues with onLoadInit

2008-06-11 Thread Allandt
ah nevermind - it needed to go to another clip - it was loading them all
into the same clip (mcTempLoaderClip)


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


Re: [Flashcoders] 3 level drop down menu - AS3

2008-06-11 Thread Vayu Robins
Hmmm, thanks Ashim, but the site is managed by a cms that runs on a
database.  Hence , the content is stored in a database.
  


On 6/9/08 10:50 AM, Ashim D'Silva [EMAIL PROTECTED] wrote:

 XML will solve all your troubles. With as3 flash now natively handles the
 E4X syntax. You'll be able to run through everything that way.
 
 2008/6/9 Vayu Robins [EMAIL PROTECTED]:
 
 Hi.
 
 I am struggling with something I never thought would be an issue.
 
 I'm trying to develop a 3 level drop down menu in as3 and I am connected to
 a database where all the menu items are stored.  I am getting the stored
 data with the help of amfphp.
 
 I naively assumed I could just run the data I got from the database in some
 for loops and have the following structure:
 
 Topmenu1
Submenu1
Submenu2
SubSubmenu1
SubSubmenu2
 Topmenu2
Submenu1
Submenu2
 
 Etc.
 
 The top menus have a parent_id = 0. The submenus have parent_id = its
 parents id and so on.
 
 Could anyone please help me out of this pickle?
 
 Cordially
 Vayu
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 


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


[Flashcoders] create video player with as3

2008-06-11 Thread sense co moh
Hi everybody
I'm trying to create video player with AS3 but I have some problems with create 
the controll buttons  (play,puase.. ).
can anyone tell me where can i download full video player with  sample or 
tutorial .
thank you
Bassam



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


Re: [Flashcoders] Close current browser from flash without alert message.

2008-06-11 Thread ACE Flash
seems only work on IE and NS?? not sure, you may take a look by urself
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=2844lngWId=2



On Mon, Jun 9, 2008 at 8:42 AM, natalia Vikhtinskaya [EMAIL PROTECTED]
wrote:

 Hi
 I want to close my current(main) browser from flash when a new pop up
 browser appears(first page I use for choosing language).
 I use this code for new window:
 getURL (javascript:window.open('main_eng.html','mainPage','fullscreen=yes,
 scrollbars=no, status=no, menubar=no, titlebar=no, toolbar=no,
 location=no');void(0););
 As I know it is not possible without alert message if I try to close
 current page. But maybe there is a solution?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Close current browser from flash without alert message.

2008-06-11 Thread Jer Brand
Let me make sure I understand:  Your user navigates to your page and see a
language selection screen. When they choose a language, you open a new
fullscreen window and close the original browser window (the one with a
back/forward, address bar etc).

If that's what you're needing: There's not a way. Simply put, it's bad form
under most circumstances. If you were to do this, you would erase that
user's history, as well as making it impossible for that user to navigate
away from your site.

Another thing to think of: My browser settings force all popup windows to
appear as tabs.  So closing the previous window would also close out your
site (I think I've tried this on accident and it crashed Firefox, but that
may be because of IE view add-on).
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] mac osx style dock x position

2008-06-11 Thread Allandt
please help - i'm going mad on this

I've gotten my dock to scale exactly as i want it to - going from 55% of
it's size up to 100% and then back down to 55% but i just can't get the
positioning right no matter what i do

here is my onMouseMove code that does the scaling - i've commented out my
aborted attempts to do the positioning

i really need help - it's 11.15 and i'm at a loss

mcScrollingIconContainer[clip+i].onMouseMove = function():Void
{
var thisXmouse = Math.round(this._xmouse);
var nIconSpan:Number = Math.round(ref.nIconWidth*5);
var nXPercent:Number = Math.round((thisXmouse/nIconSpan) *100);

if (thisXmouse  nIconSpan  -1*thisXmouse  nIconSpan)
{
var nWidth:Number = ref.nIconWidth + ref.nIconSpacing;
var nPercent:Number = Math.round((thisXmouse  0) ? (thisXmouse/nIconSpan)
*-100 : (thisXmouse/nIconSpan) *100);
nPercent = 100 - nPercent;

if (nPercent  55)
{
this._yscale = this._xscale = nPercent;

} else {
this._yscale = this._xscale = 55;
}

//if (nXPercent  -45  nXPercent  45)
//{
//var nMoveToX:Number = this.thisX*((nXPercent/100)+1);
//trace(this.thisX +  ::  + nMoveToX);
//
//this._x = nMoveToX;
//} else if (nXPercent  45) {
//this._x = this.thisX * nXPercent;
//}
} else {
this._yscale = this._xscale = 55;
//this._x = this.thisX;
}
};

thankyou
alz


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


[Flashcoders] Input textfields - is it possible, when filled up, to behave like a browser input textfield?

2008-06-11 Thread [EMAIL PROTECTED]
Hello List,

Not only can I not work out how to fix this problem, but I'm also having
problems describing it pithily. Please bear with me and I hope someone has
pointers, even if just to say Nup, can't be done.

With input textfields in a browser (that is, the ones I've checked, FF2 and
IE7), when you type enough to fill up the textfield, the cursor stays at
the very right of the textfield, and the overflow text (the text you are
still typing) comes up character by character, each character shifting the
existing text to the left by one character-width.

With input textfields in Flash (MX2004 and 8), when you type enough to fill
up the textfield - or rather, when you get within about 5px of the right
side of the textfield - the existing text jumps a good distance (about 20px)
to the left, thus opening up more space for you to type into.

1) I need the input textfields in Flash to behave like the browser input
textfield behaviour described - essentially, I need to prevent the text
jump left behaviour. Is it possible, and if not, how can it be faked?

2) Leading on from how can it be faked, what is the actual condition
required to cause the text jumps to the left behaviour in Flash? I've been
trying to get around it by making the textfield 1 space wider than its
contents, but the number of spaces required seems to vary with the font size
- smaller font size seems to require more extra spaces to prevent text jump
- so I'm guessing it's something else.

Any suggestions and pointers very much appreciated. Even an iota of clue 
clueless, which is my current situation.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Inserting Smiley Images in Textarea

2008-06-11 Thread Elia Morling

Is there a component for making smiley images work in an editable text area?
I need to add the smileys with drag-n-drop, or simply choose a smiley from a 
palette.


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


[Flashcoders] Flip movieclip

2008-06-11 Thread sense co moh
Hi
I have Video playing in the center of the stage and I'm using button to filp it 
function filp(event:MouseEvent):void {
 
 mySampleMC.scaleY *= -1;
}

mySampleMC.addEventListener(MouseEvent.CLICK, flip);

but the problem when I flip it change Y postion and go up ,
I wnat to flip it and keep it in same postion 
 
 
Help please
 
Thanks
Bassam



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


[Flashcoders] flip in same postion

2008-06-11 Thread sense co moh
Hi
I have Video playing in the center of the stage and I'm using button to filp it 
function filp(event:MouseEvent):void {
 
 mySampleMC.scaleY *= -1;
}

mySampleMC.addEventListener(MouseEvent.CLICK, flip);

but the problem when I flip it change Y postion and go up ,
I wnat to flip it and keep it in same postion 
Help please
Thanks
Bassam



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


Re: [Flashcoders] flash animations Slow on IE7

2008-06-11 Thread Jason Van Cleave
really? Anyone have any further info on whether the doctype can effect Flash
perfomance?

On Mon, Jun 9, 2008 at 4:01 AM, maurice sallave [EMAIL PROTECTED] wrote:

 yes.  This is weird, I found out that DOCTYPE was killing it.  I check on
 several sites from thefwa and most if not all have DOCTYPE removed.

 On Fri, Jun 6, 2008 at 8:06 AM, Jason Van Pelt [EMAIL PROTECTED]
 wrote:

  Are you sure you're running the same flash player version in IE7?
 
  Jason Van Pelt
  Interactive Developer
  504.210.1232 (p) / 504.581.2731 (f)
  Peter A. Mayer Advertising, Inc.
  www.peteramayer.com
 
 
  - Original Message 
  From: maurice sallave [EMAIL PROTECTED]
  To: Flashcoders@chattyfig.figleaf.com
  Sent: Thursday, June 5, 2008 2:00:44 PM
  Subject: [Flashcoders] flash animations Slow on IE7
 
  Sorry if this has been asked before, but is there a reason why my
  animations
  are running slow on IE7?  I'm currently developing on a PC running player
 9
  and all the other browsers, FF and even Safari, are running fine.  Thanks
  for any help.
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Character sets and library fonts

2008-06-11 Thread Matt Hawley
I want to use a shared dynamic library font with Cyrillic but only Latin is
being embedded.  Is there any way to specify which character set(s) to use
like there is on a dynamic textfield on the stage?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Best way to architect a kind of keyCode rotation

2008-06-11 Thread eric e. dolecki
I am going to be getting key events that sum up a degree of rotation.

ie. 3, 0, 1, ^  = 301 degrees (well, I get keCodes that I need to translate
back into their corresponding numbers)

So I was thinking I have an array that I push the values (keyCode) into...
when I get a delimiter, I then combine the digits before the delimiter

numbOne *= 100;
numbTwo *= 10;
numbThree = thirdDigitIfExists;

totalNumber = numbOne + numbTwo + numbThree;

And then set the rotation, clear the array out, and then wait for more
keyCodes to pour in.

I'm a little worried about the speed of execution, as I could get tons of
sets of keyCodes and this needs to be as accurate as possible. I could use a
wrapper and use serial data sent in, but i want to avoid a 3rd party
wrapper. I imagine that the approach I've outlined above shouldn't be too
terribly slow, but wondering if there might be a way that would be quicker
execution-wise knowing I'll be getting sets of keyCodes to implement into a
rotational number (0-359).

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


[Flashcoders] problem with loading and parsing XML

2008-06-11 Thread Pavel Krůšek

Hi

i have class for loading and parsing XML file. With test movie  
(command + enter) is onLoadSite method out of action.
With debug mode (command + shift + enter) is all OK and in output  
window is possible to see trace command (trace(siteData))

What is wrong please?

package app.euro {

import flash.display.*;
import flash.events.*;
import flash.net.*;

public class Model {

private var siteData:XML;
private var xmlLoader:URLLoader;


public function Model(){
loadSite();
}


private function loadSite():void
{

xmlLoader = new URLLoader();
			xmlLoader.addEventListener(Event.COMPLETE, onLoadSite, false, 0,  
true);
			xmlLoader.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false,  
0, true);

xmlLoader.load(new URLRequest(data/site.xml));

}

private function onLoadSite(evt:Event):void
{
try {
siteData = new XML(evt.target.data);
trace(siteData);
xmlLoader.removeEventListener(Event.COMPLETE, 
onLoadSite);
		xmlLoader.removeEventListener(IOErrorEvent.IO_ERROR,  
onIOError);

} catch (err:Error) {
		 trace(Could not parse loaded content as XML:\n +  
err.message);

}
}

private function onIOError(evt:IOErrorEvent):void
{
			trace(An error occurred when attempting to load the XML.\n +  
evt.text);

}


}

}

thanks

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


[Flashcoders] Real Time Lip Sync

2008-06-11 Thread Elia Morling

Hi,
Are there any real time lip sync code examples or components for AS3?

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


[Flashcoders] test

2008-06-11 Thread Dave Watts
This is a test of the mailman upgrade.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Haven't received emails.

2008-06-11 Thread Paul Andrews

It's not just you - almost a three day gap.

Paul
- Original Message - 
From: Vlado Krempl [EMAIL PROTECTED]

To: Flashcoders@chattyfig.figleaf.com
Sent: Wednesday, June 11, 2008 11:25 PM
Subject: [Flashcoders] Haven't received emails.



Hello everyone,

I haven't received any flash coders emails for the past few days, just  
checking
to see if anyone else is experiencing this problem, or perhaps it's  
just me.


Vlado Krempl
Sydney, Australia

M  0433 781740
E   [EMAIL PROTECTED]






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


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


Re: [Flashcoders] 3 level drop down menu - AS3

2008-06-11 Thread Ashim D'Silva
Yes, but you'll undoubtedly use a server side script to access that
information form the database. Formatting that into XML and feeding it to
Flash means you get an XML object, which is simply a set of arrays to run
through.I just re-read your problem. And maybe I approached it wrong.
If you've already build your setup then every object has an id and all its
children should know what that id is (parent_id). But each object that has a
parent has a .parent paramenter, if its in its display list. and if your not
structuring it that way, you should add a parent parameter to your class so
that all objects know who their parents are. Then you simply call its id.
Hope that made sense.

2008/6/9 Vayu Robins [EMAIL PROTECTED]:

 Hmmm, thanks Ashim, but the site is managed by a cms that runs on a
 database.  Hence , the content is stored in a database.



 On 6/9/08 10:50 AM, Ashim D'Silva [EMAIL PROTECTED] wrote:

  XML will solve all your troubles. With as3 flash now natively handles the
  E4X syntax. You'll be able to run through everything that way.
 
  2008/6/9 Vayu Robins [EMAIL PROTECTED]:
 
  Hi.
 
  I am struggling with something I never thought would be an issue.
 
  I'm trying to develop a 3 level drop down menu in as3 and I am connected
 to
  a database where all the menu items are stored.  I am getting the stored
  data with the help of amfphp.
 
  I naively assumed I could just run the data I got from the database in
 some
  for loops and have the following structure:
 
  Topmenu1
 Submenu1
 Submenu2
 SubSubmenu1
 SubSubmenu2
  Topmenu2
 Submenu1
 Submenu2
 
  Etc.
 
  The top menus have a parent_id = 0. The submenus have parent_id = its
  parents id and so on.
 
  Could anyone please help me out of this pickle?
 
  Cordially
  Vayu
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 


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




-- 
Random Lines 3D
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flip in same postion

2008-06-11 Thread Ashim D'Silva
two options:
1. put it inside another container at object.y = (object.height/2)*-1; and
then negetive scale the container.
or
2. move the y of the object as you scaleY, so for the code below, add
mySampleMC.y = orginalY - mySampleMC.height;

2008/6/10 sense co moh [EMAIL PROTECTED]:

 Hi
 I have Video playing in the center of the stage and I'm using button to
 filp it
 function filp(event:MouseEvent):void {

  mySampleMC.scaleY *= -1;
 }

 mySampleMC.addEventListener(MouseEvent.CLICK, flip);

 but the problem when I flip it change Y postion and go up ,
 I wnat to flip it and keep it in same postion
 Help please
 Thanks
 Bassam



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




-- 
Random Lines 3D
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Changing the cursor effectively.

2008-06-11 Thread Ashim D'Silva
I'm curious because its becoming a large requirement for usability and I shy
away from it but changing the mouse cursor can be highly beneficial.
I'd like to know however, it there's a way to tap into the OS's cursors,
instead of changing the cursor position on mouse move. For instance when you
have a selectable text field, flash changes your cursor, as when you roll
over a buttonMode enabled object.

So is there a way to tell it to fall into that state?

Cheers,

Ashim

-- 
Random Lines 3D
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] AS3: How can I target an object from a dot-sytax string?

2008-06-11 Thread Kerry Thompson
Ali Drongo wrote:

 Hello, I'm being passed a string that has a reference to an object in
 dot-syntax like this:  myOb.property.property2.property3
 
 The object targeted may be a varying number of levels inside of the
 top-level object.
 
 I have tried to write this by turning the string into an array and
 then creating the object but I'm not sure how:
 
 public static function arToObj(a:Array):Object
   {
   var retObj:Object;
   for ( var i:Number=0; ia.length; i++ ) {
   if (i==a.length-1){
   //dont know what to do here !!
   }
   };
   return retObj;
   }

This is untested e-mail ActionScript, but you could do something like this:

public static function arToObj(a:String):Object
{
   var strArray:Array;
   var clsRef:Class;
   
   strArray = a.split(.);
   clsRef = getDefinitionByName(strArray[0]) as Class;
   return new clsRef();
}

I'm sure there are bugs in there, but that's the basic approach I'd take.

Cordially,

Kerry Thompson


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