Re: [Flashcoders] Database modeling for AS projects

2006-03-22 Thread Honeyghan
FYI,

DBDesigner4 is built with Kylix so you'll need a few libs for the Linux
version which are not distributed with the application.

For those of you that are having difficulty installing please reference
below:
extract DBDDesigner4.0.5.4.tar.gz to dir of choice

extract kylixlibs3-borqt-3.0-2.tar.gz and ./install
(located here:
http://prdownloads.sourceforge.net/kylixlibs/kylixlibs3-borqt-3.0-2.tar.gz?download
)

create a symlink:
ln -s /usr/lib/kylix3/libborqt-6.9.0-qt2.3.so /usr/lib/DBDesigner4/libborqt-
6.9-qt2.3.so

run ./startdbd in the extracted DBDesigner4 dir


NOTE:

if app does not start check the ~/.DBDesigner4 for DBD4.log for any errors

if errors with libstdc++-libc6.2-2.so.3 arise
search the package repository pertaining to your flavor of Linux containing
libstdc++-libc6.2-2.so.3
-OR-
apt-get install libstdc++2.10-glibc2.2



Stay well,
Honeyghan


On 3/21/06, Ron Wheeler [EMAIL PROTECTED] wrote:



 Honeyghan wrote:
  I've been doing some research on various modeling tools which would
 enable
  me to easily model databases for future flash projects. Came across two
 very
  interesting solutions which should be on your radar.
 
  My requirements are as follows:
 
  1. Feature rich, stable application which allows reverse engineering of
  existing database.
  2. Compatibility with MySQL databases and Linux.
  3. Ability to generate SQL statements directly from diagrams.
  4. Exporting diagrams as an image and or printing is a must.
  5. Uses open standards which allow me to utilize output in other
  applications.
  6. Allow easy navigation of the entire database scheme, which includes
  finding and navigating to specified table.
  7. Minimal cost.
 
 
 
  Solution 1:
  DBDesigner4 from fabFORCE.net
  (http://www.fabforce.net/dbdesigner4/)
 
  Fits in-line with all of the above and more. While I do wish that there
 was
  an add-on to Eclipse. It's interface is stable offers ease of use, by
 far a
  very powerful application which will save me time during the planning
 phase
  of extensive projects. DBDesigner4 is also available for the Windows
  platform and is GNU Licensed.
 
 
  Solution 2:
  Azzurri Clay from Azzurri Ltd.
  (http://www.azzurri.jp/en/index.jsp)
 
  Another gem which is a native plug-in for Eclipse. Azzurri Clay
 available in
  either Core or Pro version, Core being free and Pro costing 35,000 YEN
 --
  about $300 give or take. Sadly to say the Pro version is apparently no
  longer available for sale outside of Japan according to their english
  website.
 
  While the Core version isn't as feature rich as DBDesigner4, it's worth
  mentioning if your needs are basic. One thing I found limiting is that
 there
  is no export to image which is important if working in a team
 environment.
 
  Clay Core supports additional databases besides MySQL such as
 PostgreSQL,
  however, there is no SQL Sever support. As a plug-in for Eclipse it's
  available on all Java enabled platforms.
 
 
 
 
  Stay well,
  Honeyghan
 
 

 Eclipse plug-ins

 DB Visual ARCHITECT, Object Relational Mapping Tool,  a bit more expensive
 http://www.visual-paradigm.com/product/dbva/

 Eclipse SQLExplorer plugin
 http://sourceforge.net/projects/eclipsesql

 A tutorial on how to start database modelling with Eclipse, SQLExplorer
 and Clay.
 http://www-128.ibm.com/developerworks/edu/os-dw-os-ecldbint-i.html

 Ron
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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: Re[5]: [Flashcoders] AS2 Vs. AS1

2006-03-22 Thread stone larsen
It traces out the email to send



--- [EMAIL PROTECTED] wrote:

 You need to copy the code he gave you - put it in an
 as file, make a
 movieclip with the assets he stated and bind it in
 the library to the
 class via the linkage properties (AS2 class).
 
 As for your previous post - what do you mean by
 traced out okay. What
 exactly traced out? Can you trace the variable you
 are looking for
 success?
 
  Ivan,
 
  I'm etting an error on the class says it needs
 to be
  external?
 
 
  --- Iv [EMAIL PROTECTED] wrote:
 
  Hello stone,
 
  - yes. a little trick needed:
 
  import mx.utils.Delegate;
 
  class EmailForm extends MovieClip {
 
private var submit_btn:Button;
private var new_lv : LoadVars;
private var email : TextField;
// private var request_url : String =
  emailSubmit.php;
private var request_url : String =
  emailSubmit.txt;
 
 
private function EmailForm () {
  this.submit_btn.onRelease =
  Delegate.create(this, this.onReleaseHandler);
}
 
private function onReleaseHandler() : Void {
  this.sendEmail();
}
 
private function sendEmail() : Void {
  trace(sendEmail+this);
  var lv:LoadVars = new LoadVars();
  this.new_lv = new LoadVars();
  lv[email] = this.email.text;
  this.new_lv.onData =
 Delegate.create(this,
  this.getResponse);
  lv.sendAndLoad(this.request_url,
  this.new_lv);
  // , POST
}
 
private function getResponse
  (loaded_data:String):Void {
  if (loaded_data == null) {
trace(Error);
return;
  }
 
 trace(EmailForm.getResponse(+[arguments]+));
  // trick
  var lv:LoadVars = new LoadVars();
  lv.onData(loaded_data);
  for (var i : String in lv) {
trace(i+=+lv[i]);
  }
}
 
  }
 
  --
  Ivan Dembicki
 
 


  [EMAIL PROTECTED] |
   | http://www.design.ru
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the
  archive:
 
 

http://chattyfig.figleaf.com/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!?
  Tired of spam?  Yahoo! Mail has the best spam
  protection around
  http://mail.yahoo.com
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.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
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the
 archive:

http://chattyfig.figleaf.com/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!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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


[Flashcoders] Leave my HTML alone

2006-03-22 Thread Danny Kodicek

Is there any way to prevent this:
P ALIGN=LEFTThe mass number of an atom is the number of protons plus the 
number of neutrons. You can write the symbol for an atom like this: FONT 
COLOR=#FFA HREF=event:atomClick 1 TARGET=Ult;4/2 
Hegt;/U/A /FONT ./PP ALIGN=LEFTThe mass number is on top/PP 
ALIGN=LEFTThe proton number is below/PP ALIGN=LEFT /P 
ALIGN=LEFTComplete the table:/P


being rendered as this?:
TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Arial SIZE=12 
COLOR=#00 LETTERSPACING=0 KERNING=0The mass number of an atom is 
the number of protons plus the number of neutrons. You can write the symbol 
for an atom like this: FONT COLOR=#FFA HREF=event:atomClick 1 
TARGET=Ult;4/2 Hegt;/U/A /FONT .FONT 
COLOR=#FF/FONT/FONT/P/TEXTFORMATTEXTFORMAT LEADING=2P 
ALIGN=LEFTFONT FACE=Arial SIZE=12 COLOR=#00 LETTERSPACING=0 
KERNING=0The mass number is on topFONT 
COLOR=#FF/FONT/FONT/P/TEXTFORMATTEXTFORMAT LEADING=2P 
ALIGN=LEFTFONT FACE=Arial SIZE=12 COLOR=#00 LETTERSPACING=0 
KERNING=0The proton number is belowFONT 
COLOR=#FF/FONT/FONT/P/TEXTFORMATTEXTFORMAT LEADING=2P 
ALIGN=LEFTFONT FACE=Arial SIZE=12 COLOR=#00 LETTERSPACING=0 
KERNING=0Complete the table:FONT 
COLOR=#FF/FONT/FONT/P/TEXTFORMAT


In particular, I have no idea why empty FONT COLOR=#FF tags are 
being added at the end of every paragraph, and why my empty paragraph P 
ALIGN=LEFT / has been dropped altogether. I don't mind the extra 
textformat tags (and I can work around the empty font tags, although they're 
in the way), but dropping a paragraph is serious. More to the point, this is 
dynamic text entered by the user, so it needs to work *whatever* they enter.


(Oh, and in case you were wondering, yes, I do need to manually set the 
hyperlink to blue and underlined: it's not happening by itself and CSS 
didn't have any effect)


Danny 


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

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


Re: [Flashcoders] Why is my setInterval only firing once ...

2006-03-22 Thread [EMAIL PROTECTED]

nInterval = setInterval(tweenClip, 50);

should be:

nInterval = setInterval(tweenClip, 50);




Stephen Ford wrote:

I have a setInterval call that is only firing once.
 
Here is the part of my class where it's occuring:
 
---

public function repositionClip():Void{ nWidth = Math.round(Stage.width);
 nHeight = Math.round(Stage.height);
 nMidX = nStageWidth/2;
 nMidY = nStageHeight/2;
 
 mcMain._x = nMidX; mcMain._y = nMidY;
 
 nInterval = setInterval(tweenClip, 50);

}
 
public static function tweenClip():Void{ trace(function called: tweenClip());}

---
 
Can anyone advise as to what is happening here ?
 
Thanks,

Stephen.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Re[5]: [Flashcoders] AS2 Vs. AS1

2006-03-22 Thread stone larsen
Ivan and Stacey,

Thanks for your help on my AS1 to AS2 issue.

again, much thanks, got it figured out with your help.

-S

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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] Protecting Shared Objects

2006-03-22 Thread Sam Thorne
Just as long as you document it somewhere or off the option to  
uninstall, so that when someone actually is deleting things for a  
good reason, they can be sure they really are removing the whole  
application, including the archiver and it's backup.



John Mark Hawley schrieb:
I'm working on a CD product that needs to store a lot of data  
locally for easy lookup. Before your eyes glaze over and you point  
me at Zinc, know that this poor little product needs to run on OS  
9, OSX, and Windows. Zinc doesn't do OS 9.
But, aha, local shared objects! We can use them! Sure we can, but  
then there's a problem that some wiseguy could wipeout our entire  
database by clicking around in the Flash plugin settings for a good  
long time.
So: the tentative plan says we could run a little executable via an  
fscommand at startup that checks to see if the LSO's are in good  
order, and archives them elsewhere if so. If they've been hosed,  
the little executable would un-archive the last backup and put them  
back in the right location.
This sounds a little a rinky-dink, but it seems a heck of a lot  
easier than wrestling with a custom director wrapper and a real  
database. Just how icky does this sound to everyone? Anyone ever  
attempt something similar?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Why is my setInterval only firing once ...

2006-03-22 Thread A.Cicak
how it fired even once in that case?!

[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 nInterval = setInterval(tweenClip, 50);

 should be:

 nInterval = setInterval(tweenClip, 50);




 Stephen Ford wrote:
 I have a setInterval call that is only firing once.
  Here is the part of my class where it's occuring:
  
 ---
 public function repositionClip():Void{ nWidth = 
 Math.round(Stage.width);
  nHeight = Math.round(Stage.height);
  nMidX = nStageWidth/2;
  nMidY = nStageHeight/2;
  mcMain._x = nMidX; mcMain._y = nMidY;
  nInterval = setInterval(tweenClip, 50);
 }
  public static function tweenClip():Void{ trace(function called: 
 tweenClip());}
 ---
  Can anyone advise as to what is happening here ?
  Thanks,
 Stephen.___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Re: Why is my setInterval only firing once ...

2006-03-22 Thread Pranav

class flashCoders {
   var nInterval;
   public function flashCoders() {
   repositionClip();
   }
   private function repositionClip():Void {
   nInterval = setInterval(tweenClip, 50);
   }
   public static function tweenClip():Void {
   trace(TweenClip);
   }
}


this code works for me, so i dint find anything wroing in your code 
may be there is somethign conflicting in your code ?


try the above given code, if that also dosent works for you let me 
know .


Pranav

A.Cicak wrote:

how it fired even once in that case?!

[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
  

nInterval = setInterval(tweenClip, 50);

should be:

nInterval = setInterval(tweenClip, 50);




Stephen Ford wrote:


I have a setInterval call that is only firing once.
 Here is the part of my class where it's occuring:
 
---
public function repositionClip():Void{ nWidth = 
Math.round(Stage.width);

 nHeight = Math.round(Stage.height);
 nMidX = nStageWidth/2;
 nMidY = nStageHeight/2;
 mcMain._x = nMidX; mcMain._y = nMidY;
 nInterval = setInterval(tweenClip, 50);
}
 public static function tweenClip():Void{ trace(function called: 
tweenClip());}

---
 Can anyone advise as to what is happening here ?
 Thanks,
Stephen.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] referencing my main movieclip in a movie clip that is above(i think)

2006-03-22 Thread Roman Blöth

Jose Maria Barros schrieb:

Hello Roman.

I tried this in my swf B:

this._parent.animBotoes_mc.gotoAndStop(link);

but...it doesnt work...
so is animBotoes_mc the parent? Then you can't write it like above, 
since animBotoes_mc does not contain animBotoes_mc, I assume...



Regards,
Roman.

--

---
gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
---

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Why is my setInterval only firing once ...

2006-03-22 Thread [EMAIL PROTECTED]

sorry, i thought the problem was you using:

tweenClip()

which would execute it straight away..


A.Cicak wrote:

how it fired even once in that case?!

[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

nInterval = setInterval(tweenClip, 50);

should be:

nInterval = setInterval(tweenClip, 50);




Stephen Ford wrote:

I have a setInterval call that is only firing once.
 Here is the part of my class where it's occuring:
 
---
public function repositionClip():Void{ nWidth = 
Math.round(Stage.width);

 nHeight = Math.round(Stage.height);
 nMidX = nStageWidth/2;
 nMidY = nStageHeight/2;
 mcMain._x = nMidX; mcMain._y = nMidY;
 nInterval = setInterval(tweenClip, 50);
}
 public static function tweenClip():Void{ trace(function called: 
tweenClip());}

---
 Can anyone advise as to what is happening here ?
 Thanks,
Stephen.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] referencing my main movieclip in a movie clip that is above(i think)

2006-03-22 Thread Jose Maria Barros
I have A.swf that have a movieclip instance named animBotoes_mc in the
root. Inside this instace i have two things: the variable myvar , and the
empty movieclip that haves the B.swf.

I want to access from B.swf the variable myvar..

Sorry if i didnt make you understand..

On 3/22/06, Roman Blöth [EMAIL PROTECTED] wrote:

 Jose Maria Barros schrieb:
  Hello Roman.
 
  I tried this in my swf B:
 
  this._parent.animBotoes_mc.gotoAndStop(link);
 
  but...it doesnt work...
 so is animBotoes_mc the parent? Then you can't write it like above,
 since animBotoes_mc does not contain animBotoes_mc, I assume...


 Regards,
 Roman.

 --

 ---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
 t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
 ---

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] writing a xml file directly from flash 8

2006-03-22 Thread Matt Muller
Is this possible, or can someone suggest a solution here?

Thanks

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

2006-03-22 Thread Dennis Roche
ok. have you tested the php without flash - in a browser with a form or
hardcoded values? writing a file... does the directory have write access?
is the variable defined? test if... wait i see a possible problem. scope
issue.

myVars.onLoad = function() {
   if (this.verify == success) {
   email_txt.text = Data Saved;
   } else {
   email_txt.text = Failed Save;
   }
};

inside the onLoad function you can use this instead of myVars... not sure
its thats you problem could be just good pratice.
another thing you can do is check the if the variable verify is defined (
this.verify == undefined) . i think that could be the main issue. check you
php! remove the  as verify is your first variable and probably remove the
last as you don't need it unless you are declaring another variable.

?php
$userEmail = $_POST['userEmail'];
$add = $userEmail;
$open = fopen('emails.txt', 'a');
$write = fwrite($open, $add);

if($write) {
   echo verify=success;
} else {
   echo verify=fail;
}
?

give it a go. sometimes it takes another person
to look at your code. peer review is great.



On 21/03/06, stone larsen [EMAIL PROTECTED] wrote:

 Can someone please lend a hand, might be staring to
 long at the screen. This is suppose to write to a .txt
 file, all I get is failed.

 ok, this is the AS.

 var serverLang:String = php;
 var myVars:LoadVars = new LoadVars();
 myVars.onLoad = function() {
 if (myVars.verify == success) {
 email_txt.text = Data Saved;
 } else {
 email_txt.text = Failed Save;
 }
 };
 submit_btn.onRelease = function() {
 if (!email_txt.length || email_txt.indexOf(@) == -1
 || email_txt.indexOf(.) == -1) {
 email_txt.text = Invalid Email.;
 } else {
 myVars.userEmail = email_txt.text;
 myVars.sendAndLoad(writeToFile.+serverLang,
 myVars, POST);
 }
 };

 php for the app:

 ?php
 $userEmail = $_POST['userEmail'];
 $add = $userEmail;
 $open = fopen('emails.txt', 'a');
 $write = fwrite($open, $add);

 if($write) {
 echo verify=success;
 } else {
 echo verify=fail;
 }
 ?

 PLEASE, some assistance.

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.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




--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] writing a xml file directly from flash 8

2006-03-22 Thread Dennis Roche
no. sorry.

you need to use a server using loadVars
otherwise check out xml.send or xmlsocket

On 22/03/06, Matt Muller [EMAIL PROTECTED] wrote:

 Is this possible, or can someone suggest a solution here?

 Thanks

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

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




--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] writing a xml file directly from flash 8

