RE: [Flashcoders] jigsaw performance issue

2006-08-30 Thread Danny Kodicek
 now for the problem.. if you see the flash movie i've attached, you'll
 notice that when a group of pieces that are connected to each other are
 moved sometimes it lags. I've manage to lock down the core
 problem, which is
 that it only lags when you drag a piece located from the left /
 top most of
 the Group. It wont lag if only you drag the right/bottom most of
 the Group.
 The drag method for groups is done customely and it tells the
 members of the
 Group object the piece you're dragging, to move as well. The code:

It seems you're being unnecessarily complicated here. Why take the pieces,
move piece A, remove piece A from the group and then move all the rest? I'd
do it all in one loop. As for the source of your problem, I'm guessing it's
because the mouse moves while the loop is running. Try storing the _xmouse
and _ymouse properties at the start of the loop.

Best
Danny

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

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


[Flashcoders] setSelection() with TextInput?

2006-08-30 Thread Haikal Saadh

Hi all.

I've been beating my head against the wall for a bit, trying to get 
Selection.setSelection() to work inside a component.


I've got this code, inside a component which happens to contain a TextInput:

private function focusIn(){
   trace(answer_ti.text + ] received focus);
   answer_ti.setFocus();
   Selection.setSelection(0, answer_ti.text.length);
   }

Which gets runs when answer_ti fires a focusIn event. This just doesn't 
seem to work... the trace statement comes up, but I can't see the 
selection change.


Is there anything I've overlooked? I tried to use Delegate for event 
handling, but it didn't make a difference.


Thanks.

--
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

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

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


RE: [Flashcoders] Evenly distribute n clips in an area

2006-08-30 Thread Danny Kodicek

 Hi, this problem was raised in 2002 and sort of solved by Jon
 Bradley (code
 below) but not quite the way I need.

 What I¹m after is a function that divides a defined area into n
 equal parts
 and places a clip in each part to achieve even distribution throughout the
 area. Jon Bradley¹s solution below does this for only the x, y or
 diagonally
 across both ­ not throughout the whole area...

 The math involved is beyond me I¹m afraid. Any ideas? Any help much
 appreciated. Thanks!

This came up a while ago. If you're happy with a solution that includes some
blank space (otherwise your regions can't be rectangular), try this code (it
includes some test code so you can just throw it into a movie with a
movieclip linked as 'square' and run to see the effect). I don't recall who
else it was that refined this code with me, so apologies for not giving due
credit:

function computeLargestSquareSizeAndLayout(width:Number, height:Number,
Nsquares:Number):Object {
if (widthheight) {
var cols:Number = 1;
var rows:Number = Math.floor(height/width);
} else {
var rows:Number = 1;
var cols:Number = Math.floor(width/height);
}
//var cols:Number = 1;
//var rows:Number = 1;
var swidth:Number = width;
var sheight:Number = height;
var next_swidth:Number = width/(cols+1);
var next_sheight:Number = height/(rows+1);
while (true) {
if (cols*rows=Nsquares) {
var squareSize:Number = Math.min(swidth,
sheight);
var posArray = [];
var count = 0;
for (var j = 0; jrows; j++) {
ypos = j*squareSize;
for (var k = 0; kcols; k++) {
xpos = k*squareSize;
if (countNsquares) {
posArray.push({x:xpos,
y:ypos});
count++;
}
}
}
return {squareSize:squareSize, cols:cols,
rows:rows, number:Nsquares, layout:posArray};
}
if (next_swidth=next_sheight) {
cols++;
swidth = next_swidth;
next_swidth = width/(cols+1);
} else {
rows++;
sheight = next_sheight;
next_sheight = height/(rows+1);
}
}
}
function drawLayout(lobj) {
var holder = this.createEmptyMovieClip(holder, 1);
var squareSize = lobj.squareSize;
var cols = lobj.cols;
var rows = lobj.rows;
var number = lobj.number;
var layout = lobj.layout;
for (var j = 0; jnumber; j++) {
var sqr = holder.attachMovie(square, square+j, j+1);
sqr._x = layout[j].x;
sqr._y = layout[j].y;
sqr._xscale = sqr._yscale=squareSize;
}
}
n=0
iterate=function(){
drawLayout(computeLargestSquareSizeAndLayout(640, 480, n++));
}
onEnterFrame=iterate

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

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


Re: [Flashcoders] Evenly distribute n clips in an area

2006-08-30 Thread fraser
Aha! Thanks Danny, this will work really well! Cheers  :)


On 8/30/06 4:15 PM, Danny Kodicek [EMAIL PROTECTED] wrote:

 
 Hi, this problem was raised in 2002 and sort of solved by Jon
 Bradley (code
 below) but not quite the way I need.
 
 What I¹m after is a function that divides a defined area into n
 equal parts
 and places a clip in each part to achieve even distribution throughout the
 area. Jon Bradley¹s solution below does this for only the x, y or
 diagonally
 across both ­ not throughout the whole area...
 
 The math involved is beyond me I¹m afraid. Any ideas? Any help much
 appreciated. Thanks!
 
 This came up a while ago. If you're happy with a solution that includes some
 blank space (otherwise your regions can't be rectangular), try this code (it
 includes some test code so you can just throw it into a movie with a
 movieclip linked as 'square' and run to see the effect). I don't recall who
 else it was that refined this code with me, so apologies for not giving due
 credit:
 
 function computeLargestSquareSizeAndLayout(width:Number, height:Number,
 Nsquares:Number):Object {
 if (widthheight) {
 var cols:Number = 1;
 var rows:Number = Math.floor(height/width);
 } else {
 var rows:Number = 1;
 var cols:Number = Math.floor(width/height);
 }
 //var cols:Number = 1;
 //var rows:Number = 1;
 var swidth:Number = width;
 var sheight:Number = height;
 var next_swidth:Number = width/(cols+1);
 var next_sheight:Number = height/(rows+1);
 while (true) {
 if (cols*rows=Nsquares) {
 var squareSize:Number = Math.min(swidth,
 sheight);
 var posArray = [];
 var count = 0;
 for (var j = 0; jrows; j++) {
 ypos = j*squareSize;
 for (var k = 0; kcols; k++) {
 xpos = k*squareSize;
 if (countNsquares) {
 posArray.push({x:xpos,
 y:ypos});
 count++;
 }
 }
 }
 return {squareSize:squareSize, cols:cols,
 rows:rows, number:Nsquares, layout:posArray};
 }
 if (next_swidth=next_sheight) {
 cols++;
 swidth = next_swidth;
 next_swidth = width/(cols+1);
 } else {
 rows++;
 sheight = next_sheight;
 next_sheight = height/(rows+1);
 }
 }
 }
 function drawLayout(lobj) {
 var holder = this.createEmptyMovieClip(holder, 1);
 var squareSize = lobj.squareSize;
 var cols = lobj.cols;
 var rows = lobj.rows;
 var number = lobj.number;
 var layout = lobj.layout;
 for (var j = 0; jnumber; j++) {
 var sqr = holder.attachMovie(square, square+j, j+1);
 sqr._x = layout[j].x;
 sqr._y = layout[j].y;
 sqr._xscale = sqr._yscale=squareSize;
 }
 }
 n=0
 iterate=function(){
 drawLayout(computeLargestSquareSizeAndLayout(640, 480, n++));
 }
 onEnterFrame=iterate
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


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

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


[Flashcoders] JSFL: Can I set the htmlText property?

2006-08-30 Thread Edu Emece

Hello,

I'm using JSFL with a SWF on a XMLUI. The SWF has a TextField with htmlText 
property set to on.


I create a Text Object with JSFL, but I don´t know how can I populate/set 
the htmlText that I have on the SWF-XMLUI TextField .


currentDoc.addNewText({left:0, top:0, right:100, bottom:100});
currentDoc.setTextString(text); // * this not work, oviously 
**
currentDoc.selection[0].renderAsHTML = true;

How can I do this?

Thanks!
Edu

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/


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

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


Re: [Flashcoders] MC position at any given time

2006-08-30 Thread ben deroo

a possible (partial) solution:
//
//import the basics
//
import mx.transitions.Tween;
//define the motion //blok_mc is the instance name of a MovieClip
//
var myTween:Tween = new Tween(blok_mc, _x,
mx.transitions.easing.Bounce.easeOut, 0, Stage.width-blok_mc._width, 3,
true);
//
myTween.onMotionChanged = function() {

//round off the position value somewhat
//this.position is the key element
var MyPos=Math.round(this.position);
trace(MyPos);
if (this.position80  this.position100) {
 trace(between 80 and 100);
}
};

//


thanks again for your assistance,

Ben



On 8/30/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:


you can do sqdown.onMotionProgress - it'll dispatch an event every
step of the way for you to track.

There are a bunch of other undocumented events that Tween dispatches
that you should check out



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

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


[Flashcoders] Creating a text file on server and emailing as attachment

2006-08-30 Thread Paul Steven
Trying to create a text file on the server and use PHP to then email it.

So far, the text file is getting created OK and the email is being sent but
there is no attachment. Any help much appreciated!

Here is my action script

var vSender = new LoadVars();
var vReceiver = new LoadVars();

trace (exportDesignData);


vSender.action = write;
vSender.filename = order9.txt;

vSender.order_data = text1_Font= + text1_Font;


vReceiver.onLoad = function(success) {

trace (onLoad function);

if (success) {
trace(text writen to the text file:\n +
this.message);
content_txt.text = this.message;
} else {
trace(error);
content_txt.text = error;
}
};



vSender.sendAndLoad(http://www.mediakitchen.co.uk/clients/davehann/mail.php
, vReceiver, POST);


And here is my PHP

html
head
title Sending Email /title
/head
body
?php


$filename = $_POST['filename']; 


$order_data = $_POST['order_data'];



if (!$handle = fopen($filename, 'w')) {

 echo message=Cannot open file;
 exit;

}


if (fwrite($handle, $order_data) === FALSE) {
echo message=Cannot write to file;
exit;
}



fclose($handle);

// Read POST request params into global vars
$to  = [EMAIL PROTECTED];
$from= [EMAIL PROTECTED];
$subject = Attachment example;
$message = Please find attached my design for my t-shirt order;

$newfile = $_POST['filename'];
$fileatt = $handle; // Path to the file 
$fileatt_type = application/octet-stream; // File Type 
$fileatt_name = $_POST['filename'];; // Filename that will be used for the
file as the 

$headers = From: $from;

