Re: [Flashcoders] what are differences between Flash5 and FlashMX?

2006-02-07 Thread Danny Kodicek


Well, I'll probably skip 10 billion details including IDE features, but 
here

goes my 2 minute stint on the good stuff:


One important thing you missed is JSFL: the ability to automate processes 
through code has been a lifesaver for me in two recent projects (was it 
introduced in MX04 or in MX?)


Danny 


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


Re: [Flashcoders] what are differences between Flash5 and FlashMX?

2006-02-07 Thread JesterXL
Well, I'll probably skip 10 billion details including IDE features, but here 
goes my 2 minute stint on the good stuff:

Flash Player 5
---
- introduced ActionScript the programming language, matching JavaScript
- introduced the XML object.  Slow as nuts, but she worked
- introduced the XMLSocket object... AJAX still ain't got sockets
- introduced the Object structure to the language
- prototype was born (at least, you could screw with it)
- ... and so was the rebel alliance (Class.prototype = new MovieClip() vs. 
Class.prototype.__proto__ = MovieClip.prototype)
- attachMovie; make something from nothing vs. duplicateMovieClip; create a 
something from something

Flash Player 6
---
- introduced object events (like onPress, onRelease, onMouseMove)
- #initclip/#endinitclip born to allow control of initialization order of 
components
- Object.registerClass used in tandem with above led to re-usable 
components, and the birth of re-usable Flash widgets (SmartClips existed in 
Flash 5 but didn't take off like they did in 6)
- TextFields became a class, and you could create them dynamically
- non-progressive JPG's could be loaded dynamically
- mp3's could be loaded dynamically
- you could draw vectors via the drawing API
- you could play real-time streaming video & audio, as well as broadcast 
video & audio from your webcam and microphone
- Local Shared Objects (aka Flash cookies)
- Remote Shared Objects
- mask device text at 6.0.41.0
- bytecode optimizations at 6.0.65.0
- remote EXE installation into secure sandbox at 6.0.65.0 via System.Product 
from https://www.macromedia.com.  Currently only 3 exist (Flash Player 8, 
Breeze Player, Central)
- helpful methods added to the ActionScript language
- zLib compression
- infamous settings panel
- faster XML parsing

Flash Player 7
---
- ActionScript 2 - ECMA 2-3 'ish.  We now have a class based language.  Cool 
thing is, it still allows you to compile to Flash Player 6 since 
ActionScript 2 creates ActionScript 1 bytecode.
- middle-mouse scrolling
- TextSnapshot added so FlashPaper could be made
- dynamic loading of FLV's (don't need Flash Communication Server)
- MovieClip context menu
- a few helpful methods added to AS2
- faster XML parsing

Flash Player 8
---
- effects - Blur, DropShadow, etc. all built into the player
- Bitmap drawing features with API's for AS2
- hardware accelerated Mac Player
- load any JPG, GIF, and PNG dynamically
- new garbage collector
- sub-movie clip context menus
- a few helpful methods added to AS2
- the f'ing annoying local & remote security (but needed to quite the 
h8ters)
- File Upload
- other various blitting operations (cacheAsBitmap, scrollRect, etc)
- faster XML parsing because of player code optimizations


Flash Player 8.5 (as of beta 1)
- ActionScript 3 - ECMA 4 compliant, not backwards compatible.  JIT compiler 
goes to machine code, and is a true class based language
- runtime exceptions
- read-only prototype
- traits helpful in speeding up inheritance lookups
- additional datatypes like int, uint, and *
- EventDispatcher built-in (biggest bottleneck in pre-8.5 projects)
- binary Sockets
- E4X - ecma for xml
- a new Sprite; like a MovieClip, but without the frames
- DisplayList - visual objects are no longer required to use factory 
functions.  attachMovie("SymbolName", "name", depth) becomes var a:MovieClip 
= new MovieClip(); addChild(a);
- ActionScript language cleaned up
- faster XML parsing (still faster than E4X, suckaz!)

There are tons of other things, but that's the good stuff.




- Original Message - 
From: "zikey Han" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, February 08, 2006 12:26 AM
Subject: Re: [Flashcoders] what are differences between Flash5 and FlashMX?


The new player features!
Thank you!






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

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


Re: [Flashcoders] what are differences between Flash5 and FlashMX?

2006-02-07 Thread zikey Han
The new player features!
Thank you!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what are differences between Flash5 and FlashMX?

2006-02-07 Thread JesterXL
A lot.  Anything in particular?  The Flash Player?  The hardware 
requirements for the players?  The change in the ActionScript language?  The 
new player features?  The new IDE features?

- Original Message - 
From: "zikey Han" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 08, 2006 12:11 AM
Subject: [Flashcoders] what are differences between Flash5 and FlashMX?


Hi,list;

I want to know what  differences are between Flash5 and FlashMX?even between
Flash MX and Flash2004.
And the differences of flash between Window and OS






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

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


Re: [Flashcoders] Audio Chat

2006-02-07 Thread Ramon Tayag
Thank you!  Will do much reading now.

On 2/8/06, Chris Allen <[EMAIL PROTECTED]> wrote:
> You can also use Red5 http://osflash.org/red5 or Flash Media Server for
> this.
>
> -Chris
--
Ramon Miguel M. Tayag
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Secure Site Question

2006-02-07 Thread Tyler Wright
Susan,

Your problem isn't the application accepting the certificate, it's the
browser that has to accept it. Flash embedded in a web page communicates
through the browser. Unfortunately, in some cases where you'd usually get a
warning (such as with Netscape), it silently fails.

The best thing to do until you figure out whats wrong with your certificate
is to have the HTML itself served up from your secure site. This will then
always prompt the user to accept, allowing them to view other content (the
FLV's) from that site.

Tyler

On 2/7/06, Lord, Susan Ms. (CONTR) <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>
>
> I am new to the list, so I hope this question isn't too basic for you,
> but since I did not receive a response on Flash Newbies,  I figured I
> would try here.
>
>
>
> Here is the problem:
>
>
>
> I linking my flv player to an FLV that is stored on a secure site which
> requires a certificate. The certificate is up to date (not expired), but
> I am still having trouble loading the video.  In Netscape I am prompted
> if I want to accept the cert and it works like a charm. But in IE, I
> don't receive a prompt and it just doesn't run.  Any ideas on what I can
> do to fix this?  Ideally, I would like the application to just accept
> the cert in the background, without prompting the student.
>
>
>
> (I am developing in Flash 8)
>
>
>
> Thanks!
>
> Susan
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] what are differences between Flash5 and FlashMX?

2006-02-07 Thread David Clarke
Does anyone want to dignify this with a response?

- David Clarke


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of zikey
Han
Sent: Wednesday, 8 February 2006 4:11 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] what are differences between Flash5 and FlashMX?

Hi,list;

I want to know what  differences are between Flash5 and FlashMX?even
between
Flash MX and Flash2004.
And the differences of flash between Window and OS
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] what are differences between Flash5 and FlashMX?

2006-02-07 Thread zikey Han
Hi,list;

I want to know what  differences are between Flash5 and FlashMX?even between
Flash MX and Flash2004.
And the differences of flash between Window and OS
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do you code your Flash applications?

2006-02-07 Thread Tyler Wright
> The range of depths that you can't removeMovieClip() in is between 0 -
> 1048575 ...



excuse me, that you can't removeMovieClip() outside of... if your  MovieClip
is outside of that range, removeMovieClip() doesn't work. Everything else,
however, behaves as normal.

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


Re: [Flashcoders] How do you code your Flash applications?

2006-02-07 Thread Tyler Wright
> app open overnight and used it for several days in a row, they could
> theoretically open enough windows to hit the 65,535 depth limit and
> unexpected things could happen. So I went ahead and wrote the extra 10
> lines
> of code to keep the depths consecutive, and circumvented the problem
> before
> it ever occurred.
>

10 extra lines, but 3 times the processor. For the record, there has never
been a depth limit of 65,535. The range of depths that you can't
removeMovieClip() in is between 0 - 1048575 ... 1048575 being the magic
number that Macromedia uses on the _root for their highest depth. But really
you can still swapDepths() up to 2130690045. I think Flash itself will start
having problems long before your application does.  For the record.

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


Re: [Flashcoders] Extract actionscript from .FLA?