2006-03-22 Thread Eskil Janson

Yes,

If you have Flash, check  XML.createTextNode() section of your Flash 
help (Actionscript  classes) , else

yes it is possible, and often used.

Regards

/Eskil

Matt Muller skrev:

Is this possible, or can someone suggest a solution here?

Thanks

MaTT
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] writing a xml file directly from flash 8

2006-03-22 Thread Arul Prasad
Well, how would u create a CDATA node? I've once had a requirement to do
that, but couldnt see any solutions...

~Arul Prasad

On 3/22/06, Eskil Janson [EMAIL PROTECTED] wrote:

 Yes,

 If you have Flash, check  XML.createTextNode() section of your Flash
 help (Actionscript  classes) , else
 yes it is possible, and often used.

 Regards

 /Eskil

 Matt Muller skrev:
  Is this possible, or can someone suggest a solution here?
 
  Thanks
 
  MaTT
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] writing a xml file directly from flash 8

2006-03-22 Thread Eskil Janson
Sorry, to fast on the button, no, as stated earlier, but if you want to 
write to a server, you can use XML.send, and use

e.g php on the serverside, to write the XML

/Eskil

Matt Muller skrev:

Is this possible, or can someone suggest a solution here?

Thanks

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

2006-03-22 Thread John Mark Hawley
The program does have an installer and uninstaller, so leaving things 
behind shouldn't be a problem. I'm surprised no one else shares my 
co-workers' willies -- everyone is scared of doing something as silly as 
relying on souped-up cookies to implement a database.


-Make Hawley

Sam Thorne wrote:
Just as long as you document it somewhere or off the option to 
uninstall, so that when someone actually is deleting things for a good 
reason, they can be sure they really are removing the whole 
application, including the archiver and it's backup.



John Mark Hawley schrieb:
I'm working on a CD product that needs to store a lot of data locally 
for easy lookup. Before your eyes glaze over and you point me at 
Zinc, know that this poor little product needs to run on OS 9, OSX, 
and Windows. Zinc doesn't do OS 9.
But, aha, local shared objects! We can use them! Sure we can, but 
then there's a problem that some wiseguy could wipeout our entire 
database by clicking around in the Flash plugin settings for a good 
long time.
So: the tentative plan says we could run a little executable via an 
fscommand at startup that checks to see if the LSO's are in good 
order, and archives them elsewhere if so. If they've been hosed, the 
little executable would un-archive the last backup and put them back 
in the right location.
This sounds a little a rinky-dink, but it seems a heck of a lot 
easier than wrestling with a custom director wrapper and a real 
database. Just how icky does this sound to everyone? Anyone ever 
attempt something similar?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


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

2006-03-22 Thread Danny Kodicek



The program does have an installer and uninstaller, so leaving things
behind shouldn't be a problem. I'm surprised no one else shares my 
co-workers' willies -- everyone is scared of doing something as silly as 
relying on souped-up cookies to implement a database.


I shared your co-workers' willies, but that was years ago and no one could 
prove it.


Danny 


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

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


Re: [Flashcoders] writing a xml file directly from flash 8

2006-03-22 Thread Matt Muller
Thanks, its for a desktop app, so i've been looking at zinc which seems to
do the job.

On 3/22/06, Eskil Janson [EMAIL PROTECTED] wrote:

 Sorry, to fast on the button, no, as stated earlier, but if you want to
 write to a server, you can use XML.send, and use
 e.g php on the serverside, to write the XML

 /Eskil

 Matt Muller skrev:
  Is this possible, or can someone suggest a solution here?
 
  Thanks
 
  MaTT
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] _global is _global or what?

2006-03-22 Thread Merrill, Jason
That might be it, it does contain a component and that's probably
screwing it up since now I remember componets often need more than one
frame to initialize. I'll giver that a shot.  Thanks!

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of keith
Sent: Tuesday, March 21, 2006 8:56 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] _global is _global or what?

Maybe the external swf Clip B did not load in time to read that
variable (in
the brower).
Try making Clip B wait 1 frame worth of time after it is loaded then
read
the variable.

-Keith H-