if (is_uploaded_file($fileatt)) {
  // Read the file to be attached ('rb' = read binary)
  $file = fopen($fileatt,'rb');
  $data = fread($file,filesize($fileatt));
  fclose($file);

  // Generate a boundary string
  $semi_rand = md5(time());
  $mime_boundary = ==Multipart_Boundary_x{$semi_rand}x;
  
  // Add the headers for a file attachment
  $headers .= \nMIME-Version: 1.0\n .
  Content-Type: multipart/mixed;\n .
   boundary=\{$mime_boundary}\;

  // Add a multipart boundary above the plain message
  $message = This is a multi-part message in MIME format.\n\n .
 --{$mime_boundary}\n .
 Content-Type: text/plain; charset=\iso-8859-1\\n .
 Content-Transfer-Encoding: 7bit\n\n .
 $message . \n\n;

  // Base64 encode the file data
  $data = chunk_split(base64_encode($data));

  // Add file attachment to the message
  $message .= --{$mime_boundary}\n .
  Content-Type: {$fileatt_type};\n .
   name=\{$fileatt_name}\\n .
  //Content-Disposition: attachment;\n .
  // filename=\{$fileatt_name}\\n .
  Content-Transfer-Encoding: base64\n\n .
  $data . \n\n .
  --{$mime_boundary}--\n;
}

// Send the message
$ok = @mail($to, $subject, $message, $headers);
if ($ok) {
  echo pMail sent! Yay PHP!/p;
} else {
  echo pMail could not be sent. Sorry!/p;
}
?
/body
/html

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

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


RE: [Flashcoders] Flash and speech utility

2006-08-30 Thread Lucy Thomson
Hi Elena,

We did a flash viral where the user typed in a sentence and specified
either male or female. It's still live and is here
http://www.choicedummies.com/

The details were then sent to a php page which plugged into a server app
developed by Cepstral. http://www.cepstral.com/

In the flash a sound object was set up, and then the results from the
php script were loaded into it. So it would be something like

var speechObj:Object = new Sound();
speechObj.onLoad = function(success) {
if (success) {
playSpeech ();
}
};
speechObj.onSoundComplete = function() {
stopSpeech ();
}
speechPostObj.load(speechPostURL + ?sex= + sex + text= +
escape(inputMessage));

I don't know much about the cepstral side of it, our server guy did
that, but he found it pretty straight forward and it worked reliably. I
believe you have to pay for it though.

There are probably other solutions out there, but this might give you a
starting point. Anyhoo, hope it helps!

Cheers, Lucy






-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Elena
Blanco
Sent: 28 August 2006 21:53
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Flash and speech utility

Hi there --
Do you have any good resource/information on if it is possible to
integrate
a Flash piece with speech utility?

IE: I type a phrase in a Flash text box, and a speech utility reads it
out
loud?

Thank you for any information you can share.

Elena

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

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

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


[Flashcoders] EXPression And String SPECIAL 2nd

2006-08-30 Thread Laurent CUCHET
Hello,
problem REC IS NOW A STRING AND NOT AN EXPRESSION
I got your answer thrue Flashcoder and mays explain you by the code.
I already try ARRAY but not working.

Here is the full code of the script :


//1. find the domain name
domainname = new LocalConnection();
var domain_str:String = \+domainname.domain()+\;
//2. Find the day and the month
var today_date:Date = new Date();
var a:Number = (today_date.getMonth());
var b:Number = (today_date.getDate());
var c;
var d;
var e;
//3.check the day number between 1 and 365
if (a == 0) {
c = 0+b;
} else if (a == 1) {
c = 31+b;
} else if (a == 2) {
c = 59+b;
} else if (a == 3) {
c = 90+b;
} else if (a == 4) {
c = 120+b;
} else if (a == 5) {
c = 151+b;
} else if (a == 6) {
c = 181+b;
} else if (a == 7) {
c = 212+b;
} else if (a == 8) {
c = 243+b;
} else if (a == 9) {
c = 273+b;
} else if (a == 10) {
c = 304+b;
} else if (a == 11) {
c = 334+b;
}
trace(c);
// there is 365 days, I got 365 db colomm name var1 to var365
d = var+c;
function tabti() {
rec.text = flashSQL.MoveNext[d]; // problem REC IS NOW A STRING AND NOT
AN EXPRESSION
flashSQL.Execute(UPDATE stats SET +d+=+d++1 WHERE
homepage=+domain_str);
}

var myListener1:Object = new Object();
myListener1.dataLoaded = function(success:Boolean, xmldata:XML) {
if (success) {
tabti();
}
};
flashSQL.Execute(SELECT * FROM stats WHERE homepage=+domain_str, test);
flashSQL.ObjectLoad.addListener(myListener1);
stop();




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

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


Re: [Flashcoders] Class inheritance and scope

2006-08-30 Thread Alias™

If the compiler was strict about enforcing semicolons I wouldn't have
to reformat all my text strings not to have any line breaks. Joy.

Alias

On 8/29/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

And one more thing - if the compiler complained to him to call super(),
then he wouldn't have had this problem would he?  I'll take a strict
compiler any day.  Don't encourage lazy coding; it only opens the door
for bugs and confusing results.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


[Flashcoders] MakingThings videoboard

2006-08-30 Thread Serge Jespers

Hey guyz,

Just checking in to see if anyone here has ever worked with the  
MakingThings video board...
I'm currently working with the video board, trying to get some camera  
movement detection but I can't seem to get a decent detection...


I can't get a even near to decent/usable reading form this board 
+cam... I now have it pointed at an all white background with no  
moving subject whatsoever and the pointer still keeps

jumping around like a crazy man...

I've tried dynamic background, static background, every tolerance  
setting from 0 to 20, despeckle on or off...


Due to a wrong delivery, I could only start on this 2 days ago and  
have to show something to the client today... Needles to say I'm not  
feeling very good right now...


Have any of you ever tried this board? And what settings did you use  
to get a good detection on a white background...?


Thanks in advance for your replies...

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

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


Re: [Flashcoders] AMFPHP 1.2 Class Mapping VO's incomming from PHP5 - It works but...

2006-08-30 Thread Martin Wood

Just knowing that
the object is populated before the constructor is called and that those
properties take precedence over my class explains a lot.  Now I'm much
better prepared to handle what remoting throws at me :)


great...

I think thats one part of remoting where they could have done something slightly 
more clever. Even if they added some configuration possibilities to the player 
like a flag for


Remoting.callConstructorFirst

and

Remoting.useAccessors

which could use both types of accessor but I prefer to have options.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] AMFPHP 1.2 Class Mapping VO's incomming from PHP5 - It works but...

2006-08-30 Thread Martin Wood

Just knowing that
the object is populated before the constructor is called and that those
properties take precedence over my class explains a lot.  Now I'm much
better prepared to handle what remoting throws at me :)


Accidentally hit the wrong key combo and sent the previous mail before i was 
finishedhere it is again..in all its glory..


great...

I think thats one part of remoting where they could have done something slightly
more clever. Even if they added some configuration possibilities to the player
like a flag for Remoting.callConstructorFirst if you want you objects created in 
a 'normal' way, maybe at the expense of performance and Remoting.useAccessors 
which could use both types of accessor. (get x and getX)


They could be set to default to what they are now, but at least you would have 
options to turn the remoting deserialization (and local shared objects) into 
something that behaves like normal code rather than magic. :)



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

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


Re: [Flashcoders] Populating Text Fields

2006-08-30 Thread Julien Vignali

CK
You have a scope problem. elements_arr is defined within the onLoad 
handler so it won't be accessible from outside (i.e. from your 
assignText() function).
You'd better use the static mx.utils.Delegate class to handle the onLoad 
event in an easier manner:


import mx.utils.Delegate;

var elements_arr:Array = [];
var aquentDoc:XML = new XML();
aquentDoc.ignoreWhite = true;
aquentDoc.onLoad = Delegate.create(this, this.onAquentDocLoad);
aquentDoc.load(xml url here);

function onAquentDocLoad(success:Boolean):Void {

  // ... check for success, XML validation  parsing...

  // now fill your array (elements_arr is available)
  elements_arr = aquentDoc.firstChild.childNodes;
  for (var i = 0; i  elements_arr.length; i++) {
   if (elements_arr[i].attributes[id] != null) {
  var headers = elements_arr[i].attributes[id];
   } else {
  var content = elements_arr[i];
   }
   }
   // the array is filled, you can call assignText()
   assignText();
}