2006-02-07 Thread Josh McDonald
I agree, but there's no way I'd get the go-ahead for refactoring of that
size. Lousy bean-counters :( I'm just lucky for the amount of code
that's already in .as files. Thanks for the link btw :)
 
-- 
 
"His comrades fought beside him, Van Owen and the rest...
   But of all the thompson gunners- Roland was the best."
 
Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 08/02/2006 2:37:04 pm >>>

On 2/8/06, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Just wondering if there's a tool to batch extract actionscript from
.FLA
> files? I'm not trying to reverse-engineer some stuff off the net- I
have
> the .fla files, I just want to be able to search it without opening
them
> in flash and (trying to) locate every snippet of AS contained
therein.

You could try ActionScript Viewer (http://buraks.com/asv/).

In the long term, it sounds like you should put all you code into .as
files and link to them in your .fla library. That way you can use any
standard text search utility to do batch searches across multiple
files and/or directories..


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders







***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The 
contents of this message are to be used for the intended purpose only and are 
to be kept confidential at all times.
This message may contain privileged information directed only to the intended 
addressee/s. Accidental receipt of this information should be deleted promptly 
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.


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


Re: [Flashcoders] Extract actionscript from .FLA?

2006-02-07 Thread Chris Velevitch
On 2/8/06, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Just wondering if there's a tool to batch extract actionscript from .FLA
> files? I'm not trying to reverse-engineer some stuff off the net- I have
> the .fla files, I just want to be able to search it without opening them
> in flash and (trying to) locate every snippet of AS contained therein.

You could try ActionScript Viewer (http://buraks.com/asv/).

In the long term, it sounds like you should put all you code into .as
files and link to them in your .fla library. That way you can use any
standard text search utility to do batch searches across multiple
files and/or directories..


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Extract actionscript from .FLA?

2006-02-07 Thread Josh McDonald
Just wondering if there's a tool to batch extract actionscript from .FLA
files? I'm not trying to reverse-engineer some stuff off the net- I have
the .fla files, I just want to be able to search it without opening them
in flash and (trying to) locate every snippet of AS contained therein.
 
Cheers,
-Josh
 
-- 
 
"His comrades fought beside him, Van Owen and the rest...
   But of all the thompson gunners- Roland was the best."
 
Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]




***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The 
contents of this message are to be used for the intended purpose only and are 
to be kept confidential at all times.
This message may contain privileged information directed only to the intended 
addressee/s. Accidental receipt of this information should be deleted promptly 
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.


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


Re: [Flashcoders] Unit Tesing Framework Recommendations

2006-02-07 Thread Johannes Nel
asunit.org works with flex and flash. they also already have an as3 version
out. for flash especially its a very mature tool. itteration2 (now adobe
consulting) also build something called flex unit which a lot of people use.
i am certain thats very usable with flash as well, may require a bit of
rework.

On 2/7/06, Chris Velevitch <[EMAIL PROTECTED]> wrote:
>
> I'm interested in finding what unit testing frameworks exist for Flash
> and the pros and cons of each.
>
>
> Chris
> --
> Chris Velevitch
> Manager - Sydney Flash Platform Developers Group
> www.flashdev.org.au
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


[Flashcoders] Unit Tesing Framework Recommendations

2006-02-07 Thread Chris Velevitch
I'm interested in finding what unit testing frameworks exist for Flash
and the pros and cons of each.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash 8 Projectors under OS 9

2006-02-07 Thread Tim Cox


Projectors I've created under Flash MX2004 run fine on OS 9 where as
Projectors created under Flash 8 won't run on OS 9. I know the minimum
requirement for Flash Player 8 is OS X, but is it possible to create  
a OS 9

compatible projector in Flash 8 or do I have to recompile in MX2004?


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


Re: [Flashcoders] dynamic text field whoas

2006-02-07 Thread Nathan Derksen
Damn, I always thought that seemed a silly way to do it. After all  
this time of re-calling that bloody thing every time I changed it.


Thanks for the correction, I'll go back and fix my old code :-)

Nathan
http://www.nathanderksen.com


On Feb 7, 2006, at 2:49 PM, Ian Thomas wrote:


Or call setNewTextFormat() instead.

setTextFormat() applies to the _existing_ text within the field.

setNewTextFormat() applies to any text that will be put into the  
field.


This is why (Nathan) you're having to call setTextFormat() multiple  
times -

calling setNewTextFormat() just once, before putting anything into the
field, should solve that issue.

HTH,
  Ian

On 2/7/06, Nathan Derksen <[EMAIL PROTECTED]> wrote:


You need to re-apply setTextFormat() every time you change the .text
or .htmlText properties of a text field:


percent.text = percentNum;
percent.setTextFormat(ldrFormat);


I tried this out with your code, and it worked fine afterwards.



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



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


Re: [Flashcoders] dynamic text field whoas

2006-02-07 Thread Ian Thomas
Or call setNewTextFormat() instead.

setTextFormat() applies to the _existing_ text within the field.

setNewTextFormat() applies to any text that will be put into the field.

This is why (Nathan) you're having to call setTextFormat() multiple times -
calling setNewTextFormat() just once, before putting anything into the
field, should solve that issue.

HTH,
  Ian

On 2/7/06, Nathan Derksen <[EMAIL PROTECTED]> wrote:
>
> You need to re-apply setTextFormat() every time you change the .text
> or .htmlText properties of a text field:
>
> 
> percent.text = percentNum;
> percent.setTextFormat(ldrFormat);
> 
>
> I tried this out with your code, and it worked fine afterwards.
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] dynamic text field whoas

2006-02-07 Thread Nathan Derksen
You need to re-apply setTextFormat() every time you change the .text  
or .htmlText properties of a text field:



percent.text = percentNum;
percent.setTextFormat(ldrFormat);


I tried this out with your code, and it worked fine afterwards.

Nathan
http://www.nathanderksen.com


On Feb 7, 2006, at 2:01 PM, Corban Baxter wrote:

Can anyone tell me why my text won't change in my percent.text  
field that I am creating dynamicly...?


[code]

var ldrFormat:TextFormat = new TextFormat();
ldrFormat.color = 0x00;
ldrFormat.font = "dirty_head";
ldrFormat.size = 69;

posX = 91;
posY = 0;
this.createTextField("percent", this.getNextHighestDepth(), posX,  
posY, 1, 1);

percent.autoSize = true;
percent.text = "0";
percent.embedFonts = true;
percent.setTextFormat(ldrFormat);

trace("percent.posX: " + posX);
trace("percent.posY: " + posY);


percentIcon_mc.onEnterFrame = function(){
spacing = percent._width+93;
//trace(this.percent);
this._x = spacing;
//trace(_parent.spacing);

loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
//trace(total);
//trace(loaded);
percentNum = Math.floor((loaded/total)*100);
//percentNum.toString();
percent.text = percentNum;
trace(percentNum);
}

stop();

[/code]

Corban Baxter  |  rich media designer  |   
www.funimation.com



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



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


RE: [Flashcoders] dynamic text field whoas

2006-02-07 Thread Merrill, Jason
Try this instead:

this.createTextField("percent", 1, 100, 100, 300, 100);
percent.multiline = true;
percent.wordWrap = true;
var my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0x00;
my_fmt.underline = true;
percent.text = "0";
percent.setTextFormat(my_fmt);

percentIcon_mc.onEnterFrame = function(){
loaded = getBytesLoaded();
total = getBytesTotal();
percentNum = Math.floor((loaded/total)*100);
percent.text = percentNum;
}

stop();


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Corban Baxter
>>Sent: Tuesday, February 07, 2006 5:02 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] dynamic text field whoas
>>
>>Can anyone tell me why my text won't change in my percent.text field that I am
>>creating dynamicly...?
>>
>>[code]
>>
>>var ldrFormat:TextFormat = new TextFormat();
>>ldrFormat.color = 0x00;
>>ldrFormat.font = "dirty_head";
>>ldrFormat.size = 69;
>>
>>posX = 91;
>>posY = 0;
>>this.createTextField("percent", this.getNextHighestDepth(), posX, posY, 1, 1);
>>percent.autoSize = true;
>>percent.text = "0";
>>percent.embedFonts = true;
>>percent.setTextFormat(ldrFormat);
>>
>>trace("percent.posX: " + posX);
>>trace("percent.posY: " + posY);
>>
>>
>>percentIcon_mc.onEnterFrame = function(){
>>  spacing = percent._width+93;
>>  //trace(this.percent);
>>  this._x = spacing;
>>  //trace(_parent.spacing);
>>
>>  loaded = _parent.getBytesLoaded();
>>  total = _parent.getBytesTotal();
>>  //trace(total);
>>  //trace(loaded);
>>  percentNum = Math.floor((loaded/total)*100);
>>  //percentNum.toString();
>>  percent.text = percentNum;
>>  trace(percentNum);
>>}
>>
>>stop();
>>
>>[/code]
>>
>>Corban Baxter  |  rich media designer  |  www.funimation.com
>>
>>
>>___
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] dynamic text field whoas

2006-02-07 Thread Merrill, Jason
Have you thrown some traces in there?  What do they show? Where is it breaking?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Corban Baxter
>>Sent: Tuesday, February 07, 2006 5:02 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] dynamic text field whoas
>>
>>Can anyone tell me why my text won't change in my percent.text field that I am
>>creating dynamicly...?
>>
>>[code]
>>
>>var ldrFormat:TextFormat = new TextFormat();
>>ldrFormat.color = 0x00;
>>ldrFormat.font = "dirty_head";
>>ldrFormat.size = 69;
>>
>>posX = 91;
>>posY = 0;
>>this.createTextField("percent", this.getNextHighestDepth(), posX, posY, 1, 1);
>>percent.autoSize = true;
>>percent.text = "0";
>>percent.embedFonts = true;
>>percent.setTextFormat(ldrFormat);
>>
>>trace("percent.posX: " + posX);
>>trace("percent.posY: " + posY);
>>
>>
>>percentIcon_mc.onEnterFrame = function(){
>>  spacing = percent._width+93;
>>  //trace(this.percent);
>>  this._x = spacing;
>>  //trace(_parent.spacing);
>>
>>  loaded = _parent.getBytesLoaded();
>>  total = _parent.getBytesTotal();
>>  //trace(total);
>>  //trace(loaded);
>>  percentNum = Math.floor((loaded/total)*100);
>>  //percentNum.toString();
>>  percent.text = percentNum;
>>  trace(percentNum);
>>}
>>
>>stop();
>>
>>[/code]
>>
>>Corban Baxter  |  rich media designer  |  www.funimation.com
>>
>>
>>___
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Sound.loadSound() -- How to Handle HTTP Errors Gracefully

