Re: [Flashcoders] problem with loading and parsing XML

2008-06-12 Thread jonathan howe
Hello, Pavel,

Can you try to rephrase is onLoadSite method out of action. Also, what is
the state of the omit trace actions checkbox in your publish settings
(perhaps it is checked but Flash maybe overwrites this setting when running
the debugger?)

-jonathan




On Wed, Jun 11, 2008 at 5:36 PM, Pavel Krůšek [EMAIL PROTECTED]
wrote:

 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




-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Job offer in Berlin (ActionScript)

2008-06-12 Thread Deepanjan Das
Hi Abe,
I am a flash and Flex developer. I would like to know more about this
opportunity. Can you please mail me the details at [EMAIL PROTECTED]
Thank you for your time.

Regards
Deepanjan Das

On Thu, Jun 12, 2008 at 12:21 PM, Jiri Heitlager 
[EMAIL PROTECTED] wrote:

 He Abe,

 I am a Dutch Flash developer and I am living in Berlin since 1 year now.
 Your email sounds quit interesting and I would like to get to know a bit
 more. Could you send me some more details.

 Thank you,

 Jiri Heitlager

 Abe Pazos wrote:

 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 mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] AS3: How can I target an object from adot-sytax string?

2008-06-12 Thread Viktor Hesselbom

One dirty way would be like this:

var sTarget:String = first.second.third.fourth;
var aTarget:Array = sTarget.split(.);
var mcTarget = this[ aTarget[0] ];
for (var i:int = 1; i  aTarget.length; i += 1)
{
mcTarget = mcTarget[ aTarget[i] ];
}
trace( mcTarget );

/ Viktor H

On Thu, 12 Jun 2008 10:44:34 +0200, Ali Drongo [EMAIL PROTECTED]  
wrote:


Hmmm, can anyone suggest the completed code? I can't see how this would  
work as you are returning a class reference that is named after the root  
object. Maybe I am missing something.
Any suggestions much appreciated to keep me out of a long-hand switch  
statement :)

Ali

On 12 Jun 2008, at 04:48, Kerry Thompson wrote:


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


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




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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


[Flashcoders] Streaming Video question

2008-06-12 Thread Paul Andrews
I've been developing a video player for a client. It looks as though the 
client may switch to using a streaming server. The video content is over an 
hour long, so I wonder if there is an optimal size/length we should be 
looking at for the video files. Previously, the video was split into a lot 
of small video files with the player loading them as required - much more 
convenient to allow the user to move between sections. I'm wondering what 
the optimal finger in the air size is going to be for use with a video 
stream.


At this stage I have no idea what the client  infrastructure will be.

Paul 


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


[Flashcoders] Conversion SWF - PDF/EPS

2008-06-12 Thread nospam
Hello everybody,

I'm looking for a any solution (really anything) to convert SWF files to another
vector format used in print (EPS or PDF) or even generate this format on the fly
using AS3/PHP/whatever...

Here is a summary of the problem : I have an application in which the user can
add text or pre-defined shapes (MovieClips) and then scale, rotate, move
them... As a final step I need to generate a vector file (PDF or EPS) to be
sent to the print factory.

The pre-defined shapes are provided to me as vector PDF files, so I imported
them in the Flash IDE then re-export them as SWF in order to be dynamically
loaded in the app.

I already take a look at AlivePDF, but he can't generate vector PDF from a
DisplayObject...

I'm also thinking that I can generate a XML file describing the transformations
applied to the shapes to later post-process everything with originals PDF but I
can't even find a solution in this way. And it doesn't solve my problem in the
case the user added text with a specific font and then distord it to fit his
needs.

So, if someone has a clue or a trick (even if it needs a manual intervention) to
get me out of this mess, it would be great.

Thanks,

Florent JEAN
French Flash Developer
http://www.nowhen.net
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Conversion SWF - PDF/EPS

2008-06-12 Thread SJM
We have been working on a similar type of projects, there are a few options!

The best one i found was www.alivepdf.org but if its not what your looking for 
(as it wasnt for us) try looking for a PHP / ASP version. In the end due to 
server technology we used ABCPDF its an asp/.net pdf creator and works great 
for what we need!

Cheers
SJM
  - Original Message - 
  From: [EMAIL PROTECTED] 
  To: flashcoders@chattyfig.figleaf.com 
  Sent: Thursday, June 12, 2008 10:13 AM
  Subject: [Flashcoders] Conversion SWF - PDF/EPS


  Hello everybody,

  I'm looking for a any solution (really anything) to convert SWF files to 
another
  vector format used in print (EPS or PDF) or even generate this format on the 
fly
  using AS3/PHP/whatever...

  Here is a summary of the problem : I have an application in which the user can
  add text or pre-defined shapes (MovieClips) and then scale, rotate, move
  them... As a final step I need to generate a vector file (PDF or EPS) to be
  sent to the print factory.

  The pre-defined shapes are provided to me as vector PDF files, so I imported
  them in the Flash IDE then re-export them as SWF in order to be dynamically
  loaded in the app.

  I already take a look at AlivePDF, but he can't generate vector PDF from a
  DisplayObject...

  I'm also thinking that I can generate a XML file describing the 
transformations
  applied to the shapes to later post-process everything with originals PDF but 
I
  can't even find a solution in this way. And it doesn't solve my problem in the
  case the user added text with a specific font and then distord it to fit his
  needs.

  So, if someone has a clue or a trick (even if it needs a manual intervention) 
to
  get me out of this mess, it would be great.

  Thanks,
  
  Florent JEAN
  French Flash Developer
  http://www.nowhen.net
  ___
  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] Best way to architect a kind of keyCode rotation

2008-06-12 Thread Kenneth Kawamoto

Will parseInt be quicker?

Kenneth Kawamoto
http://www.materiaprima.co.uk/

eric e. dolecki wrote:

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


RE: [Flashcoders] AS3: How can I target an object from adot-sytaxstring?

2008-06-12 Thread Romuald Quantin
If you fell developing it, I wrote an experiment about the flash proxy
class. I would do it that way. The proxy class makes you able to handle new
methods and properties on any other classes (especially the one that are not
dynamic, almost all of them), to access to something like:

mySprite.myNewProperty
mySprite.myNewMethod

In my example I proxy an array but you could do it for anything.

http://www.soundstep.com/blog/2008/05/27/data-access-with-array-extending-an
d-proxy-extending/

Make a search on Google with the keywords as3, proxy and dot syntax maybe
someone has already done that.

Hope it helps.

Romu


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Viktor
Hesselbom
Sent: 12 June 2008 10:01
To: Flash Coders List
Subject: Re: [Flashcoders] AS3: How can I target an object from
adot-sytaxstring?

One dirty way would be like this:

var sTarget:String = first.second.third.fourth;
var aTarget:Array = sTarget.split(.);
var mcTarget = this[ aTarget[0] ];
for (var i:int = 1; i  aTarget.length; i += 1)
{
mcTarget = mcTarget[ aTarget[i] ];
}
trace( mcTarget );

/ Viktor H

On Thu, 12 Jun 2008 10:44:34 +0200, Ali Drongo [EMAIL PROTECTED]  
wrote:

 Hmmm, can anyone suggest the completed code? I can't see how this would  
 work as you are returning a class reference that is named after the root  
 object. Maybe I am missing something.
 Any suggestions much appreciated to keep me out of a long-hand switch  
 statement :)
 Ali

 On 12 Jun 2008, at 04:48, Kerry Thompson wrote:

 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

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



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
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] Real Time Lip Sync