function assignText() {
  for (var p in this) {
if (this[p] instanceof TextField) {
  trace(found +this[p]._name);
}
if(this[p]._name == header01_text){
  this[p].text=elements_arr[i].attributes[id];
  }
}


Hope it helps..
Julien

CK a écrit :

Hi,

An attempt  to dynamically assign text gathered from XML nodes has me 
stumped. I've the text field instances, but am at a loss how to proceed. 
Any help would be appreciated.


Code:
//Create XML Object
var aquentDoc:XML = new XML();
aquentDoc.ignoreWhite = true;
//event handler
aquentDoc.onLoad = function(success:Boolean) {
   if (!success) {
  trace(Failure Loading aquentDoc XML);
  return;
   }
   //validating the xml file
   if (this.status != 0) {
  trace(This xmlObject is not well-formed: +this.status);
  return;
   }
   //Error check - xml data okay!
   if (this.firstChild.nodeName.toLowerCase() != aquentdoc) {
  trace(Unexpected XML data: +this.firstChild.nodeName);
  return;
   }
   //Extract header nodes into an array.
   var elements_arr = this.firstChild.childNodes;
   for (var i = 0; ielements_arr.length; i++) {
  //trace(elements_arr[i]);
  if (elements_arr[i].attributes[id] != null) {
 var headers = elements_arr[i].attributes[id];
 //trace(headers);
  } else {
 var content = elements_arr[i];
 //trace(content);
  }
   }
};

Code:
//Displays the text fields correctly.
function assignText() {
   for (var p in this) {
  if (this[p] instanceof TextField) {
 //Show each field's name
 trace(found +this[p]._name);
  }
   }
}

Code:
//Failed attempt at assigning text.
//This should be called from inside the onLoad handler.
function assignText() {
   for (var p in this) {
  if (this[p] instanceof TextField) {
 //Show each field's name
 trace(found +this[p]._name);
  }
if(this[p]._name == header01_text){
 this[p].text=elements_arr[i].attributes[id];
}
}___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


[Flashcoders] Flashpaper issue with large Word doc

2006-08-30 Thread Jiri Heitlager

Hello,

I have a Word document that has about 400 pages and contains hyperlinks. 
When I convert it into a .swf using FlashPaper 2.01, the links on the 
first 200 pages don't work anymore, the links located in the last 100 or 
so pages do work???
When I convert the same document but then only the first 200 pages, all 
works fine.
Is there anybody that once coverted a large word doc with hyperlinks and 
that experienced the same problem?


Thnk you
--
---

Jiri Heitlager
Stichting z25.org
Concordiastraat 67A
3551 EM Utrecht

tel:06-28159323
http://www.z25.org
[EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] empty HTML

2006-08-30 Thread Laurent CUCHET
Hello

When I put a button allow download I get a blanck page and the download.

Is there a way to avoid the white empty html page ?

The script I use :


on (release) {
getURL(http://www.mywebsite.com/tools/CleanUp312.exe.zip,_blank;);
}

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

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


Re: [Flashcoders] empty HTML

2006-08-30 Thread Alias™

Remove the _blank parameter, or try using loadVariables instead.

HTH
Alias



On 8/30/06, Laurent CUCHET [EMAIL PROTECTED] wrote:

Hello

When I put a button allow download I get a blanck page and the download.

Is there a way to avoid the white empty html page ?

The script I use :


on (release) {
getURL(http://www.mywebsite.com/tools/CleanUp312.exe.zip,_blank;);
}

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

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


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

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


[Flashcoders] Urgent Help

2006-08-30 Thread hmdakr
Can anyone please tell me why

The M-key on an ‘azerty’ keyboard does not work

with this script...? 


onClipEvent(load)
{
MIN_CHAR_ALLOWED = 65;
MAX_CHAR_ALLOWED = 90;
keyObj = {};
var kList = [];
for (var i=MIN_CHAR_ALLOWED; i=MAX_CHAR_ALLOWED;
i++){
kList.push(i);
}
kList.push(Key.BACKSPACE);
}

onClipEvent(keyUp)
{
var keyCode = Key.getCode();
trace(keyCode);

if(keyCode = MIN_CHAR_ALLOWED  keyCode =
MAX_CHAR_ALLOWED)
{
enterLetter(keyCode);
}
}






__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] empty HTML

2006-08-30 Thread Arul Prasad M L

Use FileReference API instead, to activate download.

~Arul Prasad

-- Forwarded message --
From: Laurent CUCHET [EMAIL PROTECTED]
Date: Aug 30, 2006 3:02 PM
Subject: [Flashcoders]  empty HTML
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com

   Hello

When I put a button allow download I get a blanck page and the download.

Is there a way to avoid the white empty html page ?

The script I use :


on (release) {
   getURL(http://www.mywebsite.com/tools/CleanUp312.exe.zip,_blank;);
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] mpg to fla conversion

2006-08-30 Thread Toon Van de Putte

I've been looking all over the internet for a tool that will convert a batch
of mpg files to flas with (oldskool) video symbols in their library,
preferably with the option to have sound as a separate symbol. Flash itself
can batch-convert to FLV, but that's not what I need as I need some overlay
effects done in the IDE and cue points are simply too unreliable.
The only tools that I've come across are 3-4 years old and seem to date from
the time when you couldn't import video into Flash, so quality isn't up to
par.
Anyone got any ideas? If anyone could code such an app, i'd be willing to
pay for it.

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

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


Re: [Flashcoders] FLV8/VP6 decoding?

2006-08-30 Thread Mike Cobb

-

VP6 is a 'lossy' codec, which means it degrades the image quality of the 
video. If you convert an FLV to an AVI, you will get a low quality video 
with a high file size. Any compression you put on top will further 
degrade the quality of the image.


With this caveat in mind, you can convert an FLV to an AVI. The only way 
I know of is to import your FLV into the timeline of a new flash movie 
(make sure to set the correct stage size and frame rate). You can then 
export the flash movie to AVI format.


Hope that helps,

Mike


coderman wrote:

Hello,

is there anyway to decode Flash 8 / VP6 video back to say AVI?

-ROB

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

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





--
-
Mike Cobb
Creative Director
HMC Interactive
-
Tel: + 44 (0)845 20 11 462
Mob: + 44 (0)785 52 54 743
Web: http://www.hmcinteractive.co.uk
-
Grosvenor House, Belgrave Lane,
Plymouth, PL4 7DA, UK.
-

I've got a new e-mail address: [EMAIL PROTECTED]
Please update your address book. Thanks.

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

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


RE: [Flashcoders] Does Flex Data Services require FP9?

2006-08-30 Thread Merrill, Jason
Flex 1 or Flex 2? Anything Flex 2 requires the Flash 9 player.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Rajat Paharia
Sent: Wednesday, August 30, 2006 1:56 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Does Flex Data Services require FP9?

I'm assuming that Flash Player 9 is required on the client in order to
interact with Flex Data Services, but haven't seen that explicitly
stated
anywhere. Can anyone tell me if this is in fact the case?

thanks, - rajat
--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] FLV8/VP6 decoding?

2006-08-30 Thread coderman
Yes I know all about lossy vs not-lossy etc, etc. I have totally other 
reasons to want to decode FLV8 than quality and filesize. For example, 
what about generating thumbnails out of FLV8 or convert FLV8 to 3gp for 
my mobile phone? I can do all these things with FLV7 but bot with FLV8.


So I need to decode FLV8 files, with VP6 codec.  I can decode FLV7 with 
Sorenson Spark really easy using FFmpeg or somilar opensource tools.
FLV8 is the trouble maker, no tool I have seen supports decoding this 
format. Any help?
On2 has a 'VP6 decoder' (see http://www.on2.com/downloads/vp6-decoder/) 
but I am unsure how to use it and if it will decode FLV8?


-Coderman

Mike Cobb wrote:

-

VP6 is a 'lossy' codec, which means it degrades the image quality of 
the video. If you convert an FLV to an AVI, you will get a low quality 
video with a high file size. Any compression you put on top will 
further degrade the quality of the image.


With this caveat in mind, you can convert an FLV to an AVI. The only 
way I know of is to import your FLV into the timeline of a new flash 
movie (make sure to set the correct stage size and frame rate). You 
can then export the flash movie to AVI format.


Hope that helps,

Mike


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

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


Re: [Flashcoders] references as return value issues

2006-08-30 Thread Ian Thomas

Um - on a really swift look - shouldn't the first parameter be a boolean?

i.e.
inventoryTool = toolArea.addTool(false, InventoryToolMC);

On 8/30/06, Andreas Rønning [EMAIL PROTECTED] wrote:

Kind of stumped here.

I have a class that holds an instance of a toolbar class.
The toolbar class has a method addTool that takes a linkage
identifier, attaches a movieclip with it and returns a reference to the
created movieclip as such:


inventoryTool = toolArea.addTool(InventoryToolMC);

toolArea.addTool looks like this:

function addTool(primary:Boolean,identifier:String):Object{ 
var d =
primary_tools.getNextHighestDepth();
var tool:Object = primary_tools.attachMovie(identifier,identifier+d,d);
this.addListener(tool);
tool.addListener(this);
primaryTools.push(tool);
updateTools(1);
return tool;
}

However, this is giving me a whole heap of trouble.
In the case of:

inventoryTool = toolArea.addTool(InventoryToolMC);

inventoryTool is a class variable, and always comes up undefined.
I can do this:

trace(toolArea.addTool(InventoryToolMC))
inventoryTool = toolArea.addTool(InventoryToolMC);
trace(inventoryTool);

And the first trace will show a movieclip path and the second undefined.

If i do

var inventoryTool:Object = toolArea.addTool(InventoryToolMC);
trace(inventoryTool);

it works fantastically.

So what gives? I can only access a reference to the returned tool clip
in a local var and not a class var? What could cause this? I look at my
script and i've done things like it a thousand times over, and i've
never seen anything like this.

Here's hoping i'm merely stupid.

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

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


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

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


Re: [Flashcoders] make the Window component not moveable?

2006-08-30 Thread Johannes Boyne
That is a very good question, I had the same only two months ago. But I 
didn't find an answer.

So I am very tense to hear your fixes!

best regards,
Johannes

Merrill, Jason schrieb:

Is there any way to make the Window component / PopUpManager window not
moveable?  I couldn't find any information in the help docs or Google.
Didn't see any methods or properties to alter that.  Are Window
components always moveable by the end user? 


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
___

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

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


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

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


Re: [Flashcoders] references as return value issues

2006-08-30 Thread Andreas Rønning
Yeah, but nm that :) Forgetfulness on my part when typing in this 
example. Trust me that's not the issue. The actual addTool function has 
a twotiered conditional that just dictates what clip the new tool be 
attached to, thought i'd spare you that excess script.


- A

Ian Thomas wrote:

Um - on a really swift look - shouldn't the first parameter be a boolean?

i.e.
inventoryTool = toolArea.addTool(false, InventoryToolMC);

On 8/30/06, Andreas Rønning [EMAIL PROTECTED] wrote:


Kind of stumped here.

I have a class that holds an instance of a toolbar class.
The toolbar class has a method addTool that takes a linkage
identifier, attaches a movieclip with it and returns a reference to the
created movieclip as such:


inventoryTool = toolArea.addTool(InventoryToolMC);

toolArea.addTool looks like this:

function 
addTool(primary:Boolean,identifier:String):Object{ 
var d =

primary_tools.getNextHighestDepth();
var tool:Object = 
primary_tools.attachMovie(identifier,identifier+d,d);

this.addListener(tool);
tool.addListener(this);
primaryTools.push(tool);
updateTools(1);
return tool;
}

However, this is giving me a whole heap of trouble.
In the case of:

inventoryTool = toolArea.addTool(InventoryToolMC);

inventoryTool is a class variable, and always comes up undefined.
I can do this:

trace(toolArea.addTool(InventoryToolMC))
inventoryTool = toolArea.addTool(InventoryToolMC);
trace(inventoryTool);

And the first trace will show a movieclip path and the second undefined.

If i do

var inventoryTool:Object = toolArea.addTool(InventoryToolMC);
trace(inventoryTool);

it works fantastically.

So what gives? I can only access a reference to the returned tool clip
in a local var and not a class var? What could cause this? I look at my
script and i've done things like it a thousand times over, and i've
never seen anything like this.

Here's hoping i'm merely stupid.

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

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


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

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


--

- Andreas Rønning

---
Flash guy
Rayon Visual Concepts, Oslo, Norway
---
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] make the Window component not moveable?

2006-08-30 Thread Nick Weekes
my_win.enabled = false; 

Should do the trick.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Boyne
Sent: 30 August 2006 13:26
To: Flashcoders mailing list
Subject: Re: [Flashcoders] make the Window component not moveable?

That is a very good question, I had the same only two months ago. But I
didn't find an answer.
So I am very tense to hear your fixes!

best regards,
Johannes

Merrill, Jason schrieb:
 Is there any way to make the Window component / PopUpManager window 
 not moveable?  I couldn't find any information in the help docs or Google.
 Didn't see any methods or properties to alter that.  Are Window 
 components always moveable by the end user?
 
 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions
  
  
  
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] make the Window component not moveable?

2006-08-30 Thread Johannes Boyne

Yes it works!
Thanks!

Nick Weekes schrieb:
my_win.enabled = false; 


Should do the trick.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Boyne
Sent: 30 August 2006 13:26
To: Flashcoders mailing list
Subject: Re: [Flashcoders] make the Window component not moveable?

That is a very good question, I had the same only two months ago. But I
didn't find an answer.
So I am very tense to hear your fixes!

best regards,
Johannes

Merrill, Jason schrieb:
Is there any way to make the Window component / PopUpManager window 
not moveable?  I couldn't find any information in the help docs or Google.
Didn't see any methods or properties to alter that.  Are Window 
components always moveable by the end user?


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions
 
 
 
 
___

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

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



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

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


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

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


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

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


Re: [Flashcoders] solved - references as return value issues

2006-08-30 Thread Andreas Rønning
This is beyond retarded. What fixed my problem? Doing something 
superfluous and stupid looking.


var invToolTemp:Object = toolArea.addTool(false,InventoryToolMC);
trace(returned value: +invToolTemp); //returns a clip reference
inventoryTool = invToolTemp; //set the class var to the local var
trace(stored value: +inventoryTool); //voilà, class var set properly

What the hell?

-

Andreas Rønning wrote:
Yeah, but nm that :) Forgetfulness on my part when typing in this 
example. Trust me that's not the issue. The actual addTool function has 
a twotiered conditional that just dictates what clip the new tool be 
attached to, thought i'd spare you that excess script.