2006-02-07 Thread Jeff Mastropietro
Does anyone have any ideas about how to handle HTTP or connectivity 
errors gracefully when using Sound.loadSound()?  I'm using the onLoad 
event, with a function like so:


mysound = new Sound(this);
mysound.onLoad = function(success:Boolean) {
   if (!success) {
   getURL("javascript:alert('Failed to load the file selected.  The 
file may no longer exist, or the connection failed.');");

   }
};

However, I still encounter cases where the sound simply won't play, and 
I don't get the alert message either.


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


[Flashcoders] dynamic text field whoas

2006-02-07 Thread Corban Baxter
Can anyone tell me why my text won't change in my percent.text field that I am 
creating dynamicly...?

[code]

var ldrFormat:TextFormat = new TextFormat();
ldrFormat.color = 0x00;
ldrFormat.font = "dirty_head";
ldrFormat.size = 69;

posX = 91;
posY = 0;
this.createTextField("percent", this.getNextHighestDepth(), posX, posY, 1, 1);
percent.autoSize = true;
percent.text = "0";
percent.embedFonts = true;
percent.setTextFormat(ldrFormat);

trace("percent.posX: " + posX);
trace("percent.posY: " + posY);


percentIcon_mc.onEnterFrame = function(){
spacing = percent._width+93;
//trace(this.percent);
this._x = spacing;
//trace(_parent.spacing);

loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
//trace(total);
//trace(loaded);
percentNum = Math.floor((loaded/total)*100);
//percentNum.toString();
percent.text = percentNum;
trace(percentNum);
}

stop();

[/code]

Corban Baxter  |  rich media designer  |  www.funimation.com


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


Re: Re: [Flashcoders] dynamic text field width

2006-02-07 Thread Charles Parcell
autoSize = true === autoSize = "left"

can also do autoSize = "center" and autoSize = "right"

Charles P.



On 2/7/06, Viktor Berzsinszky <[EMAIL PROTECTED]> wrote:
>
> can hardly remember but the "autoSize" field is
> ->"left"
> ->or [see help]
>
> and does the resizing for you. you get the width by the field
> [_width] of the movieClip after resizing
>
> so long
>
> v.
>
>
> >
> >myText._width = 1;
> >myText.autoSize = true;
> >??
> >
> >Charles P.
> >
> >
> >On 2/7/06, Corban Baxter <[EMAIL PROTECTED]> wrote:
> >>
> >> Hey guys just a quick question about creating dynamic text fields.
> >> I am working on a horizontal scrolling menu that uses xml to store
> url's
> >> and website titles that will be used to create a menu.
> >> Below is example XML.
> >>
> >> 
> >> http://www.google.com />
> >> http://www.msn.com />
> >> http://www.yahoo.com />
> >> etc
> >> 
> >>
> >> What I want to do is place the "title" in a dynamic text field and
> create
> >> a button around that text field.
> >> Problem is I need to determine the width of the text field by the
> length
> >> of the string so the buttons can vary in size.
> >> Cause "google" is a lot longer than "MSN" etc..
> >>
> >> |___|_title_|___| - Example button.. the blank area would be extend
> area
> >> for the hit state.
> >>
> >> So is there a way to adjust the text field width to the length of the
> >> string?
> >> I hope this makes enough sense to get the question answered.
> >> If you need more help let me know and I will put together some kind of
> a
> >> test to show.
> >> I have tried but not really getting the results I want. Thanks all!
> >>
> >>
> >> Corban Baxter |rich media designer |www.funimation.com
> >>
> >>
> >> ___
> >> Flashcoders mailing list
> >> Flashcoders@chattyfig.figleaf.com
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >
> >___
> >Flashcoders mailing list
> >Flashcoders@chattyfig.figleaf.com
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] creating globally callable functions

2006-02-07 Thread Manuel Saint-Victor
Thanks Jesse,

I'm pretty much stuck in AS2 for this one but I'm gonna try out your
suggestion. It looks like it should do it.  Thanks,

Mani

On 2/7/06, JesterXL <[EMAIL PROTECTED]> wrote:
>
> Use AS3...
>
> ...unless you can't, in which case:
>
> class Sample
> {
> public static function drawInchBox(p_mc:MovieClip):Void
> {
> p_mc.beginFill(0x00);
> p_mc.lineTo(72, 0);
> p_mc.lineTo(72, 72);
> p_mc.lineTo(0, 72);
> p_mc.lineTo(0, 0);
> p_mc.endFill();
> }
> }
>
> // to use
> import Sample;
> Sample.foo(this);
>
> If you have a function you want to borrow, you can force it in the same
> scope, for example, drawRect on UIComponent.
>
> UIComponent.drawRect.call(this);
>
> Youc an also use apply, but should only use that if you don't know how
> many
> parameters you'll have.  Example:
>
> function move2()
> {
> _x += 2;
> }
>
> move2.call(my_mc.sub_mc);
>
> VS:
>
> function move(x, y)
> {
> _x = x;
> _y = y;
> }
>
> move.call(my_mc.sub_mc, 1, 2);
>
> VS:
>
> // in AS3, it'd be (...rest) instad of ()
> function moveSum()
> {
> var i:Number = arguments.length;
> var result:Number = 0;
> while(i--)
> {
> result += arguments[i];
> }
> _x = result;
> }
>
> move.apply(my_mc.sub_mc, 1, 2, 3, 5, 4, 6);
> move.apply(my_mc.sub_mc, 10, 10);
>
> You can still do bracket access:
>
> class Responder
> {
> var obj:Object;
> var func:Function;
> var func_str:String;
>
> public functoin callback1()
> {
> func.call(obj);
> }
>
> public function callback2()
> {
> obj[func_str]();
> }
> }
>
> Either or will work, although, bracket access via a string isn't very
> safe,
> specially in AS3 since you can't get compile errors on string names, and
> you'll only get runtime errors in Flash Player 8.5.
>
> For now, it works in AS2 though, and fails silently.
>
>
>
>
> - Original Message -
> From: "Manuel Saint-Victor" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Tuesday, February 07, 2006 3:41 PM
> Subject: [Flashcoders] creating globally callable functions
>
>
> Not to start back the discussion of global- nor do I really have the
> option
> of discussing whether this is right or wrong---
> I'm looking for the best way to allow some functions to be callable from
> any
> timeline  but still execute in the scope of the class in which they are
> defined.
>
> I have initially tried sending then to be static functions on a static
> class
> and therefore callable without instantiation- like this:
>
> Ax.myFunction=realFunction;
>
>
> in this case I had the class that contained the realFunction() adding
> "myFunction"  as a static class property of Ax.  The result -was that the
> functions were called in the scope of the Ax class - as soon as I thought
> about this the reason for this was obvious- but that leaves me without a
> solution.
>
> Does anyone have a suggestion for this?
>
>
> M
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] creating globally callable functions

2006-02-07 Thread Nathan Derksen
Depending on what you need to access, one way could be through a  
singleton class. Add the private static var and getInstance() method  
as shown below to any class, and you can then call it from anywhere.  
This only works if you will only ever have exactly one instance of  
this class.


class MyClass
{
private static var pInstance:MyClass = null;

private function MyClass()
{
		// Constructor not public, called by getInstance() only for first  
invocation

}

public static function getInstance():MyClass
{
if (MyClass.pInstance == null)
{
MyClass.pInstance = new MyClass();
}
return MyClass.pInstance;
}

public function foo():Void
{
...
}
...
}

You can then call a method of this class from anywhere, and it will  
run in the scope of the called class instance:


var instanceHandle:MyClass = MyClass.getInstance();
instanceHandle.foo();

Otherwise, assign an instance of the class you wish to call to  
_global, and use that throughout.


Nathan
http://www.nathanderksen.com


On Feb 7, 2006, at 12:41 PM, Manuel Saint-Victor wrote:

Not to start back the discussion of global- nor do I really have  
the option

of discussing whether this is right or wrong---
I'm looking for the best way to allow some functions to be callable  
from any
timeline  but still execute in the scope of the class in which they  
are

defined.

I have initially tried sending then to be static functions on a  
static class

and therefore callable without instantiation- like this:

Ax.myFunction=realFunction;


in this case I had the class that contained the realFunction() adding
"myFunction"  as a static class property of Ax.  The result -was  
that the
functions were called in the scope of the Ax class - as soon as I  
thought
about this the reason for this was obvious- but that leaves me  
without a

solution.

Does anyone have a suggestion for this?


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



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


Re: [Flashcoders] creating globally callable functions

2006-02-07 Thread JesterXL
Use AS3...

...unless you can't, in which case:

class Sample
{
public static function drawInchBox(p_mc:MovieClip):Void
{
p_mc.beginFill(0x00);
p_mc.lineTo(72, 0);
p_mc.lineTo(72, 72);
p_mc.lineTo(0, 72);
p_mc.lineTo(0, 0);
p_mc.endFill();
}
}

// to use
import Sample;
Sample.foo(this);

If you have a function you want to borrow, you can force it in the same 
scope, for example, drawRect on UIComponent.

UIComponent.drawRect.call(this);

Youc an also use apply, but should only use that if you don't know how many 
parameters you'll have.  Example:

function move2()
{
_x += 2;
}

move2.call(my_mc.sub_mc);

VS:

function move(x, y)
{
_x = x;
_y = y;
}

move.call(my_mc.sub_mc, 1, 2);

VS:

// in AS3, it'd be (...rest) instad of ()
function moveSum()
{
var i:Number = arguments.length;
var result:Number = 0;
while(i--)
{
result += arguments[i];
}
_x = result;
}

move.apply(my_mc.sub_mc, 1, 2, 3, 5, 4, 6);
move.apply(my_mc.sub_mc, 10, 10);

You can still do bracket access:

class Responder
{
var obj:Object;
var func:Function;
var func_str:String;

public functoin callback1()
{
func.call(obj);
}

public function callback2()
{
obj[func_str]();
}
}

Either or will work, although, bracket access via a string isn't very safe, 
specially in AS3 since you can't get compile errors on string names, and 
you'll only get runtime errors in Flash Player 8.5.

For now, it works in AS2 though, and fails silently.




- Original Message - 
From: "Manuel Saint-Victor" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, February 07, 2006 3:41 PM
Subject: [Flashcoders] creating globally callable functions


Not to start back the discussion of global- nor do I really have the option
of discussing whether this is right or wrong---
I'm looking for the best way to allow some functions to be callable from any
timeline  but still execute in the scope of the class in which they are
defined.

I have initially tried sending then to be static functions on a static class
and therefore callable without instantiation- like this:

Ax.myFunction=realFunction;


in this case I had the class that contained the realFunction() adding
"myFunction"  as a static class property of Ax.  The result -was that the
functions were called in the scope of the Ax class - as soon as I thought
about this the reason for this was obvious- but that leaves me without a
solution.

Does anyone have a suggestion for this?


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

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


[Flashcoders] Complex paremeters interface for component

2006-02-07 Thread Éric Thibault
A quick question after searching the macromedia site for tutorials and 
all


I have to produce a component with lots of parameters and would like to 
regroup them like in this image:


   http://www.horsefish.net/ElementalFX/v2docs/tut2_fig3.gif

How can I make something like that?

Thanks a million.

Éric.

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


[Flashcoders] creating globally callable functions

2006-02-07 Thread Manuel Saint-Victor
Not to start back the discussion of global- nor do I really have the option
of discussing whether this is right or wrong---
I'm looking for the best way to allow some functions to be callable from any
timeline  but still execute in the scope of the class in which they are
defined.

I have initially tried sending then to be static functions on a static class
and therefore callable without instantiation- like this:

Ax.myFunction=realFunction;


in this case I had the class that contained the realFunction() adding
"myFunction"  as a static class property of Ax.  The result -was that the
functions were called in the scope of the Ax class - as soon as I thought
about this the reason for this was obvious- but that leaves me without a
solution.

Does anyone have a suggestion for this?


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


[Flashcoders] Secure Site Question

2006-02-07 Thread Lord, Susan Ms. (CONTR)
Hello, 

 

I am new to the list, so I hope this question isn't too basic for you,
but since I did not receive a response on Flash Newbies,  I figured I
would try here.

 

Here is the problem: 

 

I linking my flv player to an FLV that is stored on a secure site which
requires a certificate. The certificate is up to date (not expired), but
I am still having trouble loading the video.  In Netscape I am prompted
if I want to accept the cert and it works like a charm. But in IE, I
don't receive a prompt and it just doesn't run.  Any ideas on what I can
do to fix this?  Ideally, I would like the application to just accept
the cert in the background, without prompting the student.

 

(I am developing in Flash 8) 

 

Thanks!

Susan

 

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


Re: [Flashcoders] need: optimized particles

2006-02-07 Thread Jim Armstrong

artur wrote:

perferably flash 7 and above.

something like this is prefered ( in terms of performance ):

http://www.blprnt.com/swf/ParticleSwarm.htm
  

Here are a couple to get you started,

http://www.bit-101.com/Particles/

http://www.horsefish.net/ElementalFX/


good luck!

- jim

--
2112 FX :: Singularity
[Business Intelligence][Custom Programming]
Flash Math Blog :: www.2112fx.com/blog


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


[Flashcoders] need: optimized particles

2006-02-07 Thread artur
perferably flash 7 and above.

something like this is prefered ( in terms of performance ):

http://www.blprnt.com/swf/ParticleSwarm.html


but i want it to behave just like this PixiePartle example:

http://levitated.net/daily/levPixieParticles.html

however it is too CPU intensive and written in Flash 4.

any sites or fla's that u can point me to will be a big help!

thanks in advance!

artur




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


AW: Re: [Flashcoders] dynamic text field width

2006-02-07 Thread Viktor Berzsinszky
can hardly remember but the "autoSize" field is 
->"left"
->or [see help]

and does the resizing for you. you get the width by the field 
[_width] of the movieClip after resizing

so long

v.


>
>myText._width = 1;
>myText.autoSize = true;
>??
>
>Charles P.
>
>
>On 2/7/06, Corban Baxter <[EMAIL PROTECTED]> wrote:
>>
>> Hey guys just a quick question about creating dynamic text fields.
>> I am working on a horizontal scrolling menu that uses xml to store url's
>> and website titles that will be used to create a menu.
>> Below is example XML.
>>
>> 
>> http://www.google.com />
>> http://www.msn.com />
>> http://www.yahoo.com />
>> etc
>> 
>>
>> What I want to do is place the "title" in a dynamic text field and create
>> a button around that text field.
>> Problem is I need to determine the width of the text field by the length
>> of the string so the buttons can vary in size.
>> Cause "google" is a lot longer than "MSN" etc..
>>
>> |___|_title_|___| - Example button.. the blank area would be extend area
>> for the hit state.
>>
>> So is there a way to adjust the text field width to the length of the
>> string?
>> I hope this makes enough sense to get the question answered.
>> If you need more help let me know and I will put together some kind of a
>> test to show.
>> I have tried but not really getting the results I want. Thanks all!
>>
>>
>> Corban Baxter |rich media designer |www.funimation.com
>>
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>___
>Flashcoders mailing list
>Flashcoders@chattyfig.figleaf.com
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Date-Classes

2006-02-07 Thread Michael Stuhr

JesterXL schrieb:
Changing Date.prototype.function to class MyDate extends Date seems trivial 
to me.  While the code uses prototypes, it's still useful.  I'm with you on 
time, though; if something's there, works, and is ready to go, nothing is 
better!


- Original Message - 
From: "Michael Stuhr" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Tuesday, February 07, 2006 12:15 PM
Subject: Re: [Flashcoders] Date-Classes


JesterXL schrieb:

Date Formatter
http://www.darronschall.com/weblog/archives/40.cfm
http://www.darronschall.com/weblog/archives/52.cfm

Date Prototypes
http://proto.layer51.com/l.aspx?p=9


thanks Jesse, as i've not much time, i'm sticking with OS-Easy-use :-)

oh btw: the prototypes REALLY outdated. there so few CLASSES in there, i 
mean

ok, it's prototype lib, but hey: times are changing :)

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


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


yepp: btw: my second question == undefined, cause:

flash8 sucks! i imported SimpleDateFormatter and used it as described on 
OSFlash:

---
import SimpleDateFormatter;
var now:Date = new Date();

var nowString:String =  SimpleDateFormatter.formatDate( new Date(), "-MMM-dd 
HH:mm:ssa" );

trace( nowString );

var nowAgain:Date =  SimpleDateFormatter.getDateFromFormat( nowString, 
"-MMM-dd HH:mm:ssa" );

trace( nowAgain );
---

it traced undefined! both!

why ?  it never compiled the class.

is just started a new fla, and hadn't set the path for my classes in it.
the bug is: compiler doesn't care. wheeeww! It always did before. What a Mess!

took me some time to get that one :-)

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


Re: [Flashcoders] dynamic text field width

2006-02-07 Thread Martin Weiser

tf._width=tf.textWidth+4
tf._height=tf.textHeight+6


my apporach

MW


- Original Message - 
From: "Corban Baxter" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, February 07, 2006 7:19 PM
Subject: [Flashcoders] dynamic text field width



Hey guys just a quick question about creating dynamic text fields.
I am working on a horizontal scrolling menu that uses xml to store url's 
and website titles that will be used to create a menu.

Below is example XML.


http://www.google.com />
http://www.msn.com />
http://www.yahoo.com />
etc


What I want to do is place the "title" in a dynamic text field and create 
a button around that text field.
Problem is I need to determine the width of the text field by the length 
of the string so the buttons can vary in size.

Cause "google" is a lot longer than "MSN" etc..

|___|_title_|___| - Example button.. the blank area would be extend area 
for the hit state.