2008-06-12 Thread Elia Morling

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

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


[Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Elia Morling
Is there a component or source for making smiley images work in an editable 
text area?


Thanks,
Elia 
___

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


Re: [Flashcoders] Conversion SWF - PDF/EPS

2008-06-12 Thread nospam
Well,

I work in an php / apache / mac osx environment (sorry)

For the moment I wasn't able to even find a solution to generate an EPS/PDF file
containing a text (verdana 12px) scaled to 800x200 px for instance. The tricky
thing is the scaling part.

ABCPDF seams to be what I'm looking for but I need the same king of thing in
PHP. I'm about to thing it's hopeless...

But thank you anyway :)
___
Florent

Quoting SJM [EMAIL PROTECTED]:

 We have been working on a similar type of projects, there are a few options!

 The best one i found was www.alivepdf.org but if its not what your looking
 for (as it wasnt for us) try looking for a PHP / ASP version. In the end due
 to server technology we used ABCPDF its an asp/.net pdf creator and works
 great for what we need!

 Cheers
 SJM
   - Original Message -
   From: [EMAIL PROTECTED]
   To: flashcoders@chattyfig.figleaf.com
   Sent: Thursday, June 12, 2008 10:13 AM
   Subject: [Flashcoders] Conversion SWF - PDF/EPS


   Hello everybody,

   I'm looking for a any solution (really anything) to convert SWF files to
 another
   vector format used in print (EPS or PDF) or even generate this format on
 the fly
   using AS3/PHP/whatever...

   Here is a summary of the problem : I have an application in which the user
 can
   add text or pre-defined shapes (MovieClips) and then scale, rotate, move
   them... As a final step I need to generate a vector file (PDF or EPS) to be
   sent to the print factory.

   The pre-defined shapes are provided to me as vector PDF files, so I
 imported
   them in the Flash IDE then re-export them as SWF in order to be dynamically
   loaded in the app.

   I already take a look at AlivePDF, but he can't generate vector PDF from a
   DisplayObject...

   I'm also thinking that I can generate a XML file describing the
 transformations
   applied to the shapes to later post-process everything with originals PDF
 but I
   can't even find a solution in this way. And it doesn't solve my problem in
 the
   case the user added text with a specific font and then distord it to fit
 his
   needs.

   So, if someone has a clue or a trick (even if it needs a manual
 intervention) to
   get me out of this mess, it would be great.

   Thanks,
   
   Florent JEAN
   French Flash Developer
   http://www.nowhen.net
   ___
   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] as3 classes var query

2008-06-12 Thread Johnny Zen
Hi all

I am currently learning AS3, and I seem to be a bit confused on
understanding accessing variables outside of the class it resides in.


for example:

package test {

public class test extends Sprite {

 public var hello = hello;

}

}

I thought this var will be available to access from within another
class like this:

package test {

public class test2 extends Sprite {

 hello = hello from another class;

}

}
---

But I get :

1120: Access of undefined property hello.

Is anyone kind enough to put me right ?

Thanks


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


[Flashcoders] Flip movie clip

2008-06-12 Thread Bassam M
 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] as3 classes var query

2008-06-12 Thread Eduardo Omine
package test
{
public class test2 extends Sprite
{
var testInstance:test = new test;
trace(testInstance.hello);
}
}

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] as3 classes var query

2008-06-12 Thread Piers Cowburn

You'd need to instantiate the other class and then access it, like this:

package test {

public class test2 extends Sprite {

public function test2(){
var testInstance:test = new test();

trace(testInstance.hello);
}

}

}



Also, it's good practice to capitalise your class names: Test, Test2  
rather than test, test2.


Piers



On 12 Jun 2008, at 13:33, Johnny Zen wrote:


Hi all

I am currently learning AS3, and I seem to be a bit confused on
understanding accessing variables outside of the class it resides in.


for example:

package test {

public class test extends Sprite {

 public var hello = hello;

}

}

I thought this var will be available to access from within another
class like this:

package test {

public class test2 extends Sprite {

 hello = hello from another class;

}

}
---

But I get :

1120: Access of undefined property hello.

Is anyone kind enough to put me right ?

Thanks


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


[EMAIL PROTECTED]
0207 631 3278


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


Re: [Flashcoders] AS3: How can I target an object fromadot-sytaxstring?

2008-06-12 Thread Alistair Colling

Hey Victor I like your solution thanks :)

Romu, I'll check out your method when I get a little time, I have to  
get this working quickly so the dirty method will do for now.


Thanks everyone!
Ali


On 12 Jun 2008, at 11:29, Romuald Quantin wrote:


If you fell developing it, I wrote an experiment about the flash proxy
class. I would do it that way. The proxy class makes you able to  
handle new
methods and properties on any other classes (especially the one  
that are not

dynamic, almost all of them), to access to something like:

mySprite.myNewProperty
mySprite.myNewMethod

In my example I proxy an array but you could do it for anything.

http://www.soundstep.com/blog/2008/05/27/data-access-with-array- 
extending-an

d-proxy-extending/

Make a search on Google with the keywords as3, proxy and dot syntax  
maybe

someone has already done that.

Hope it helps.

Romu


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Viktor
Hesselbom
Sent: 12 June 2008 10:01
To: Flash Coders List
Subject: Re: [Flashcoders] AS3: How can I target an object from
adot-sytaxstring?

One dirty way would be like this:

var sTarget:String = first.second.third.fourth;
var aTarget:Array = sTarget.split(.);
var mcTarget = this[ aTarget[0] ];
for (var i:int = 1; i  aTarget.length; i += 1)
{
mcTarget = mcTarget[ aTarget[i] ];
}
trace( mcTarget );

/ Viktor H

On Thu, 12 Jun 2008 10:44:34 +0200, Ali Drongo  
[EMAIL PROTECTED]

wrote:

Hmmm, can anyone suggest the completed code? I can't see how this  
would
work as you are returning a class reference that is named after  
the root

object. Maybe I am missing something.
Any suggestions much appreciated to keep me out of a long-hand switch
statement :)
Ali

On 12 Jun 2008, at 04:48, Kerry Thompson wrote:


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


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




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
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



--
Alistair Colling
Interactive Developer

FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511

This transmission is confidential and intended solely for the person or 
organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the 
intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received 
this transmission in error, please
notify the sender at the e-mail address above. 
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD. 
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/


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


Re: [Flashcoders] Haven't received emails.

2008-06-12 Thread Pedro Kostelec
Me too. A few days i didn't get anythink and today suddenly 25 messages!

Pedro D.K.

On Wed, Jun 11, 2008 at 8:38 PM, Kerry Thompson [EMAIL PROTECTED]
wrote:

 Paul Andrews wrote:

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

 I believe Dave is upgrading the mailing list software. He's good--hang in
 there, and the list should be better than ever shortly.

 In the meantime, I'd like to repeat our invitation to join our
 complementary
 list, Flash_Tiger. We set it up for situations just like this--temporary
 outages. We're not a competing list--most Flash_Tiger members are also
 Flashcoders members, and we do everything we can to support and cooperate
 with Flashcoders.

 If you'd like to join us, now nearly 400 strong, we're at
 http://groups.yahoo.com/group/Flash_tiger. It's a pretty lively list, and,
 as I said, I think it's a good complement to Flashcoders.

 Cordially,

 Kerry Thompson

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

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