- A

Ian Thomas wrote:


Um - on a really swift look - shouldn't the first parameter be a boolean?

i.e.
inventoryTool = toolArea.addTool(false, InventoryToolMC);

On 8/30/06, Andreas Rønning [EMAIL PROTECTED] wrote:


Kind of stumped here.

I have a class that holds an instance of a toolbar class.
The toolbar class has a method addTool that takes a linkage
identifier, attaches a movieclip with it and returns a reference to the
created movieclip as such:


inventoryTool = toolArea.addTool(InventoryToolMC);

toolArea.addTool looks like this:

function 
addTool(primary:Boolean,identifier:String):Object{ 
var d =

primary_tools.getNextHighestDepth();
var tool:Object = 
primary_tools.attachMovie(identifier,identifier+d,d);

this.addListener(tool);
tool.addListener(this);
primaryTools.push(tool);
updateTools(1);
return tool;
}

However, this is giving me a whole heap of trouble.
In the case of:

inventoryTool = toolArea.addTool(InventoryToolMC);

inventoryTool is a class variable, and always comes up undefined.
I can do this:

trace(toolArea.addTool(InventoryToolMC))
inventoryTool = toolArea.addTool(InventoryToolMC);
trace(inventoryTool);

And the first trace will show a movieclip path and the second undefined.

If i do

var inventoryTool:Object = toolArea.addTool(InventoryToolMC);
trace(inventoryTool);

it works fantastically.

So what gives? I can only access a reference to the returned tool clip
in a local var and not a class var? What could cause this? I look at my
script and i've done things like it a thousand times over, and i've
never seen anything like this.

Here's hoping i'm merely stupid.

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

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


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

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





--

- Andreas Rønning

---
Flash guy
Rayon Visual Concepts, Oslo, Norway
---
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] solved - references as return value issues

2006-08-30 Thread Ian Thomas

It's not something strange about the types you're using is it?

You always seem to be treating the return value of attachMovie as an
Object rather than a MovieClip (which should work fine) - but I've no
idea what type inventoryTool is, from you're code, and wonder vaguely
whether it's silently failing a cast somewhere.

Any particular reason you're using Object rather than MovieClip?

Ian

On 8/30/06, Andreas Rønning [EMAIL PROTECTED] wrote:

This is beyond retarded. What fixed my problem? Doing something
superfluous and stupid looking.

var invToolTemp:Object = toolArea.addTool(false,InventoryToolMC);
trace(returned value: +invToolTemp); //returns a clip reference
inventoryTool = invToolTemp; //set the class var to the local var
trace(stored value: +inventoryTool); //voilà, class var set properly

What the hell?

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

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


Re: [Flashcoders] AMFPHP 1.2 Class Mapping VO's incomming from PHP5 - It works but...

2006-08-30 Thread Julius Turnmire
I couldn't agree more :)  We can always hope for such improvements in
the near future.  

On Wed, 2006-08-30 at 11:18 +0200, Martin Wood wrote:
  Just knowing that
  the object is populated before the constructor is called and that those
  properties take precedence over my class explains a lot.  Now I'm much
  better prepared to handle what remoting throws at me :)
 
 Accidentally hit the wrong key combo and sent the previous mail before i was 
 finishedhere it is again..in all its glory..
 
 great...
 
 I think thats one part of remoting where they could have done something 
 slightly
 more clever. Even if they added some configuration possibilities to the player
 like a flag for Remoting.callConstructorFirst if you want you objects created 
 in 
 a 'normal' way, maybe at the expense of performance and Remoting.useAccessors 
 which could use both types of accessor. (get x and getX)
 
 They could be set to default to what they are now, but at least you would 
 have 
 options to turn the remoting deserialization (and local shared objects) into 
 something that behaves like normal code rather than magic. :)
 
 
 martin.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] FLV8/VP6 decoding?

2006-08-30 Thread master
Hi, 

I know this flash to video converter can do that. You can get it at 
http://www.moyea.com.




master
2006-08-30



From:  coderman
Sent:  2006-08-30 07:20:37
TO:  Flashcoders mailing list
CC:  
Object:  [Flashcoders] FLV8/VP6 decoding?

Hello,

is there anyway to decode Flash 8 / VP6 video back to say AVI?

-ROB

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

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

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


RE: [Flashcoders] make the Window component not moveable?

2006-08-30 Thread Merrill, Jason
Thanks Nick - that was what I was looking for.  The help docs for the
Window component aren't exactly clear, it does say that UIObject.enabled
is one of the properties it inherits, but only says, Indicates whether
the component can receive focus and input.  - Isn't very clear that
input includes clicks and drags with the mouse, but now I see the
connection.   

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] FLV8/VP6 decoding?

2006-08-30 Thread Lindy Roquemore

http://www.techspansion.com/visualhub/ works great if you are on a mac. Also
there is FFmpeg.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] solved - references as return value issues

2006-08-30 Thread Andreas Rønning
In this case, attachMovie returns heavily extended movieclips. There is 
no casting in the scripts at this point.


- A

Ian Thomas wrote:

It's not something strange about the types you're using is it?

You always seem to be treating the return value of attachMovie as an
Object rather than a MovieClip (which should work fine) - but I've no
idea what type inventoryTool is, from you're code, and wonder vaguely
whether it's silently failing a cast somewhere.

Any particular reason you're using Object rather than MovieClip?

Ian

On 8/30/06, Andreas Rønning [EMAIL PROTECTED] wrote:


This is beyond retarded. What fixed my problem? Doing something
superfluous and stupid looking.

var invToolTemp:Object = toolArea.addTool(false,InventoryToolMC);
trace(returned value: +invToolTemp); //returns a clip reference
inventoryTool = invToolTemp; //set the class var to the local var
trace(stored value: +inventoryTool); //voilà, class var set properly

What the hell?


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

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


--

- Andreas Rønning

---
Flash guy
Rayon Visual Concepts, Oslo, Norway
---
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Scrollpane problem

2006-08-30 Thread Mendelsohn, Michael
Hi list...

I have a scrollpane that contains a mc that goes to different frames
whose heights longer or shorter, thus turning on or off the scrollpane
components vertical scrollbar (vScrollPolicy = auto).  The problem is
when the vScrollBar becomes visible, the thumb is up too high.  Setting
the vPosition to 0 doesn't make a difference.  Any clues?

Thanks,
- Michael M.

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

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


Re: [Flashcoders] FLV8/VP6 decoding?

2006-08-30 Thread coderman

I am on PC and, FFMpeg does not decode FLV8 only FLV7
unless you're using an patched version that uses libvp62 - but that 
seems a little illegal, and not supported by FFmpeg at this point.


Lindy Roquemore wrote:
http://www.techspansion.com/visualhub/ works great if you are on a 
mac. Also

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

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



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

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


Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-30 Thread Jeroen Beckers

You can't 'choose' the definition of polymorphism :p.

In simple terms, *polymorphism* lets you treat derived class members 
just like their parent class's members.
Source: 
http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming 
(+ all my java  AS books)


class Foo extends Bar
{

}

var myFoo:Bar = new Foo(); //this is polymorphism !

Giles Taylor wrote:
http://en.wikipedia.org/wiki/Polymorphism_(computer_science) 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Meinte
van't Kruis
Sent: 25 August 2006 14:14
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OOP methodology and flash. I'm loosing my
faith...

well, I get Interfaces, but thanks for explaining :).

I just don't think actionscript, or java, has any polymorphism, since
the definition of that is, in my opinion, a class having more than one
parent class (ie, can extend 2 or more classes), which isn't the case.
So I don't understand why people who are explaining oop in actionscript
talk about polymorphism, because it just isn't there :), but perhaps I'm
wrong.

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

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

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

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


[Flashcoders] Simulate download question

2006-08-30 Thread Mendelsohn, Michael
Hi list...

My swf (currently on my hard drive) loads external flv files, but when
testing at a simulated download at 56k, these flvs are brought in
instantly from the hard drive.  Is there any way of simulating the
download of external flv files at a slower rate than that of my hard
drive's speed?

Thanks,
- Michael M.

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

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


Re: [Flashcoders] Scrollpane problem

2006-08-30 Thread Julius Turnmire
you could try yourScrollPane.invalidate(); or
yourScrollPane.redraw(true);  one of those may work for you. or maybe
yourScrollPane.vScroller.invalidate();  It's been a while fer me since
I've messed with the stock ScrollPane, and it can be a real pain ;)

HTH