- Original Message -
From: Merrill, Jason [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, March 21, 2006 6:43 PM
Subject: [Flashcoders] _global is _global or what?


I know it's a personal thing, but I usually try and avoid using
_global
variables (in fact, I use them so little, this is probably why I have
this question), but I found a case where I needed to use them - at
least
temporarily for testing purposes.  Without going in to why I'm using
one
(please don't ask, just humor me :) ), I found a weird behavior I
cannot
explain.

Say clip A is the main _level0 clip where the _global.myVar is
defined.
Clip B is an external .swf references the _global myVar.

When I test my Movie (crtl+Enter) for the main _level0 clipA it loads
clip B in fine and reads the _global variable in fine as well as
expected.  However, when I test the main _level0 clip A in the
browser,
clip B does NOT read the _global variable as it did in the Flash IDE
test mode - it's showing as undefined  - why? I thought _global was
_global in the 'ol grande document level stack? No?

This is true from clip B if I try accessing it via either myVar or
_global.myVar.

Thanks for any insights,

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com




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

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

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

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

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


RE: [Flashcoders] _global is _global or what?

2006-03-22 Thread Merrill, Jason
Two possible things which may cause problems, not sure if it is in
your
case:
1. If the swfs are published to different versions of the flash
player(for
example, a v7 swf and a v6 swf), they won't be able to read each
other's
_global's

No, same version - all Flash 7.

2. If the swf's are in different domains, they may not be able to read
each
other's globals (not completely sure about this), without specifically
allowing the domains using System.security.allowDomain() (in both
directions, A allows B's domain, B allows A's domain)

Same domain- but the .swf is in a subfolder of the domain. 

3. A loading issue? I've had problems where things work offline, but
not
online, due to me not checking if certain resources are completely
loaded
yet. (Yes I know this is vague, but it's a general hint)

I think that's likely the case. Thanks!


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com




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

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


RE: [Flashcoders] writing a xml file directly from flash 8

2006-03-22 Thread Merrill, Jason
You can also use Flash Remoting and ColdFusion as well.  

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







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

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


RE: [Flashcoders] Can't get rid of halo rectangle

2006-03-22 Thread Keith Takayesu
Thanks Nehal, but it didn't work. I wouldn't want it to affect other
buttons on the stage, anyways.

Like I said, the two methods that I've tried don't seem to give
consistent results.

-Original Message-
From: Nehal Gandhi [mailto:[EMAIL PROTECTED] 
Sent: March 22, 2006 12:19 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Can't get rid of halo rectangle


try

Button.prototype.drawFocus = undefined;
-Nehal


On 3/22/06, Keith Takayesu [EMAIL PROTECTED] wrote:

 I'm trying to assign custom icons to a Button dynamically in a custom 
 component. Here is my code snippet:

 mybutton = createClassObject ( Button, mybutton , this.startDepth++,

 {_x:myx ,_y:myy,_width:15.9,_height:14.7, 
 falseOverIcon:btnCalendarViewFalseOverSkin,falseUpIcon:btnCalendarV
 ie
 wFalseUpSkin,falseDownIcon:btnCalendarViewFalseDownSkin,
 falseDisabledIcon:btnCalendarViewFalseDisabledSkin} );

 However, when I compile the Component to a SWF and then instantiate 
 it, the green halo rectangle still appears under all the icons. In 
 fact, it is still active under all of that. This has me baffled, 
 perhaps it's just too late in the day to figure it out.

 2nd problem:
 I have also tried to extend the Button class and apply the icons, as 
 shown in the Advanced Actionscript Components book. Then, I don't have

 the rectangle problem, but the registration seems to be off, and 
 height and width come back as zero!

 Blue Skies,
 Tak
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive: 
 http://chattyfig.figleaf.com/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] referencing my main movieclip in a movie clip that is above(i think)

2006-03-22 Thread Jose Maria Barros
Ok...i've found it...and happy i did..but it was so basic...
Roman, thanks for your help.

Here it is what i wanted:

this._parent.gotoAndStop(this._parent.link);




On 3/22/06, Jose Maria Barros [EMAIL PROTECTED] wrote:

 I have A.swf that have a movieclip instance named animBotoes_mc in the
 root. Inside this instace i have two things: the variable myvar , and the
 empty movieclip that haves the B.swf.

 I want to access from B.swf the variable myvar..

 Sorry if i didnt make you understand..


 On 3/22/06, Roman Blöth [EMAIL PROTECTED]  wrote:
 
  Jose Maria Barros schrieb:
   Hello Roman.
  
   I tried this in my swf B:
  
   this._parent.animBotoes_mc.gotoAndStop(link);
  
   but...it doesnt work...
  so is animBotoes_mc the parent? Then you can't write it like above,
  since animBotoes_mc does not contain animBotoes_mc, I assume...
 
 
  Regards,
  Roman.
 
  --
 
  ---
  gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
  t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
  ---
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] CSS with TextArea

2006-03-22 Thread [EMAIL PROTECTED]

Hi,

I want to apply a CCS on on text in a textArea.

I try:

textStyle= new TextField.StyleSheet();
textStyle.load(style.css);

textArea.setStyle(_style);
but, this don't work!

I want to set a textArea.
but, I get StyleSheet from TextField
I think this is the problem...

Somebody can help me?

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

2006-03-22 Thread Christopher Whiteford
Thanks it did end up being a timing issue.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] How soon do Flashvars become available ?

2006-03-22 Thread Manuel Saint-Victor
When FlashVars are passed into a swf- how soon after the swf starts playing
are they available?  I am wondering if I can immediately grab my Flashvars
and use them as init params or if there is the posibility of a delay?

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

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


RE: [Flashcoders] _global is _global or what?

2006-03-22 Thread Merrill, Jason
Actually, you all of you were right - it was differing versions of the
Flash player.  I thought I was publishing all to Flash 7, but the
external clip was actually Flash 8.  Dumb mistake, thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, March 22, 2006 9:12 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] _global is _global or what?

Two possible things which may cause problems, not sure if it is in
your
case:
1. If the swfs are published to different versions of the flash
player(for
example, a v7 swf and a v6 swf), they won't be able to read each
other's
_global's

No, same version - all Flash 7.

2. If the swf's are in different domains, they may not be able to
read
each
other's globals (not completely sure about this), without
specifically
allowing the domains using System.security.allowDomain() (in both
directions, A allows B's domain, B allows A's domain)

Same domain- but the .swf is in a subfolder of the domain.

3. A loading issue? I've had problems where things work offline, but
not
online, due to me not checking if certain resources are completely
loaded
yet. (Yes I know this is vague, but it's a general hint)

I think that's likely the case. Thanks!


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com




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

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

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


Re: [Flashcoders] Can't get rid of halo rectangle

2006-03-22 Thread Karthik
On 22/03/06, Keith Takayesu [EMAIL PROTECTED] wrote:
 Thanks Nehal, but it didn't work. I wouldn't want it to affect other
 buttons on the stage, anyways.

 Like I said, the two methods that I've tried don't seem to give
 consistent results.

try:

instance_name.drawFocus = null; // -- This is a hack btw.

or delete/set to undefined I guess.

I don't remember whether this is applicable, but if you're using a
custom skin, then you could/should also check out the RectBorder
class.

hth,
-K
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] CSS with TextArea

2006-03-22 Thread Karthik
 textStyle= new TextField.StyleSheet();
 textStyle.load(style.css);

 textArea.setStyle(_style);
 but, this don't work!

What is _style? You should be using textStyle. The docs have a working
example btw. You probably shouldn't be using reserved words
(regardless of case) for instance names. Typing everything won't be a
bad thing either :)

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

2006-03-22 Thread Jim Berkey

I use this with good success:
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
/**/
//load css
myStyle = new TextField.StyleSheet();
myStyle.load(fla.css);
myText.styleSheet = myStyle;


- Original Message - 
From: [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 22, 2006 9:43 AM
Subject: [Flashcoders] CSS with TextArea



Hi,

I want to apply a CCS on on text in a textArea.

I try:

textStyle= new TextField.StyleSheet();
textStyle.load(style.css);

textArea.setStyle(_style);
but, this don't work!

I want to set a textArea.
but, I get StyleSheet from TextField
I think this is the problem...

Somebody can help me?

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

2006-03-22 Thread Rodrigo Schramm

thanks

Jim Berkey wrote:


I use this with good success:
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
/**/
//load css
myStyle = new TextField.StyleSheet();
myStyle.load(fla.css);
myText.styleSheet = myStyle;


- Original Message - From: [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 22, 2006 9:43 AM
Subject: [Flashcoders] CSS with TextArea



Hi,

I want to apply a CCS on on text in a textArea.

I try:

textStyle= new TextField.StyleSheet();
textStyle.load(style.css);

textArea.setStyle(_style);
but, this don't work!

I want to set a textArea.
but, I get StyleSheet from TextField
I think this is the problem...

Somebody can help me?

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

2006-03-22 Thread Rodrigo Schramm

Ops...

_style = textStyle.


Karthik wrote:


textStyle= new TextField.StyleSheet();
textStyle.load(style.css);

textArea.setStyle(_style);
but, this don't work!
   



What is _style? You should be using textStyle. The docs have a working
example btw. You probably shouldn't be using reserved words
(regardless of case) for instance names. Typing everything won't be a
bad thing either :)

hth
-K
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] How soon do Flashvars become available ?

2006-03-22 Thread Robert Chyko
You can use them right away.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manuel
Saint-Victor
Sent: Wednesday, March 22, 2006 9:49 AM
To: Flashcoders mailing list
Subject: [Flashcoders] How soon do Flashvars become available ?


When FlashVars are passed into a swf- how soon after the swf starts
playing
are they available?  I am wondering if I can immediately grab my
Flashvars
and use them as init params or if there is the posibility of a delay?

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Help a newbie - loadmovie dynamically determined

2006-03-22 Thread tstalker
I'm new to Flash. I'm developing a CD-ROM using swf files, loadmovie, menubars
and comboboxes. Everything is going well but if I could find a solution this
question I could finish my project. Here's my setup

main.swf - loading holder.swf - loading content.swf files (many). In main.swf
I have a menubar component generating the main menu for the app. In order to
keep file numbers down I'm wanting to link to a holder.swf file with an empty
mc to load content files into based on the request that comes from main.swf's
menu. In html it's like checking for an http referrer and then delivering
different pages. I have about 75 products that I'm creating content files for,
each with custom menus for accessories, research papers etc. I'd like these
files to load into the holder.swf based on the request that comes from
different menu link instances in the menubar component in main.swf. Is this
possible or can someone help me out?

I need to do something like below within holder.swf but I'm not sure how to take
a look at and check the menubar instances in main.swf from holder.swf. The data
for the menu and instances is loading in with XML so each link has an instance
name:

if(_root.evt.target.myMenuBar.instanceName == product_open_04){
loadMovie(products/7500.swf, empty_mc);
}

Loop through these instances and then using switch and case load up the right
movie based on the menuItem instanceName in main.swf.

Please, any help would be great. And if I can supply any more info let me know.

Tim

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] How soon do Flashvars become available ?

2006-03-22 Thread Janis Radins
flashVars are loaded before first frame, get vars start to in first frame


2006/3/22, Robert Chyko [EMAIL PROTECTED]:

 You can use them right away.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Manuel
 Saint-Victor
 Sent: Wednesday, March 22, 2006 9:49 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] How soon do Flashvars become available ?


 When FlashVars are passed into a swf- how soon after the swf starts
 playing
 are they available?  I am wondering if I can immediately grab my
 Flashvars
 and use them as init params or if there is the posibility of a delay?

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

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] while

2006-03-22 Thread Laurent CUCHET
Good morning, 

1) I  create dynamic textfield with while option
I try to create dynamic border and content without success

Have you got a tips to done it

Thank you

/
var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=99) {
dtd = var+dt;
spa = dt*5;
spa1 = (dt*15)+45;
_root.createTextField(dtd, dt, 0, spa1, 100, 15);
dtd.text=spa1;
dtd.border=true;
dtd.selectable=false;
dt++;
}



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

2006-03-22 Thread Danny Kodicek



Good morning,

1) I  create dynamic textfield with while option
   I try to create dynamic border and content without success

Have you got a tips to done it

Thank you

/
var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=99) {
   dtd = var+dt;
   spa = dt*5;
   spa1 = (dt*15)+45;
   _root.createTextField(dtd, dt, 0, spa1, 100, 15);
   dtd.text=spa1;
   dtd.border=true;
   dtd.selectable=false;
   dt++;
}


You got loads of answers to this already, but anyway: dtd is a string. If 
you want to refer to it as an object reference, try


dtdObj=_root.createTextField(dtd, dt, 0, spa1, 100, 15);
dtdObj.text=spa1;
dtdObj.border=true;
dtdObj.selectable=false;


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] Global search-and-replace for Linkage/Component Definition?

2006-03-22 Thread Keith Takayesu
Is there a tool out there that can perform a global search-and-replace
for Linkages and Component definitions?

We are running into the 64 character limitation on Component Definition
class paths, so we have decided to shorten our base path.

Ideas?

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

2006-03-22 Thread Paul BH
also, bear in mind that prior to flash 8, createTextField returned
nothing, so following on from Dannys:

_root.createTextField(dtd, dt, 0, spa1, 100, 15);
dtdObj = _root[dtd];
dtdObj.text=spa1;
dtdObj.border=true;
dtdObj.selectable=false;

On 3/22/06, Danny Kodicek [EMAIL PROTECTED] wrote:

  Good morning,
 
  1) I  create dynamic textfield with while option
 I try to create dynamic border and content without success
 
  Have you got a tips to done it
 
  Thank you
 
  /
  var dtd;
  var spa;
  var spa1;
  var dt = 0;
  while (dt=99) {
 dtd = var+dt;
 spa = dt*5;
 spa1 = (dt*15)+45;
 _root.createTextField(dtd, dt, 0, spa1, 100, 15);
 dtd.text=spa1;
 dtd.border=true;
 dtd.selectable=false;
 dt++;
  }

 You got loads of answers to this already, but anyway: dtd is a string. If
 you want to refer to it as an object reference, try

 dtdObj=_root.createTextField(dtd, dt, 0, spa1, 100, 15);
 dtdObj.text=spa1;
 dtdObj.border=true;
 dtdObj.selectable=false;


 Danny

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

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

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

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


Re: [Flashcoders] Global search-and-replace for Linkage/Component Definition?

2006-03-22 Thread Karthik
 Is there a tool out there that can perform a global search-and-replace
 for Linkages and Component definitions?

 We are running into the 64 character limitation on Component Definition
 class paths, so we have decided to shorten our base path.

You probably can with JSFL.

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

2006-03-22 Thread Martin Weiser

var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=9) {
dtd = var+dt;
spa = dt*5;
spa1 = (dt*15)+45;
var t = _root.createTextField(dtd, dt, 0, spa1, 100, 15);
trace(t);
dtd=eval(dtd)
//or use t var, t.text=
dtd.text = spa1;
dtd.border = true;
dtd.selectable = false;
dt++;
}

you were trying to reference the textField vi 'dtd' variable which is 
string, name for textField


not evaluated as variable yet

Martin



 Original Message - 
From: Laurent CUCHET [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 22, 2006 4:37 PM
Subject: [Flashcoders]  while



Good morning,

1) I  create dynamic textfield with while option
   I try to create dynamic border and content without success

Have you got a tips to done it

Thank you

/
var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=99) {
   dtd = var+dt;
   spa = dt*5;
   spa1 = (dt*15)+45;
   _root.createTextField(dtd, dt, 0, spa1, 100, 15);
   dtd.text=spa1;
   dtd.border=true;
   dtd.selectable=false;
   dt++;
}



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