[Flashcoders] Is it possible to display in the xml file

2008-06-12 Thread ACE Flash
hey there,
Is it possible to display  in the xml file? I tried to convert it to %26,
but it won't display  in the flash

for example:

depFin  IT /dep


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


Re: [Flashcoders] Is it possible to display in the xml file

2008-06-12 Thread Cedric Muller

Hello,

add a CDATA tag

dep![CDATA[Fin  IT]]/dep


cedric


hey there,
Is it possible to display  in the xml file? I tried to convert  
it to %26,

but it won't display  in the flash

for example:

depFin  IT /dep


thanks
___
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] Is it possible to display in the xml file

2008-06-12 Thread Cedric Muller

or you could set an attribute instead of a node

dep value=Fin  IT /



hey there,
Is it possible to display  in the xml file? I tried to convert  
it to %26,

but it won't display  in the flash

for example:

depFin  IT /dep


thanks
___
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] Is it possible to display in the xml file

2008-06-12 Thread Ian Thomas
Or use:

depFin amp; IT/dep

Similarly,

lt; gives you 
gt; gives you 

Ian

On Thu, Jun 12, 2008 at 2:21 PM, Cedric Muller [EMAIL PROTECTED] wrote:
 or you could set an attribute instead of a node

 dep value=Fin  IT /


 hey there,
 Is it possible to display  in the xml file? I tried to convert it to
 %26,
 but it won't display  in the flash

 for example:

 depFin  IT /dep


 thanks
 ___
 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] Re: Is it possible to display in the xml file

2008-06-12 Thread ACE Flash
i got it,
uses... = amp;

On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED] wrote:

 hey there,
 Is it possible to display  in the xml file? I tried to convert it to
 %26, but it won't display  in the flash

 for example:

 depFin  IT /dep


 thanks

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


Re: [Flashcoders] Is it possible to display in the xml file

2008-06-12 Thread Kenneth Kawamoto

amp;

Kenneth Kawamoto
http://www.materiaprima.co.uk/

ACE Flash wrote:

hey there,
Is it possible to display  in the xml file? I tried to convert it to %26,
but it won't display  in the flash

for example:

depFin  IT /dep


thanks
___
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] Re: Is it possible to display in the xml file

2008-06-12 Thread Sidney de Koning
But you have to say your textfield is HtmlText else it wont render and  
just shows you amp; instead of 


On Jun 12, 2008, at 3:21 PM, ACE Flash wrote:


i got it,
uses... = amp;

On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED] wrote:


hey there,
Is it possible to display  in the xml file? I tried to convert  
it to

%26, but it won't display  in the flash

for example:

depFin  IT /dep


thanks


___
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-12 Thread Jer Brand
 Submitted on: 4/28/2002

I tried it out in FF 2 and IE 6. Looks like the IE version was
exploiting a bug where the HTML help commands could be called from a
browser window.

The NS version was just calling self.close().

On Mon, Jun 9, 2008 at 2:18 PM, ACE Flash [EMAIL PROTECTED] wrote:

 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
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Is it possible to display in the xml file

2008-06-12 Thread Kenneth Kawamoto

Are you sure about that?

var xml:XML = new XML(depFin amp; IT/dep);
var tf:TextField = new TextField();
tf.text = xml;
addChild(tf);

I get Fin  IT in the TextField.

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Sidney de Koning wrote:
But you have to say your textfield is HtmlText else it wont render and 
just shows you amp; instead of 


On Jun 12, 2008, at 3:21 PM, ACE Flash wrote:


i got it,
uses... = amp;

On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED] wrote:


hey there,
Is it possible to display  in the xml file? I tried to convert it to
%26, but it won't display  in the flash

for example:

depFin  IT /dep


thanks

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


Re: [Flashcoders] Flip movie clip

2008-06-12 Thread Jiri Heitlager

Is the center point in the middle?

Jiri

Bassam M wrote:

 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] as3 classes var query

2008-06-12 Thread Merrill, Jason
You'd need to instantiate the other class and then access it, 
like this:

That's one way, the other way is to use static variables:

package com
{
class MyClass
{
public static var name:String = Johnny;

//or declare as a public constant:
public static const FRUIT:String = apple;
}
}


import com.MyClass

trace(MyClass.name);
trace(MyClass.FRUIT);


Jason Merrill 
Bank of America 
Global Technology  Operations  Global Risk LLD 
eTools  Multimedia 

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 

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


Re: [Flashcoders] Re: Is it possible to display in the xml file

2008-06-12 Thread Sidney de Koning

Try doing that with an external file and an exotic font :)

To prevent errors from my side i always place my text in a CDATA  
(where appropriate) and make sure I have the htmlText option on.
When working with exotic fonts (not your standard verdana, times or  
arial) you might get in trouble.



Sid


On Jun 12, 2008, at 4:30 PM, Kenneth Kawamoto wrote:


Are you sure about that?

var xml:XML = new XML(depFin amp; IT/dep);
var tf:TextField = new TextField();
tf.text = xml;
addChild(tf);

I get Fin  IT in the TextField.

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Sidney de Koning wrote:
But you have to say your textfield is HtmlText else it wont render  
and just shows you amp; instead of 

On Jun 12, 2008, at 3:21 PM, ACE Flash wrote:

i got it,
uses... = amp;

On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED]  
wrote:



hey there,
Is it possible to display  in the xml file? I tried to convert  
it to

%26, but it won't display  in the flash

for example:

depFin  IT /dep


thanks

___
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] Inserting Smiley Images in Textarea

2008-06-12 Thread Merrill, Jason
Is there a component or source for making smiley images work 
in an editable text area?

No.


Jason Merrill 
Bank of America 
Global Technology  Operations  Global Risk LLD 
eTools  Multimedia 

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 

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


Re: [Flashcoders] Re: Is it possible to display in the xml file

2008-06-12 Thread Ian Thomas
Sidney - nope, the amp; is taken care of at XML parse time.

You'd only have to use htmlText if the string was:

depFin amp;amp; IT/dep

:-)

Ian

On Thu, Jun 12, 2008 at 3:03 PM, Sidney de Koning
[EMAIL PROTECTED] wrote:
 But you have to say your textfield is HtmlText else it wont render and just
 shows you amp; instead of 

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


RE: [Flashcoders] Re: Is it possible to display in the xml file

2008-06-12 Thread Karim Beyrouti
Or you could use CDATA tags in your XML: title![CDATA[TC's]]/title


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
Kawamoto
Sent: 12 June 2008 15:31
To: Flash Coders List
Subject: Re: [Flashcoders] Re: Is it possible to display  in the xml file

Are you sure about that?

var xml:XML = new XML(depFin amp; IT/dep);
var tf:TextField = new TextField();
tf.text = xml;
addChild(tf);

I get Fin  IT in the TextField.

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Sidney de Koning wrote:
 But you have to say your textfield is HtmlText else it wont render and 
 just shows you amp; instead of 
 
 On Jun 12, 2008, at 3:21 PM, ACE Flash wrote:
 
 i got it,
 uses... = amp;

 On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED] wrote:

 hey there,
 Is it possible to display  in the xml file? I tried to convert it to
 %26, but it won't display  in the flash

 for example:

 depFin  IT /dep


 thanks
___
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] problem with loading and parsing XML