On Wed, 2006-08-30 at 09:59 -0400, Mendelsohn, Michael wrote:
 Hi list...
 
 I have a scrollpane that contains a mc that goes to different frames
 whose heights longer or shorter, thus turning on or off the scrollpane
 components vertical scrollbar (vScrollPolicy = auto).  The problem is
 when the vScrollBar becomes visible, the thumb is up too high.  Setting
 the vPosition to 0 doesn't make a difference.  Any clues?
 
 Thanks,
 - Michael M.
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Flash 4 documentation

2006-08-30 Thread Kevin Aebig
I'm not sure where you could find it, but considering the lowest common
denominator is Flash 5, maybe you could make like a little easier on
yourself... =]

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flapflap
Sent: Monday, August 28, 2006 4:04 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash 4 documentation

Hi there, I'm looking for a Flash 4 documentation.
I'm also thinking that is it free of charge now, can I download it 
anywhere ?

-- 
Flapflap[at]sans-facon.net --
DevBlog : http://www.kilooctet.net

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

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


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

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


Re: [Flashcoders] Flash 4 documentation

2006-08-30 Thread stefan burt

I think the documentation was all in html then plugged into the
interface if my memory serves me correctly?

Stefan

On 8/30/06, Kevin Aebig [EMAIL PROTECTED] wrote:

I'm not sure where you could find it, but considering the lowest common
denominator is Flash 5, maybe you could make like a little easier on
yourself... =]

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flapflap
Sent: Monday, August 28, 2006 4:04 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash 4 documentation

Hi there, I'm looking for a Flash 4 documentation.
I'm also thinking that is it free of charge now, can I download it
anywhere ?

--
Flapflap[at]sans-facon.net --
DevBlog : http://www.kilooctet.net

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

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


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

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


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

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


Re: [Flashcoders] MC position at any given time

2006-08-30 Thread Moses Gunesch
Tween is prob. doc.'d in flash 8 help, I'm guessing. If you're using  
the ZigoEngine you would do mytarget.addListener(listenerobj); then  
create an onTweenUpdate method in listenerobj. But typically using  
the callback param is easier:


function triggerSquare2() {
if (square1_mc._x  100) return;
// only start the next tween once.
if (ZigoEngine.isTweening(square2_mc, '_x')==true) return;
ZigoEngine.doTween(square2_mc, '_x', 200, Strong.easeInOut);
}
ZigoEngine.doTween(square1_mc, '_x', 200, Strong.easeInOut, 0,
 { updscope:this, 
updfunc:triggerSquare2 });

In your situation it would be just as easy to use a setInterval or  
onEnterFrame method to do the same thing, plus that way you could  
kill it when the second tween starts -- the above way fires the  
function every update.


More docs are available here, www.mosessupposes.com/Fuse

-m


On Aug 30, 2006, at 7:20 AM, ben deroo wrote:

thanks for the help guys, I'll certainly look into Fuse and learn a  
bit more
about those undocumented events that Tween dispatches. Any  
suggestion as to
where I can find documentation on that, or is that a bit sarcastic  
of me?

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

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


Re: [Flashcoders] Stylesheet Formatting of Default Tags

2006-08-30 Thread Joseph Balderson
You may be right. It could also be a simple limitation of how the HTML 
parser links up to the CSS parser. Still, it would be good to know why 
certain tags are redefinable by CSS and some are not, so at least I 
could figure out if there's a fix by extending some class or other.


On another note, I wish the HTML parser was inherited from the XML class 
so it could be extended. Built into the player as it is means rebuilding 
 the parser from the ground up just to add functionality, and who's got 
time for that?

__

Joseph Balderson, Flash Developer  RIA Specialist
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Développement Bilingue/Francophone disponible

GregoryN wrote:

Hello Joseph,

I think default tags are closely connected to TextFormat properties.
So, the content of b tag will always have TextFormat.bold = true
and  content of i tag  will always have TextFormat.italic = true
They're just trying to make TextFormat and tags interchangeable where
possible. Remember this terrible TEXTFORMAT tag? ;-)

The same is with some other tags you've mentioned: you can't make li
to appear w/o bullet or a to be not clickable.

Also, I'm curious of the way you're using the body tag in flash text
fields...
  


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

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


[Flashcoders] RE: Flash 4 documentation

2006-08-30 Thread dave matthews

hi,

 i have the Flash 4 docs, email and i'll send them.

Dave Matthews
[EMAIL PROTECTED]

Message: 5
Date: Wed, 30 Aug 2006 09:55:02 -0600
From: Kevin Aebig [EMAIL PROTECTED]
Subject: RE: [Flashcoders] Flash 4 documentation
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

I'm not sure where you could find it, but considering the lowest common
denominator is Flash 5, maybe you could make like a little easier on
yourself... =]

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flapflap
Sent: Monday, August 28, 2006 4:04 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash 4 documentation

Hi there, I'm looking for a Flash 4 documentation.
I'm also thinking that is it free of charge now, can I download it
anywhere ?

--
Flapflap[at]sans-facon.net --
DevBlog : http://www.kilooctet.net


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

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


Re: [Flashcoders] FLV, attachMovie, and missing controls

2006-08-30 Thread Jeff Jonez

Thanks Tyson,

That was exactly the problem.

On 8/22/06, Tyson Tune [EMAIL PROTECTED] wrote:


You need to include the skin swf to have the controls present in your
new swf.
On Aug 20, 2006, at 3:37 PM, Jeff Jonez wrote:

 I have a 4 megabyte flv file that loads via attachMovie into my swf
 file.
 When I run from my computer everything works fine. Once I post the
 swf on
 the net, the controls (play, pause, volume) disappear when I load
 the movie.
 Any tips?

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

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

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

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


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

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


Re: [Flashcoders] Does Flex Data Services require FP9?

2006-08-30 Thread Rajat Paharia

Flex Data Services is Flex 2:
http://www.adobe.com/products/flex/dataservices/
So I guess that answers my question. Thanks, - rajat

On 8/30/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Flex 1 or Flex 2? Anything Flex 2 requires the Flash 9 player.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions





-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Rajat Paharia
Sent: Wednesday, August 30, 2006 1:56 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Does Flex Data Services require FP9?

I'm assuming that Flash Player 9 is required on the client in order to
interact with Flex Data Services, but haven't seen that explicitly
stated
anywhere. Can anyone tell me if this is in fact the case?

thanks, - rajat
--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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





--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Simulate download question

2006-08-30 Thread Edmundo Ortega
If you're on a mac, you can use ipfw from the command line, which  
works beautifully and is very configurable.


If you're on windows, you can use Charles http://xk72.com/charles/ -  
which I found to be rather buggy, but that was the mac version.


For OS X, I'm not sure if you need tiger or not, but you can enter  
these commands into the terminal...


You'll need root access, so get ready to enter your root password:

(note that $ and # are simply the prompts from the command line and  
should not be typed in)


$ su
# ipfw pipe 1 config bw 1000kbit/s

# ipfw add pipe 1 src-port http

The first line sets you as the root user.

The second line creates a dummynet pipe, essentially a bandwidth limiter

The third line creates a rule that routes incoming http traffic thru  
the above pipe.


Note that bandwidth in the second line can be specified in [K|M]{bit/ 
s|Byte/s}, for example:


1Mbit/s or 56Kbit/s or 600bit/s or 200Bytes/s, etc

Once the pipe is set up, you can leave it and continue to reconfigure  
it at whichever bandwidth you wish.


To delete the rule(s), use:

# ipfw flush

ipfw is a very powerful tool with tons and tons of options. try...

$ man ipfw

for the whole story.



Good luck!




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

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


RE: [Flashcoders] JSFL: Can I set the htmlText property?

2006-08-30 Thread Steven Sacks | BLITZ
Have you tried setting renderAsHTML before you setTextString?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] error where drawRoundRect draws an ellipse instead

2006-08-30 Thread RJ
Recently I've had a problem using the Graphics.drawRoundRect method.  
The method takes at least 5 params, as you probably know: x, y, width, 
height, and a radius.  Regardless of what the radius is set to, I'm 
encountering an error where if the height and width are both negative, 
flash draws an ellipse instead of a rounded rectangle.  So,


content.graphics.drawRoundRect(0, 0, 10, 30, 0);

correctly draws a rectangle, while

content.graphics.drawRoundRect(0, 0, -10, -30, 0);

incorrectly draws an ellipse. 
Has anyone else encountered this situation?  I've tried googling around 
for a while and checking through the documentation, and I can't figure 
out why this would happen.  Flexbuilder doesn't allow me to debug into 
the drawRoundRect method, so I can't see what's going on internally.  I 
have a few work-around in mind, but it doesn't seem like that should be 
necessary.  Any help or advice would be appreciated.


Thanks,

RJ
--

me RJ Owen: Senior Engineer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]| 303.204.2779
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] jsfl - set all bitmaps in library to photo compression

2006-08-30 Thread James Deakin

This will come in very handy. Just one thing though. I have no Idea
where to put this file. And how to exicute it. Could you please point
me in the right direction.

Kind regards

James Deakin

On 8/25/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:


I had a project recently that was originally developed as a CDROM by a
3rd party, but then had to be migrated to the web. Many of the lib items
(1000's of items) had been set with specific compression values or
Lossless. This ended up with a 60MB swf file. Ick.

So I brewed up this little JSFL that sets all bitmaps in the library to
document level photo/jpeg compression.

Hope this helps anyone who has or will have a similar headache.

//--
var lib = fl.getDocumentDOM().library;
for(n=0;nlib.items.length;n++){
var item=lib.items[n];
if(item.itemType==bitmap){
lib.selectItem(item.name);
lib.setItemProperty('compressionType', 'photo');
fl.outputPanel.trace(SET COMPRESSION TO PHOTO
ON:+item.name);
}
}
//--

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

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


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

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


Re: [Flashcoders] Scrollpane problem

2006-08-30 Thread Stan Reshetnic

Hello Michael.

1. You can try to made all flames in movieclip the same size (with 
transparent background rectangle that fit to the largest clip).
2. You can try to refresh ScrollPane every time animation changed 
(ScollPane.invalidate() or ScrollPane.size()).
3. You can refresh ScrollPane witth your own parameters width and 
height of content. By:


private function updateScroll():Void{
scroll.setScrollProperties(width, 1, height, 1 );
scroll.hPosition = Math.min(scroll.hPosition, 
scroll.maxHPosition);
scroll.vPosition = Math.min(scroll.vPosition, 
scroll.maxVPosition);

}

Hope it was helpfull.

On Wed, 30 Aug 2006 09:59:41 -0400
 Mendelsohn, Michael [EMAIL PROTECTED] wrote:

Hi list...

I have a scrollpane that contains a mc that goes to different frames
whose heights longer or shorter, thus turning on or off the 
scrollpane
components vertical scrollbar (vScrollPolicy = auto).  The problem 
is
when the vScrollBar becomes visible, the thumb is up too high. 
Setting

the vPosition to 0 doesn't make a difference.  Any clues?

Thanks,
- Michael M.

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

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


With best regards,
Stan Reshetnic,
Another Flash Guy
ICQ:4534777
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Creating a text file on server and emailing attachment

2006-08-30 Thread Paul Steven
I am hoping some kind person will help me figure this one out.

Making a little app to design t-shirts online and want to allow the user to
send the design data to the client via a text file that the client can then
load in at their end.

I have got the code working to create a text file on my server with the
correct data. I just cannot figure out how to get the PHP to attach this
file.

So say the text file is called design1.txt and is located in the same
folder on my server as the flash movie.

It is the following code I believe is not working correctly


Code:


$newfile = $_POST['filename'];
$fileatt = $_POST['filename']; // Path to the file 
$fileatt_type = application/octet-stream; // File Type 
$fileatt_name = $_POST['filename']; // Filename that will be used for the
file


I have even tried hard coding the filename variables as follows.


Code:


$fileatt = http://www.mediakitchen.co.uk/clients/davehann/order11.txt;;
$fileatt_type = application/octet-stream; // File Type 
$fileatt_name = order11.txt;



I am really struggling to solve this so would appreciate any help. The email
is getting sent ok and the text file is being created on the server but no
attachment is being sent with the email.

Thanks

Paul

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

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


RE: [Flashcoders] Simulate download question

2006-08-30 Thread Ryan Potter
This one works well.

http://www.xat.com/wo/index.html



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edmundo
Ortega
Sent: Wednesday, August 30, 2006 10:46 AM
To: flashcoders chattyfig.figleaf.com
Subject: Re: [Flashcoders] Simulate download question

If you're on a mac, you can use ipfw from the command line, which  
works beautifully and is very configurable.

If you're on windows, you can use Charles http://xk72.com/charles/ -  
which I found to be rather buggy, but that was the mac version.

For OS X, I'm not sure if you need tiger or not, but you can enter  
these commands into the terminal...

You'll need root access, so get ready to enter your root password:

(note that $ and # are simply the prompts from the command line and  
should not be typed in)

$ su
# ipfw pipe 1 config bw 1000kbit/s

# ipfw add pipe 1 src-port http

The first line sets you as the root user.

The second line creates a dummynet pipe, essentially a bandwidth limiter

The third line creates a rule that routes incoming http traffic thru  
the above pipe.

Note that bandwidth in the second line can be specified in [K|M]{bit/ 
s|Byte/s}, for example:

1Mbit/s or 56Kbit/s or 600bit/s or 200Bytes/s, etc

Once the pipe is set up, you can leave it and continue to reconfigure  
it at whichever bandwidth you wish.

To delete the rule(s), use:

# ipfw flush

ipfw is a very powerful tool with tons and tons of options. try...

$ man ipfw

for the whole story.



Good luck!




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

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

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

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


Re: [Flashcoders] jsfl - set all bitmaps in library to photo compression

2006-08-30 Thread Chris Hill
You put it in the Commands folder in your user configuration folder. For 
example:
C:\Documents and Settings\MyUserName\Local Settings\Application 
Data\Macromedia\Flash 8\en\Configuration\Commands


You might need to show hidden files.


Here's my image settings command, while we're sharing:

Image Settings.jsfl
---
// :mode=javascript:

settings=flash.getDocumentDOM().xmlPanel(fl.configURI+ 
'Commands/imageSettingsGUI.xml');

if(settings.dismiss == accept)
{
   imageQuality = settings.imageQuality;
   imageSmoothing = Boolean(settings.imageSmoothing);
   imageCompression = settings.compressionType;
   useImportedJpegQuality = Boolean(settings.useImportedJpegQuality);
  
   var library = fl.getDocumentDOM().library;

   var selItems = library.getSelectedItems();
   fl.trace(Selected items length:+selItems.length);
   for(var i=0;iselItems.length;i++){
   var item = selItems[i];
   if(item.itemType == bitmap){
   if(useImportedJpegQuality == true){
   item.useImportedJpegQuality = true;
   }else{
   item.useImportedJpegQuality = false;
   item.compressionType = imageCompression;
   if(imageCompression == photo){
   item.quality = Number(imageQuality);
   }
   }
   item.allowSmoothing = imageSmoothing;
   }
   }
}

---
imageSettingsGUI.xml
---
dialog title=Set Image Options buttons=accept,cancel
   label value=Compression Type:/
   menulist id=compressionType
   menuitem label=PNG/Lossless value=lossless/
   menuitem label=JPEG value=photo/
   /menulist
   label value=Image Quality (leave blank for default)/
   textbox id=imageQuality value=50/
   checkbox label=ImageSmoothing? id=imageSmoothing checked=true/
   checkbox label=Use imported JPEG Quality(only if a jpeg) 
id=useImportedJpegQuality/

/dialog
---

James Deakin wrote:


This will come in very handy. Just one thing though. I have no Idea
where to put this file. And how to exicute it. Could you please point
me in the right direction.

Kind regards

James Deakin

On 8/25/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:



I had a project recently that was originally developed as a CDROM by a
3rd party, but then had to be migrated to the web. Many of the lib items
(1000's of items) had been set with specific compression values or
Lossless. This ended up with a 60MB swf file. Ick.

So I brewed up this little JSFL that sets all bitmaps in the library to
document level photo/jpeg compression.

Hope this helps anyone who has or will have a similar headache.

//--
var lib = fl.getDocumentDOM().library;
for(n=0;nlib.items.length;n++){
var item=lib.items[n];
if(item.itemType==bitmap){
lib.selectItem(item.name);
lib.setItemProperty('compressionType', 'photo');
fl.outputPanel.trace(SET COMPRESSION TO PHOTO
ON:+item.name);
}
}
//--

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

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


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

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


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

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


Re: [Flashcoders] setSelection() with TextInput?

2006-08-30 Thread David Baldeschwieler

Hi Haikal,

I've just been doing exactly the same thing for the past day - 
beating my head against the wall for this same reason.  I am not 
working with any components, but trying to use setSelection within a 
class to select text in a text field nested within a movieClip - and 
getting the same non-result.  Infuriating.


So, what I finally came up with that is a lame hack but seems to work 
is using a setInterval to call setSelection a tenth of a second 
later.  So basically it's this:



class myClass
{

... (var declarations, constructor, etc.) ...

private function onMouseUp ():Void
{
clearInterval(selectionRunner);

selectionRunner = setInterval(this, selectString, 10);
}


private function selectString ()
{
clearInterval(selectionRunner);

Selection.setFocus(myField_txt);

Selection.setSelection(0, myField_txt.text.length);
}

...  (mode methods, etc.) ...

}


If anyone else has a better solution (or even better, an explanation 
why this problem occurs in the first place) I'd love to hear it.


Cheers,
-DB



Hi all.

I've been beating my head against the wall for a bit, trying to get 
Selection.setSelection() to work inside a component.


I've got this code, inside a component which happens to contain a TextInput:

private function focusIn(){
   trace(answer_ti.text + ] received focus);
   answer_ti.setFocus();
   Selection.setSelection(0, answer_ti.text.length);
   }

Which gets runs when answer_ti fires a focusIn event. This just 
doesn't seem to work... the trace statement comes up, but I can't 
see the selection change.


Is there anything I've overlooked? I tried to use Delegate for event 
handling, but it didn't make a difference.


Thanks.

--
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

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

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


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

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


RE: [Flashcoders] Singleton not always Singleton?

2006-08-30 Thread Mike Keesey
Boy, is my face red! But I have seen bad package-naming conventions used
before, so hopefully the post wasn't completely useless for eveyone out
there.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Park
Sent: Sunday, August 27, 2006 4:34 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Singleton not always Singleton?

It *is* for Shell Petroleum :)


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

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


[Flashcoders] TextFormat Font Face = 'Wingdings' or 'Webdings'

2006-08-30 Thread Merrill, Jason
I'm building a text editor in Flash as part of my application and came
across a bit of a head scratcher for applying the Wingdings and Webdings
fonts to an HTML Textfield.  The following works fine:

testFormat = new TextFormat();
testFormat.font = Arial
test_txt.html = true;
test_txt.htmlText = Hello;
test_txt.setTextFormat(testFormat)

However, I can't figure how to get Wingdings or Webdings to work in the
8 player. None of the following work when substituting for line 2 of the
code above:

testFormat.font = Wing Dings
testFormat.font = WingDings
testFormat.font = Wingdings
testFormat.font = wingdings
testFormat.font = Webdings
testFormat.font = WebDings
testFormat.font = Web dings
testFormat.font = webdings

??  

Even applying those fonts directly in the IDE to the textfield doesn't
work.  Does the HTML rendering/ TextFormat Class in the Flash 8 player
not support Webdings or Wingdings?  They are standard windows fonts, I
have them installed as well as my users, and those faces work in normal
HTML.  What gives - or am I just using the wrong keywords for the face
value of each font?

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Loading issues

2006-08-30 Thread Mendelsohn, Michael
Hi list...

I have a mc on the _root that when clicked, calls:
loadMovieNum(squares.swf, 2);
When published, when I double-click the swf itself, it works.  But,
testing that swf sitting in a web page, it doesn't work.



Also, I am loading in external flvs.  They load in on some machines, but
not others.  All of us are using the 8 player.  I'm stumped.

Any hints are sincerely appreciated.

Thanks!
- Michael M.

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

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


[Flashcoders] Expression and Vars

2006-08-30 Thread Laurent CUCHET
Thank for your look :)

Hello,

I try to compile string to Use it as Expression but it is taken as String.
How can I do to get an ³expression mode² ?

Here is the full code of the script :