2006-03-22 Thread Robert Chyko
New to I18N in Flash... My question is: Does the Flash Player have
access to the language code or is it something that needs to be passed
in?
 
Just began looking at the Locale object and didn't see anyway of getting
the language code, so I'm assuming it has to be passed into the swf.
Also, if anyone has any good resources for Internationalization in
Flash, please post - I would appreciate it.
 
Thanks
 
 
Bob Chyko
Software Application Developer 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] It exists in director but in flash ?

2006-03-22 Thread Patrick Jean
Is there any way in Flash 8 to tell the compiler to run a string as if it
was a method ? See the exemple below :

 

var tempString:String;

tempString = anObject.doSomething()

 

and having the string being interpreted as a command ? I thought I could do
that with eval but it doesn't seem to work.

 

I remember that with Director you could use the do command using a string,
what was pretty convenient.

 

Thanks

 

Patrick Jean

Directeur de projets internet

Monac'OH Data Mercantour

http://www.monacoh.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] It exists in director but in flash ?

2006-03-22 Thread Weyert de Boer

Did you try eval() ?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] It exists in director but in flash ?

2006-03-22 Thread Merrill, Jason
Yes, you can. Example:

//the function:
function myFunction (inputname){
trace(hello +inputname+ from myFunction);
}

//the string:
theStringOfFunction = myFunction;

//run it with a parameter too:
this[theStringOfFunction](Patrick) ;
//or:
eval(theStringOfFunction)(Patrick) ;


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Patrick Jean
Sent: Wednesday, March 22, 2006 10:58 AM
To: [EMAIL PROTECTED] Figleaf. Com
Subject: [Flashcoders] It exists in director but in flash ?

Is there any way in Flash 8 to tell the compiler to run a string as if
it
was a method ? See the exemple below :



var tempString:String;

tempString = anObject.doSomething()



and having the string being interpreted as a command ? I thought I
could do
that with eval but it doesn't seem to work.



I remember that with Director you could use the do command using a
string,
what was pretty convenient.



Thanks



Patrick Jean

Directeur de projets internet

Monac'OH Data Mercantour

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

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


RE: [Flashcoders] It exists in director but in flash ?

2006-03-22 Thread Bernard Visscher
I think this will work:

function test(){
trace(test);
}

var str:String;
str = eval(test);
Function(str).apply();

Greetz,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Patrick Jean
Verzonden: woensdag 22 maart 2006 16:58
Aan: [EMAIL PROTECTED] Figleaf. Com
Onderwerp: [Flashcoders] It exists in director but in flash ?

Is there any way in Flash 8 to tell the compiler to run a string as if it
was a method ? See the exemple below :

 

var tempString:String;

tempString = anObject.doSomething()

 

and having the string being interpreted as a command ? I thought I could do
that with eval but it doesn't seem to work.

 

I remember that with Director you could use the do command using a string,
what was pretty convenient.

 

Thanks

 

Patrick Jean

Directeur de projets internet

Monac'OH Data Mercantour

http://www.monacoh.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] It exists in director but in flash ?

2006-03-22 Thread Patrick Jean
Yes and it doesn't work :(

I tested with an array with :
aTempArray=[trace(\TEST1\),trace(\TEST2\),trace(\TEST3\)];

If I trace my array element it outputs properly the ' trace(test1) but
when I do an eval on it nothing happens. It doesn't give me an error, it
just doesn't run the trace.

I can always do a work-around, so it's not critical in my project, but I
wanted to use that concept in a sequencing class, because my project
requires a lot of calls to the server, and to avoid having to update all the
time the chain of sequences, I wanted to put the different methods I will
need in an array of strings, and run them automatically. I guess I'll have
to go with a giant switch instead.


Patrick Jean
Directeur de projets internet
Monac'OH Data Mercantour
http://www.monacoh.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de
Boer
Sent: Wednesday, March 22, 2006 11:06 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] It exists in director but in flash ?

Did you try eval() ?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] It exists in director but in flash ?

2006-03-22 Thread Patrick Jean
oooh, yes, that will definitely do the job !  Thanks a lot. 

Like I mentioned earlier, the trace in my example was just to see if I
could use eval that way, but the whole idea is to call methods  functions,
and I didn't know the apply() , so thanks a lot !

Patrick Jean
Directeur de projets internet
Monac'OH Data Mercantour
http://www.monacoh.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bernard
Visscher
Sent: Wednesday, March 22, 2006 11:15 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] It exists in director but in flash ?

I think this will work:

function test(){
trace(test);
}

var str:String;
str = eval(test);
Function(str).apply();

Greetz,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Patrick Jean
Verzonden: woensdag 22 maart 2006 16:58
Aan: [EMAIL PROTECTED] Figleaf. Com
Onderwerp: [Flashcoders] It exists in director but in flash ?

Is there any way in Flash 8 to tell the compiler to run a string as if it
was a method ? See the exemple below :

 

var tempString:String;

tempString = anObject.doSomething()

 

and having the string being interpreted as a command ? I thought I could do
that with eval but it doesn't seem to work.

 

I remember that with Director you could use the do command using a string,
what was pretty convenient.

 

Thanks

 

Patrick Jean

Directeur de projets internet

Monac'OH Data Mercantour

http://www.monacoh.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] It exists in director but in flash ?

2006-03-22 Thread Merrill, Jason
and I didn't know the apply() , so thanks a lot !

You don't need to use apply() on a separate line - just add () after the
eval, as in my example:

this[myFunctionString]();



Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Patrick Jean
Sent: Wednesday, March 22, 2006 11:19 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] It exists in director but in flash ?

oooh, yes, that will definitely do the job !  Thanks a lot.

Like I mentioned earlier, the trace in my example was just to see if
I
could use eval that way, but the whole idea is to call methods 
functions,
and I didn't know the apply() , so thanks a lot !

Patrick Jean
Directeur de projets internet
Monac'OH Data Mercantour
http://www.monacoh.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bernard
Visscher
Sent: Wednesday, March 22, 2006 11:15 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] It exists in director but in flash ?

I think this will work:

function test(){
  trace(test);
}

var str:String;
str = eval(test);
Function(str).apply();

Greetz,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Patrick Jean
Verzonden: woensdag 22 maart 2006 16:58
Aan: [EMAIL PROTECTED] Figleaf. Com
Onderwerp: [Flashcoders] It exists in director but in flash ?

Is there any way in Flash 8 to tell the compiler to run a string as if
it
was a method ? See the exemple below :



var tempString:String;

tempString = anObject.doSomething()



and having the string being interpreted as a command ? I thought I
could do
that with eval but it doesn't seem to work.



I remember that with Director you could use the do command using a
string,
what was pretty convenient.



Thanks



Patrick Jean

Directeur de projets internet

Monac'OH Data Mercantour

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

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


RE: [Flashcoders] It exists in director but in flash ?

2006-03-22 Thread Bernard Visscher
You're right.. I never use this ;)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Merrill, Jason
Verzonden: woensdag 22 maart 2006 17:22
Aan: Flashcoders mailing list
Onderwerp: RE: [Flashcoders] It exists in director but in flash ?

and I didn't know the apply() , so thanks a lot !

You don't need to use apply() on a separate line - just add () after the
eval, as in my example:

this[myFunctionString]();



Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Patrick Jean
Sent: Wednesday, March 22, 2006 11:19 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] It exists in director but in flash ?

oooh, yes, that will definitely do the job !  Thanks a lot.

Like I mentioned earlier, the trace in my example was just to see if
I
could use eval that way, but the whole idea is to call methods 
functions,
and I didn't know the apply() , so thanks a lot !

Patrick Jean
Directeur de projets internet
Monac'OH Data Mercantour
http://www.monacoh.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bernard
Visscher
Sent: Wednesday, March 22, 2006 11:15 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] It exists in director but in flash ?

I think this will work:

function test(){
  trace(test);
}

var str:String;
str = eval(test);
Function(str).apply();

Greetz,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Patrick Jean
Verzonden: woensdag 22 maart 2006 16:58
Aan: [EMAIL PROTECTED] Figleaf. Com
Onderwerp: [Flashcoders] It exists in director but in flash ?

Is there any way in Flash 8 to tell the compiler to run a string as if
it
was a method ? See the exemple below :



var tempString:String;

tempString = anObject.doSomething()



and having the string being interpreted as a command ? I thought I
could do
that with eval but it doesn't seem to work.



I remember that with Director you could use the do command using a
string,
what was pretty convenient.



Thanks



Patrick Jean

Directeur de projets internet

Monac'OH Data Mercantour

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

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

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

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


[Flashcoders] Re:Global search-and-replace for Linkage/Component Definition?

2006-03-22 Thread

Keith

Try alf..

http://www.code4net.com/archives/000116.html

I think it does what you want.

Graham Phillips/Codegadget

Is there a tool out there that can perform a global search-and-replace
for Linkages and Component definitions?

We are running into the 64 character limitation on Component Definition
class paths, so we have decided to shorten our base path.

Ideas?

Thanks,
Keith 

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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:Global search-and-replace for Linkage/Component Definition?

2006-03-22 Thread Adrian Park
Kieth,

I saw a demo of Alf for the first time last week and the demonstrator did
exactly what you describe to illustrate it's power.

Adrian P

On 3/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 Keith

 Try alf..

 http://www.code4net.com/archives/000116.html

 I think it does what you want.

 Graham Phillips/Codegadget

 Is there a tool out there that can perform a global search-and-replace
 for Linkages and Component definitions?

 We are running into the 64 character limitation on Component Definition
 class paths, so we have decided to shorten our base path.

 Ideas?

 Thanks,
 Keith

 ___
 Join Excite! - http://www.excite.com
 The most personalized portal on the Web!


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Re:Global search-and-replace for Linkage/ComponentDefinition?

2006-03-22 Thread Keith Takayesu
Thanks, Graham!

I had looked at that sometime in the past, and forgot all about it!

Keith