2008-06-12 Thread Pavel Krůšek

Hello,

thanks for your response.
omit trace actions in flash publish settings is unchecked.

Trace commands from another methods working OK, only from handler  
onLoadSite() not.
This method - onLoadSite() working OK for me, but there is no results  
of trace command in output window.


Pavel


On Jun 12, 2008, at 9:31 AM, jonathan howe wrote:


Hello, Pavel,

Can you try to rephrase is onLoadSite method out of action. Also,  
what is
the state of the omit trace actions checkbox in your publish  
settings
(perhaps it is checked but Flash maybe overwrites this setting when  
running

the debugger?)

-jonathan




On Wed, Jun 11, 2008 at 5:36 PM, Pavel Krůšek [EMAIL PROTECTED]
wrote:


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





--
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME  
04101

___
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] Re: Is it possible to display in the xml file

2008-06-12 Thread Ian Thomas
To clarify - amp; is part of the XML spec and is nothing to do with
HTML. Just by coincidence, HTML has the same entity amp; defined.

A standards-conforming XML parser - which the Flash one is - will
always translate amp; into  within text nodes.

So when you extract the text node from the XML, any occurrence of
amp; will already have been replaced.

Same goes for lt; and gt;

Ian

On Thu, Jun 12, 2008 at 3:45 PM, Ian Thomas [EMAIL PROTECTED] wrote:
 Sidney - nope, the amp; is taken care of at XML parse time.

 You'd only have to use htmlText if the string was:

 depFin amp;amp; IT/dep

 :-)

 Ian

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


Re: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Derek Nugent
Can you use ASCii or Unicode?

 Best regards
Derek Nugent


email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
web:   http://www.dereknugent.com


- Original Message 
From: Merrill, Jason [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 9:41:05 AM
Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea

Is there a component or source for making smiley images work 
in an editable text area?

No.


Jason Merrill 
Bank of America 
Global Technology  Operations  Global Risk LLD 
eTools  Multimedia 

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 


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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Re: Is it possible to display in the xml file

2008-06-12 Thread Romuald Quantin
Usually I use #38;



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karim
Beyrouti
Sent: 12 June 2008 15:47
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Re: Is it possible to display  in the xml file

Or you could use CDATA tags in your XML: title![CDATA[TC's]]/title


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
Kawamoto
Sent: 12 June 2008 15:31
To: Flash Coders List
Subject: Re: [Flashcoders] Re: Is it possible to display  in the xml file

Are you sure about that?

var xml:XML = new XML(depFin amp; IT/dep);
var tf:TextField = new TextField();
tf.text = xml;
addChild(tf);

I get Fin  IT in the TextField.

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Sidney de Koning wrote:
 But you have to say your textfield is HtmlText else it wont render and 
 just shows you amp; instead of 
 
 On Jun 12, 2008, at 3:21 PM, ACE Flash wrote:
 
 i got it,
 uses... = amp;

 On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED] wrote:

 hey there,
 Is it possible to display  in the xml file? I tried to convert it to
 %26, but it won't display  in the flash

 for example:

 depFin  IT /dep


 thanks
___
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] Please remove me from the list

2008-06-12 Thread Krystian - Sunlust
Hi,

I wish to unsubscribe from the mailing list, I forgot my password etc,
just remove me, I lost my passion in Flash lol.

Regards,

-- 
Krystian - Sunlust - I-M-A:
Freelancer on the side: http://sunlust.net
Full time Website Designer: http://smesolutions.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld
Yes. 

TUFaT SmileText Component

http://www.tufat.com/script124.htm 

Has the features you mentioned, but it breaks when a user enters (certain)
html tags. 

Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
 



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


Re: [Flashcoders] Flip movie clip

2008-06-12 Thread Bassam M
yes it's

On 6/12/08, Jiri Heitlager [EMAIL PROTECTED] wrote:

 Is the center point in the middle?

 Jiri

 Bassam M wrote:

  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 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] Inserting Smiley Images in Textarea

2008-06-12 Thread Bob Wohl
A while back there was a project where the dev made a custom font of smileys
for a chat app using FCS2. Not to sure how he would swap the font on the
fly, probably run a loop on an array of possible key combinations. Maybe
that route could work though it seems like a rough approach.


B.


On Thu, Jun 12, 2008 at 9:03 AM, Keith Reinfeld [EMAIL PROTECTED]
wrote:

 Yes.

 TUFaT SmileText Component

 http://www.tufat.com/script124.htm

 Has the features you mentioned, but it breaks when a user enters (certain)
 html tags.

 Regards,

 -Keith
 http://keithreinfeld.home.comcast.net




 ___
 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] Is it possible to display in the xml file

2008-06-12 Thread allandt bik-elliott
it should be fine if you're outputting it to mytextfield.text but if it's
going into a textfield.htmlText then it should be converted

On Thu, Jun 12, 2008 at 2:14 PM, ACE Flash [EMAIL PROTECTED] wrote:

 hey there,
 Is it possible to display  in the xml file? I tried to convert it to
 %26,
 but it won't display  in the flash

 for example:

 depFin  IT /dep


 thanks
 ___
 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] Conversion SWF - PDF/EPS

2008-06-12 Thread Ricky Bacon

[EMAIL PROTECTED] wrote:

Well,

I work in an php / apache / mac osx environment (sorry)

For the moment I wasn't able to even find a solution to generate an EPS/PDF file
containing a text (verdana 12px) scaled to 800x200 px for instance. The tricky
thing is the scaling part.

ABCPDF seams to be what I'm looking for but I need the same king of thing in
PHP. I'm about to thing it's hopeless...

But thank you anyway :)


It's not impossible, it's just a bit of a PITA.  A couple years ago I 
did a similar project for some MINI Cooper ad banners 
(http://ryoshu.com/roof_studio_banners.jpg).  We passed a set of 
coordinates that mapped the shapes to a servlet that used Batik 
(http://xmlgraphics.apache.org/batik/) to generate an SVG file.  Once 
you have the SVG file you can generate a PDF file using FOP 
(http://xmlgraphics.apache.org/fop/).  Illustrator can read an SVG file 
natively, so you really don't need to generate a EPS format.


I don't know if there is a Batik like library for PHP, but if you have 
control of the box, Tomcat works fine for this type of web app.


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


Re: [Flashcoders] looking at the maths for an osx style dock

2008-06-12 Thread eric e. dolecki
sorry for the OT response, but man this code makes me so glad I don't do AS2
anymore ;)
- e.

On Thu, Jun 12, 2008 at 12:48 PM, allandt bik-elliott [EMAIL PROTECTED]
wrote:

 hi guys - i queried this a few days ago when all the messages were
 disappearing into the hole - i've amended my code so it's pretty darn close
 to what i want but not quite

 basically, i'm writing an osx style dock and at the moment, the scaling is
 working perfectly but the positioning is a bit flaky - it looks like a
 string of beads on elastic that snap to the previous bead - i've posted an
 example here
 http://www.m2surveys.com/homeserve/dock/

 the code that governs the size and position is this method

private function addIconMouseListeners():Void
{
var ref:Object = this;

for (var i:Number = 0; i  aIconArray.length; i++)
{
mcScrollingIconContainer[clip+i].sTitle=
 aIconArray[i].sTitle;
mcScrollingIconContainer[clip+i].sLink=
 aIconArray[i].sLink;
mcScrollingIconContainer[clip+i].nColour =
 aIconArray[i].nColour;
mcScrollingIconContainer[clip+i].ID = i;
mcScrollingIconContainer[clip+i].thisX =
 mcScrollingIconContainer[clip+i]._x;
mcScrollingIconContainer[clip+i].onMouseMove = function():Void
{
var thisXmouse = Math.round(this._xmouse);
var nIconSpan:Number = Math.round(ref.nIconWidth*5);
 //this governs the position and is the strange bit
var nXPercent:Number =
 Math.round(thisXmouse/nIconSpan*100)/1.8; // adjusting this by /1.8 has
 made
 the icons move along - otherwise they stay static, with only the moused
 over
 icon scaling and moving
nXPercent = (nXPercent  45) ? 45 : (nXPercent  -45) ? -45
 : nXPercent;
this._x = this.thisX - nXPercent;

 // this governs the scale and works great
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;
}
} else {
this._yscale = this._xscale = 55;
}
};
mcScrollingIconContainer[clip+i].onRollOver = function():Void
{
this.swapDepths(1000); // not needed after _x is figured out
ref.tfTradeTitle.text = this.sTitle;
ref.addGlow(this);

};
mcScrollingIconContainer[clip+i].onRollOut = function():Void
{
ref.removeGlow(this);
}
mcScrollingIconContainer[clip+i].onRelease = function():Void
{
getURL(this.sLink, _self);
trace(getURL: +this.sLink);
};

}
}

 could anyone make any suggestions as to how i can tighten it up, please? I
 could really use some help

 thanks a lot
 alz
 ___
 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] looking at the maths for an osx style dock