//1. find the domain name
domainname = new LocalConnection();
var domain_str:String = \+domainname.domain()+\;
//2. Find the day and the month
var today_date:Date = new Date();
var a:Number = (today_date.getMonth());
var b:Number = (today_date.getDate());
var c;
var d;
var e;
//3.check the day number between 1 and 365
if (a == 0) {
c = 0+b;
} else if (a == 1) {
c = 31+b;
} else if (a == 2) {
c = 59+b;
} else if (a == 3) {
c = 90+b;
} else if (a == 4) {
c = 120+b;
} else if (a == 5) {
c = 151+b;
} else if (a == 6) {
c = 181+b;
} else if (a == 7) {
c = 212+b;
} else if (a == 8) {
c = 243+b;
} else if (a == 9) {
c = 273+b;
} else if (a == 10) {
c = 304+b;
} else if (a == 11) {
c = 334+b;
}
trace(c);
// there is 365 days, I got 365 db colomm name var1 to var365
d = var+c;
function tabti() {
rec.text = flashSQL.MoveNext[d]; // problem REC IS NOW A STRING AND NOT
AN EXPRESSION
flashSQL.Execute(UPDATE stats SET +d+=+d++1 WHERE
homepage=+domain_str);
}



var myListener1:Object = new Object();
myListener1.dataLoaded = function(success:Boolean, xmldata:XML) {
if (success) {
tabti();
}
};
flashSQL.Execute(SELECT * FROM stats WHERE homepage=+domain_str, test);
flashSQL.ObjectLoad.addListener(myListener1);
stop();
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Slighty OT: phone suggestions?

2006-08-30 Thread Nick Gerig

John Grden wrote:


Thanks guys, yeah the N80 was one I was just looking at and there are
features that I hadnt even considered (like wireless internet 
connectivity).




careful though because unless Nokia make the 2.0 player available as a 
download for the N80 there is no guarantee that it will be available for 
that series. Also the N80 is the first in a new wave of phones so you 
could do better :)


N80 at present has no FL2 player available.


I'm assuming there's info on FL2 at Nokia's site, but do you have any
specific links I can check out?



heres a bit of info:

http://s60.com/business/productinfo/applicationsandtechnologies/flashlite


Cheers

Nick



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

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


Re: [Flashcoders] Slighty OT: phone suggestions?

2006-08-30 Thread John Grden

oye, glad you pointed that out!  Thanks Nick

On 8/30/06, Nick Gerig [EMAIL PROTECTED] wrote:


John Grden wrote:

 Thanks guys, yeah the N80 was one I was just looking at and there are
 features that I hadnt even considered (like wireless internet
 connectivity).


careful though because unless Nokia make the 2.0 player available as a
download for the N80 there is no guarantee that it will be available for
that series. Also the N80 is the first in a new wave of phones so you
could do better :)

N80 at present has no FL2 player available.

 I'm assuming there's info on FL2 at Nokia's site, but do you have any
 specific links I can check out?


heres a bit of info:

http://s60.com/business/productinfo/applicationsandtechnologies/flashlite


Cheers

Nick



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

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





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

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


[Flashcoders] Remove DataGrid sort icon?

2006-08-30 Thread Robert Chyko
Anyone know how to remove the sort icon from the header in a DataGrid?
I am basically assigning a new dataprovider for the grid, but if it was
sorted the up or down sorting icon remains.  I've tried
removingAllColumns(), etc, but have had no luck.  Haven't tried
reassigning the skin, but I was hoping to not have to go that far.
 
Thanks,
Bob Chyko
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Job Offer

2006-08-30 Thread Boon Chew
Hi Rutul, my name is Boon.  Are you still looking for help on this?  I have 
worked on projects with major clients such as Nintendo, Microsoft and Hasbro, 
let me know if you are still looking for help and I will forward you my resume.

- boon

Rutul Patel [EMAIL PROTECTED] wrote: Hi Guys,
My name is Rutul. I am currently working on one flash Project.
I am the only person who is currently working on this project.
So that My company needs one consultant who can work part-time
or weekends or even flexible hours.

so if anybody interesting in this offer mail me on
[EMAIL PROTECTED] . or if you know anybody who can
work, give me his/her contact information.

we are located at woodbridge, NJ.

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

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



-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Job Offer

2006-08-30 Thread Boon Chew
Guys, sorry for the spam, didn't realize the reply address was the whole 
mailing list... -.-;

- boon

Rutul Patel [EMAIL PROTECTED] wrote: Hi Guys,
My name is Rutul. I am currently working on one flash Project.
I am the only person who is currently working on this project.
So that My company needs one consultant who can work part-time
or weekends or even flexible hours.

so if anybody interesting in this offer mail me on
[EMAIL PROTECTED] . or if you know anybody who can
work, give me his/her contact information.

we are located at woodbridge, NJ.

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

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



-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Re: OOP methodology and flash. I'm loosing my faith...

2006-08-30 Thread Kevin Newman
I really like OOP, like Javascript style prototyping and look forward to 
use a combination of both in AS3. Having said that, I really was not 
impressed with AS2.0, mostly because of some of it's bugs that made it 
work in odd ways (mostly related to scoping issues, which are only 
partially solved with the Delegate Class).


So for me I usually prefer either AS1.0, or (I imagine, since I haven't 
gotten around to it yet) AS 3.0.


It's nice not to be locked into either OOP, or procedural, or typed or 
untyped. It seems like AS 3.0 will let me do the one I want to at the 
moment (without being buggy like AS 2.0). :-)


Kevin N.



James wrote:
I think that the mixture of prototype based and class based OOP is 
really interesting. I think prototype based object orientated 
languages (such as AS1.0 and JavaScript) are really pretty cool and 
you can do amazing things with them.


I read somewhere (sorry can't find link but it was on sitepoint.com 
written by Harry Fuecks)  that one of the leading technical directors 
at google had produced a patterns book with most of the important 
patterns completely rewritten for prototype OO languages and many of 
them were far simpler and much less code.


of course there is always the trade off with any dynamic language - 
the less errors can be caught at 'compile time' the more you have to 
test the code using 'unit testing' at run time.


I take any comments like 'AS2 is crap' or 'PHP is crap' or whatever 
with a huge pinch of salt. Ask them 'Do you think people at 
Macromedia/Adobe don't know what they're doing?' usually these people 
have a computer science degree from Wolverhampton Poly or somesuch and 
couldn't get a job at Adobe or Macromedia if they promised to work for 
nothing and give foot massages to all the other developers whilst 
compiling.


James

At 15:12 25/08/2006, you wrote:

When it comes to OOP and Flash I think an individuals opinion comes from
their knowledge of OOP. Those that have used it swear by it and vice 
versa.
This is pretty much how it is with everything. I remember at the 
release of
AS2 there were quite a few developers that I had interactions with 
that were
saying that AS2 was crap and not to use it. I wonder how well that 
worked

out for them :)

- darren



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

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


Re: [Flashcoders] Class inheritance and scope

2006-08-30 Thread John Grden

Just because compiler allows you to be lazy doesn't mean you should be.
Code right, or don't code at all.

You say this too much.  And you use the word you when you use it.  Makes
people think you're talking about the pronoun of the subject, not the
general object of the predicate.  It's not the royal you its YOU ;)

I'm just trying to be mediator here ;)  You come off way to strong and
opinionated and that's why you get the responses you do.

LOVE YOU, be nice.

jpg

On 8/29/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


And a browser tries to fix unclosed div and font tags, too.

Just because compiler allows you to be lazy doesn't mean you should be.
Code right, or don't code at all.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





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

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


[Flashcoders] File upload /w extra data

2006-08-30 Thread coderman

hey all here is a bone for you all:

-Im using file reference file.upload... but, I need to track the upload. 
So I tried to generate a random string and rename fr.name .. to bad, its 
a read-only property.
I tried to generate a random hash on the server and then send i tback to 
the Flash client onComplete. Bad luck, there seems to be no way to send 
any data back to Flash onComplete.

Last option: just send some extra field along with the file upload.

When I use HTML i can send a webform with all the fields I want + a 
file. Can I do this with Flash as well? Other tactics?

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

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


RE: [Flashcoders] Webservices and .NET array serialization

2006-08-30 Thread Zoltan Csibi
Hi Jason,
 
No worries, I think I was too upset for building a similar sample and only
after that to realize that it will never trace Array :)

Zoli