-Original Message-
From: [mailto:[EMAIL PROTECTED] 
Sent: March 22, 2006 11:47 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Re:Global search-and-replace for
Linkage/ComponentDefinition?



Keith

Try alf..

http://www.code4net.com/archives/000116.html

I think it does what you want.

Graham Phillips/Codegadget

Is there a tool out there that can perform a global search-and-replace

for Linkages and Component definitions?

We are running into the 64 character limitation on Component 
Definition class paths, so we have decided to shorten our base path.

Ideas?

Thanks,
Keith

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Global search-and-replace for Linkage/Component Definition?

2006-03-22 Thread

By the way, we also run into this problem, and the result is component class  
package names that are too cryptic. Hopefully fixed in AS3 perhaps?



Is there a tool out there that can perform a global search-and-replacefor 
Linkages and Component definitions?We are running into the 64 character 
limitation on Component Definitionclass paths, so we have decided to shorten 
our base path.Ideas?Thanks,Keith

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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:Global search-and-replace for Linkage/ComponentDefinition?

2006-03-22 Thread Keith Takayesu
... Part 2...

I tried it out. Unfortunately, Components don't show up in his list,
only the Components that have been compiled as clips. 

I have contacted the author, Xavi Beumala, and he will look into it for
the next release.

Thanks again,
Keith

-Original Message-
From: [mailto:[EMAIL PROTECTED] 
Sent: March 22, 2006 11:47 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Re:Global search-and-replace for
Linkage/ComponentDefinition?



Keith

Try alf..

http://www.code4net.com/archives/000116.html

I think it does what you want.

Graham Phillips/Codegadget

Is there a tool out there that can perform a global search-and-replace

for Linkages and Component definitions?

We are running into the 64 character limitation on Component 
Definition class paths, so we have decided to shorten our base path.

Ideas?

Thanks,
Keith

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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

2006-03-22 Thread Ian Thomas
Hi folks,
  Partly as something of an experiment, but mainly as a testbed and
proof-of-concept for something else entirely, I'm looking at throwing
together a (non-commercial) multi-user game with a Flash interface.

  It should be fairly straightforward wise - a simple grid-based
interface not too far removed from a simplified Habbo Hotel or
similar. And won't require blistering speed, but will need to keep up
with player movements (on a grid) and simple textual messages
player-to-player.

  I've been doing a bit of reading on various backends. I'm looking at
running a Java backend (unless there's an extendable C++ or C#
solution out there) and was wondering if anyone had any good/bad
experiences to report on the following - and if there's anything I've
missed that would suit the task better:
  - Oregano (http://www.oregano-server.org/) (I'd prefer AS2, it
appears to be AS1)
  - Red5 (http://www.osflash.org/red5) (Not sure it's got the features
I need yet?)
  - Unity2 (http://www.moock.org/unity/) (Eeep! $140 to get started)
  - Sushi (http://www.rawfish-software.com/)
  - ElectroServer (http://www.electrotank.com/ElectroServer/)

I need something which is expandable at the backend (you know, so I
can put the bulk of the game engine server-side). The comms needs only
to be very straightforward object/data exchange, nothing fancy - I
don't need lobbies and things, for example.
I'd prefer an AS2.0 API client-side rather than AS1.0.

I'd also prefer it to be free - at least for enough connections for my
proof of concept (10 users, I'd guess). I'd _actually_ prefer it to
be Open Source, but that may not be possible.

My feeling (from a speed perspective) is that I'd be better looking at
something which does binary send/recv rather than XML/SOAP - but I'd
be happy to be proved wrong (debugging XML is so much easier than
binary...)

Anyone got anything to recommend/any comments on the above/experiences
to share..?

Many thanks,
  Ian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] How soon do Flashvars become available ?

2006-03-22 Thread Rich Rodecker
yeah they are available as soon as the movie loads, so you can grab
them right away.

On 3/22/06, Janis Radins [EMAIL PROTECTED] wrote:
 flashVars are loaded before first frame, get vars start to in first frame


 2006/3/22, Robert Chyko [EMAIL PROTECTED]:
 
  You can use them right away.
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Manuel
  Saint-Victor
  Sent: Wednesday, March 22, 2006 9:49 AM
  To: Flashcoders mailing list
  Subject: [Flashcoders] How soon do Flashvars become available ?
 
 
  When FlashVars are passed into a swf- how soon after the swf starts
  playing
  are they available?  I am wondering if I can immediately grab my
  Flashvars
  and use them as init params or if there is the posibility of a delay?
 
  Mani
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Re:Global search-and-replace for Linkage/ComponentDefinition?

2006-03-22 Thread Rich Rodecker
there is also jsfl script on jessewarden.com that you can grab and
modify to change the linkage names. It doesnt include the component
name, but frm the looks of it it should be pretty easy to figure out.

it looks like his site is down at the moment though...

On 3/22/06, Keith Takayesu [EMAIL PROTECTED] wrote:
 ... Part 2...

 I tried it out. Unfortunately, Components don't show up in his list,
 only the Components that have been compiled as clips.

 I have contacted the author, Xavi Beumala, and he will look into it for
 the next release.

 Thanks again,
 Keith

 -Original Message-
 From: [mailto:[EMAIL PROTECTED]
 Sent: March 22, 2006 11:47 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Re:Global search-and-replace for
 Linkage/ComponentDefinition?



 Keith

 Try alf..

 http://www.code4net.com/archives/000116.html

 I think it does what you want.

 Graham Phillips/Codegadget

 Is there a tool out there that can perform a global search-and-replace

 for Linkages and Component definitions?

 We are running into the 64 character limitation on Component
 Definition class paths, so we have decided to shorten our base path.

 Ideas?

 Thanks,
 Keith

 ___
 Join Excite! - http://www.excite.com
 The most personalized portal on the Web!


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

2006-03-22 Thread Rich Rodecker
On 3/22/06, Ian Thomas [EMAIL PROTECTED] wrote:
 Hi folks,
   Partly as something of an experiment, but mainly as a testbed and
 proof-of-concept for something else entirely, I'm looking at throwing
 together a (non-commercial) multi-user game with a Flash interface.

   It should be fairly straightforward wise - a simple grid-based
 interface not too far removed from a simplified Habbo Hotel or
 similar. And won't require blistering speed, but will need to keep up
 with player movements (on a grid) and simple textual messages
 player-to-player.

   I've been doing a bit of reading on various backends. I'm looking at
 running a Java backend (unless there's an extendable C++ or C#
 solution out there) and was wondering if anyone had any good/bad
 experiences to report on the following - and if there's anything I've
 missed that would suit the task better:
   - Oregano (http://www.oregano-server.org/) (I'd prefer AS2, it
 appears to be AS1)
   - Red5 (http://www.osflash.org/red5) (Not sure it's got the features
 I need yet?)
   - Unity2 (http://www.moock.org/unity/) (Eeep! $140 to get started)
   - Sushi (http://www.rawfish-software.com/)
   - ElectroServer (http://www.electrotank.com/ElectroServer/)

 I need something which is expandable at the backend (you know, so I
 can put the bulk of the game engine server-side). The comms needs only
 to be very straightforward object/data exchange, nothing fancy - I
 don't need lobbies and things, for example.
 I'd prefer an AS2.0 API client-side rather than AS1.0.

 I'd also prefer it to be free - at least for enough connections for my
 proof of concept (10 users, I'd guess). I'd _actually_ prefer it to
 be Open Source, but that may not be possible.

 My feeling (from a speed perspective) is that I'd be better looking at
 something which does binary send/recv rather than XML/SOAP - but I'd
 be happy to be proved wrong (debugging XML is so much easier than
 binary...)

 Anyone got anything to recommend/any comments on the above/experiences
 to share..?

 Many thanks,
   Ian
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] CSS and Embedded fonts

2006-03-22 Thread Rodrigo Schramm

Can I use a embedded font with CSS???

var styles:Object = new TextField.StyleSheet();
  
formulario.embedFonts = true;   
styles.setStyle(text,

   {
  fontFamily: 'MyFont',
  fontSize: '24px',
  color: '#006600'}
   );

 textArea.styleSheet = styles;
 textArea.html = true;
 textArea.text = textthis is a test/text;

PS.   I created a new Font Symbol  with linkage = MyFont.


but this don't work...



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

2006-03-22 Thread Rich Rodecker
the only one I have played with is ElectroServer, and I can recommend
that one.  It was easy to set up and get started working with.  Afew
people recommended oregano...i dont think red5 is that far along yet.

On 3/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:
 On 3/22/06, Ian Thomas [EMAIL PROTECTED] wrote:
  Hi folks,
Partly as something of an experiment, but mainly as a testbed and
  proof-of-concept for something else entirely, I'm looking at throwing
  together a (non-commercial) multi-user game with a Flash interface.
 
It should be fairly straightforward wise - a simple grid-based
  interface not too far removed from a simplified Habbo Hotel or
  similar. And won't require blistering speed, but will need to keep up
  with player movements (on a grid) and simple textual messages
  player-to-player.
 
I've been doing a bit of reading on various backends. I'm looking at
  running a Java backend (unless there's an extendable C++ or C#
  solution out there) and was wondering if anyone had any good/bad
  experiences to report on the following - and if there's anything I've
  missed that would suit the task better:
- Oregano (http://www.oregano-server.org/) (I'd prefer AS2, it
  appears to be AS1)
- Red5 (http://www.osflash.org/red5) (Not sure it's got the features
  I need yet?)
- Unity2 (http://www.moock.org/unity/) (Eeep! $140 to get started)
- Sushi (http://www.rawfish-software.com/)
- ElectroServer (http://www.electrotank.com/ElectroServer/)
 
  I need something which is expandable at the backend (you know, so I
  can put the bulk of the game engine server-side). The comms needs only
  to be very straightforward object/data exchange, nothing fancy - I
  don't need lobbies and things, for example.
  I'd prefer an AS2.0 API client-side rather than AS1.0.
 
  I'd also prefer it to be free - at least for enough connections for my
  proof of concept (10 users, I'd guess). I'd _actually_ prefer it to
  be Open Source, but that may not be possible.
 
  My feeling (from a speed perspective) is that I'd be better looking at
  something which does binary send/recv rather than XML/SOAP - but I'd
  be happy to be proved wrong (debugging XML is so much easier than
  binary...)
 
  Anyone got anything to recommend/any comments on the above/experiences
  to share..?
 
  Many thanks,
Ian
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] referencing my main movieclip in a movie clip thatis above(i think)

2006-03-22 Thread Ryan Potter
Give this a shot.

So if the structure looks like this:

root
  animBotoes_mc (A.swf)
myvar
emptyMovieClipName (B.swf)

From inside emptyMovieClipName to myvar:

this._parent.myvar
(you have to go up a level)

Ryan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Maria Barros
Sent: Wednesday, March 22, 2006 5:17 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] referencing my main movieclip in a movie clip thatis 
above(i think)

I have A.swf that have a movieclip instance named animBotoes_mc in the
root. Inside this instace i have two things: the variable myvar , and the
empty movieclip that haves the B.swf.

I want to access from B.swf the variable myvar..

Sorry if i didnt make you understand..

On 3/22/06, Roman Blöth [EMAIL PROTECTED] wrote:

 Jose Maria Barros schrieb:
  Hello Roman.
 
  I tried this in my swf B:
 
  this._parent.animBotoes_mc.gotoAndStop(link);
 
  but...it doesnt work...
 so is animBotoes_mc the parent? Then you can't write it like above,
 since animBotoes_mc does not contain animBotoes_mc, I assume...


 Regards,
 Roman.

 --

 ---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
 t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
 ---

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] referencing my main movieclip in a movie clip thatis above(i think)

2006-03-22 Thread Jose Maria Barros
I already solved it mate... i used : this._parent.gotoAndStop(this.
_parent.link);

Thanks anyway!


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

 Give this a shot.

 So if the structure looks like this:

 root
   animBotoes_mc (A.swf)
 myvar
 emptyMovieClipName (B.swf)

 From inside emptyMovieClipName to myvar:

 this._parent.myvar
 (you have to go up a level)

 Ryan

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Jose Maria Barros
 Sent: Wednesday, March 22, 2006 5:17 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] referencing my main movieclip in a movie clip
 thatis above(i think)

 I have A.swf that have a movieclip instance named animBotoes_mc in the
 root. Inside this instace i have two things: the variable myvar , and the
 empty movieclip that haves the B.swf.

 I want to access from B.swf the variable myvar..

 Sorry if i didnt make you understand..

 On 3/22/06, Roman Blöth [EMAIL PROTECTED] wrote:
 
  Jose Maria Barros schrieb:
   Hello Roman.
  
   I tried this in my swf B:
  
   this._parent.animBotoes_mc.gotoAndStop(link);
  
   but...it doesnt work...
  so is animBotoes_mc the parent? Then you can't write it like above,
  since animBotoes_mc does not contain animBotoes_mc, I assume...
 
 
  Regards,
  Roman.
 
  --
 
  ---
  gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
  t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
  ---
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Multiuser - which backend?

2006-03-22 Thread John Grden
Red5 will be at .4 here pretty quickly and .6 in another couple of months if
not sooner.  0.4 will have the server side api done and remoting will be
included with .5 as well as other scripting languages.

It's not stress tested at all, and we've only begun writing apps against
it.  Although it looks great, it's not ready for production by any means.

On 3/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:

 the only one I have played with is ElectroServer, and I can recommend
 that one.  It was easy to set up and get started working with.  Afew
 people recommended oregano...i dont think red5 is that far along yet.

 On 3/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:
  On 3/22/06, Ian Thomas [EMAIL PROTECTED] wrote:
   Hi folks,
 Partly as something of an experiment, but mainly as a testbed and
   proof-of-concept for something else entirely, I'm looking at throwing
   together a (non-commercial) multi-user game with a Flash interface.
  
 It should be fairly straightforward wise - a simple grid-based
   interface not too far removed from a simplified Habbo Hotel or
   similar. And won't require blistering speed, but will need to keep up
   with player movements (on a grid) and simple textual messages
   player-to-player.
  
 I've been doing a bit of reading on various backends. I'm looking at
   running a Java backend (unless there's an extendable C++ or C#
   solution out there) and was wondering if anyone had any good/bad
   experiences to report on the following - and if there's anything I've
   missed that would suit the task better:
 - Oregano (http://www.oregano-server.org/) (I'd prefer AS2, it
   appears to be AS1)
 - Red5 (http://www.osflash.org/red5) (Not sure it's got the features
   I need yet?)
 - Unity2 (http://www.moock.org/unity/) (Eeep! $140 to get started)
 - Sushi (http://www.rawfish-software.com/)
 - ElectroServer (http://www.electrotank.com/ElectroServer/)
  
   I need something which is expandable at the backend (you know, so I
   can put the bulk of the game engine server-side). The comms needs only
   to be very straightforward object/data exchange, nothing fancy - I
   don't need lobbies and things, for example.
   I'd prefer an AS2.0 API client-side rather than AS1.0.
  
   I'd also prefer it to be free - at least for enough connections for my
   proof of concept (10 users, I'd guess). I'd _actually_ prefer it to
   be Open Source, but that may not be possible.
  
   My feeling (from a speed perspective) is that I'd be better looking at
   something which does binary send/recv rather than XML/SOAP - but I'd
   be happy to be proved wrong (debugging XML is so much easier than
   binary...)
  
   Anyone got anything to recommend/any comments on the above/experiences
   to share..?
  
   Many thanks,
 Ian
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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




--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multiuser - which backend?

2006-03-22 Thread Dimitrios Bendilas

Hi Ian,

I've used ElectroServer a lot and I can tell you it's great!

Client side can be either AS 1.0 or 2.0 and you can use
Java or ActionScript plugins on the server-side to extend
its functionality and create complex applications. So you can
definately have the main core of your game on the server-side.

There is nothing I found unpleasand about ElectroServer and
I've used it on a big commercial project www.tavli-mania.com
with great success :)

The server runs on Java.

I don't know about any benchmarks or anything but the speed is great
and I'm sure you won't have any problems at all. It can also support
real-time games, as it features raw data messages that get transfered
very quickly. The default messages are XML based.

It's got a 20 users free licence, so you can try it out.

Also the API is pretty straightforward and you won't have any problems with 
it.


I hope this helps!

Regards,
Dimitrios Bendilas


- Original Message - 
From: Ian Thomas [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 22, 2006 7:33 PM
Subject: [Flashcoders] Multiuser - which backend?


Hi folks,
 Partly as something of an experiment, but mainly as a testbed and
proof-of-concept for something else entirely, I'm looking at throwing
together a (non-commercial) multi-user game with a Flash interface.

 It should be fairly straightforward wise - a simple grid-based
interface not too far removed from a simplified Habbo Hotel or
similar. And won't require blistering speed, but will need to keep up
with player movements (on a grid) and simple textual messages
player-to-player.

 I've been doing a bit of reading on various backends. I'm looking at
running a Java backend (unless there's an extendable C++ or C#
solution out there) and was wondering if anyone had any good/bad
experiences to report on the following - and if there's anything I've
missed that would suit the task better:
 - Oregano (http://www.oregano-server.org/) (I'd prefer AS2, it
appears to be AS1)
 - Red5 (http://www.osflash.org/red5) (Not sure it's got the features
I need yet?)
 - Unity2 (http://www.moock.org/unity/) (Eeep! $140 to get started)
 - Sushi (http://www.rawfish-software.com/)
 - ElectroServer (http://www.electrotank.com/ElectroServer/)

I need something which is expandable at the backend (you know, so I
can put the bulk of the game engine server-side). The comms needs only
to be very straightforward object/data exchange, nothing fancy - I
don't need lobbies and things, for example.
I'd prefer an AS2.0 API client-side rather than AS1.0.

I'd also prefer it to be free - at least for enough connections for my
proof of concept (10 users, I'd guess). I'd _actually_ prefer it to
be Open Source, but that may not be possible.

My feeling (from a speed perspective) is that I'd be better looking at
something which does binary send/recv rather than XML/SOAP - but I'd
be happy to be proved wrong (debugging XML is so much easier than
binary...)

Anyone got anything to recommend/any comments on the above/experiences
to share..?

Many thanks,
 Ian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multiuser - which backend?

2006-03-22 Thread Chris Allen
Hi Ian,

Another thing to note is that Red5 does give Flash access to anything
you can do in Java.  It is completely extensible.  Things like
accessing databases though Hibernate or straight JDBC,  accessing
non-java applications through JNI, bridging to other servers, etc...
can all be done with a variety of protocols and connections including
RTMP, AMF, HTTP, XMLSocket.

The only drawback, as John already mentioned, is that it's not
complete yet.  But considering your project is in the experimental
stage, this might not be an issue for you.

-Chris

On 3/22/06, John Grden [EMAIL PROTECTED] wrote:
 Red5 will be at .4 here pretty quickly and .6 in another couple of months if
 not sooner.  0.4 will have the server side api done and remoting will be
 included with .5 as well as other scripting languages.

 It's not stress tested at all, and we've only begun writing apps against
 it.  Although it looks great, it's not ready for production by any means.

 On 3/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:
 
  the only one I have played with is ElectroServer, and I can recommend
  that one.  It was easy to set up and get started working with.  Afew
  people recommended oregano...i dont think red5 is that far along yet.
 
  On 3/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:
   On 3/22/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi folks,
  Partly as something of an experiment, but mainly as a testbed and
proof-of-concept for something else entirely, I'm looking at throwing
together a (non-commercial) multi-user game with a Flash interface.
   
  It should be fairly straightforward wise - a simple grid-based
interface not too far removed from a simplified Habbo Hotel or
similar. And won't require blistering speed, but will need to keep up
with player movements (on a grid) and simple textual messages
player-to-player.
   
  I've been doing a bit of reading on various backends. I'm looking at
running a Java backend (unless there's an extendable C++ or C#
solution out there) and was wondering if anyone had any good/bad
experiences to report on the following - and if there's anything I've
missed that would suit the task better:
  - Oregano (http://www.oregano-server.org/) (I'd prefer AS2, it
appears to be AS1)
  - Red5 (http://www.osflash.org/red5) (Not sure it's got the features
I need yet?)
  - Unity2 (http://www.moock.org/unity/) (Eeep! $140 to get started)
  - Sushi (http://www.rawfish-software.com/)
  - ElectroServer (http://www.electrotank.com/ElectroServer/)
   
I need something which is expandable at the backend (you know, so I
can put the bulk of the game engine server-side). The comms needs only
to be very straightforward object/data exchange, nothing fancy - I
don't need lobbies and things, for example.
I'd prefer an AS2.0 API client-side rather than AS1.0.
   
I'd also prefer it to be free - at least for enough connections for my
proof of concept (10 users, I'd guess). I'd _actually_ prefer it to
be Open Source, but that may not be possible.
   
My feeling (from a speed perspective) is that I'd be better looking at
something which does binary send/recv rather than XML/SOAP - but I'd
be happy to be proved wrong (debugging XML is so much easier than
binary...)
   
Anyone got anything to recommend/any comments on the above/experiences
to share..?
   
Many thanks,
  Ian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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
 



 --
 John Grden - Blitz
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Browse folders from flash

2006-03-22 Thread David Rorex
On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:

 Thanks again.

 Scott, I'm not sure java could explore local client machine directories.
 Could you send me any link?


Java can have full control over your local machine, but the user has to
approve the access first (You have to sign the applet, and then the user
will see a security warning dialog). One this access is approved, you can do
ANYTHING. You could download an arbitrary .exe file from some url and
execute it silently. You could delete random files off their hard drive. So,
make sure your users trust you.
I believe there is also a way to grant only specific privlidges,

To link java code with flash...Could I use flash remoting?


Maybe...but it would be a lot of work.
I am worried about using socket communication, while I have never tested it,
I am afraid some people's software firewalls might flag or block the
communication.

What we have done with sucess in the past, is to use javascript to bind the
two.

Java Applet -- Javascript -- Flash movie

On the flash side, we just used ExternalInterface (Flash 8+ only, but on =
7, you can use the Flash/JS Integration kit)

On the java side, there is documented ways to communicate out to javascript.
Here is a page that shows some examples, you can find more via
searching: http://www.rgagnon.com/javadetails/java-0172.html


-David R


 On 3/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  My two cents - I would highly recommend SWFStudio ( www.northcode.com) -
  browsing directories is a total breeze and you get tons of file I/O
  functionality. You could check out the site and check tutorials or
 sample
  files, I am sure they have onethat does exactly what you need it to do.
 :)
 
   I'm not sure if anyone mentioned this but have you looked at
   screenweaver?
  
   http://osflash.org/screenweaver
  
   I have not tried it myself, still using Zinc, maybe someone else has?
  
  
   On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:
  
   Well, butI need directories on local machine, not in server
   machine
  
   Thanks, anyway
  
   On 3/21/06, Ettwein, Josh [EMAIL PROTECTED] wrote:
   
You could use PHP (or whatever serverside lang you've got) to do a
   directory listing and use is_dir to build youreslf a list of
   directories. Pass that into flash using
remoting/loadvars/xml/whathaveyou and display a list of dirs in
   flash with the full paths as properties of the dir objects you
   display. Clicking on one would allow you to grab that path var.
   Something like that, maybe?
   
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
   Felipe Fernandez
Sent: Tuesday, March 21, 2006 11:07 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Browse folders from flash
   
Yes, I'm agree with you, Rich. I know about FileReference but
FileReference works with files, not directories.
Any suggest?
   
Thanks all.
   
On 3/21/06, Rich Rodecker  [EMAIL PROTECTED] wrote:

 as far as I know you cant just select a folder...flash needs to
   create
   
 a FileReference object for each file in a directory, and it will
   only do that for each individual item that the user selected.  Why
   they couldnt just create one for every file in a directory I don't
   know, but I would imagine it was a security concern.


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

2006-03-22 Thread Edward Hotchkiss
heres my site: http://www.murderdesign.com/
i am trying to pad the forms submit text, and align it into the center, and 
vertically align it into the center also ... any ideas? because the 
clear/submit look ugly like they are now. also, the input text fields, the same 
issue: the text is vertically aligned to the top and looks ugly also...

-edward
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] How soon do Flashvars become available ?

2006-03-22 Thread Manuel Saint-Victor
Perfect- Thanks !

On 3/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:

 yeah they are available as soon as the movie loads, so you can grab
 them right away.

 On 3/22/06, Janis Radins [EMAIL PROTECTED] wrote:
  flashVars are loaded before first frame, get vars start to in first
 frame
 
 
  2006/3/22, Robert Chyko [EMAIL PROTECTED]:
  
   You can use them right away.
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Manuel
   Saint-Victor
   Sent: Wednesday, March 22, 2006 9:49 AM
   To: Flashcoders mailing list
   Subject: [Flashcoders] How soon do Flashvars become available ?
  
  
   When FlashVars are passed into a swf- how soon after the swf starts
   playing
   are they available?  I am wondering if I can immediately grab my
   Flashvars
   and use them as init params or if there is the posibility of a delay?
  
   Mani
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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] Browse folders from flash

2006-03-22 Thread Felipe Fernandez
Thanks a lot.
All this work for a user folder/directory selection...Uh
Maybe this is too much (or too complex) for me

Thanks anyway, of course



On 3/22/06, David Rorex [EMAIL PROTECTED] wrote:

 On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:
 
  Thanks again.
 
  Scott, I'm not sure java could explore local client machine directories.
  Could you send me any link?


 Java can have full control over your local machine, but the user has to
 approve the access first (You have to sign the applet, and then the user
 will see a security warning dialog). One this access is approved, you can
 do
 ANYTHING. You could download an arbitrary .exe file from some url and
 execute it silently. You could delete random files off their hard drive.
 So,
 make sure your users trust you.
 I believe there is also a way to grant only specific privlidges,

 To link java code with flash...Could I use flash remoting?


 Maybe...but it would be a lot of work.
 I am worried about using socket communication, while I have never tested
 it,
 I am afraid some people's software firewalls might flag or block the
 communication.

 What we have done with sucess in the past, is to use javascript to bind
 the
 two.

 Java Applet -- Javascript -- Flash movie

 On the flash side, we just used ExternalInterface (Flash 8+ only, but on
 =
 7, you can use the Flash/JS Integration kit)

 On the java side, there is documented ways to communicate out to
 javascript.
 Here is a page that shows some examples, you can find more via
 searching: http://www.rgagnon.com/javadetails/java-0172.html


 -David R


  On 3/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  
   My two cents - I would highly recommend SWFStudio ( www.northcode.com)
 -
   browsing directories is a total breeze and you get tons of file I/O
   functionality. You could check out the site and check tutorials or
  sample
   files, I am sure they have onethat does exactly what you need it to
 do.
  :)
  
I'm not sure if anyone mentioned this but have you looked at
screenweaver?
   
http://osflash.org/screenweaver
   
I have not tried it myself, still using Zinc, maybe someone else
 has?
   
   
On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:
   
Well, butI need directories on local machine, not in server
machine
   
Thanks, anyway
   
On 3/21/06, Ettwein, Josh [EMAIL PROTECTED] wrote:

 You could use PHP (or whatever serverside lang you've got) to do
 a
directory listing and use is_dir to build youreslf a list of
directories. Pass that into flash using
 remoting/loadvars/xml/whathaveyou and display a list of dirs in
flash with the full paths as properties of the dir objects you
display. Clicking on one would allow you to grab that path var.
Something like that, maybe?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
Felipe Fernandez
 Sent: Tuesday, March 21, 2006 11:07 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Browse folders from flash

 Yes, I'm agree with you, Rich. I know about FileReference but
 FileReference works with files, not directories.
 Any suggest?

 Thanks all.

 On 3/21/06, Rich Rodecker  [EMAIL PROTECTED] wrote:
 
  as far as I know you cant just select a folder...flash needs to
create

  a FileReference object for each file in a directory, and it
 will
only do that for each individual item that the user selected.  Why
they couldnt just create one for every file in a directory I don't
know, but I would imagine it was a security concern.
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread Manuel Saint-Victor
What is the reccomended way to handle  using events that a user might also
want to handle.  Some of my components have an event like
Screen.onScreenFaded that we expose to outside users.  Does this mean that I
should not use these events for my own component code in case a user just
writes

Screen.onScreenFaded=function (){ /// //whatever}

that my code won't fall apart.  I was looking into possibly using double
dispatched events like an internal event _onScreenFaded for my own use but
this seems liek a waste of resources.

Any suggestions or guidance about the current practice?

Thanks,

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

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


[Flashcoders] What is the source document of my swf?

2006-03-22 Thread Wade Arnold
I am trying to figure out a way to get the source document of my swf file. I
can of course get the file path to the swf but I want to know the calling
html, php, asp, etc page that is instantiating my swf. Can this be done?

I would like to use something like this but to get the container page.


 var url_array:Array = this._url.split(/);
 var my_str:String = String(url_array.pop());
 trace(unescape(my_str));



Thanks for any ideas.

Wade Arnold
 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Slightly OT: exporting QT w/ alpha channel

2006-03-22 Thread Mendelsohn, Michael
Hi list...

I'm trying to export my animation as a quicktime with an alpha channel
so I can bring it into either Avid or Premiere Pro with the alpha
channel intact.  Is this possible?  When I set the alpha-transparent
setting in publish settings, the resulting .mov file has all inverted
colors.  I can't seem to figure out what the correct combination of
steps to do would be.  Any advice is 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


Re: [Flashcoders] Multiuser - which backend?

2006-03-22 Thread erixtekila

Hi,


I should recommend you Oregano.
I've ported the API to as2 and put several additions to it.
That makes it a really nice tool to play with.

All the benefits are that Oregano is more a framework than just 
XMLSocket for Flash.


It uses a homemade serialisation/deserialisation scheme which make it 
quiet fast (no XML parsing is needed)

You could send and receive typed object like in Remoting.
There is also a kind of RecordSet called Table, which is a 
representation of database table with the sorting possibilities.


Oregano server runs on Java 1.4 and is fully extensible.
One could create special extensions to enhance to server 
functionnalities, for example for security…


You could also create a clustering server structure if you need more 
power.

You could balance the differents process on a group basis.

There are tons of great things with Oregano, but the one I appreciate 
the most is the quality of the documentation.
You are lucky because I've decided to release a new version which is 
pretty stable (after one year of heavy testings)

I'll publish it in some days on my blogs :
http://blog.v-i-a.net/

But you could grab a copy now and play with it.
There are so much things to learn…
http://www.oregano-server.org/

If you need support, you could register here :
http://forum.v-i-a.net/
There is an english dedicated board.

Feel free to ask there.


I'm actually thinking of some inprovments of Oregano.
I think the future could come with some good news…


Greetings
---
erixtekila
http://blog.v-i-a.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] Problem with catching localconnection on Form based app

2006-03-22 Thread Manuel Saint-Victor
I have a receiving localconnection sitting in a form based app and cant seem
to get it to call.  If I try the same code in a regular app I am able to
call the function via the localconnection.  Are there some differences in
using LocalConnection with Form based apps that I am overlooking?


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

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


RE: [Flashcoders] centering/padding dynamic text

2006-03-22 Thread Ryan Potter
Assuming the name of your submit background is called submitBg
Assuming that you have a text field with the name submitLabel that is
attached to submitBg


var bgCenterW = this.submitBg._width/2;
var tfCenterW = this.submitBg.submitLabel._width/2;
this.submitBg.submitLabel._x = bgCenterW-tfCenterW;

var bgCenterH = this.submitBg._height/2;
var tfCenterH = this.submitBg.submitLabel._height/2;
this.submitBg.submitLabel._y = bgCenterH-tfCenterH;



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edward
Hotchkiss
Sent: Wednesday, March 22, 2006 12:16 PM
To: Flashcoders mailing list
Subject: [Flashcoders] centering/padding dynamic text

heres my site: http://www.murderdesign.com/
i am trying to pad the forms submit text, and align it into the
center, and vertically align it into the center also ... any ideas?
because the clear/submit look ugly like they are now. also, the input
text fields, the same issue: the text is vertically aligned to the top
and looks ugly also...

-edward
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] What is the source document of my swf?

2006-03-22 Thread Ryan Potter
You could use a javascript function to send the document.location.href
to flash as flashVars.  



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wade
Arnold
Sent: Wednesday, March 22, 2006 12:55 PM
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] What is the source document of my swf?

I am trying to figure out a way to get the source document of my swf
file. I
can of course get the file path to the swf but I want to know the
calling
html, php, asp, etc page that is instantiating my swf. Can this be done?

I would like to use something like this but to get the container page.


 var url_array:Array = this._url.split(/);
 var my_str:String = String(url_array.pop());
 trace(unescape(my_str));



Thanks for any ideas.

Wade Arnold
 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread John Giotta
Use EventDispatcher.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Help with MovieClipLoader

2006-03-22 Thread Patrick Matte
I'va added a streaming sound to my application and suddenly, I am having
problems with the MovieClipLoader class. None of the listener functions are
fired. The loading doesn't even starts when I hit test movie from flash.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread Manuel Saint-Victor
I tried that- but if they write non addEventListener() type of statements to
catch our events it seems to override the dispatched  event.

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

 Use EventDispatcher.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread Johannes Nel
are you  reffering to a hook?
like this?
create a function that is named like
public function thisHappens():Void
{

}
and then the user of the component would go
instance.thisHappens = function()
{
///some code
}

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

 I tried that- but if they write non addEventListener() type of statements
 to
 catch our events it seems to override the dispatched  event.

 On 3/22/06, John Giotta [EMAIL PROTECTED] wrote:
 
  Use EventDispatcher.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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




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

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


Re: [Flashcoders] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread Johannes Nel
oh i understand
what you are doing is this:

this.addEventListener(onScreenFaded , this)

private function onScreenFaded (evtObj:Object):Void
{

}
so if your user does this instance.onScreenFaded = function your code
breaks.

i would say don't use this in the event listener if this is the case, rather
use a delegate.


On 3/22/06, Johannes Nel [EMAIL PROTECTED] wrote:

 are you  reffering to a hook?
 like this?
 create a function that is named like
 public function thisHappens():Void
 {

 }
 and then the user of the component would go
 instance.thisHappens = function()
 {
 ///some code

 }

 On 3/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote:
 
  I tried that- but if they write non addEventListener() type of
  statements to
  catch our events it seems to override the dispatched  event.
 
  On 3/22/06, John Giotta [EMAIL PROTECTED]  wrote:
  
   Use EventDispatcher.
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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
 



 --
 j:pn
 http://www.lennel.org




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

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


Re: [Flashcoders] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread Manuel Saint-Victor
So would I want to use different events for my own housekeeping to avoid
colliding with them using those events?



On 3/22/06, Johannes Nel [EMAIL PROTECTED] wrote:

 oh i understand
 what you are doing is this:

 this.addEventListener(onScreenFaded , this)

 private function onScreenFaded (evtObj:Object):Void
 {

 }
 so if your user does this instance.onScreenFaded = function your code
 breaks.

 i would say don't use this in the event listener if this is the case,
 rather
 use a delegate.


 On 3/22/06, Johannes Nel [EMAIL PROTECTED] wrote:
 
  are you  reffering to a hook?
  like this?
  create a function that is named like
  public function thisHappens():Void
  {
 
  }
  and then the user of the component would go
  instance.thisHappens = function()
  {
  ///some code
 
  }
 
  On 3/22/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote:
  
   I tried that- but if they write non addEventListener() type of
   statements to
   catch our events it seems to override the dispatched  event.
  
   On 3/22/06, John Giotta [EMAIL PROTECTED]  wrote:
   
Use EventDispatcher.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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
  
 
 
 
  --
  j:pn
  http://www.lennel.org
 



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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] embedding pixel fonts but using external css versus typical textformat?

2006-03-22 Thread Edward Hotchkiss
If i try and embed fonts when i use css with flash the text does not show. is 
it possible to embed fonts when using an external stylesheet? i have been 
embedding and using textformat, but now i am playing with css and nothing seems 
to work. am i stuck not using pixel fonts with CSS?

function createNews() {
 // draw news area
 _root.createEmptyMovieClip(news_mc, this.getNextHighestDepth());
 _root.news_mc.createTextField (news_txt,this.getNextHighestDepth(), 0, 0, 
200, 600);
 with(_root.news_mc.news_txt) {
  wordWrap = true;
  multiline = true;
  html = true;
 };
 // apply stylesheet
 var cssFormat = new TextField.StyleSheet();
 var path = flash.css;
 var quick = brp class='title'The quick Kirupa jumps over the lazy 
dog./pbrp class='two'The quick Kirupa jumps over the lazy dog./pbrp 
class='three'The quick Kirupa jumps over the lazy dog./pbrp 
class='four'The quick Kirupa jumps over the lazy dog./p
 output = _root.news_mc.news_txt;
 cssFormat.load(path);
 cssFormat.onLoad = function(success) {
 if (success) {
  output.styleSheet = cssFormat;
  output.text = quick;
 } else {
  output.text = Error loading CSS file!;
 }
};
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Mac shared library

2006-03-22 Thread John Grden
I've created a shared library and put it External Libraries folder.

I've created a jsfl file to loop through the properties of the loaded
extension:

fl.trace(SampleLib.computeSum);
for(items in SampleLib) fl.trace(items +  =  + SampleLib[items]);

Which traces out:
undefined
name = SampleLib
MM_path = /Users/neoriley/Library/Application Support/Macromedia/Flash
8/en/Configuration/External Libraries/SampleLib.dylib
MM_loaded = true

So, if there are any MM people reading this that has any knowledge about
creating shared libraries on a mac with Xcode and what's required, I could
use the help ;)

It seems that the MM_Init() method isn't being executed and I'm wondering if
I've packaged the shared library correctly.

Thanks for any and all help,

John

--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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:Global search-and-replace for Linkage/ComponentDefinition?

2006-03-22 Thread Rich Rodecker
here is my modified version of that script...like I was saying, it should be
pretty easy to modify and get the component name in there, if youc an get a
jsfl reference:

//script from jessewarden.com
function d (o)
{
fl.trace (o);
}
function init ()
{
fl.outputPanel.clear ();
var i = fl.getDocumentDOM ().library.items.length;
while (i --)
{
var linkage = fl.getDocumentDOM().library.items[i].linkageIdentifier;
var className = fl.getDocumentDOM().library.items[i].linkageClassName;
var testingString = className;
if (testingString != null)
{
if (testingString != )
{
var a = testingString.split (.);
var num = a.length;
var theName = a[num-1];

if (a [1] == coloniessskate)
{
a[1] = coloniesskate;
d (old:);
d (fl.getDocumentDOM ().library.items
[i].linkageIdentifier);
d (fl.getDocumentDOM ().library.items
[i].linkageClassName);

fl.getDocumentDOM ().library.items[i].linkageClassName =
a.join (.);
fl.getDocumentDOM ().library.items[i].linkageIdentifier
= theName;

d (new:);
d (fl.getDocumentDOM().library.items[i].linkageIdentifier);
d (fl.getDocumentDOM().library.items[i].linkageClassName);
}
}
}
}
}
init ();


On 3/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:

 there is also jsfl script on jessewarden.com that you can grab and
 modify to change the linkage names. It doesnt include the component
 name, but frm the looks of it it should be pretty easy to figure out.

 it looks like his site is down at the moment though...

 On 3/22/06, Keith Takayesu [EMAIL PROTECTED] wrote:
  ... Part 2...
 
  I tried it out. Unfortunately, Components don't show up in his list,
  only the Components that have been compiled as clips.
 
  I have contacted the author, Xavi Beumala, and he will look into it for
  the next release.
 
  Thanks again,
  Keith
 
  -Original Message-
  From: [mailto:[EMAIL PROTECTED]
  Sent: March 22, 2006 11:47 AM
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] Re:Global search-and-replace for
  Linkage/ComponentDefinition?
 
 
 
  Keith
 
  Try alf..
 
  http://www.code4net.com/archives/000116.html
 
  I think it does what you want.
 
  Graham Phillips/Codegadget
 
  Is there a tool out there that can perform a global search-and-replace
 
  for Linkages and Component definitions?
 
  We are running into the 64 character limitation on Component
  Definition class paths, so we have decided to shorten our base path.
 
  Ideas?
 
  Thanks,
  Keith
 
  ___
  Join Excite! - http://www.excite.com
  The most personalized portal on the Web!
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Browse folders from flash

2006-03-22 Thread Scott Hyndman
 I am worried about using socket communication, while I have never tested it,
I am afraid some people's software firewalls might flag or block the
communication.

As I understood it, this application will be running locally...in which case, 
firewalls don't even come into it.

In any case, the suggestions to use the swf wrappers are good ones if you don't 
know Java.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of David Rorex
Sent:   Wed 3/22/2006 1:59 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] Browse folders from flash

On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:

 Thanks again.

 Scott, I'm not sure java could explore local client machine directories.
 Could you send me any link?


Java can have full control over your local machine, but the user has to
approve the access first (You have to sign the applet, and then the user
will see a security warning dialog). One this access is approved, you can do
ANYTHING. You could download an arbitrary .exe file from some url and
execute it silently. You could delete random files off their hard drive. So,
make sure your users trust you.
I believe there is also a way to grant only specific privlidges,

To link java code with flash...Could I use flash remoting?


Maybe...but it would be a lot of work.
I am worried about using socket communication, while I have never tested it,
I am afraid some people's software firewalls might flag or block the
communication.

What we have done with sucess in the past, is to use javascript to bind the
two.

Java Applet -- Javascript -- Flash movie

On the flash side, we just used ExternalInterface (Flash 8+ only, but on =
7, you can use the Flash/JS Integration kit)

On the java side, there is documented ways to communicate out to javascript.
Here is a page that shows some examples, you can find more via
searching: http://www.rgagnon.com/javadetails/java-0172.html


-David R


 On 3/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  My two cents - I would highly recommend SWFStudio ( www.northcode.com) -
  browsing directories is a total breeze and you get tons of file I/O
  functionality. You could check out the site and check tutorials or
 sample
  files, I am sure they have onethat does exactly what you need it to do.
 :)
 
   I'm not sure if anyone mentioned this but have you looked at
   screenweaver?
  
   http://osflash.org/screenweaver
  
   I have not tried it myself, still using Zinc, maybe someone else has?
  
  
   On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:
  
   Well, butI need directories on local machine, not in server
   machine
  
   Thanks, anyway
  
   On 3/21/06, Ettwein, Josh [EMAIL PROTECTED] wrote:
   
You could use PHP (or whatever serverside lang you've got) to do a
   directory listing and use is_dir to build youreslf a list of
   directories. Pass that into flash using
remoting/loadvars/xml/whathaveyou and display a list of dirs in
   flash with the full paths as properties of the dir objects you
   display. Clicking on one would allow you to grab that path var.
   Something like that, maybe?
   
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
   Felipe Fernandez
Sent: Tuesday, March 21, 2006 11:07 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Browse folders from flash
   
Yes, I'm agree with you, Rich. I know about FileReference but
FileReference works with files, not directories.
Any suggest?
   
Thanks all.
   
On 3/21/06, Rich Rodecker  [EMAIL PROTECTED] wrote:

 as far as I know you cant just select a folder...flash needs to
   create
   
 a FileReference object for each file in a directory, and it will
   only do that for each individual item that the user selected.  Why
   they couldnt just create one for every file in a directory I don't
   know, but I would imagine it was a security concern.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [OT] Sparx Enterprise Architecht generating Actionscript

2006-03-22 Thread jim
Hi all,

I started playing with EA getting it to generate Actionscript. I need to
know how to place an import statement into a class like:

import com.something.MyClass;

I see it can handle doing this as I have reverse engineered one of my
projects and on regenerating the code the import statements are still there
but I cannot see where it is in EA.

Any help would be great.
Jim

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

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


Re: [Flashcoders] 27th March Sydney Developers study group

2006-03-22 Thread Chris Velevitch
On 3/22/06, Kevin Mulvihill [EMAIL PROTECTED] wrote:
 Oh, I hate to write an email like this, but I just keep wishing that all the
 emails from this user group would just go away... And they don't. There's
 another one today. Bash on me if you want, but I just don't think this is
 appropriate fodder for an internationally-based coding list. How many of the
 thousands of coders on this list are in Sydney anyway? 3? 5? 10? For the

Hopefully, more than 10. In fact, when Flash 8 was launched, in
Sydney, there as a whole auditorium full of people. Where are they
know? I don't know. How did they get there? Direct email announcement
from Macromedia, I presume.

Why am I posting the Sydney groups announcements here? The local
Australian flash list
http://lists.daemon.com.au/cgi-bin/lyris.pl?enter=fugli has for the
past 12 months been extremely quiet and makes me think that there
there are more Sydneysiders on this list than fugli. So basically, I'm
trying to cover all bases. I'm also posting to flexcoders and
actionscript.org.

 rest of us, these notices are just trash bin material and a complete waste
 of bandwidth. I know it's only a small number of postings coming through
 here each month, but what if EVERY user group started posting their meeting
 notices here? How many user groups are there worldwide? Hundreds? THOUSANDS?
 We would quickly be overrun. And it's simply not fair to let one post and
 not another. Even Figleaf, who runs this list AND a number of user groups,
 doesn't post their meeting notices here.

 I don't mind a new group starting up sending one or two announcement posts
 to the list - there are a lot of coders here and hopefully a new group can
 get an initial influx of members in this way. But the Sydney group is nearly
 a year old, so it seems to me that THIS LIST ought to be able to get back to
 coding issues, of which there are plenty, sometime soon.

I appreciate your sentiment. Let me try a few things to boost the
fugli list or at least boost my confidence that the target audience is
subscribed to fugli.

Let's begin with:-


Hey all Sydneysiders!,

Post a message to
http://lists.daemon.com.au/cgi-bin/lyris.pl?enter=fugli if you're in
Sydney (or near Sydney) (Australia that is,sorry Canada) and are
reading this please post a message saying which lists you subscribe
to.



Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FATAL Zinc issue

2006-03-22 Thread coroner
cool :) nice bug :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Slightly OT: exporting QT w/ alpha channel

2006-03-22 Thread Kevin Newman

Hello Michael,

I have used transparent png sequence (32-bit pngs) in the past with 
After Effects. Maybe something similar will work with Avid or Premiere?


Kevin N.


Mendelsohn, Michael [EMAIL PROTECTED] wrote:

Hi list...

I'm trying to export my animation as a quicktime with an alpha channel
so I can bring it into either Avid or Premiere Pro with the alpha
channel intact.  Is this possible?  When I set the alpha-transparent
setting in publish settings, the resulting .mov file has all inverted
colors.  I can't seem to figure out what the correct combination of
steps to do would be.  Any advice is 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


Re: [Flashcoders] Slightly OT: exporting QT w/ alpha channel

2006-03-22 Thread Weyert de Boer

Kevin Newman wrote:

Hello Michael,

I have used transparent png sequence (32-bit pngs) in the past with 
After Effects. Maybe something similar will work with Avid or Premiere?
You should be abe to import PNG sequences just fine Premiere, it doesn't 
(yet?) support the import of SWF files though. You should be able to export

your creation as SWF file again.

Yours,
Weyert

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [OT] Sparx Enterprise Architecht generating Actionscript

2006-03-22 Thread David Rorex
On 3/22/06, jim [EMAIL PROTECTED] wrote:

 Hi all,

 I started playing with EA getting it to generate Actionscript. I need to
 know how to place an import statement into a class like:

 import com.something.MyClass;

 I see it can handle doing this as I have reverse engineered one of my
 projects and on regenerating the code the import statements are still
 there
 but I cannot see where it is in EA.

 Any help would be great.
 Jim


I don't know what Sparx EA is, but I know this about import statements:
When your movie is compiled, 'import' statements do not actually generate
any code.

The following two examples will produce exactly the same swf bytecode:

1:
import com.something.MyClass;
x = new MyClass();

2:
x = new com.something.MyClass();

So you don't really need import for anything, it is just to make the typing
easier when writing classes.

FYI: Just because you import a class, does NOT mean it will be compiled. You
actually have to reference it somewhere, either via a new statement, or
referencing it directly.

hope this helps,
-David R
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [ANN] Oregano 1.2.0 Release Candidate 1

2006-03-22 Thread erixtekila

Hi all,



Make you a favor and give a shot to this new release that seems to be 
really stable :

http://www.v-i-a.net/forum/viewtopic.php?t=23

Any feedbacks are welcome.
Cheers.
---
erixtekila
http://blog.v-i-a.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] A little Matrix.invert() mystery

2006-03-22 Thread Alan Shaw
Thomas Pfeiffer, author of the DistortImage class, notes in his blog that
Matrix.invert() returns a result different from the true mathematical
inverse of the matrix!

He calls the invert() function on a new Matrix(1, 2, 3, 4, 5, 6)
and gets back
(a=-2, b=1, c=1.5, d=-0.5, *tx=1, ty=-2*)
rather than the expected
{a: -2, b: 1, c: 1.5, d: -0.5, tx: 4, ty: -4.5}
as returned by an explicit (and by the way faster) matrix invert function he
wrote himself,
and as returned in Matlab.
But this erroneous result, when concatted with the original in Flash,
gives the identity matrix!
What can be going on here?

Here's the link to his blog (in French):
http://kiroukou.media-box.net/blog/mes-recherches-sur-flash/62-classe-matrix-de-flash8-eronnee.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] FATAL Zinc issue

2006-03-22 Thread Troy Rollins


On Mar 21, 2006, at 9:10 PM, Gene Jannece wrote:

I work for a company that is greatly effected by the New Zinc issue  
that popped up.
I was wondering if anybody had found a quick fix or if it's really  
totally fatal.


The Zinc guys never fail to find clever new functionalities. I know  
I've certainly never been let down, and often been surprised at the  
depth of their ummm... cleverness. Deleting all user info certainly  
shows off the unbridled power of their software. Still, it would be a  
lot better if they would bridle it, I think.  ;-)


--
Troy
RPSystems, Ltd.
http://www.rpsystems.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] Can you detect changes in the BROWSER scrollbar?

2006-03-22 Thread matt stuehler
All,

Let's say you have a Flash movie that's 800 pixels wide x 1200 pixels
tall. If the movie is displayed in a browser window that's less than
1200 pixels tall, the browser will provide a scrollbar to accomodate
the extra height.

What I'd like to know is this: is it possible for the Flash movie to
detect changes in that scrollbar? More specifically - is it possible
to detect the exact value (height, maxheight, position, etc.) of that
scrollbar?

I'd be interested in an Actionscript function, or a javascript
function that passes to the Flash movie information about the
scrollbar height and position.

Many thanks for your insight and advice!

Cheers,
Matt Stuehler
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] bubbling up

2006-03-22 Thread Cole Peterson
Has anyone gotten bubbling up functionality to work?  as2.

I am sure someone has.

Dispatching a msg from a buried child class or mc up to a base class.

check out

http://www.peterelst.com/blog/2006/01/07/Event-Bubbling/

for more info on what I am talking about.

Also is it more trouble than it is worth? But  I am sick of passing in 
pParent or creating a chain of listeners and now I am tempted to use a _global 
function. And then I would be kicked out of the club. 

I see code out there but can't make it work. or maybe I do not fully understand 
what it is meant to do?

Thanks in advance! I am Cole.

 

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

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


  1   2   >