2008-06-12 Thread Merrill, Jason
 mcScrollingIconContainer[clip+i].onRelease = function():Void

Don't use anonymous functions. If you have to use AS2, then use
mx.utils.Delegate instead.

Also, you keep repeating, mcScrollingIconContainer[clip+i] in your
code over and over in the same loop.  Instead, I think a tighter way
(and perhaps better performance since there is not a continual lookup)
is to create a reference to it instead, and then just use the reference
to assign behavior:

var thisContainer:MovieClip = mcScrollingIconContainer[clip+i];

thisContainer.onRelease = Delegate.create(this, onContainerRelease);
thisContainer.onRollOver = Delegate.create(this, onContainerRollOver);
thisContainer.onPress = Delegate.create(this, onContainerPress);
thisContainer.onReleaseOutside = Delegate.create(this,
onContainerReleaseOutside);



Jason Merrill 
Bank of America 
Global Technology  Operations  Global Risk LLD 
eTools  Multimedia 

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 

 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of eric e. dolecki
Sent: Thursday, June 12, 2008 1:19 PM
To: Flash Coders List
Subject: Re: [Flashcoders] looking at the maths for an osx style dock

sorry for the OT response, but man this code makes me so glad 
I don't do AS2 anymore ;)
- e.

On Thu, Jun 12, 2008 at 12:48 PM, allandt bik-elliott 
[EMAIL PROTECTED]
wrote:

 hi guys - i queried this a few days ago when all the messages were 
 disappearing into the hole - i've amended my code so it's 
pretty darn 
 close to what i want but not quite

 basically, i'm writing an osx style dock and at the moment, the 
 scaling is working perfectly but the positioning is a bit 
flaky - it 
 looks like a string of beads on elastic that snap to the 
previous bead 
 - i've posted an example here 
http://www.m2surveys.com/homeserve/dock/

 the code that governs the size and position is this method

private function addIconMouseListeners():Void
{
var ref:Object = this;

for (var i:Number = 0; i  aIconArray.length; i++)
{
mcScrollingIconContainer[clip+i].sTitle=
 aIconArray[i].sTitle;
mcScrollingIconContainer[clip+i].sLink=
 aIconArray[i].sLink;
mcScrollingIconContainer[clip+i].nColour = 
 aIconArray[i].nColour;
mcScrollingIconContainer[clip+i].ID = i;
mcScrollingIconContainer[clip+i].thisX =
 mcScrollingIconContainer[clip+i]._x;
mcScrollingIconContainer[clip+i].onMouseMove = 
function():Void
{
var thisXmouse = Math.round(this._xmouse);
var nIconSpan:Number = Math.round(ref.nIconWidth*5); 
 //this governs the position and is the strange bit
var nXPercent:Number =
 Math.round(thisXmouse/nIconSpan*100)/1.8; // adjusting this by /1.8 
 has made the icons move along - otherwise they stay static, 
with only 
 the moused over icon scaling and moving
nXPercent = (nXPercent  45) ? 45 : 
(nXPercent  -45) ? 
 -45
 : nXPercent;
this._x = this.thisX - nXPercent;

 // this governs the scale and works great
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;
}
} else {
this._yscale = this._xscale = 55;
}
};
mcScrollingIconContainer[clip+i].onRollOver = 
function():Void
{
this.swapDepths(1000); // not needed after 
_x is figured out
ref.tfTradeTitle.text = this.sTitle;
ref.addGlow(this);

};
mcScrollingIconContainer[clip+i].onRollOut = 
function():Void
{
ref.removeGlow(this);
}
mcScrollingIconContainer[clip+i].onRelease = 
function():Void
{
getURL(this.sLink, _self);
trace(getURL: +this.sLink);
};

}
}

 could anyone make any suggestions as to how i can tighten it up, 
 please? I could really use some help

 thanks a lot
 alz
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list

Re: [Flashcoders] Is it possible to display in the xml file

2008-06-12 Thread Steven Sacks
If you put ampersands in attributes, the XML will not parse correctly in 
any browser.


Ampersands (and other special characters) should go inside CDATA tags to 
maintain valid XML.  :)



Cedric Muller wrote:

or you could set an attribute instead of a node

dep value=Fin  IT /


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


Re: [Flashcoders] Is it possible to display in the xml file

2008-06-12 Thread ACE Flash
thanks for all of your input...it's awesome!

On Thu, Jun 12, 2008 at 1:38 PM, Steven Sacks [EMAIL PROTECTED]
wrote:

 If you put ampersands in attributes, the XML will not parse correctly in
 any browser.

 Ampersands (and other special characters) should go inside CDATA tags to
 maintain valid XML.  :)


 Cedric Muller wrote:

 or you could set an attribute instead of a node

 dep value=Fin  IT /

  ___
 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] FMS3 console unable to inspect SharedObjects

2008-06-12 Thread Eduardo Omine
Hi all,
I am running FMS 3.0.1 but I can't inspect the properties in my
SharedObjects with the admin console. Opening the SharedObjects tab
under View Applications results in the following error appearing in my
Server Log:

Thu 02:34:30 PM: Connection rejected by server. Reason : [
Server.Reject ] : Invalid uri :
rtmp:///myapp/_definst_?_fcs_debugreq_=1434190


The application itself runs with no problems.
For testing purposes I reduced my main.asc code to this:

application.onAppStart = function()
{
application.allowDebug = true;
application.so = SharedObject.get('so');
application.so.setProperty('winner', 'abcdef');

// returns Application started. abcdef as expected
trace('Application started. '+application.so.getProperty('winner'));
}


Any ideas on how to solve this problem?
Not being able to use the SharedObject inspector is a big inconvenience.
Thanks is advance,

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread Elia Morling

No info on real time lip sync? /

Thanks