So is there a way to adjust the text field width to the length of the 
string?

I hope this makes enough sense to get the question answered.
If you need more help let me know and I will put together some kind of a 
test to show.

I have tried but not really getting the results I want. Thanks all!


Corban Baxter | rich media designer | www.funimation.com


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




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


Re: [Flashcoders] Book Recommendation

2006-02-07 Thread Charles Parcell
I agree with you 110%

The book is at the correct level. Not overly simple and not at the PHD level
either. Lots of examples based in 2D space with some in 3D. The code in the
book is not actually Lingo as much as it is pseudo code.

Charels P.



On 2/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Currently reading Danny Kodicek's 'Mathematics and Physics for
> Programmers'.
> Although the coding examples are in lingo, I'm finding it incredibly
> useful.
>
> Highly recommended!
> Jim Bachalo
>
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> 
> "...all improvisation is life in search of a style."
>  - Bruce Mau,'LifeStyle'
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Anybody using TextMate with Flash 8 and AS2 on OSX?

2006-02-07 Thread Troy Rollins
While I still need the Flash IDE, I'd like to replace the code  
editor. I've looked at the FAMES route, and find it lacking in terms  
of my own workflow and the nature of my projects. TextMate looks  
great, but it seems to only support AS1 fully, and things like the  
access to the Flash help files don't work.


needs:Array = {AutoComplete, syntax colorization, access to help or  
code hints}

wants:Array = {MTASC integration for code checking, ANT builds, etc.}

Flash_editor < "Good enough"
FAMES != "What I'm looking for right now."
SE|PY + OSX == "Crash"
FDT + OSX == "Broken functionality"
AS2 + Xcode == "Missing in action"

I fully realize this has been covered before, but everything changes.  
Anybody have a working TextMate workflow, or better suggestion for  
OSX? TextMate seems to come so close...


For reference, TextMate = 

Thanks.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


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


Re: [Flashcoders] Date-Classes

2006-02-07 Thread JesterXL
Changing Date.prototype.function to class MyDate extends Date seems trivial 
to me.  While the code uses prototypes, it's still useful.  I'm with you on 
time, though; if something's there, works, and is ready to go, nothing is 
better!

- Original Message - 
From: "Michael Stuhr" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, February 07, 2006 12:15 PM
Subject: Re: [Flashcoders] Date-Classes


JesterXL schrieb:
> Date Formatter
> http://www.darronschall.com/weblog/archives/40.cfm
> http://www.darronschall.com/weblog/archives/52.cfm
>
> Date Prototypes
> http://proto.layer51.com/l.aspx?p=9
>
thanks Jesse, as i've not much time, i'm sticking with OS-Easy-use :-)

oh btw: the prototypes REALLY outdated. there so few CLASSES in there, i 
mean
ok, it's prototype lib, but hey: times are changing :)

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

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


Re: [Flashcoders] dynamic text field width

2006-02-07 Thread Charles Parcell
myText._width = 1;
myText.autoSize = true;
??

Charles P.


On 2/7/06, Corban Baxter <[EMAIL PROTECTED]> wrote:
>
> Hey guys just a quick question about creating dynamic text fields.
> I am working on a horizontal scrolling menu that uses xml to store url's
> and website titles that will be used to create a menu.
> Below is example XML.
>
> 
> http://www.google.com />
> http://www.msn.com />
> http://www.yahoo.com />
> etc
> 
>
> What I want to do is place the "title" in a dynamic text field and create
> a button around that text field.
> Problem is I need to determine the width of the text field by the length
> of the string so the buttons can vary in size.
> Cause "google" is a lot longer than "MSN" etc..
>
> |___|_title_|___| - Example button.. the blank area would be extend area
> for the hit state.
>
> So is there a way to adjust the text field width to the length of the
> string?
> I hope this makes enough sense to get the question answered.
> If you need more help let me know and I will put together some kind of a
> test to show.
> I have tried but not really getting the results I want. Thanks all!
>
>
> Corban Baxter |rich media designer |www.funimation.com
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] dynamic text field width

2006-02-07 Thread Corban Baxter
Hey guys just a quick question about creating dynamic text fields. 
I am working on a horizontal scrolling menu that uses xml to store url's and 
website titles that will be used to create a menu.
Below is example XML.


http://www.google.com />
http://www.msn.com />
http://www.yahoo.com />
etc


What I want to do is place the "title" in a dynamic text field and create a 
button around that text field. 
Problem is I need to determine the width of the text field by the length of the 
string so the buttons can vary in size.
Cause "google" is a lot longer than "MSN" etc..

|___|_title_|___| - Example button.. the blank area would be extend area for 
the hit state.

So is there a way to adjust the text field width to the length of the string?
I hope this makes enough sense to get the question answered. 
If you need more help let me know and I will put together some kind of a test 
to show.
I have tried but not really getting the results I want. Thanks all!


Corban Baxter  |  rich media designer  |  www.funimation.com


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


Re: [Flashcoders] Date-Classes

2006-02-07 Thread Michael Stuhr

bryan.rice schrieb:

On Feb 7, 2006, at 12:15 PM, Michael Stuhr wrote:


the prototypes REALLY outdated.



Hardly.  Action Script will always be a prototype based language.   
Who needs Class syntax when you have __proto?  Long Live the Rebel  
Alliance!


Heh heh heh...

: )

blue skies,
bryan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


yeah, i was a little ... hmmm ... too grey i think :-)

LLR

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


Re: [Flashcoders] Date-Classes

2006-02-07 Thread bryan.rice


On Feb 7, 2006, at 12:15 PM, Michael Stuhr wrote:


the prototypes REALLY outdated.



Hardly.  Action Script will always be a prototype based language.   
Who needs Class syntax when you have __proto?  Long Live the Rebel  
Alliance!


Heh heh heh...

: )

blue skies,
bryan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Date-Classes

2006-02-07 Thread Michael Stuhr

Martin Wood schrieb:
theres a simple date formatter at osflash, but what kind of date classes do you 
need?


http://osflash.org/openclasslibrary

(which reminds me i really should sort out that paginator thing i put up, its 
neither well documented nor well tested..)





do you - or someone else - know how the getDateFromFormat Method from the 
SimpleDateFormatter works ?


i can't get it to work:

trace(SimpleDateFormatter.getDateFromFormat('07.02.2006', 'dd.MM.'));

should give the actual date as Date(), but returns undefined / null ???

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


Re: [Flashcoders] Date-Classes

2006-02-07 Thread Michael Stuhr

JesterXL schrieb:

Date Formatter
http://www.darronschall.com/weblog/archives/40.cfm
http://www.darronschall.com/weblog/archives/52.cfm

Date Prototypes
http://proto.layer51.com/l.aspx?p=9


thanks Jesse, as i've not much time, i'm sticking with OS-Easy-use :-)

oh btw: the prototypes REALLY outdated. there so few CLASSES in there, i mean 
ok, it's prototype lib, but hey: times are changing :)


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


Re: [Flashcoders] Date-Classes

2006-02-07 Thread Michael Stuhr

Martin Wood schrieb:
theres a simple date formatter at osflash, but what kind of date classes do you 
need?


http://osflash.org/openclasslibrary



BINGO - thanks a bunch!

that's enough :-)

::smashes head on table - how could i overlook THAT page! dammit!::

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


[Flashcoders] OT (sorry folks): Looking for web design jobs

2006-02-07 Thread Anggie Bratadinata
Hi experts,

Sorry for this OT post but I had Googled for this for 2 hrs and only got 1
opening.

I'm looking for a company or individual who has a job opening for a part
time web designer to work remotely for them.
If someone have any info, please let me know. ;)

Thanks in advance and I'm very sorry for the inconvenience this post may
cause.
--
Anggie Bratadinata
Graphic|Web|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
www.ibshastautama.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Setting the last pressed key in the Key class

2006-02-07 Thread elibol
Hi Tyler,

Thanks for your reply! I'm not allowed to disclose my reasoning, however,
it's essential that it's the Key class that I use.

High Regards,

M.

On 2/7/06, Tyler Wright <[EMAIL PROTECTED]> wrote:
>
> Define your own static MyKey class and have it subscribe as a listener to
> Flash's Key. It can then be your applications "Key" class. Meaning your
> objects listen to MyKey while MyKey listens to Key. Then MyKey can at
> anytime listen to something else that feeds it input. There's nothing
> magic
> about the Key class you can't use the MyKey class for. MyKey can then also
> store the last key pressed (whether it was a real key from the Key class
> or
> a virtual key from somewhere else).
>
> Good luck,
> Tyler
>
> On 1/25/06, elibol <[EMAIL PROTECTED]> wrote:
> >
> > I have another idea, would it be possible to delegate Key class
> functions
> > to
> > a custom class I've built?
> >
> > I've tried
> >
> > _global.ASSetPropFlags(Key,null,6,true);
> >
> > It still doesn't allow me to delegate the functions. Does anyone know of
> a
> > way around this?
> >
> > H
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do you code your Flash applications?

2006-02-07 Thread elibol
Hi Syams,

Way left field bro. I have this mental imagery of you falling from the sky
into this topic, not knowing where you are. I remember your post about this
question, it was answered. The way to do it without serverside programming
is to use shared objects.