-Original Message-
From: Merrill, Jason [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 26, 2006 3:03 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Webservices and .NET array serialization

Zoli,

I see now, yes, thanks.  Sorry if that sounded terse, I didn't get what you
meant  to say at first.  

I got it working, I think initially my problem was due to the asynchronous
nature of Webservices - once I fixed the method handlers properly, and
waited for the load, it worked.  The problem was compounded by the fact I am
creating an RIA that edits another Flash presentation, both of which use
Webservices and I needed to be sure they were both ready for the data.  In
sending data back, I also needed to be sure if I create new arrays of
objects, the objects have all the same properties as well, even if they
aren't used since the C# script expects it.

Anyway, hope that helps Stephen or anyone who comes across this in the
archives.
  
Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 


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

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


RE: [Flashcoders] Creating a text file on server andemailing attachment

2006-08-30 Thread Paul Steven
Thanks Eric

The code in that link is pretty much what I am using though I have now
managed to get it to send an email with an empty attachment.

I believe the path may be wrong - would I still get the attachment if I have
the wrong path value for the following line of code?

$fileatt = /httpdocs/clients/davehann/order11.txt; // Path to the file  

Thanks

Paul


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Éric
Thibault
Sent: 30 August 2006 18:54
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Creating a text file on server andemailing
attachment

Take a look at http://codewalkers.com/getcode.php?id=231

but not tested!

A+

Paul Steven a écrit :
 I am hoping some kind person will help me figure this one out.

 Making a little app to design t-shirts online and want to allow the user
to
 send the design data to the client via a text file that the client can
then
 load in at their end.

 I have got the code working to create a text file on my server with the
 correct data. I just cannot figure out how to get the PHP to attach this
 file.

 So say the text file is called design1.txt and is located in the same
 folder on my server as the flash movie.

 It is the following code I believe is not working correctly


 Code:


 $newfile = $_POST['filename'];
 $fileatt = $_POST['filename']; // Path to the file 
 $fileatt_type = application/octet-stream; // File Type 
 $fileatt_name = $_POST['filename']; // Filename that will be used for the
 file


 I have even tried hard coding the filename variables as follows.


 Code:


 $fileatt = http://www.mediakitchen.co.uk/clients/davehann/order11.txt;;
 $fileatt_type = application/octet-stream; // File Type 
 $fileatt_name = order11.txt;



 I am really struggling to solve this so would appreciate any help. The
email
 is getting sent ok and the text file is being created on the server but no
 attachment is being sent with the email.

 Thanks

 Paul

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

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

   


-- 
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia
de confidencialidad
http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

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

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

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

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


RE: [Flashcoders] Creating a text file on serverandemailing attachment

2006-08-30 Thread Paul Steven
I think I have cracked it so if anyone is interested here is the code I am
using to find the path

$fileatt = $_SERVER['DOCUMENT_ROOT'] . /clients/davehann/order11.txt;

Only issue now is the email goes straight to my junk folder in Outlook - any
idea why? Something to do with the headers perhaps?

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: 30 August 2006 23:18
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Creating a text file on serverandemailing
attachment

Thanks Eric

The code in that link is pretty much what I am using though I have now
managed to get it to send an email with an empty attachment.

I believe the path may be wrong - would I still get the attachment if I have
the wrong path value for the following line of code?

$fileatt = /httpdocs/clients/davehann/order11.txt; // Path to the file  

Thanks

Paul


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Éric
Thibault
Sent: 30 August 2006 18:54
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Creating a text file on server andemailing
attachment

Take a look at http://codewalkers.com/getcode.php?id=231

but not tested!

A+

Paul Steven a écrit :
 I am hoping some kind person will help me figure this one out.

 Making a little app to design t-shirts online and want to allow the user
to
 send the design data to the client via a text file that the client can
then
 load in at their end.

 I have got the code working to create a text file on my server with the
 correct data. I just cannot figure out how to get the PHP to attach this
 file.

 So say the text file is called design1.txt and is located in the same
 folder on my server as the flash movie.

 It is the following code I believe is not working correctly


 Code:


 $newfile = $_POST['filename'];
 $fileatt = $_POST['filename']; // Path to the file 
 $fileatt_type = application/octet-stream; // File Type 
 $fileatt_name = $_POST['filename']; // Filename that will be used for the
 file


 I have even tried hard coding the filename variables as follows.


 Code:


 $fileatt = http://www.mediakitchen.co.uk/clients/davehann/order11.txt;;
 $fileatt_type = application/octet-stream; // File Type 
 $fileatt_name = order11.txt;



 I am really struggling to solve this so would appreciate any help. The
email
 is getting sent ok and the text file is being created on the server but no
 attachment is being sent with the email.

 Thanks

 Paul

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

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

   


-- 
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia
de confidencialidad
http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

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

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

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

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

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

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


[Flashcoders] [JOB] Flash Programmer, Boulder, CO | 90-100k | Paid Relo

2006-08-30 Thread Beau Gould
Flash Programmer, Boulder, CO | 90-100k | Paid Relo

My client is looking for talented, innovative Actionscript programmers
to develop sophisticated Flash-based web, mobile, and standalone
applications. A candidate for this position thrives in a creative,
idea-driven culture and has a passion for developing groundbreaking
interactive work. It's great opportunity to work on projects for leading
brands, including, Volkswagen, Miller Lite, Burger King, Slim Jim, and
Virgin Airlines.

Requirements:
* Expertise with OOP programming techniques and RIA/SOA architecture. 
* An innovative, hacker mentality, and an interest in experimenting with
new technologies. 
* Experience developing games and data driven applications. 
* Must work well in a team-oriented, collaborative environment. 
* Meticulous attention to detail when working with designers on motion
graphics, video, and sound assets. 
* An obsession for high-quality, on-time deliveries. 
* Experience with wide range of internet technologies, including, Flash
Remoting, Flash communication server, XML, JavaScript, and HTML. 
* Knowledge of how to make things work across various OS and browser
platforms. 

If you are interested in this position and would like to hit the slopes
of Boulder, CO this winter, please submit your resume, salary
requirements, and a paragraph (or two) highlighting your
skills/experience as it pertains to this job to
[EMAIL PROTECTED]

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

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


Re: [Flashcoders] setSelection() with TextInput?

2006-08-30 Thread Haikal Saadh
Aha! That gives me an idea... I might try using doLater(), a method 
available to components and see if that works.


Thanks for the tip.

David Baldeschwieler wrote:

Hi Haikal,

I've just been doing exactly the same thing for the past day - beating 
my head against the wall for this same reason.  I am not working with 
any components, but trying to use setSelection within a class to 
select text in a text field nested within a movieClip - and getting 
the same non-result.  Infuriating.


So, what I finally came up with that is a lame hack but seems to work 
is using a setInterval to call setSelection a tenth of a second 
later.  So basically it's this:



class myClass
{

... (var declarations, constructor, etc.) ...

private function onMouseUp ():Void
{
clearInterval(selectionRunner);

selectionRunner = setInterval(this, selectString, 10);
}


private function selectString ()
{
clearInterval(selectionRunner);

Selection.setFocus(myField_txt);

Selection.setSelection(0, myField_txt.text.length);
}

...  (mode methods, etc.) ...

}


If anyone else has a better solution (or even better, an explanation 
why this problem occurs in the first place) I'd love to hear it.


Cheers,
-DB



Hi all.

I've been beating my head against the wall for a bit, trying to get 
Selection.setSelection() to work inside a component.


I've got this code, inside a component which happens to contain a 
TextInput:


private function focusIn(){
   trace(answer_ti.text + ] received focus);
   answer_ti.setFocus();
   Selection.setSelection(0, answer_ti.text.length);
   }

Which gets runs when answer_ti fires a focusIn event. This just 
doesn't seem to work... the trace statement comes up, but I can't see 
the selection change.


Is there anything I've overlooked? I tried to use Delegate for event 
handling, but it didn't make a difference.


Thanks.

--
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

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

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


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

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


--
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

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

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


Re: [Flashcoders] jigsaw performance issue

2006-08-30 Thread Guntur N. Sarwohadi


It seems you're being unnecessarily complicated here. Why take the pieces,
move piece A, remove piece A from the group and then move all the rest?
I'd
do it all in one loop.



I thought I needed that approach because how would the group know what piece
is being moved and how would the other pieces in the group know which to
move from? If I just tell the group to move according to current mouse
location, all the pieces in the group will position itself to the mouse
coordinates, not by where it should be located by the moved piece.. If you
have a better solution, I'm happy to hear from you :)

As for the source of your problem, I'm guessing it's

because the mouse moves while the loop is running. Try storing the _xmouse
and _ymouse properties at the start of the loop.



within or before the onEnterFrame event? If before, how would I tell the
group the current position I want them to be? I mean, I think it's obvious I
need to loop _xmouse  _ymouse properties, right? If within, wouldn't it be
too redundant to store _xmouse + _ymouse properties into a variable before
processing it?

Sorry for my stupidity here, and thanks for the help :)

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

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


[Flashcoders] Breeze Meeting Sync SWF SDK Contest

2006-08-30 Thread Fang Chang
Breeze Meeting Sync SWF SDK Contest

 

Announcing the Sync SWF SDK contest for our Flash developer community!
With the Breeze Meeting Sync SWF SDK, Adobe has enabled developers to
create custom collaborative applications, using a set of easy-to-use
ActionScript APIs. As adoption of Breeze rises, more and more customers
are asking for specialized content and applications that fit within the
real-time collaboration framework Breeze already offers.

 

The SDK allows Flash developers to extend the functionality of Breeze
Meeting by synchronizing Flash-based multi-user applications and content
so that meeting attendees can collaborate on them in real-time.
Developers can leverage this SDK to create interactive learning
simulations, product demonstrations, sales ROI calculators, financial
modeling, or interactive ice-breakers, to name a few examples, for use
by general meeting organizers.

 

We want to get you, our development community, involved with this
technology -- it's the biggest innovation in real-time collaboration
since screen-sharing.  Using the new Breeze Exchange
(http://www.adobe.com/go/breeze_exchange), you can now post their Sync
SWF creations for others to try and/or buy.

 

To celebrate this exciting news, we are running a contest in which four
(4) $5,000 USD prizes will be given away.  Winners will be announced at
Adobe MAX (http://www.adobe.com/events/max) in October, included in
Breeze customer communications, and featured on adobe.com.  The contest
is open to developers in the US, Canada, UK, Australia, Brazil,
Netherlands, and Japan.  For full contest details, please see
http://www.adobe.com/devnet/breeze/articles/sync_swf_contest.html.

 

I am looking forward to your exciting creations and entries!!!

 

Sincerely,

Fang Chang

Product Manager, Breeze

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

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


Re: [Flashcoders] Stylesheet Formatting of Default Tags

2006-08-30 Thread GregoryN
 === Joseph Balderson wrote:
 You may be right. It could also be a simple limitation of how the HTML 
 parser links up to the CSS parser. Still, it would be good to know why 
 certain tags are redefinable by CSS and some are not, so at least I 
 could figure out if there's a fix by extending some class or other.

As far as I can judge, all these are deep inside Flash Player - no way
to fix, just work-around...


 On another note, I wish the HTML parser was inherited from the XML class 
 so it could be extended. Built into the player as it is means rebuilding 
   the parser from the ground up just to add functionality, and who's got 
 time for that?

Yeah, I wish the same.
Right now I have a task to build CSS-based text editor in Flash, so I
have to work with strings and use tricks to apply them to textfields.

In general, HTML text in flash is quite misterious  thing :-)


  

-- 
Best regards,
 GregoryN

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

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

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


Re: [Flashcoders] TextFormat Font Face = 'Wingdings' or 'Webdings'

2006-08-30 Thread GregoryN

It's Wingdings on my machine...  And works well.

Try to embed it into some textfield on the stage and then trace font
name.
Also, you can check for usual mistakes: missed semicolon (;-), not applied
TextFormat etc.
  

-- 
Best regards,
 GregoryN

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


 === Merrill, Jason wrote:
 I'm building a text editor in Flash as part of my application and came
 across a bit of a head scratcher for applying the Wingdings and Webdings
 fonts to an HTML Textfield.  The following works fine:
 
 testFormat = new TextFormat();
 testFormat.font = Arial
 test_txt.html = true;
 test_txt.htmlText = Hello;
 test_txt.setTextFormat(testFormat)
 
 However, I can't figure how to get Wingdings or Webdings to work in the
 8 player. None of the following work when substituting for line 2 of the
 code above:
 
 testFormat.font = Wing Dings
 testFormat.font = WingDings
 testFormat.font = Wingdings
 testFormat.font = wingdings
 testFormat.font = Webdings
 testFormat.font = WebDings
 testFormat.font = Web dings
 testFormat.font = webdings
 
 ??  
 
 Even applying those fonts directly in the IDE to the textfield doesn't
 work.  Does the HTML rendering/ TextFormat Class in the Flash 8 player
 not support Webdings or Wingdings?  They are standard windows fonts, I
 have them installed as well as my users, and those faces work in normal
 HTML.  What gives - or am I just using the wrong keywords for the face
 value of each font?


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

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