- Original Message - 
From: Elia Morling [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 1:31 PM
Subject: Re: [Flashcoders] Real Time Lip Sync



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

Thanks
___
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] Inserting Smiley Images in Textarea

2008-06-12 Thread Elia Morling
Thanks, this is almost what I need, but... I need to be able to embed 
smilies in the entry box.

In the same way you can add any image to a text editor while entering text.

Elia

- Original Message - 
From: Keith Reinfeld [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 6:03 PM
Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea



Yes.

TUFaT SmileText Component

http://www.tufat.com/script124.htm

Has the features you mentioned, but it breaks when a user enters (certain)
html tags.

Regards,

-Keith
http://keithreinfeld.home.comcast.net




___
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] Inserting Smiley Images in Textarea

2008-06-12 Thread Elia Morling
I guess something like the FlashTexteditor would do it. I need to be able to 
insert images into an editable text area.


See: http://www.flashloaded.com/flashcomponents/flashtexteditor/

If anyone knows of alternative Flash Rich Text Editors that can insert 
imagse let me know.


Thanks

- Original Message - 
From: Keith Reinfeld [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 6:03 PM
Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea



Yes.

TUFaT SmileText Component

http://www.tufat.com/script124.htm

Has the features you mentioned, but it breaks when a user enters (certain)
html tags.

Regards,

-Keith
http://keithreinfeld.home.comcast.net




___
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-12 Thread Vayu Robins
Hi Ashim.

Thanks for your advice.  I ended up doing like you said creating an xml file
with server side script.

Vayu


On 6/12/08 5:21 AM, Ashim D'Silva [EMAIL PROTECTED] wrote:

 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
 
 
 


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


Re: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Fabio Pinatti
On Thu, Jun 12, 2008 at 4:30 PM, Elia Morling [EMAIL PROTECTED] wrote:

 I guess something like the FlashTexteditor would do it. I need to be able
 to insert images into an editable text area.

 See: http://www.flashloaded.com/flashcomponents/flashtexteditor/

 If anyone knows of alternative Flash Rich Text Editors that can insert
 imagse let me know.

 Thanks

 - Original Message - From: Keith Reinfeld 
 [EMAIL PROTECTED]
 To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
 Sent: Thursday, June 12, 2008 6:03 PM
 Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea


  Yes.

 TUFaT SmileText Component

 http://www.tufat.com/script124.htm

 Has the features you mentioned, but it breaks when a user enters (certain)
 html tags.

 Regards,

 -Keith
 http://keithreinfeld.home.comcast.net




 ___
 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



You can append htmlText with img src='' tags, like a regular html. So, you
can have what you want in your textfield.

-- 
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread Ricky Bacon

Elia Morling wrote:

No info on real time lip sync? /


I haven't seen anything specific to as3, but you might want to start 
with Ken Perlin's Improv work:


http://citeseer.ist.psu.edu/perlin96improv.html
http://mrl.nyu.edu/~perlin/experiments/facedemo/

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


Re: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread Derek Nugent
How real does it have to be?

I have animation experience than Flash

As an animation TD, to automate lip sync I move the jaw section of the 
character in accordance with the wave form then scale the width to create the 
approximate phoneme.

For flash though I might try a library of movies that play when a specific 
event is triggered. 
It's detecting the events or conditions that might be tricky

Best regards
Derek Nugent


email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
web:   http://www.dereknugent.com


- Original Message 
From: Elia Morling [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 2:19:14 PM
Subject: Re: [Flashcoders] Real Time Lip Sync

No info on real time lip sync? /

Thanks

- Original Message - 
From: Elia Morling [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 1:31 PM
Subject: Re: [Flashcoders] Real Time Lip Sync


 Hi,
 Are there any real time lip sync code examples or components for AS3?
 
 Thanks
 ___
 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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread eric e. dolecki
could you use a FLV for audio and place some cuepoints in it and use that to
maintain sync?

On Thu, Jun 12, 2008 at 4:11 PM, Derek Nugent [EMAIL PROTECTED]
wrote:

 How real does it have to be?

 I have animation experience than Flash

 As an animation TD, to automate lip sync I move the jaw section of the
 character in accordance with the wave form then scale the width to create
 the approximate phoneme.

 For flash though I might try a library of movies that play when a specific
 event is triggered.
 It's detecting the events or conditions that might be tricky

 Best regards
 Derek Nugent


 email: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 web:   http://www.dereknugent.com


 - Original Message 
 From: Elia Morling [EMAIL PROTECTED]
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Thursday, June 12, 2008 2:19:14 PM
 Subject: Re: [Flashcoders] Real Time Lip Sync

 No info on real time lip sync? /

 Thanks

 - Original Message -
 From: Elia Morling [EMAIL PROTECTED]
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Thursday, June 12, 2008 1:31 PM
 Subject: Re: [Flashcoders] Real Time Lip Sync


  Hi,
  Are there any real time lip sync code examples or components for AS3?
 
  Thanks
  ___
  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


 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld

 You can append htmlText with img src='' tags, like a regular html. 
 So, you can have what you want in your textfield.

Unfortunately the image tag's align attribute only supports 'left' (default)
or 'right'. So if you need a graphical emoticon to appear in mid-text
anywhere the img src='smiley' tag alone won't cut it. The image's
placement will also wrap to the next line or not depending on where the tag
is placed in the block of text (first, last, or inbetween.) 

There is a workaround but it is a very long way around. 

Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
 



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


Re: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread Elia Morling

How real does it have to be?


It has to be real, because we're using a text-to-speech converter. Text will 
be sent out of Flash to a server and receive an mp3 file in return.


I was hoping that I could analyze the sound and display an appropriate 
mouth.


The style is cartoonish, so it's not 3D or anything like that.

Thanks.

Elia


- Original Message - 
From: Derek Nugent [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 10:11 PM
Subject: Re: [Flashcoders] Real Time Lip Sync



How real does it have to be?

I have animation experience than Flash

As an animation TD, to automate lip sync I move the jaw section of the 
character in accordance with the wave form then scale the width to create 
the approximate phoneme.


For flash though I might try a library of movies that play when a specific 
event is triggered.

It's detecting the events or conditions that might be tricky

Best regards
Derek Nugent


email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
web:   http://www.dereknugent.com


- Original Message 
From: Elia Morling [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 2:19:14 PM
Subject: Re: [Flashcoders] Real Time Lip Sync

No info on real time lip sync? /

Thanks

- Original Message - 
From: Elia Morling [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 1:31 PM
Subject: Re: [Flashcoders] Real Time Lip Sync



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

Thanks
___
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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

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


Re: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Elia Morling

Yes, I did some tests and the image placement seems goofy.

How did they solve it in a component like this?
http://www.flashloaded.com/flashcomponents/flashtexteditor/example2.html

Elia

- Original Message - 
From: Keith Reinfeld [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 10:32 PM
Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea





You can append htmlText with img src='' tags, like a regular html.
So, you can have what you want in your textfield.


Unfortunately the image tag's align attribute only supports 'left' 
(default)

or 'right'. So if you need a graphical emoticon to appear in mid-text
anywhere the img src='smiley' tag alone won't cut it. The image's
placement will also wrap to the next line or not depending on where the 
tag

is placed in the block of text (first, last, or inbetween.)

There is a workaround but it is a very long way around.

Regards,

-Keith
http://keithreinfeld.home.comcast.net




___
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] Real Time Lip Sync

2008-06-12 Thread Elia Morling

Okay thanks... I guess it's not possible then. :(

Elia

- Original Message - 
From: Kerry Thompson [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 12, 2008 11:29 PM
Subject: RE: [Flashcoders] Real Time Lip Sync



Elia Morling wrote:


No info on real time lip sync?


The key is real time. I don't think such a thing exists. Think what it
would have to do: analyze the wave form, probably with a reverse FFT; 
match

it up to n mouth positions; somehow get that on the screen, with your
character/s, in the right x/y location.

Flash could handle lip sync--were it I, I'd just have a movie clip with 
the

mouth positions, and go to the appropriate frame. But I don't think it's
realistic, with today's technology, to do the analysis in real time,
especially with a VM.

If you're looking for something that doesn't have to operate in real time,
Google is your friend: 
http://www.swftools.com/tools-category.php?cat=530


Cordially,

Kerry Thompson

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

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


RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld
It doesn't appear to have been solved at all. Here is the tag from the
example: 

IMG SRC=http://www.flashloaded.com/img/products/flashtexteditor/logo.jpg;
WIDTH=66 HEIGHT=61 ID=$img0 ALIGN=left VSPACE=4 HSPACE=4/ 
 
So, okay... when I wrote 'if you need a graphical emoticon to appear in
mid-text anywhere' I meant horizontally between the left and right margins.
You can place the tag wherever you like vertically (between the top and
bottom of a page of text) but it will still be either left or right aligned.

 
Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
 


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Elia Morling
 Sent: Thursday, June 12, 2008 4:31 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Inserting Smiley Images in Textarea
 
 Yes, I did some tests and the image placement seems goofy.
 
 How did they solve it in a component like this?
 http://www.flashloaded.com/flashcomponents/flashtexteditor/example2.html
 
 Elia
 
 - Original Message -
 From: Keith Reinfeld [EMAIL PROTECTED]
 To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
 Sent: Thursday, June 12, 2008 10:32 PM
 Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea
 
 
 
  You can append htmlText with img src='' tags, like a regular html.
  So, you can have what you want in your textfield.
 
  Unfortunately the image tag's align attribute only supports 'left'
  (default)
  or 'right'. So if you need a graphical emoticon to appear in mid-text
  anywhere the img src='smiley' tag alone won't cut it. The image's
  placement will also wrap to the next line or not depending on where the
  tag
  is placed in the block of text (first, last, or inbetween.)
 
  There is a workaround but it is a very long way around.
 
  Regards,
 
  -Keith
  http://keithreinfeld.home.comcast.net
 
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Is it possible to display in the xml file

2008-06-12 Thread Dave Watts
 If you put ampersands in attributes, the XML will not parse 
 correctly in any browser.
 
 Ampersands (and other special characters) should go inside 
 CDATA tags to maintain valid XML.  :)

You can simply use the appropriate XML character entity to use an ampersand
in an attribute: amp;

This is one of the five predefined XML entities.

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


[Flashcoders] Library fonts, embedding non-latin character sets

2008-06-12 Thread Matt Hawley
Is there any way to embed non-latin character sets, such as cyrillic and
hebrew, in library fonts as you can with a dynamic textfield on the stage?
I have searched all day and can't find anything about it.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Please remove me from the list

2008-06-12 Thread Dave Watts
 I wish to unsubscribe from the mailing list, I forgot my 
 password etc, just remove me, I lost my passion in Flash lol.

You can unsubscribe yourself just by knowing your email address, and using
the password reminder form at the URL on the bottom of each message.

Also, sending unsubscribe requests to the list - that is, to hundreds of
people who can't help you - is not helpful to you and it's impolite to them.
It's like taking a dump in the bathroom sink. That's why there's a list
owner address - again, at the URL on the bottom of each message.

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] as3 classes var query

2008-06-12 Thread Johnny Zen
Ah thanks for all the help everyone.

I'm slowly coming around to classes, as has been confused about when
and when not to use classes and how to access the information from
each other. interesting.

Thanks again :)

On Thu, Jun 12, 2008 at 3:38 PM, Merrill, Jason
[EMAIL PROTECTED] wrote:
You'd need to instantiate the other class and then access it,
like this:

 That's one way, the other way is to use static variables:

 package com
 {
class MyClass
{
public static var name:String = Johnny;

//or declare as a public constant:
public static const FRUIT:String = apple;
}
 }


 import com.MyClass

 trace(MyClass.name);
 trace(MyClass.FRUIT);


 Jason Merrill
 Bank of America
 Global Technology  Operations  Global Risk LLD
 eTools  Multimedia

 Join the Bank of America Flash Platform Developer Community

 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog  subscribe.


 ___
 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] Library fonts, embedding non-latin character sets

2008-06-12 Thread Kerry Thompson
Matt Hawley wrote:

 Is there any way to embed non-latin character sets, such as cyrillic and
 hebrew, in library fonts as you can with a dynamic textfield on the stage?
 I have searched all day and can't find anything about it.

Hmmm... it seems like I answered an almost identical question yesterday ^_^

Yes. And no.

When you embed a font in the library, I believe it embeds all the available
glyphs. When you embed that library font in a text field is when you get to
choose the glyph sets. To see if it has the glyphs you want, a simple test
will suffice--create a dynamic text field on-stage, embed the library font,
and see what glyphs are available. You can easily delete the text field once
you've found your font.

Note that many fonts, even Unicode fonts, will not have Cyrillic, Hebrew,
Greek, Arabic, Chinese, Japanese, and other glyphs. The one I have found to
be most complete is Arial Unicode (NOT Arial). But, just being
Unicode-compliant doesn't mean it has any particular set of glyphs. It just
means that the glyphs it has are at the right code point. So you could have
a Unicode font that is just English, or just Japanese, or just Greek, or any
combination of Unicode-defined languages.

When you think about it, it makes sense. Unicode defines a heck of a lot of
languages, but, practically speaking, there is little commercial market for
Khmer, Burmese, Tibetan, or Inuit. Even if it defines glyphs for a language,
it may not have a complete set. For example, Chinese--nobody really knows
how many Chinese characters there are. I've heard estimates of up to 80,000,
perhaps more. In real life, you need to know about 2,500 to read a
newspaper, and a Chinese-language scholar may know 8,000 or so. I think the
average for an educated Chinese speaker is about 4,000. So how many do you
include in your font? Do you really need the 15th-century character for
county magistrate in Hunan province?

I'm not being facetious. These are realities that font makers face.

Cordially,

Kerry Thompson

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


RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Kerry Thompson
Keith Reinfeld wrote:

 It doesn't appear to have been solved at all. Here is the tag from the
 example:
 
 IMG
SRC=http://www.flashloaded.com/img/products/flashtexteditor/logo.jpg;
 WIDTH=66 HEIGHT=61 ID=$img0 ALIGN=left VSPACE=4
 HSPACE=4/
 
 So, okay... when I wrote 'if you need a graphical emoticon to appear in
 mid-text anywhere' I meant horizontally between the left and right
margins.

If you can place an image, you can specify the font. Use Wingdings for that
one character--it has a smiley face at 0x45, I believe.

Cordially,

Kerry Thompson

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


RE: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread Kerry Thompson
Elia Morling wrote:

 Okay thanks... I guess it's not possible then. :(

Maybe it is possible--not easy, but possible.

You can get close enough for cartoons by simple volumetric analysis. IOW,
check the volume and base the mouth positions on that. We had a routine,
written in C++, that did just that, and it was good enough for our Disney
program.

You only really need about 5 or 6 mouth positions for most cartoon
animation. Generally, a long a is louder than a b. It won't be exact,
but it will probably get you close enough.

I don't know if AS3 is going to be fast enough for real-time analysis. You
might need to write an ActiveX in C++ (if you're targeting IE on Windows),
or a Firefox plugin. It can be done--it's not easy, and you might run into
problems with customer acceptance of an ActiveX control, but it's still an
option.

Cordially,

Kerry Thompson

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


[Flashcoders] Unhandled IOError and IOErrorEvent when closing browser during load

2008-06-12 Thread Steven Sacks
I posted this to Flash_tiger but it seems to be down or something, so 
I'm xposting it here.


Am I missing something, or is this a bug with the Flash player (9.0.124)?

If you're loading something and during the load you close the browser, 
the Flash player spits out an Error #2044, from either ioError or 
IOErrorEvent or both.


Error #2044: Unhandled ioError:. text=Error #2036: Load Never Completed.
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never 
Completed.


Ok, fine. Adobe wants to enforce strictness even when you're 
annihilating the swf, I can deal with that, or so I thought...


I listen for the IOErrorEvent and I try..catch the load and Flash still 
spits out the same error.  What gives?   Flash still throws an allegedly 
unhandled error that I am most assuredly handling?


Sample code:

_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, 
onError, false, 0, true);


try
{
   _loader.load(request);
}
catch (error:Error)
{
   trace(Caught error!, error.name +  ::  + error.message);
}

function onError(event:IOErrorEvent):void
{
   trace(onError, event);
}

I believe I'm doing everything I should do to capture these errors and I 
still get them.  Why?


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


Re: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread Elia Morling

Okay, purely hypothetical.

The sound file is approx 30-60 seconds long. How long would it take to 
pre-analyze that in Flash for a volumetric analysis?


I guess Flash basically needs to play the sound to analyze it?

Elia

- Original Message - 
From: Kerry Thompson [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Friday, June 13, 2008 1:41 AM
Subject: RE: [Flashcoders] Real Time Lip Sync



Elia Morling wrote:


Okay thanks... I guess it's not possible then. :(


Maybe it is possible--not easy, but possible.

You can get close enough for cartoons by simple volumetric analysis. IOW,
check the volume and base the mouth positions on that. We had a routine,
written in C++, that did just that, and it was good enough for our Disney
program.

You only really need about 5 or 6 mouth positions for most cartoon
animation. Generally, a long a is louder than a b. It won't be exact,
but it will probably get you close enough.

I don't know if AS3 is going to be fast enough for real-time analysis. You
might need to write an ActiveX in C++ (if you're targeting IE on Windows),
or a Firefox plugin. It can be done--it's not easy, and you might run into
problems with customer acceptance of an ActiveX control, but it's still an
option.

Cordially,

Kerry Thompson

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

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


RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld
Kerry Thompson wrote: 

 If you can place an image, you can specify the font. Use Wingdings for 
 that one character--it has a smiley face at 0x45, I believe. 

I am guessing that Elia needs more than what Wingdings has to offer along
these lines. J = smiling, K = embarrassed, L = frowning.

So anyway... supper's ready!

Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
 


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


Re: [Flashcoders] Library fonts, embedding non-latin character sets

2008-06-12 Thread Matt Hawley
Sorry that was my post yesterday also.  I didn't see it go through because
of the list lag.  I am using Verdana, which has Cyrillic but it's not being
embedded in the library.  I can make a textfield on the stage and specify
Cyrillic to embed and it works fine.

I am trying to create a shared font library, otherwise I would be fine with
using a dynamic text field embed.  I guess I will end up using dynamic font
manager but I was hoping for something less messy.  It would make things a
lot easier if library fonts had the same character embed property as dynamic
fonts.

Thanks for the info.

On Thu, Jun 12, 2008 at 4:27 PM, Kerry Thompson [EMAIL PROTECTED]
wrote:

 Matt Hawley wrote:

  Is there any way to embed non-latin character sets, such as cyrillic and
  hebrew, in library fonts as you can with a dynamic textfield on the
 stage?
  I have searched all day and can't find anything about it.

 When you embed a font in the library, I believe it embeds all the available
 glyphs. When you embed that library font in a text field is when you get to
 choose the glyph sets. To see if it has the glyphs you want, a simple test
 will suffice--create a dynamic text field on-stage, embed the library font,
 and see what glyphs are available. You can easily delete the text field
 once
 you've found your font.

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


RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Kerry Thompson
Keith Reinfeld wrote:

 I am guessing that Elia needs more than what Wingdings has to offer along
 these lines. J = smiling, K = embarrassed, L = frowning.

Only Elia knows for sure ^_^

At any rate, there are always custom fonts.

 So anyway... supper's ready!

You're making me hungry. I'm going upstairs to start the oven for tonight's
jerk chicken ^_^

Cordially,

Kerry Thompson

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


Re: [Flashcoders] Unhandled IOError and IOErrorEvent when closing browser during load

2008-06-12 Thread Ashim D'Silva
I only started getting this error when I switched to the debug player. Seem
to get stream errors as well, when nothing is loading!If it is a feature of
the debug feature; is there a way to disable the debug part of the player? I
wouldn't want to keep reinstalling different versions of flash for browsing
and developing!

2008/6/13 Steven Sacks [EMAIL PROTECTED]:

 I posted this to Flash_tiger but it seems to be down or something, so I'm
 xposting it here.

 Am I missing something, or is this a bug with the Flash player (9.0.124)?

 If you're loading something and during the load you close the browser, the
 Flash player spits out an Error #2044, from either ioError or IOErrorEvent
 or both.

 Error #2044: Unhandled ioError:. text=Error #2036: Load Never Completed.
 Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never
 Completed.

 Ok, fine. Adobe wants to enforce strictness even when you're annihilating
 the swf, I can deal with that, or so I thought...

 I listen for the IOErrorEvent and I try..catch the load and Flash still
 spits out the same error.  What gives?   Flash still throws an allegedly
 unhandled error that I am most assuredly handling?

 Sample code:

 _loader = new Loader();
 _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onError,
 false, 0, true);

 try
 {
   _loader.load(request);
 }
 catch (error:Error)
 {
   trace(Caught error!, error.name +  ::  + error.message);
 }

 function onError(event:IOErrorEvent):void
 {
   trace(onError, event);
 }

 I believe I'm doing everything I should do to capture these errors and I
 still get them.  Why?

 ___
 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] Effective Cursor Switching

2008-06-12 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] Effective Cursor Switching

2008-06-12 Thread Ashim D'Silva
Yeah, the text fields and buttons do it fine. I was hoping to use it for
more features such as a drag hand, loading cursors, magnifying glass, etc...

2008/6/13 Barry Hannah [EMAIL PROTECTED]:

 As with buttons forcing the OS pointer/hand cursor, selectable
 textfields should also change the standard arrow cursor into an I-beam
 one?
 I thought this was default behavior when the Textfield.selectable
 property was set to true?

 Flash went part way there with including a useHandCursor property, I
 agree it would be nice to have access to the OS cursor set e.g. to use a
 grab cursor for panning a map ala google.


  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.


 ___
 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