Good luck with it,

M.

On 2/7/06, syam s <[EMAIL PROTECTED]> wrote:
>
> sir
>   i have anothe problem. i want to
> save a movie clip as image(jpeg)on a flash button click any ides pls mail
> to me
>
>
>
>
>
> -
> Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with
> voicemail
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Book Recommendation

2006-02-07 Thread bitstreams
Currently reading Danny Kodicek's 'Mathematics and Physics for Programmers'.
Although the coding examples are in lingo, I'm finding it incredibly useful.

Highly recommended!
Jim Bachalo

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

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do you code your Flash applications?

2006-02-07 Thread Nathan Derksen
   It's not a matter of getNextHighestDepth not working, it's a  
matter of controlling the depth to avoid unexpected behaviors. I've  
never had a problem with accidentally creating a movie clip at the  
same depth as something else, and that's one less thing I have to  
think about when debugging.


I find I get fewer unexpected behaviours the other way, but I attach  
things to the stage in the order I want them to appear, so scanning  
the code tells me the order that they are created.


   The only time when setting depth constants was inconvenient for  
me was in a windowing system I built, in which case I built a  
window manager class that managed depth for me. The window manager  
class kept windows on a timeline where nothing but windows would  
ever be created, and always kept the depths of the windows  
consecutive, so when a window was closed it was swapped to the top  
before closing, and there were never gaps in the depths. I *could*  
have used getNextHighestDepth and saved myself the trouble of  
swapping windows to the top before closing them, but then if a user  
left the app open overnight and used it for several days in a row,  
they could theoretically open enough windows to hit the 65,535  
depth limit and unexpected things could happen. So I went ahead and  
wrote the extra 10 lines of code to keep the depths consecutive,  
and circumvented the problem before it ever occurred.


Fair enough, reusing depths is a must there, and that's a nice  
solution. For the rest of the application, though, I personally would  
still use getNextHighestDepth(). Obviously you have a system that  
works very well for you, though, so stick to that. I will stick to  
this system because it works very well for me.


Nathan
http://www.nathanderksen.com


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


Re: [Flashcoders] Date-Classes

2006-02-07 Thread JesterXL
Date Formatter
http://www.darronschall.com/weblog/archives/40.cfm
http://www.darronschall.com/weblog/archives/52.cfm

Date Prototypes
http://proto.layer51.com/l.aspx?p=9

- Original Message - 
From: "Michael Stuhr" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, February 07, 2006 11:34 AM
Subject: [Flashcoders] Date-Classes


i need some Links to Date-Classes, anyone has some ?

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


Re: [Flashcoders] Date-Classes

2006-02-07 Thread Martin Wood
theres a simple date formatter at osflash, but what kind of date classes do you 
need?


http://osflash.org/openclasslibrary

(which reminds me i really should sort out that paginator thing i put up, its 
neither well documented nor well tested..)


martin

Michael Stuhr wrote:

i need some Links to Date-Classes, anyone has some ?

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



--
Martin Wood

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


Re: [Flashcoders] Audio Chat

2006-02-07 Thread Chris Allen
You can also use Red5 http://osflash.org/red5 or Flash Media Server for
this.

-Chris

On 2/7/06, Ramon Tayag <[EMAIL PROTECTED]> wrote:
>
> Thanks for that Franto!
>
> I did a bit more reading and one can use PHP sockets to get it done.
> Have you guys done this before?
>
> Thanks
>
> On 2/7/06, franto <[EMAIL PROTECTED]> wrote:
> > just FYI free flash video audio chat :)
> > http://www.franto.com/blog2/free-flash-webchat-for-your-site
> >
> >
> > On 2/7/06, Ramon Tayag <[EMAIL PROTECTED]> wrote:
> > > Hi everyone,
> > >
> > > I want to know how feasible it would be to create voice chat in Flash.
> > >  What would you need to receive, as back end, the microphone sound of
> > > the users?  A Java server?
> > >
> > > Thanks,
> > > --
> > > Ramon Miguel M. Tayag
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> >
> >
> > --
> >
> -
> > Franto
> >
> > http://blog.franto.com
> > http://www.flashcoders.sk
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
> --
> Ramon Miguel M. Tayag
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Video stopped at beginning doesn't appear on stage

2006-02-07 Thread Mendelsohn, Michael
Hi list...

I have a video that I am trying to hold on frame 1. Trying to do that
through code makes the video mysteriously not appear on the stage.  Is
there any code that can hold the video at frame 1?  I've tried:

vid.stop();
vid.gotoAndStop(1);
vid.vidContent.stop();
vid.vidContent.gotoAndStop(1);

The MC containing the video is named "vid," and on that frame and I
named the video within the vid MC "vidContent."

Thanks,
- Michael M.

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


[Flashcoders] Date-Classes

2006-02-07 Thread Michael Stuhr

i need some Links to Date-Classes, anyone has some ?

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


RE: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Mike Mountain
As with the FPS - but all the info is there - original to each swf, we just 
can't get at it - seems silly when we can get all the System.capabilities that 
we can't even get the most basic of info pertaining to the swf we're in.

M

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Éric Thibault
> Sent: 07 February 2006 15:43
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Finding the swf background colour
> 
> It seems the same issue as to get the Stage's dimensions of a 
> loaded SWF inside another SWF... the Stage's color is not 
> transfered...
> 
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Chinese / Japanese Text Input

2006-02-07 Thread Alex McCabe
Okay! Device fonts seems to be the consensus. Thanks.

Some more info about Tahoma in case anyone was wondering - I did some
research on it - the Chinese characters are definitely available in Tahoma
in some installations but never Japanese characters.

On 2/7/06, Fitzpatrick, Kevin <[EMAIL PROTECTED]> wrote:
>
> !
>
> It just occurred to me that I've been answering the wrong question.
> I've been talking about output, not input.  I would absolutely agree
> with Kenneth on input, uses device fonts for inputs.
>
> Sorry about the miscommunication.
>
>
> Kevin Fitzpatrick
> Flash Designer,
> SAP.com Web Services Team - SAP Global Marketing
> SAP Global Solutions Center
> 3999 West Chester Pike
> Newtown Square, PA 19073
> C (267) 254-6225
> E [EMAIL PROTECTED]
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
> Kawamoto
> Sent: Friday, February 03, 2006 9:47 AM
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Chinese / Japanese Text Input
>
> >I think it's possible Japanese characters in Tahoma font won't be
> present on some installations - but that on others Tahoma will have all
> the Japanese characters.
>
> Tahoma includes characters for Greek, Hebrew, Arabic and Thai but not
> Chinese, Japanese, Korean and others. So there's no way you can use
> Tahoma for Japanese.
>
> It's a lovely font, however it's a Microsoft font and not installed in
> all the machines (e.g. older Macs), so be careful!
>
>
> Kenneth Kawamoto
> www.materiaprima.co.uk
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


Re: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Éric Thibault
It seems the same issue as to get the Stage's dimensions of a loaded SWF 
inside another SWF... the Stage's color is not transfered...


Mike Mountain wrote:


Yeah, the background colour information get's included in the swf -
otherwise it wouldn't appear when  you play the swf back in the flash
player external to the ide. It can be overidden by a param in html.

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Adrian Lynch

Sent: 07 February 2006 15:07
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour

That's the thing, are you sure it's in the swf? Maybe it's 
just the fla.


Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf 
Of Mike Mountain

Sent: 07 February 2006 14:34
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour


Well that's just plain dumb - it should be part of the stage 
object, the info is contained in the swf.


I'm trying to write a double buffering class, the first thing 
it has to do is take a snapshot of the stage to make an 
opaque copy - but it only sees what's on the stage. That 
means I'll have to get peeps to pass in their background 
color to te constructor - not very elegant.


Thanks anyhow

M

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

   


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

 




--
===

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

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad 

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


Re: [Flashcoders] Dynamic ring shape

2006-02-07 Thread Helen Triolo
Yes, just draw the hole before you apply endFill:  
http://flash-creations.com/notes/dynamic_drawingapi.php#cutout


Helen

Patrick Matte wrote:


Is it possible to create a ring shape dynamically ?
Like punching a cirle from another circle.


 



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


Re: [Flashcoders] suddenly v2 Button not drawing any border or bg

2006-02-07 Thread Michael Stuhr

Ben Smeets schrieb:
Another one of those v2 headaches :) 



this one's a little heavier i think. has to do with Fla personally i think.

Not that's it's wrong bashing on v2 :-)

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


[Flashcoders] Dynamic ring shape

2006-02-07 Thread Patrick Matte
Is it possible to create a ring shape dynamically ?
Like punching a cirle from another circle.


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


RE: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Adrian Lynch
A, that makes sense. I wonder why you can't get to it then.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Mountain
Sent: 07 February 2006 15:15
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour


Yeah, the background colour information get's included in the swf -
otherwise it wouldn't appear when  you play the swf back in the flash
player external to the ide. It can be overidden by a param in html.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Adrian Lynch
> Sent: 07 February 2006 15:07
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Finding the swf background colour
> 
> That's the thing, are you sure it's in the swf? Maybe it's 
> just the fla.
> 
> Ade
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf 
> Of Mike Mountain
> Sent: 07 February 2006 14:34
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Finding the swf background colour
> 
> 
> Well that's just plain dumb - it should be part of the stage 
> object, the info is contained in the swf.
> 
> I'm trying to write a double buffering class, the first thing 
> it has to do is take a snapshot of the stage to make an 
> opaque copy - but it only sees what's on the stage. That 
> means I'll have to get peeps to pass in their background 
> color to te constructor - not very elegant.
> 
> Thanks anyhow
> 
> M
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] How do you code your Flash applications?

2006-02-07 Thread valters boze


 try this, i made it when flash8 was beta..
 http://www.m3style.lv/bo/experiments/flash2jpg/

> sir
>   i have anothe problem. i want to 
> save a movie clip as image(jpeg)on a flash button
click any ides pls mail
> to me





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


RE: [Flashcoders] suddenly v2 Button not drawing any border or bg

2006-02-07 Thread Ben Smeets
Another one of those v2 headaches :) 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Stuhr
Sent: dinsdag 7 februari 2006 16:11
To: Flashcoders mailing list
Subject: Re: [Flashcoders] suddenly v2 Button not drawing any border or
bg

Ben Smeets schrieb:
> Did you compile it on exactly the same pc/environment? 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Michael Stuhr
> Sent: dinsdag 7 februari 2006 11:05
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] suddenly v2 Button not drawing any border or bg
> 
> i just tested a fairly large project which i compiled nice yesterday, 
> but today, all v2 Buttons lost their complete background and border.
> only the label and the icon are still visible.
> 
> has anybody seen such a strange behaviour before ?
> 
> micha
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
yupp ... seems like the styles are gone, since its only the
button-component.

but i got a simple solution: copy all the frames needed into a new Fla.
put a brand new Button-component in there.
then copy your library - leaving out the Button-component of course - to
the new Fla.

bingo. took some time for me :)

btw: simple overwriting of the Button-component in the original fla
didn#t work. 
seems like the fla's  corrupted!

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


[Flashcoders] Reading material pointers, please

2006-02-07 Thread Jim Ault
I would like to do some homework, but not sure where to start to get the
best answer.

Situation:
Flash MX, AS, OSX 10.4.2
 loading multiple SWFs in sequence as user demand, each SWF containing about
10-15 jpgs (436x327), nothing fancy

Each SWF is the same, just different folder level, where I use loadMovie>10
clips, then swapDepths+alpha from 100 to 0 for transitions.


-?-simple preloader
-?-benefits of offscreen or mc._visible = false
-?-backward compatible to player 5 if possible

-?-Does setMask() speed up or slow down showing jpgs

-?-Need to read about caching.  Safari activity window shows that browser
cache does not seem to be used. Same jpg file name creates a fresh download
event.  Example: same jpg name for all 10 loadMovie() = 10 downloads.

-?-I assume that FlashPlayer 8 is required for PNGs, etc to be used by
loadMovie.  Is that correct?

Thanks for saving me some precious development time this week.  Very tight
schedule.

Jim Ault
Las Vegas


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


RE: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Mike Mountain
Yeah, the background colour information get's included in the swf -
otherwise it wouldn't appear when  you play the swf back in the flash
player external to the ide. It can be overidden by a param in html.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Adrian Lynch
> Sent: 07 February 2006 15:07
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Finding the swf background colour
> 
> That's the thing, are you sure it's in the swf? Maybe it's 
> just the fla.
> 
> Ade
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf 
> Of Mike Mountain
> Sent: 07 February 2006 14:34
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Finding the swf background colour
> 
> 
> Well that's just plain dumb - it should be part of the stage 
> object, the info is contained in the swf.
> 
> I'm trying to write a double buffering class, the first thing 
> it has to do is take a snapshot of the stage to make an 
> opaque copy - but it only sees what's on the stage. That 
> means I'll have to get peeps to pass in their background 
> color to te constructor - not very elegant.
> 
> Thanks anyhow
> 
> M
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Audio Chat

2006-02-07 Thread Ramon Tayag
Thanks for that Franto!

I did a bit more reading and one can use PHP sockets to get it done. 
Have you guys done this before?

Thanks

On 2/7/06, franto <[EMAIL PROTECTED]> wrote:
> just FYI free flash video audio chat :)
> http://www.franto.com/blog2/free-flash-webchat-for-your-site
>
>
> On 2/7/06, Ramon Tayag <[EMAIL PROTECTED]> wrote:
> > Hi everyone,
> >
> > I want to know how feasible it would be to create voice chat in Flash.
> >  What would you need to receive, as back end, the microphone sound of
> > the users?  A Java server?
> >
> > Thanks,
> > --
> > Ramon Miguel M. Tayag
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
> --
> -
> Franto
>
> http://blog.franto.com
> http://www.flashcoders.sk
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Ramon Miguel M. Tayag
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] suddenly v2 Button not drawing any border or bg

2006-02-07 Thread Michael Stuhr

Ben Smeets schrieb:
Did you compile it on exactly the same pc/environment? 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Stuhr
Sent: dinsdag 7 februari 2006 11:05
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] suddenly v2 Button not drawing any border or bg 


i just tested a fairly large project which i compiled nice yesterday,
but today, all v2 Buttons lost their complete background and border.
only the label and the icon are still visible.

has anybody seen such a strange behaviour before ?

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


yupp ... seems like the styles are gone, since its only the button-component.

but i got a simple solution: copy all the frames needed into a new Fla.
put a brand new Button-component in there.
then copy your library - leaving out the Button-component of course - to the new 
Fla.


bingo. took some time for me :)

btw: simple overwriting of the Button-component in the original fla didn#t work. 
seems like the fla's  corrupted!


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


Re: [Flashcoders] Audio Chat

2006-02-07 Thread franto
just FYI free flash video audio chat :)
http://www.franto.com/blog2/free-flash-webchat-for-your-site


On 2/7/06, Ramon Tayag <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I want to know how feasible it would be to create voice chat in Flash.
>  What would you need to receive, as back end, the microphone sound of
> the users?  A Java server?
>
> Thanks,
> --
> Ramon Miguel M. Tayag
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Adrian Lynch
That's the thing, are you sure it's in the swf? Maybe it's just the fla.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Mountain
Sent: 07 February 2006 14:34
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour


Well that's just plain dumb - it should be part of the stage object, the
info is contained in the swf.

I'm trying to write a double buffering class, the first thing it has to
do is take a snapshot of the stage to make an opaque copy - but it only
sees what's on the stage. That means I'll have to get peeps to pass in
their background color to te constructor - not very elegant.

Thanks anyhow

M

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


RE: [Flashcoders] suddenly v2 Button not drawing any border or bg

2006-02-07 Thread Ben Smeets
Did you compile it on exactly the same pc/environment? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Stuhr
Sent: dinsdag 7 februari 2006 11:05
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] suddenly v2 Button not drawing any border or bg 

i just tested a fairly large project which i compiled nice yesterday,
but today, all v2 Buttons lost their complete background and border.
only the label and the icon are still visible.

has anybody seen such a strange behaviour before ?

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


[Flashcoders] Audio Chat

2006-02-07 Thread Ramon Tayag
Hi everyone,

I want to know how feasible it would be to create voice chat in Flash.
 What would you need to receive, as back end, the microphone sound of
the users?  A Java server?

Thanks,
--
Ramon Miguel M. Tayag
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Mike Mountain
Well that's just plain dumb - it should be part of the stage object, the
info is contained in the swf.

I'm trying to write a double buffering class, the first thing it has to
do is take a snapshot of the stage to make an opaque copy - but it only
sees what's on the stage. That means I'll have to get peeps to pass in
their background color to te constructor - not very elegant.

Thanks anyhow

M

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Stan Vassilev
> Sent: 07 February 2006 14:28
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Finding the swf background colour
> 
> Well it's not :) In Flash 8 it can be possible by drawing 
> making it opaque, drawing it and sampling it (maybe) but 
> that, I've not tried. You can pass the bg color from HTML as 
> a parameter and set it as well.
> 
> And with two tags, yes this means total of 4 copies of the bg 
> color per flash instance in your html... :)
> 
> ---
> 
> 
> I must be having an off day - but I can't for the life of me 
> find out how to get the colour of the swf's background as set 
> in the properties panel in the IDE using actionscript.
> 
> Surely it's possible?
> 
> Cheers
> 
> M
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Chinese / Japanese Text Input

2006-02-07 Thread Fitzpatrick, Kevin
!

It just occurred to me that I've been answering the wrong question.
I've been talking about output, not input.  I would absolutely agree
with Kenneth on input, uses device fonts for inputs.

Sorry about the miscommunication.


Kevin Fitzpatrick
Flash Designer,
SAP.com Web Services Team - SAP Global Marketing 
SAP Global Solutions Center
3999 West Chester Pike
Newtown Square, PA 19073
C (267) 254-6225
E [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
Kawamoto
Sent: Friday, February 03, 2006 9:47 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Chinese / Japanese Text Input

 >I think it's possible Japanese characters in Tahoma font won't be 
present on some installations - but that on others Tahoma will have all 
the Japanese characters.

Tahoma includes characters for Greek, Hebrew, Arabic and Thai but not 
Chinese, Japanese, Korean and others. So there's no way you can use 
Tahoma for Japanese.

It's a lovely font, however it's a Microsoft font and not installed in 
all the machines (e.g. older Macs), so be careful!


Kenneth Kawamoto
www.materiaprima.co.uk

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


RE: [Flashcoders] Chinese / Japanese Text Input

2006-02-07 Thread Fitzpatrick, Kevin
Well, I definitely can't claim to be an expert on the issue, however I'm
sure we're using Tahoma 12 Bold in all our files.  Perhaps something is
being set by the flash player in those locales, such as our Chinese site
(http://www40.sap.com/china/index.epx), if the font is not found but we
have set the source files to Tahoma.

Of course you are correct about it not being installed on older Macs,
however, the higher ups in marketing made the decision not to support
those browsers/Oses.  Wouldn't necessarily have been my decision, but
that's the way it came down.

Kevin Fitzpatrick
Flash Designer,
SAP.com Web Services Team - SAP Global Marketing 
SAP Global Solutions Center
3999 West Chester Pike
Newtown Square, PA 19073
C (267) 254-6225
E [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
Kawamoto
Sent: Friday, February 03, 2006 9:47 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Chinese / Japanese Text Input

 >I think it's possible Japanese characters in Tahoma font won't be 
present on some installations - but that on others Tahoma will have all 
the Japanese characters.

Tahoma includes characters for Greek, Hebrew, Arabic and Thai but not 
Chinese, Japanese, Korean and others. So there's no way you can use 
Tahoma for Japanese.

It's a lovely font, however it's a Microsoft font and not installed in 
all the machines (e.g. older Macs), so be careful!


Kenneth Kawamoto
www.materiaprima.co.uk

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


Re: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Stan Vassilev
Well it's not :) In Flash 8 it can be possible by drawing making it opaque, 
drawing it and sampling it (maybe) but that, I've not tried. You can pass 
the bg color from HTML as a parameter and set it as well.


And with two tags, yes this means total of 4 copies of the bg color per 
flash instance in your html... :)


---


I must be having an off day - but I can't for the life of me find out
how to get the colour of the swf's background as set in the properties
panel in the IDE using actionscript.

Surely it's possible?

Cheers

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


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


[Flashcoders] Finding the swf background colour

2006-02-07 Thread Mike Mountain
I must be having an off day - but I can't for the life of me find out
how to get the colour of the swf's background as set in the properties
panel in the IDE using actionscript.

Surely it's possible?

Cheers

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


Re: [Flashcoders] suddenly v2 Button not drawing any border or bg

2006-02-07 Thread Janis Radins
I've had sutch issue with movies embeded in html with wmode=transparent
property but those were self made ones.
hope this will help, anyways worth to try


2006/2/7, Michael Stuhr <[EMAIL PROTECTED]>:
>
> i just tested a fairly large project which i compiled nice yesterday, but
> today,
> all v2 Buttons lost their complete background and border. only the label
> and the
> icon are still visible.
>
> has anybody seen such a strange behaviour before ?
>
> micha
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do you code your Flash applications?

2006-02-07 Thread syam s
sir
  i have anothe problem. i want to 
save a movie clip as image(jpeg)on a flash button click any ides pls mail 
to me





-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread srishti
oh sorry,i don't have much idea regarding your query.i am 
new to flash.
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s)and may 
contain confidential or privileged information. If you are not the intended 
recipient, please notify the sender or [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread syam s


hai...
  sorry i have no idea about that. i have anothe problem. i want to save a 
movie clip as image(jpeg)on a flash button click any ides pls mail to me


-
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread syam s


hai...
  sorry i have no idea about that. i have anothe problem. i want to save a 
movie clip as image(jpeg)on a flash button click any ides pls mail to me


-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] suddenly v2 Button not drawing any border or bg

2006-02-07 Thread Michael Stuhr
i just tested a fairly large project which i compiled nice yesterday, but today, 
all v2 Buttons lost their complete background and border. only the label and the 
icon are still visible.


has anybody seen such a strange behaviour before ?

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


Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread srishti
Well,Grant ,,thanks a lot for ur suggestions.
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s)and may 
contain confidential or privileged information. If you are not the intended 
recipient, please notify the sender or [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread srishti
its 2pm here...well,i think,its more or less the same which 
i am trying to implement.what is the logic behind hiding 
datagrid columns.
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s)and may 
contain confidential or privileged information. If you are not the intended 
recipient, please notify the sender or [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread Grant Cox
Well, not really - it's part of a larger application, and I have certain 
business obligations not to just give it all away.  However, if you are 
stuck with something specific then I don't mind helping out (although it 
is almost 7pm here - I will be heading home soon).


Basically what we did was had a controller to manage the list of Fields 
(our data type for a grid column).  The popup window had a datagrid that 
displayed all of the Field objects from the controller, displaying only 
the "title" and "visible" attributes.  We had a Checkbox CellRenderer 
used for the "visible" column, so ticking / unticking would change this 
attribute.  Once the popup window is hidden, then the main datagrid 
columns are recreated, by looping through all the Field objects from the 
controller, and creating a DataGridColumn for each Field whose "visible" 
is set to true.


Macromedia have some sample CellRenderers, one of which is for a 
checkbox.  You can download this from

http://www.macromedia.com/support/documentation/en/flash/fl8/samples.html

Regards,
Grant Cox


[EMAIL PROTECTED] wrote:


Hi Grant,
 Can u plz send me ur code for the same...the way u 
implemented...

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s)and may 
contain confidential or privileged information. If you are not the intended 
recipient, please notify the sender or [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 


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


Re: [Flashcoders] Disabling FLVPlayback component skin controls

2006-02-07 Thread srishti
Grant,can u plz send me the code which u had already 
implemented for hiding datagrid columns
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s)and may 
contain confidential or privileged information. If you are not the intended 
recipient, please notify the sender or [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Disabling FLVPlayback component skin controls

2006-02-07 Thread Grant Cox
Well, I got it working to my satisfaction.  Definitely hacky, but at 
least it works.  In case anyone else is looking for this, the code used 
is below (the FLVPlayback component instance name is "videoScreen").



 BEGIN CODE 

private function enableVideoControls( set_enabled:Boolean )
   {
   trace("enableVideoControls, to: " + set_enabled );
  
   // ensure that we have modified the controls to understand being 
disabled

   backupControlFunctions();
  
   for (var i : Number = 0; i < 
videoScreen["_uiMgr"].controls.length; i++) {

   videoScreen["_uiMgr"].controls[i].disabled = !set_enabled;
   }
   }
  
   private function backupControlFunctions()

   {
   for (var i : Number = 0; i < 
videoScreen["_uiMgr"].controls.length; i++) {

   var videoControl = videoScreen["_uiMgr"].controls[i];
  
   if ( typeof(videoControl) == "movieclip" &&

videoControl._name != "volumeBar_mc" &&
videoControl._name != "volumeBarHandle_mc" &&
videoControl._name != "volumeMute_mc" &&
videoControl._name != "on_mc" &&
videoControl._name != "off_mc"){
  
   trace("backupControlFunctions for videoControl " + 
videoControl);
  
   if ( videoControl.oldOnPress == undefined && 
videoControl.onPress != undefined ){

   videoControl.oldOnPress = videoControl.onPress;
   videoControl.onPress = function(){
   trace("onPress on " + this + " disabled: " + 
this.disabled );

   if (this.disabled != true){
   this.oldOnPress.apply(this, arguments);
   }
   }
   }
  
   if ( videoControl.oldOnRelease == undefined && 
videoControl.onRelease != undefined ){

   videoControl.oldOnRelease = videoControl.onRelease;
   videoControl.onRelease = function(){
   trace("onRelease on " + this + " disabled: " + 
this.disabled );

   if (this.disabled != true){
   this.oldOnRelease.apply(this, arguments);
   }
   }
   }
  
   if ( videoControl.oldOnReleaseOutside == undefined && 
videoControl.onReleaseOutside != undefined ){
   videoControl.oldOnReleaseOutside = 
videoControl.onReleaseOutside;

   videoControl.onReleaseOutside = function(){
   trace("onReleaseOutside on " + this + " 
disabled: " + this.disabled );

   if (this.disabled != true){
   this.oldOnReleaseOutside.apply(this, arguments);
   }
   }
   }
   }
   }
   }

 END CODE 

Grant Cox wrote:

I would like to be able to toggle whether the controls for a Flash 8 
FLVPlayback component are enabled.  I don't want to hide them all 
(like the skinAutoHide attribute does), rather keep them visible but 
non-interactive.  Preferably I would like to control this per item, as 
I would like to leave the audio controls interactive.


I have found there is an attribute 
FLVPlaybackInstance._uiMgr._controlsEnabled which enables and disables 
all of the button controls (although unfortunately not the seek bar).  
I am currently experimenting with enabling and disabling all of the 
mouse events for the movieclips in FLVPlaybackInstance._uiMgr.controls 
, but it isn't looking hopeful.


Regards,
Grant Cox
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread srishti
Hi Grant,
  Can u plz send me ur code for the same...the way u 
implemented...
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s)and may 
contain confidential or privileged information. If you are not the intended 
recipient, please notify the sender or [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders