RE: [Flashcoders] BitmapData and Streaming Video

2005-12-15 Thread Lori Hutchek
[previous message]
Hey Lori, does it happen with progressive downloaded FLV's or true FCS
streamed video?

I've been able to do it with progressive's without a problem.
[/previous message] 



It's FCS video that I'm having a problem with. The app I'm building runs
off of both cd and web. And the cd version is playing great, It's only
when I'm trying to do the same screen capture with FCS video that I have
a problem.

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


[Flashcoders] Help with flv to mp3 conversion

2005-12-15 Thread Prem Jayamohan
Hi,
 I am working on an application needs audio recording feature. It is 
something like we record our voice through microphone and we want to store the 
output in MP3 format. So we decided to use Flash communication server. As we 
thought that is the only way in flash through which we can do audio recording.
  
  Is there any other way in flash, which can provide audio recording?
  
  In case if it is the only way, then it saves it in a flv format. How do we 
get it in mp3 format?
  
  I saw so many flv encoders. But flv audio format used by Flash communication 
server seems to use Nellymoser codec. Nellymoser is a proprietary codec. So we 
could not get a clear picture about that flv format. We could not use those 
encoders also. But we need the output in MP3 format.
  
  I went through so many mail threads. Many people are looking for this feature.
  
   
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=266threadid=868432enterthread=y
 --
  
  Do you provide any tools or support for this? Is there anyway through which 
we can convert flv into MP3.
  or Can we get the format(or license) of that flv(or nellymoser) which can 
help us to convert it into MP3?
  
 Thanks in advance for your help
  
 Regards,
 - Prem
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Cedric Muller
as a side note, this is the exact same thing happening with Gradients 
... a gradient's ratios can range from 0 to 255, hence giving this *not 
so precise and clean gradient* impression ...

just as a side note 
cedric



Has this been discussed?
Flash player 8
trace(this._alpha);
this._alpha -= 10;
trace(this._alpha);
Output:
100
89.84375


Not that I can readily recognize, although from the fragments above it 
looks vaguely like the normal how come floats aren't exact topic.


jd





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


Re: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Cedric Muller
Floats are exact outside a computer, in the computer world, for 
performance purposes, Float will never be exact 

Cedric


how come floats arent exact? jk

will floats be exact in AS3? or will future versions of flash support 
big ints?


judah

John Dowdell wrote:


Jason Rayles wrote:


Has this been discussed?
Flash player 8

trace(this._alpha);
this._alpha -= 10;
trace(this._alpha);

Output:
100
89.84375



Not that I can readily recognize, although from the fragments above 
it looks vaguely like the normal how come floats aren't exact 
topic.


jd







___
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] alpha -= 10 = wtf

2005-12-15 Thread Cedric Muller
yep but then if you try to assign this newly found 90 value to 
this._alpha, you won't find back your 90 if you trace it again ;)



trace(this._alpha);
trace(this._alpha-10);
Output:
100
90



On 12/15/05, Judah Frangipane [EMAIL PROTECTED] wrote:


how come floats arent exact? jk

will floats be exact in AS3? or will future versions of flash support
big ints?

judah

John Dowdell wrote:


Jason Rayles wrote:


Has this been discussed?
Flash player 8

trace(this._alpha);
this._alpha -= 10;
trace(this._alpha);

Output:
100
89.84375



Not that I can readily recognize, although from the fragments above 
it

looks vaguely like the normal how come floats aren't exact topic.

jd







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





--
e路信峰  字
欢迎光临 - e路信峰技术情报站(中国・珠海)
http://www.cnflash.org/guohaifeng/
___
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] game slowing down - eventListener

2005-12-15 Thread Hans Wichman

Have you tried opening the taskmanager to see if your memory is hogging?

The game im working on slows down as well, but this is simply becoz im 
printin debug info to a textfield (will be replaced with xray ;)) and this 
takes longer to update as the contents get bigger. A game should not slow 
down, no matter the approach u take.


As a side note is it a commercial framework/opensource etc?

greetz
Hans


At 11:03 AM 12/15/2005, you wrote:

Hello everyone,

I have built a big, complex framework for creating 2D games in Flash.

I have developed 2 large projects based on it and I'm experiencing
a slow down as the game progresses. A while after you begin
playing, things start to slow down and in 20-30 minutes the game
is no more fun to play as it becomes much slower. They are both
tile-based puzzle games. I'm using Flash 8 and FP8.

The framework is written in AS2 and it uses a callback system
for communication between classes (e.g. tileManager.onEvent = 
Delegate.create(this, ))


The use of Delegates is very common throughout the framework. I'm using 
the Delegate
version that supports parameters too, so I often pass complete instances 
of complex objects

as parameters.

I have tried to use .destroy() on everything I can, so that objects get 
deleted from memory.


Do you think the framework could benefit from an eventListener-system 
approach instead of callbacks?

Will I be able to make the slow-down dissapear or decrease?

Any thoughts would be very welcome.

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


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


RE: [Flashcoders] Problem with delay tween on some instance...

2005-12-15 Thread Martin Klasson


Hi Moses.

I am SORRY for breaking the trust, it was not my intention or purpose.

But the email you sent to me privately, along with the 1.1-files, you
didn't mention that it was a private beta. So I thought it was the new
stable Fuse-kit.

I would think that version 1.1 should contain ONLY the bug-fix for
removeTween, so that all using the 1.0. could upgrade, since the
removeTween-bug easily causes huge problems.

As for now, the 1.0 isn't considered stable, removeTween-bug
And 1.1 is as you are saying private beta. 

So we are left out from an important fix.

Would you be able to make a 1.05 version which addresses the
removeTween-bug only. Because 1.0 was very stable except for the obvious
bug.


I got another email,
[EMAIL PROTECTED]
icq: 18289680
msn: [EMAIL PROTECTED]


I will try to talk to our technical staff in why they suddenly have put
you in the spam-registry. A guess from my side is that you rename the
extensions of the attached files, in which could lead to some problems
when the spam-detection is checking your mail.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Moses
Gunesch
Sent: den 14 december 2005 22:58
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Problem with delay tween on some instance...

Martin - by the way - I've been trying to email you for several days  
now, but your server's spamcop is bouncing me. Maybe you can write me  
from an alternative address (webmail?) or get your server admin to  
whitelist my IP. Sorry to ping the list with this folks but, I have  
no other way to get this message through.

;)
___
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] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas

Hello Hans,

I've been testing the game with the taskmanager open for
several hours.

I'm not using a textfield to debug anything at the moment.

The memory is going up, but not consistently. The game has many
backgrounds and tilesets (complete themes) but I use only one of each
theoughout my tests, to keep the parameters minimum.

Sometimes the memory adds up 2MB, for no apparent reason
when a level is finished and the game moves to the next level. And other
times (which is more often) the memory does not increase from level to 
level.

Also, during a level sometimes there are a few KBs added.

I'm thinking that maybe objects are not garbage-collected because of the 
Delegates.

I think this has been discussed before, but I can't recall a definate answer
if this is a problem and what is a possible solution.

The framework is not open source and it's not a commercial product
(at least not yet).
If you like, you can see a game I built with it at
http://www.total-eclipse.gr/academy-of-magic-word-spells/

Dimitrios Bendilas


- Original Message - 
From: Hans Wichman [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 12:11 PM
Subject: Re: [FlashCoders] game slowing down - eventListener



Have you tried opening the taskmanager to see if your memory is hogging?

The game im working on slows down as well, but this is simply becoz im 
printin debug info to a textfield (will be replaced with xray ;)) and this 
takes longer to update as the contents get bigger. A game should not slow 
down, no matter the approach u take.


As a side note is it a commercial framework/opensource etc?

greetz
Hans


At 11:03 AM 12/15/2005, you wrote:

Hello everyone,

I have built a big, complex framework for creating 2D games in Flash.

I have developed 2 large projects based on it and I'm experiencing
a slow down as the game progresses. A while after you begin
playing, things start to slow down and in 20-30 minutes the game
is no more fun to play as it becomes much slower. They are both
tile-based puzzle games. I'm using Flash 8 and FP8.

The framework is written in AS2 and it uses a callback system
for communication between classes (e.g. tileManager.onEvent = 
Delegate.create(this, ))


The use of Delegates is very common throughout the framework. I'm using 
the Delegate
version that supports parameters too, so I often pass complete instances 
of complex objects

as parameters.

I have tried to use .destroy() on everything I can, so that objects get 
deleted from memory.


Do you think the framework could benefit from an eventListener-system 
approach instead of callbacks?

Will I be able to make the slow-down dissapear or decrease?

Any thoughts would be very welcome.

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


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





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


Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-15 Thread Jason Cunliffe

John

Were you able to get a sense from the whole list of (a) which specific 
MIDI (or MIDI-like) features  implementations are most desired; and (b) 
how much they'd be willing to pay for this in player size?

-
*** MIDI in Flash Player needs to implement Midi  Show Control.
-

As follow-up to Tyler's blogsume and your question, here are the online key 
resources to implement the above


Even implementing the old spec MSC 1.0 would be a great start for FlashMIDI.
That has been superseded by v1.1 and discussion is now underway [October 
2005] to design the next generation known as MD-MIDI..

MIDI Industry Investigates Major Update to MIDI Protocol
http://www.midi.org/newsviews/hdmidipr.shtml

Some references
http://en.wikipedia.org/wiki/MIDI_Show_Control#External_links

MSC 1.0
http://www.richmondsounddesign.com/txt/mscspec.txt

MID Manufacturers Association
http://www.midi.org/
see page on complete 1.0 spec
http://www.midi.org/about-midi/specinfo.shtml

Partial  list of  Sound  Show Control Projects that use MIDI Show Control
http://www.midi.org/about-midi/msc/mscchart.shtml


Finally, I highly recommend Adobe-Macromedia to run any plans for 
implementing MIDI in the Flash Player past the excellent people who populate 
the Show Control email forum. It's low volume very high signal to noise 
professional discussion [averages around 100 messages per month until you 
hit a hot topic :-)]


http://groups.yahoo.com/group/show-control/

Closing comment:
I'd argue for implementing MSC and not getting yoo hung up on MIDI sound as 
much.
Focus on how easily MIDI can enable interoperabilty among the growing 
catalog of so many interestng devices and software. FlashMIDI would provide 
a valuable missing part of that environment by virtue of easily customizable 
user interfaces - superb scalable graphics and typogpraphy etc. The world of 
touch screesn, kiosks handhelds..They all need to interface with eaach other 
but also to sophisticated external hardware - videowalls, projectors etc.


The data demands of these applicatosin are often quite small. You get a big 
bang for your buck and less perforamnce issues. That also makes it MSC an 
excellent candidate for MIDI in the FLash Player v1.


I hope this helps
Thank You.

Best wishes
Jason Cunliffe


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


Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Hans Wichman

Hi,
using the delegates itself should not lead to problems i think, at least i 
did some tests with this and garbage collection, and i didnt need to do 
anything special to delete delegates or something. One instance where 
problems might occur is for example fwhere you use Key.addListener 
Mouse.addListener etc and you dont remove these listeners properly. If the 
memory usage when the game is running slower doesnt really differ from when 
its running faster, you might wanna delve into your program deeper with a 
tool like xray or something.
Another option would be to disable parts of your engine ofcourse to try and 
narrow it down.
tough one, i'll take a look at your engine when i have the time, thanks for 
the link!


greetz
Hans



At 11:39 AM 12/15/2005, you wrote:

Hello Hans,

I've been testing the game with the taskmanager open for
several hours.

I'm not using a textfield to debug anything at the moment.

The memory is going up, but not consistently. The game has many
backgrounds and tilesets (complete themes) but I use only one of each
theoughout my tests, to keep the parameters minimum.

Sometimes the memory adds up 2MB, for no apparent reason
when a level is finished and the game moves to the next level. And other
times (which is more often) the memory does not increase from level to level.
Also, during a level sometimes there are a few KBs added.

I'm thinking that maybe objects are not garbage-collected because of the 
Delegates.

I think this has been discussed before, but I can't recall a definate answer
if this is a problem and what is a possible solution.

The framework is not open source and it's not a commercial product
(at least not yet).
If you like, you can see a game I built with it at
http://www.total-eclipse.gr/academy-of-magic-word-spells/

Dimitrios Bendilas


- Original Message - From: Hans Wichman [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 12:11 PM
Subject: Re: [FlashCoders] game slowing down - eventListener



Have you tried opening the taskmanager to see if your memory is hogging?

The game im working on slows down as well, but this is simply becoz im 
printin debug info to a textfield (will be replaced with xray ;)) and 
this takes longer to update as the contents get bigger. A game should not 
slow down, no matter the approach u take.


As a side note is it a commercial framework/opensource etc?

greetz
Hans


At 11:03 AM 12/15/2005, you wrote:

Hello everyone,

I have built a big, complex framework for creating 2D games in Flash.

I have developed 2 large projects based on it and I'm experiencing
a slow down as the game progresses. A while after you begin
playing, things start to slow down and in 20-30 minutes the game
is no more fun to play as it becomes much slower. They are both
tile-based puzzle games. I'm using Flash 8 and FP8.

The framework is written in AS2 and it uses a callback system
for communication between classes (e.g. tileManager.onEvent = 
Delegate.create(this, ))


The use of Delegates is very common throughout the framework. I'm using 
the Delegate
version that supports parameters too, so I often pass complete instances 
of complex objects

as parameters.

I have tried to use .destroy() on everything I can, so that objects get 
deleted from memory.


Do you think the framework could benefit from an eventListener-system 
approach instead of callbacks?

Will I be able to make the slow-down dissapear or decrease?

Any thoughts would be very welcome.

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


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




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


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


[Flashcoders] ****************** Unicode Input ***************************

2005-12-15 Thread Devendran I
Hi all,
   
  We can Display Unicode Characters in dynamic and Input text field. Is it 
possible to get unicodeInput in a input text?
   
  Consider this. You are having One input text box. By selecting a language, 
your Key press should be displayed as choosen language(in input text).
   
  If u select Chinese Langugae. When you type it should be chinese
  If u select Hindi Language. when you type it should be Hindi .
   
  All these should happen in single text field.(And have to controll with 
script)
   
   
  Thanks  regards
  Devendran.I
   
   


-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas

Thank you for the suggestions Hans.

I'm pretty sure I've taken care of all listeners
and intervals and destroy them before I delete
an object.

The memory when it's running slower 6-7MBs
more than when running fast. (46MB - 52MB)

I've tried digging in with xray before, I guess
I'll do it again.

Any other thoughts anyone?

Dimitrios



- Original Message - 
From: Hans Wichman [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 1:39 PM
Subject: Re: [FlashCoders] game slowing down - eventListener



Hi,
using the delegates itself should not lead to problems i think, at least i 
did some tests with this and garbage collection, and i didnt need to do 
anything special to delete delegates or something. One instance where 
problems might occur is for example fwhere you use Key.addListener 
Mouse.addListener etc and you dont remove these listeners properly. If the 
memory usage when the game is running slower doesnt really differ from 
when its running faster, you might wanna delve into your program deeper 
with a tool like xray or something.
Another option would be to disable parts of your engine ofcourse to try 
and narrow it down.
tough one, i'll take a look at your engine when i have the time, thanks 
for the link!


greetz
Hans



At 11:39 AM 12/15/2005, you wrote:

Hello Hans,

I've been testing the game with the taskmanager open for
several hours.

I'm not using a textfield to debug anything at the moment.

The memory is going up, but not consistently. The game has many
backgrounds and tilesets (complete themes) but I use only one of each
theoughout my tests, to keep the parameters minimum.

Sometimes the memory adds up 2MB, for no apparent reason
when a level is finished and the game moves to the next level. And other
times (which is more often) the memory does not increase from level to 
level.

Also, during a level sometimes there are a few KBs added.

I'm thinking that maybe objects are not garbage-collected because of the 
Delegates.
I think this has been discussed before, but I can't recall a definate 
answer

if this is a problem and what is a possible solution.

The framework is not open source and it's not a commercial product
(at least not yet).
If you like, you can see a game I built with it at
http://www.total-eclipse.gr/academy-of-magic-word-spells/

Dimitrios Bendilas


- Original Message - From: Hans Wichman [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 12:11 PM
Subject: Re: [FlashCoders] game slowing down - eventListener



Have you tried opening the taskmanager to see if your memory is hogging?

The game im working on slows down as well, but this is simply becoz im 
printin debug info to a textfield (will be replaced with xray ;)) and 
this takes longer to update as the contents get bigger. A game should not 
slow down, no matter the approach u take.


As a side note is it a commercial framework/opensource etc?

greetz
Hans


At 11:03 AM 12/15/2005, you wrote:

Hello everyone,

I have built a big, complex framework for creating 2D games in Flash.

I have developed 2 large projects based on it and I'm experiencing
a slow down as the game progresses. A while after you begin
playing, things start to slow down and in 20-30 minutes the game
is no more fun to play as it becomes much slower. They are both
tile-based puzzle games. I'm using Flash 8 and FP8.

The framework is written in AS2 and it uses a callback system
for communication between classes (e.g. tileManager.onEvent = 
Delegate.create(this, ))


The use of Delegates is very common throughout the framework. I'm using 
the Delegate
version that supports parameters too, so I often pass complete instances 
of complex objects

as parameters.

I have tried to use .destroy() on everything I can, so that objects get 
deleted from memory.


Do you think the framework could benefit from an eventListener-system 
approach instead of callbacks?

Will I be able to make the slow-down dissapear or decrease?

Any thoughts would be very welcome.

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


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




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


___
Flashcoders 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] ****************** Unicode Input ***************************

2005-12-15 Thread [EMAIL PROTECTED]

nice ascii work on the subject!

Devendran I wrote:

Hi all,
   
  We can Display Unicode Characters in dynamic and Input text field. Is it possible to get unicodeInput in a input text?
   
  Consider this. You are having One input text box. By selecting a language, your Key press should be displayed as choosen language(in input text).
   
  If u select Chinese Langugae. When you type it should be chinese

  If u select Hindi Language. when you type it should be Hindi .
   
  All these should happen in single text field.(And have to controll with script)
   
   
  Thanks  regards

  Devendran.I
   
   



-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
___

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] ****************** UnicodeInput ***************************

2005-12-15 Thread Adrian Lynch
It'll be the start of a trend!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 15 December 2005 12:42
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ** UnicodeInput
***


nice ascii work on the subject!

Devendran I wrote:
 Hi all,

   We can Display Unicode Characters in dynamic and Input text field. Is it
possible to get unicodeInput in a input text?

   Consider this. You are having One input text box. By selecting a
language, your Key press should be displayed as choosen language(in input
text).

   If u select Chinese Langugae. When you type it should be chinese
   If u select Hindi Language. when you type it should be Hindi .

   All these should happen in single text field.(And have to controll with
script)


   Thanks  regards
   Devendran.I

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


RE: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Merrill, Jason
Thanks, Macromedia!

What is a Macromedia?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







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


Re: [Flashcoders] ****************** Unicode Input ***************************

2005-12-15 Thread Mike Lyda

umm..  it kind of sounds like you want Flash to automatically map the
characters to the keypress?  i.e. if someone with an English keyboard/system,
types into your input field the characters will show up as Chinese?

...  it might be possible to have them actually typing into an offscreen/hidden
input box, capture keypresses, do key mapping based on a table, and then insert
the corresponding Chinese character into the (visible) input box...  that might
work as long as they're using an English keyboard.. 

--- Devendran I [EMAIL PROTECTED] wrote:

 Hi all,

   We can Display Unicode Characters in dynamic and Input text field. Is it
 possible to get unicodeInput in a input text?

   Consider this. You are having One input text box. By selecting a language,
 your Key press should be displayed as choosen language(in input text).

   If u select Chinese Langugae. When you type it should be chinese
   If u select Hindi Language. when you type it should be Hindi .

   All these should happen in single text field.(And have to controll with
 script)


   Thanks  regards
   Devendran.I


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


[Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Merrill, Jason
Recently, my company purchased the Adobe Video Suite for me because of
some digital video editing work I am doing with clients.  We bought the
suite because I needed Premiere, as well as the Photoshop update and
Audition.  I also was glad to get After Effects 6.5 and know that some
Flash developers have used it to create neat animation effects which
they couldn't easily accomplish with Flash.  

My question is, I would like to know what kinds of things I could
utilize After Effects for (BESIDES nifty effects in digital video clips,
obviously), for my Flash work - just some ideas from those of you who
know it and use it for effects in their Flash projects.  

Thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com



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


[Flashcoders] Re: alpha -= 10 = wtf

2005-12-15 Thread Daniel Freeman
Judah,  See: 
http://en.wikipedia.org/wiki/Floating_point#Problems_with_floating-point



Send instant messages to your online friends http://au.messenger.yahoo.com 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Installing Central

2005-12-15 Thread Daniel Freeman
(A little OT, apologies, but the Central mailing list
mysteriously vanished some months ago)

I can't install Central anymore?  (MacOS 10.4.2)  I
get a download error.  Is it just me?  Can other
people install Central?  If you've got a computer that
doesn't already have Central installed, try hitting
any installation badge on my web site (
http://e2easy.com ) - and let me know if it works.



Send instant messages to your online friends http://au.messenger.yahoo.com 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Installing Central

2005-12-15 Thread Johan Lopes
Hi Daniel,

I'm using a Win PC and clicked on your link and the installation went fine.

Cool central apps, by the way :)

All the best,

/Johan

On 12/15/05, Daniel Freeman [EMAIL PROTECTED] wrote:
 (A little OT, apologies, but the Central mailing list
 mysteriously vanished some months ago)

 I can't install Central anymore?  (MacOS 10.4.2)  I
 get a download error.  Is it just me?  Can other
 people install Central?  If you've got a computer that
 doesn't already have Central installed, try hitting
 any installation badge on my web site (
 http://e2easy.com ) - and let me know if it works.



 Send instant messages to your online friends http://au.messenger.yahoo.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Daniel Cascais
 Thanks, Macromedia!

 What is a Macromedia?

http://en.wikipedia.org/wiki/Macromedia
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Zeh Fernando

My question is, I would like to know what kinds of things I could
utilize After Effects for (BESIDES nifty effects in digital video clips,
obviously), for my Flash work - just some ideas from those of you who
know it and use it for effects in their Flash projects.


Nothing. Nifty effects in digital videos only. After Effects is a great 
software, but it's for motion graphics and that's it; sure there's a lot in 
motion graphics, but it's hardly something you'd use on Flash movies, 
unless you want your Flash movies to have a lot of videos (or image 
sequences).


- zeh 


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


RE: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Merrill, Jason
 Thanks, Macromedia!

 What is a Macromedia?

http://en.wikipedia.org/wiki/Macromedia

Dude, seriously?  I was joking. LOL. 

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







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


RE: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Richard
Thanks DanielOT but very interesting

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Cascais
Sent: Thursday, 15 December 2005 9:30 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] alpha -= 10 = wtf


 Thanks, Macromedia!

 What is a Macromedia?

http://en.wikipedia.org/wiki/Macromedia
___
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] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread Miles Thompson


I'm fetching data via a PHP script, if I leave the test for success out, 
the data is there, and can be processed.

If I test for success, the processing code never executes.

What can I be doing wrong? Here's a code fragment, all the appropriate 
values for varSender have been assigned. (You will see that the test for 
success is commented out.)


varSender.first_name = first_txt.text;
varSender.last_name = last_txt.text;
varSender.password = pass_txt.text;
varSender.action = 'login';
varSender.sendAndLoad(http://+ host + user_logon.php, varReceiver, GET);
varReceiver.onLoad = function(success:Boolean){
//if (success ) {
if(!this.error  this.CkVal != ){
subs_so.data.ckVal = this.CkVal;
}
if(!this.error  this.ValidLogin == true) {
_root.ValidLogin = this.ValidLogin;
_root.lOKtoPrint = this.lOKtoPrint;
... and so on ...

If I move the varSender so that it follows varReceiver, as in all of the 
examples in the help, the varReceiver code does not seem to trigger, at 
least when I check it in the debugger.


Does anyone have any suggestions? By the way, a similar script in Flash MX 
works flawlessly.


Regards - Miles  (who's looking for success g)


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


Re: [Flashcoders] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread eric dolecki
Just a quick observation: your onLoad should appear in code above the actual
sendAndLoad function.

On 12/15/05, Miles Thompson [EMAIL PROTECTED] wrote:


 I'm fetching data via a PHP script, if I leave the test for success out,
 the data is there, and can be processed.
 If I test for success, the processing code never executes.

 What can I be doing wrong? Here's a code fragment, all the appropriate
 values for varSender have been assigned. (You will see that the test for
 success is commented out.)

 varSender.first_name = first_txt.text;
 varSender.last_name = last_txt.text;
 varSender.password = pass_txt.text;
 varSender.action = 'login';
 varSender.sendAndLoad(http://+ host + user_logon.php, varReceiver,
 GET);
 varReceiver.onLoad = function(success:Boolean){
 //if (success ) {
 if(!this.error  this.CkVal != ){
 subs_so.data.ckVal = this.CkVal;
 }
 if(!this.error  this.ValidLogin == true) {
 _root.ValidLogin = this.ValidLogin;
 _root.lOKtoPrint = this.lOKtoPrint;
 ... and so on ...

 If I move the varSender so that it follows varReceiver, as in all of the
 examples in the help, the varReceiver code does not seem to trigger, at
 least when I check it in the debugger.

 Does anyone have any suggestions? By the way, a similar script in Flash MX
 works flawlessly.

 Regards - Miles  (who's looking for success g)


 ___
 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] OT: After Effects and Flash

2005-12-15 Thread Merrill, Jason
Nothing. 

Zeh, I don't 100% believe you.  :)  I know After Effects is for motion
effects, and primarily for video, but I could have sworn people have
used it for image sequences for movie clip effects in Flash movies.  For
example, there is a neat effect you can do with Photoshop where you
gradually blur a series of small images you are animating in Flash, and
then you play that sequence back in Flash to get a much more visually
fluid motion effect, sort of a little like this (in the intro sequence):

http://cmt.icfconsulting.com/EM/CEM-Start-A.htm

But with a series of changing images (that one only has a bitmap simply
tweening).   I know Flash 8 has some of this capability now as well, but
not entirely  - I know the blur effect in Flash 8 is only effective in
certain directions.  I'm also talking about other effects like fire and
smoke which I was told was done with After Effects.

I have also seen some neat sites posted on Flash lists where there were
some amazing effects, and when people asked how they were done in Flash,
they said they had used After Effects, so I don't think I'm completely
crazy.  

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com








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


Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas

Hi Cedric,

Thanks for answering.

This is a puzzle game, so tiles do not dissapear outside
the stage. They are removed with removeMovieClip when
necessary. There are 20-35 tiles on the stage at the same time.

Each tile is a movieclip with 10 different frames and each frame
has another movieclip inside, consisting of another 9-10 frames.
And then again each of the latter frames has a movieclip with an animation.
At any given time a tile is static and sometimes the (last mentioned)
animation plays. Even without the animation though, the game used
to slow down.

Everything in a tile is a vector graphic and the mother tile movieclip
has cacheAsBitmap = true.

I have disabled (I don't load them at all) all sounds intentionally 
and the memory still jumps up.



Dimitrios

- Original Message - 
From: Cedric Muller [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 2:26 PM
Subject: Re: [FlashCoders] game slowing down - eventListener



how do you generate the tiles ?
are they removed (removeMovieClip) when going outside the boundaries of 
the visible area ?


because such memory size must have something to do with bitmaps or 
sounds 


??
Cedric


Thank you for the suggestions Hans.

I'm pretty sure I've taken care of all listeners
and intervals and destroy them before I delete
an object.

The memory when it's running slower 6-7MBs
more than when running fast. (46MB - 52MB)

I've tried digging in with xray before, I guess
I'll do it again.

Any other thoughts anyone?

Dimitrios



- Original Message - From: Hans Wichman [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 1:39 PM
Subject: Re: [FlashCoders] game slowing down - eventListener



Hi,
using the delegates itself should not lead to problems i think, at 
least i did some tests with this and garbage collection, and i didnt 
need to do anything special to delete delegates or something. One 
instance where problems might occur is for example fwhere you use 
Key.addListener Mouse.addListener etc and you dont remove these 
listeners properly. If the memory usage when the game is running 
slower doesnt really differ from when its running faster, you might 
wanna delve into your program deeper with a tool like xray or 
something.
Another option would be to disable parts of your engine ofcourse to 
try and narrow it down.
tough one, i'll take a look at your engine when i have the time, 
thanks for the link!


greetz
Hans



At 11:39 AM 12/15/2005, you wrote:

Hello Hans,

I've been testing the game with the taskmanager open for
several hours.

I'm not using a textfield to debug anything at the moment.

The memory is going up, but not consistently. The game has many
backgrounds and tilesets (complete themes) but I use only one of each
theoughout my tests, to keep the parameters minimum.

Sometimes the memory adds up 2MB, for no apparent reason
when a level is finished and the game moves to the next level. And 
other
times (which is more often) the memory does not increase from level 
to level.

Also, during a level sometimes there are a few KBs added.

I'm thinking that maybe objects are not garbage-collected because of 
the Delegates.
I think this has been discussed before, but I can't recall a 
definate answer

if this is a problem and what is a possible solution.

The framework is not open source and it's not a commercial product
(at least not yet).
If you like, you can see a game I built with it at
http://www.total-eclipse.gr/academy-of-magic-word-spells/

Dimitrios Bendilas


- Original Message - From: Hans Wichman [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 12:11 PM
Subject: Re: [FlashCoders] game slowing down - eventListener


Have you tried opening the taskmanager to see if your memory is 
hogging?


The game im working on slows down as well, but this is simply becoz 
im printin debug info to a textfield (will be replaced with xray 
;)) and this takes longer to update as the contents get bigger. A 
game should not slow down, no matter the approach u take.


As a side note is it a commercial framework/opensource etc?

greetz
Hans


At 11:03 AM 12/15/2005, you wrote:

Hello everyone,

I have built a big, complex framework for creating 2D games in 
Flash.


I have developed 2 large projects based on it and I'm experiencing
a slow down as the game progresses. A while after you begin
playing, things start to slow down and in 20-30 minutes the game
is no more fun to play as it becomes much slower. They are both
tile-based puzzle games. I'm using Flash 8 and FP8.

The framework is written in AS2 and it uses a callback system
for communication between classes (e.g. tileManager.onEvent = 
Delegate.create(this, ))


The use of Delegates is very common throughout the framework. I'm 
using the Delegate
version that supports parameters 

RE: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Merrill, Jason
For example, this site used After Effects to create PNG sequences to
bring into Flash for neat visual animation effects (some of it demo'ed
within the site itself)

http://www.advanceflash.com/#sec=0

That's what I'm talking about.


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Zeh Fernando
Sent: Thursday, December 15, 2005 8:31 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: After Effects and Flash

 My question is, I would like to know what kinds of things I could
 utilize After Effects for (BESIDES nifty effects in digital video
clips,
 obviously), for my Flash work - just some ideas from those of you
who
 know it and use it for effects in their Flash projects.

Nothing. Nifty effects in digital videos only. After Effects is a
great
software, but it's for motion graphics and that's it; sure there's a
lot in
motion graphics, but it's hardly something you'd use on Flash
movies,
unless you want your Flash movies to have a lot of videos (or image
sequences).

- zeh

___
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] OT: After Effects and Flash

2005-12-15 Thread Count Schemula
You can do motion type stuff, but you are restricted more or less to
the same types of tricks you'd use with Photoshop due to file size
constraints. After Effects is pretty much just Photoshop with a
timeline.

For more elaborate effects, you will more than likely be better off
creating video in After Effects to utilize in Flash as .FLV files.

On 12/15/05, Merrill, Jason [EMAIL PROTECTED] wrote:
 That's what I'm talking about.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Weyert de Boer



http://www.advanceflash.com/#sec=0
That's what I'm talking about.
  
On my screen that site really shakes terrible, I think it's some sort of 
banding effect. Really annoying.

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


RE: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Merrill, Jason
Count, Zeh, I do appreciate you replying. But I think I should have been
more clear in my original e-mail.  I AM just talking about motion
effects for Flash, nothing else.  I realize After Effects does just
that. I'm asking what kinds of motion effects have been done for Flash
projects using After Effects, and not video effects, other kinds of
animated effects like a .png sequence - looking for some specific ideas
for .png sequences I guess is what I'm really after...  of course,
example links or non-Adobe tutorials would be great.

Thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Count Schemula
Sent: Thursday, December 15, 2005 9:21 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: After Effects and Flash

You can do motion type stuff, but you are restricted more or less to
the same types of tricks you'd use with Photoshop due to file size
constraints. After Effects is pretty much just Photoshop with a
timeline.

For more elaborate effects, you will more than likely be better off
creating video in After Effects to utilize in Flash as .FLV files.

On 12/15/05, Merrill, Jason [EMAIL PROTECTED] wrote:
 That's what I'm talking about.
___
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] OT: After Effects and Flash

2005-12-15 Thread Merrill, Jason
Hmmm, that's odd, not for me.  Other than the lack of contrast and very
small buttons, that site appears very fluid and nicely done from what I
see in Firefox with the Flash 8 player.  Anyway, besides the point of
the discussion...

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Thursday, December 15, 2005 9:30 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: After Effects and Flash


 http://www.advanceflash.com/#sec=0
 That's what I'm talking about.

On my screen that site really shakes terrible, I think it's some sort
of
banding effect. Really annoying.
___
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] removemovieclip failure

2005-12-15 Thread Devendran I
HI,

If the Movie is already existing one (Not created by Script), U have to use 
swapDepths to change the depth then remove it. Becose there is some problem 
with Depths. Instance having depth -1 and some higher depths wouldn't be 
removed correctly. So follow this code

var evt = this.getInstanceAtDepth(0);
this.swapDepths(0);
this.removeMovieClip();
if (evt != undefined) {
evt.swapDepths(0);
}

Regards
Devendran.I

Andreas Rønning [EMAIL PROTECTED] wrote: Ok this is the first time i've had 
this issue with removemovieclip so 
bear with my amazement.
I have an application with popup windows created with attachMovie. These 
windows have the following script on frame 1 of their movieclip:

closer.onPress = function() {
this.gotoAndStop(2);
};
closer.onReleaseOutside = function() {
this.gotoAndStop(1);
};
closer.onDragOut = function() {
this.gotoAndStop(1);
};
closer.onRelease = function() {
this.gotoAndStop(1);
this._parent.closeMe();
};
function closeMe() {
removeMovieClip(this);
}

closer being the close button instance name.
The closeMe function is called, but removeMovieClip does nothing. I did 
a trace(this); removeMovieClip(this); trace(this); and both traces show 
up, showing the correct path, but nothing is removed.
Is there a good reason for this? What am i missing.

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




-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Merrill, Jason
Thanks Ryan - that's exactly what I'm talking about.  BTW - Kigot - a
bit over the top with the interface, but really nice site and it looks
like great looking After Effects effects. 

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com




-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Ryan Luce
Sent: Thursday, December 15, 2005 9:45 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: After Effects and Flash

kigot.com did alot of after effects stuff... particle animations and
stuff like that sometimes turn out better in after effects. also
advanceflash.com has a multitude of stuff you can buy for flash...
alot of it was made in ae. sorry for poor grammar and no links... i'm
lazy and just woke up.

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] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread Devendran I
Yes,

onLoad Function will carry both success and failiure information of loading a 
page. 
If target file exists onLoad will carry true in that argument
otherwise it will carry false. Its better practice to code with 
onLoad(success)

u can use any Name instead of success.Its a argument passed by file loader 
object.

Regards
Devendran.I

eric dolecki [EMAIL PROTECTED] wrote: Just a quick observation: your onLoad 
should appear in code above the actual
sendAndLoad function.

On 12/15/05, Miles Thompson  wrote:


 I'm fetching data via a PHP script, if I leave the test for success out,
 the data is there, and can be processed.
 If I test for success, the processing code never executes.

 What can I be doing wrong? Here's a code fragment, all the appropriate
 values for varSender have been assigned. (You will see that the test for
 success is commented out.)

 varSender.first_name = first_txt.text;
 varSender.last_name = last_txt.text;
 varSender.password = pass_txt.text;
 varSender.action = 'login';
 varSender.sendAndLoad(http://+ host + user_logon.php, varReceiver,
 GET);
 varReceiver.onLoad = function(success:Boolean){
 //if (success ) {
 if(!this.error  this.CkVal != ){
 subs_so.data.ckVal = this.CkVal;
 }
 if(!this.error  this.ValidLogin == true) {
 _root.ValidLogin = this.ValidLogin;
 _root.lOKtoPrint = this.lOKtoPrint;
 ... and so on ...

 If I move the varSender so that it follows varReceiver, as in all of the
 examples in the help, the varReceiver code does not seem to trigger, at
 least when I check it in the debugger.

 Does anyone have any suggestions? By the way, a similar script in Flash MX
 works flawlessly.

 Regards - Miles  (who's looking for success )


 ___
 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




-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Daniel Cascais
Me to :|
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Zeh Fernando

Nothing.



Zeh, I don't 100% believe you.  :)  I know After Effects is for motion
effects, and primarily for video, but I could have sworn people have
used it for image sequences for movie clip effects in Flash movies.  For
example, there is a neat effect you can do with Photoshop where you
gradually blur a series of small images you are animating in Flash, and
then you play that sequence back in Flash to get a much more visually
fluid motion effect, sort of a little like this (in the intro sequence):
I have also seen some neat sites posted on Flash lists where there were
some amazing effects, and when people asked how they were done in Flash,
they said they had used After Effects, so I don't think I'm completely
crazy.


Well, maybe I misunderstood the question then, sorry. To me, those *are* 
nifty effects in digital videos. In that vein, well, there's an infinite 
array of stuff that can be done, so it's hard to predict in what AFX can 
help in a Flash movie. Since it's just like Photoshop but with a timeline 
and billions of third-party filters possible, you're just restricted to your 
imagination as a motion graphics designer.


If you want to check the software when trying to apply it to your Flash 
movies, I think there's two things you'd want to check;


First one is scripting. You can script stuff on AFX using javascript. This 
means you can create some crazy animations (like you'd do with, say, 
actionscript in flash) but, as you output it to a video, execution speed 
isn't an issue (since it's not realtime but rendered).


The second one of course is developing motion graphic designs skills to know 
*what* you can do on it and how. Again, it's kind of an infinite field, so 
it's more of a design thing than a technical thing.


On both cases, there's a lot of sites that might help you. I don't think I 
can give an example on how AFX could help you - they're specific for each 
different situation.


Website-wise, I personally like this one, about the scripting side of AFX:

http://www.motionscript.com/

Sorry for the long ot/rant, but I'm over now. I hope that helps.


- zeh 


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


Re: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Weyert de Boer
Yeahm After Effects is really nice. It's not for nothing used in 
mutliple movies, especially the 3D support in AE is nice.

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


RE: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Merrill, Jason
Thanks Zeh, really helpful.  Esp. the info on Javascripting for effects.
Personally, to me png animation sequences in Flash are not videos per
se, but I guess you could look at it that way too.  I can see where we
diverged in the discussion.  Thanks for the info.  

Sorry for the long ot/rant, but I'm over now.

That was a rant?  Man, you should have considered being Pope or a Ghandi
or something.  ;)

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Zeh Fernando
Sent: Thursday, December 15, 2005 10:04 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: After Effects and Flash

Nothing.

 Zeh, I don't 100% believe you.  :)  I know After Effects is for
motion
 effects, and primarily for video, but I could have sworn people have
 used it for image sequences for movie clip effects in Flash movies.
For
 example, there is a neat effect you can do with Photoshop where you
 gradually blur a series of small images you are animating in Flash,
and
 then you play that sequence back in Flash to get a much more
visually
 fluid motion effect, sort of a little like this (in the intro
sequence):
 I have also seen some neat sites posted on Flash lists where there
were
 some amazing effects, and when people asked how they were done in
Flash,
 they said they had used After Effects, so I don't think I'm
completely
 crazy.

Well, maybe I misunderstood the question then, sorry. To me, those
*are*
nifty effects in digital videos. In that vein, well, there's an
infinite
array of stuff that can be done, so it's hard to predict in what AFX
can
help in a Flash movie. Since it's just like Photoshop but with a
timeline
and billions of third-party filters possible, you're just restricted
to your
imagination as a motion graphics designer.

If you want to check the software when trying to apply it to your
Flash
movies, I think there's two things you'd want to check;

First one is scripting. You can script stuff on AFX using javascript.
This
means you can create some crazy animations (like you'd do with, say,
actionscript in flash) but, as you output it to a video, execution
speed
isn't an issue (since it's not realtime but rendered).

The second one of course is developing motion graphic designs skills
to know
*what* you can do on it and how. Again, it's kind of an infinite
field, so
it's more of a design thing than a technical thing.

On both cases, there's a lot of sites that might help you. I don't
think I
can give an example on how AFX could help you - they're specific for
each
different situation.

Website-wise, I personally like this one, about the scripting side of
AFX:

http://www.motionscript.com/

Sorry for the long ot/rant, but I'm over now. I hope that helps.


- zeh

___
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] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread Miles Thompson

Eric,

OK - repositioned it below and had to adjust some braces. (Thought I had 
traced flow of logic correctly, but had not.)


It's now working with success!

Thanks - Miles

At 10:01 AM 12/15/2005, you wrote:

Just a quick observation: your onLoad should appear in code above the actual
sendAndLoad function.

On 12/15/05, Miles Thompson [EMAIL PROTECTED] wrote:


 I'm fetching data via a PHP script, if I leave the test for success out,
 the data is there, and can be processed.
 If I test for success, the processing code never executes.

 What can I be doing wrong? Here's a code fragment, all the appropriate
 values for varSender have been assigned. (You will see that the test for
 success is commented out.)

 varSender.first_name = first_txt.text;
 varSender.last_name = last_txt.text;
 varSender.password = pass_txt.text;
 varSender.action = 'login';
 varSender.sendAndLoad(http://+ host + user_logon.php, varReceiver,
 GET);
 varReceiver.onLoad = function(success:Boolean){
 //if (success ) {
 if(!this.error  this.CkVal != ){
 subs_so.data.ckVal = this.CkVal;
 }
 if(!this.error  this.ValidLogin == true) {
 _root.ValidLogin = this.ValidLogin;
 _root.lOKtoPrint = this.lOKtoPrint;
 ... and so on ...

 If I move the varSender so that it follows varReceiver, as in all of the
 examples in the help, the varReceiver code does not seem to trigger, at
 least when I check it in the debugger.

 Does anyone have any suggestions? By the way, a similar script in Flash MX
 works flawlessly.

 Regards - Miles  (who's looking for success g)


 ___
 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] removemovieclip failure

2005-12-15 Thread Sam Shrefler
I also came accross where my movie was remaining in memory for 1 additional
frametherefore, i setup an onEnterFrame event after i ran
removeMovieClip and after that ran, everything was removed

Sam



On 12/15/05, Devendran I [EMAIL PROTECTED] wrote:

 HI,

 If the Movie is already existing one (Not created by Script), U have to
 use swapDepths to change the depth then remove it. Becose there is some
 problem with Depths. Instance having depth -1 and some higher depths
 wouldn't be removed correctly. So follow this code

var evt = this.getInstanceAtDepth(0);
this.swapDepths(0);
this.removeMovieClip();
if (evt != undefined) {
evt.swapDepths(0);
}

 Regards
 Devendran.I

 Andreas Rønning [EMAIL PROTECTED] wrote: Ok this is the first
 time i've had this issue with removemovieclip so
 bear with my amazement.
 I have an application with popup windows created with attachMovie. These
 windows have the following script on frame 1 of their movieclip:

 closer.onPress = function() {
this.gotoAndStop(2);
 };
 closer.onReleaseOutside = function() {
this.gotoAndStop(1);
 };
 closer.onDragOut = function() {
this.gotoAndStop(1);
 };
 closer.onRelease = function() {
this.gotoAndStop(1);
this._parent.closeMe();
 };
 function closeMe() {
removeMovieClip(this);
 }

 closer being the close button instance name.
 The closeMe function is called, but removeMovieClip does nothing. I did
 a trace(this); removeMovieClip(this); trace(this); and both traces show
 up, showing the correct path, but nothing is removed.
 Is there a good reason for this? What am i missing.

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




 -
 Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping
 ___
 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] game slowing down - eventListener

2005-12-15 Thread Dimitrios Bendilas

Anyone else has anything to suggest?
Has anyone experienced memory build up
with the use of Delegates or Proxy (with parameter support)?

Thank you

Dimitrios


- Original Message - 
From: Cedric Muller [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 2:26 PM
Subject: Re: [FlashCoders] game slowing down - eventListener



how do you generate the tiles ?
are they removed (removeMovieClip) when going outside the boundaries of 
the visible area ?


because such memory size must have something to do with bitmaps or 
sounds 


??
Cedric


Thank you for the suggestions Hans.

I'm pretty sure I've taken care of all listeners
and intervals and destroy them before I delete
an object.

The memory when it's running slower 6-7MBs
more than when running fast. (46MB - 52MB)

I've tried digging in with xray before, I guess
I'll do it again.

Any other thoughts anyone?

Dimitrios



- Original Message - From: Hans Wichman [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 15, 2005 1:39 PM
Subject: Re: [FlashCoders] game slowing down - eventListener




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


Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread John Grden
Hey Dimitrios, I know this might be covering something you already
understand, but thought to say it outloud just in case.  An object lives as
long as there is reference to it in memory.

So, in this scenario below obj lives on even though I've tried to delete
the original reference to it (tt is Xray's trace method):

var obj:Object = new Object();
obj.prop = here;
var a = obj;
var b = a;
tt(all: obj/a/b, obj, a, b);

delete obj;
tt(delete obj: obj/a/b, obj, a, b);

delete a;
tt(delete a: obj/a/b, obj, a, b);

delete b;
tt(delete b: obj/a/b, obj, a, b);
//

Which traces  out

//
(41) all: obj/a/b:
  prop = here


  prop = here


  prop = here


(41) delete obj: obj/a/b: undefined ::
  prop = here


  prop = here


(41) delete a: obj/a/b: undefined :: undefined ::
  prop = here


(42) delete b: obj/a/b: undefined :: undefined :: undefined

With a tile based game and all the possible references you're probably
running, you might have to take a closer look at how objects are being
destroyed for garbage collection.  You can easily see if they're still alive
using xray as well as delete them at runtime using the execute panel with
xray to see if that helps your memory issues a performance.  Also, try
changing the visibility of your movieclips at runtime with Xray or movie
items off stage one at a time at runtime to see who's hoggin' the CPU etc.

Check out the video on the Property Inspector for xray for working with
objects/movieclips at runtime:
http://labs.blitzagency.com/wp-content/xray/videos/tutorials/indexFlash.html#Overview.propertyInspectorOverview

On 12/15/05, Dimitrios Bendilas [EMAIL PROTECTED] wrote:

 Hi Cedric,

 Thanks for answering.

 This is a puzzle game, so tiles do not dissapear outside
 the stage. They are removed with removeMovieClip when
 necessary. There are 20-35 tiles on the stage at the same time.

 Each tile is a movieclip with 10 different frames and each frame
 has another movieclip inside, consisting of another 9-10 frames.
 And then again each of the latter frames has a movieclip with an
 animation.
 At any given time a tile is static and sometimes the (last mentioned)
 animation plays. Even without the animation though, the game used
 to slow down.

 Everything in a tile is a vector graphic and the mother tile movieclip
 has cacheAsBitmap = true.

 I have disabled (I don't load them at all) all sounds intentionally
 and the memory still jumps up.


 Dimitrios

 - Original Message -
 From: Cedric Muller [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Thursday, December 15, 2005 2:26 PM
 Subject: Re: [FlashCoders] game slowing down - eventListener


  how do you generate the tiles ?
  are they removed (removeMovieClip) when going outside the boundaries of
  the visible area ?
 
  because such memory size must have something to do with bitmaps or
  sounds 
 
  ??
  Cedric
 
  Thank you for the suggestions Hans.
 
  I'm pretty sure I've taken care of all listeners
  and intervals and destroy them before I delete
  an object.
 
  The memory when it's running slower 6-7MBs
  more than when running fast. (46MB - 52MB)
 
  I've tried digging in with xray before, I guess
  I'll do it again.
 
  Any other thoughts anyone?
 
  Dimitrios
 
 
 
  - Original Message - From: Hans Wichman [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Thursday, December 15, 2005 1:39 PM
  Subject: Re: [FlashCoders] game slowing down - eventListener
 
 
  Hi,
  using the delegates itself should not lead to problems i think, at
  least i did some tests with this and garbage collection, and i didnt
  need to do anything special to delete delegates or something. One
  instance where problems might occur is for example fwhere you use
  Key.addListener Mouse.addListener etc and you dont remove these
  listeners properly. If the memory usage when the game is running
  slower doesnt really differ from when its running faster, you might
  wanna delve into your program deeper with a tool like xray or
  something.
  Another option would be to disable parts of your engine ofcourse to
  try and narrow it down.
  tough one, i'll take a look at your engine when i have the time,
  thanks for the link!
 
  greetz
  Hans
 
 
 
  At 11:39 AM 12/15/2005, you wrote:
  Hello Hans,
 
  I've been testing the game with the taskmanager open for
  several hours.
 
  I'm not using a textfield to debug anything at the moment.
 
  The memory is going up, but not consistently. The game has many
  backgrounds and tilesets (complete themes) but I use only one of each
  theoughout my tests, to keep the parameters minimum.
 
  Sometimes the memory adds up 2MB, for no apparent reason
  when a level is finished and the game moves to the next level. And
  other
  times (which is more often) the memory does not increase from level
  to level.
  Also, during a level sometimes there are a few KBs 

[Flashcoders] Debugger positioning onLoad / sendAndLoad

2005-12-15 Thread Miles Thompson

Eric Dolecki is probably wondering why there's such a klutz on the list.
Don't blame him, I was positioning my sendAndLoad() ahead of the onLoad(), 
for this reason.


If organized this way:
varReceiver.onLoad( success:boolean)
 and code ...
varSender.sendAndLoad( url, varReceiver, GET)

When I was debugging, the debugger did not go back and trace the code in 
varReceiver.onLoad as one steps through it single stepped.

Ergo, the onLoad() code was not executing, as I did not see it executing.

This a flaw in the Flash debugger? The only other debuggers I've used are 
for Visual FoxPro and Visual Basic.


Similarly, because code never halted in varReceiver, the fields returned to 
varReceiver could not be examined. It only pointed to its onLoad function.


Regards - Miles Thompson


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


Re: [Flashcoders] Debugger positioning onLoad / sendAndLoad

2005-12-15 Thread eric dolecki
There is no such thing as a klutz :) We are all beautiful people.

edolecki

On 12/15/05, Miles Thompson [EMAIL PROTECTED] wrote:

 Eric Dolecki is probably wondering why there's such a klutz on the list.
 Don't blame him, I was positioning my sendAndLoad() ahead of the onLoad(),
 for this reason.

 If organized this way:
 varReceiver.onLoad( success:boolean)
  and code ...
 varSender.sendAndLoad( url, varReceiver, GET)

 When I was debugging, the debugger did not go back and trace the code in
 varReceiver.onLoad as one steps through it single stepped.
 Ergo, the onLoad() code was not executing, as I did not see it executing.

 This a flaw in the Flash debugger? The only other debuggers I've used are
 for Visual FoxPro and Visual Basic.

 Similarly, because code never halted in varReceiver, the fields returned
 to
 varReceiver could not be examined. It only pointed to its onLoad function.

 Regards - Miles Thompson


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

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


[Flashcoders] Adjusting standard v2 components

2005-12-15 Thread Ben Smeets
Sorry if this has been handled before. But I was wondering how to adjust
(not 'create own') the v2 components CODE wise? I figured out how to
adjust the looks etc. But what if I wanted to tweak some code inside
e.g. Button Class? I lokked around and found like 4 places where the
component classes are stored on my machine. None of them seem to have
any effect on my used components :)

Is it possible to adjust the base component class? If so, any pointers
where to do it :)

Tx in advance,

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


Re: [Flashcoders] Adjusting standard v2 components

2005-12-15 Thread Devendran I
HI

 you can acheive this through component.setStyle() and 
Component.cellRenderer(). U can do anything with these Two combination.

For more help refer Macromedia Help.

Regards
Devendran.I

Ben Smeets [EMAIL PROTECTED] wrote: Sorry if this has been handled before. 
But I was wondering how to adjust
(not 'create own') the v2 components CODE wise? I figured out how to
adjust the looks etc. But what if I wanted to tweak some code inside
e.g. Button Class? I lokked around and found like 4 places where the
component classes are stored on my machine. None of them seem to have
any effect on my used components :)

Is it possible to adjust the base component class? If so, any pointers
where to do it :)

Tx in advance,

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




-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Adjusting standard v2 components

2005-12-15 Thread Paul BH
Devendran,
 there are actually a lot of situations where that doesnt help you any
- eg changing the way a button skin is drawn...

Ben,
 this is how you should go about doin what you need to do:

If you really want to change something in the codebase, you need to be
using the non-compiled clips, so rather than bringing stuff in from
the components pane, you need to copy the Component from
StandardComponents.fla which will be somewhere like:
C:\Program Files\Macromedia\Flash 8\en\Configuration\ComponentFLA

when you copy accross the component, you will notice in the comp
definition that export in first frame is unchecked - recheck this if
you have troubles...

Now you should be able to amend the class defn in one of the classpaths...

All this said, I would advise against changing the MM code directly -
it makes it a lot more of a hassle to transfer your work to other
machines...

two options:

1) Ensure your local classpath is at the top of the list of classpaths
(it may be already, I dont have flash open), and duplicate the class
in there, then make your changes. This ensures you dont change the
original, and that if an entire project gets moved, the amended code
goes with it. However, the problem is that if someone tries to use
your button in another project and doesnt know you have done it this
way, it can be hard to track down...

2)subclass the Button and overwrite the methods you want to change.
This is the way I tend to go about doing this even if its only a
smalll change. The only disadvantage of this is that the way MM have
coded their components is that the methods tend to be a bit overlong,
and you often only want to change one line or two. I try to treat this
as a good excercise in refactoring...

have fun

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


[Flashcoders] double byte character sets

2005-12-15 Thread nik crosina
Hi there ...

Another interesting Q:

Has anybody worked with Flash and double byte (e.g. chinese) characters
sets?
Or is that a non issue in Flash. We are having to convert a Director
application into a fully unicoded Flash version (the missing unicdoe
implementation of Director being the main reason for this).

We are still planning to use Director as a shell though becasue of it's disk
and OS handling and database Xtras (still not wuite worked out the
architecure...)

Thx


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


[Flashcoders] Cache busting

2005-12-15 Thread Troy Rollins

I'd like to do some basic cache busting, like this:


//
if(System.capabilities.playerType == External){
myXML.load(tabs.xm);
} else {
myXML.load(tabs.xml?cachebuster= + getTimer());
}


Can I use something like this with loadMovie, as well as getURL, and 
XML.load?


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

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


[Flashcoders] anchors in dynamic textfield?

2005-12-15 Thread Ben Deroo
Hi,
Bit of a problem:

I have a dynamic textfield which loads about 10 pages of text externally. 
Textfield is formatted as html text.

In the 10 pages, there are a few dozen titles, definitions of words ... 
These titles are all formatted in bold type btitle1/b.

Is there a way in actionscript to have the text jump up or down with a 
button from title to title? Meaning: titles are always one word, the 
explanation might sometimes be a few paragraphs, I'd like the user to be 
able to click on something like a next button that would then scroll the 
text field down to the next title. In Dreamweaver, I would do this with 
anchor tags, but I don't know how to do this in actionscripting

Might be simple, might be impossible, but any help would be greatly 
appreciated!

Happy flashing,
Ben



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


Re: [Flashcoders] double byte character sets

2005-12-15 Thread Morten Barklund Shockwaved

nik crosina wrote:

Has anybody worked with Flash and double byte (e.g. chinese) characters
sets?
Or is that a non issue in Flash. We are having to convert a Director
application into a fully unicoded Flash version (the missing unicdoe
implementation of Director being the main reason for this).


Chinese isn't double-byte in UTF8 - it's triple-byte (as far as I know). 
Danish special characters (and most other special characters of roman 
languages, just as cyrillic, greek and other characters) are 
double-byte, and it works just fine.


Flash understands unicode (using UTF8-encoding) perfectly internally and 
when loading and sending strings.


--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: Serious Problem with Big Loads... HELP ME , please... HELP ME

2005-12-15 Thread Julián Atienza
I found this:
  http://www.swfkit.com/forum/thread_1_255.html
  
  I was not sure if i was going crazy, but now i found another guy with the 
same problem that i had... 
  
  I still can't beleave that Flash goes Frozen and stop all scripts  during a 
load of a external swf of 5Mb... i thought Flash 8 would be  more powerful :( 
:'( 
  

Julián Atienza [EMAIL PROTECTED] escribió:  Thank for the 2 answer but i 
forgot to say that wasn't a Web-project.
  This is an StandAlone Project in DVD with projector... that's the cause  i 
thought the size of files wasn't a important question... 
  
The  big load i was talking about contains a lot of interactive actions...  
that isn't a Big Picture... that is a big picture with a lot of  objects, 
components and classes
  
  ...
  
  
  :(
  
Julián Atienza [EMAIL PROTECTED] escribió:  HELP ME! 
  I have a demo of my project in a few days and i still have a serious 
problem... 
  
  I made my project using several levels (Level_0, Level_1, Level_2) ,  AS2.0  
and some classes to help me with the manage of interface,  information to parse 
from XML, etc...
  
  One of my problems is so simple but i   just don't know how to solve it. 
  
  When i'm in one state of the interface and the user interact with some  
controls, i have to load a big Swf (i've reduced to 5Mb with medium  quality in 
graphs but it was almost 7Mb in past due to   sophisticated big grpahics maps i 
have to load). 
  
 The class  that i built to manage interface uses a MovieClipLoader to load  
contents of levels and made a tweening between two levels when the  first, and 
the new level is loaded. 
  
 Only In the last  situation, when the swf is big, and i'm loading it, no 
events of  movieclip are throwed or triggered til the load is finished. 
  My boss want to see the typical animation during load or a simple animated 
GIF that follows to the icon pointer of mouse.
  
  OK. I've imported GIF, make the animation inside the movieClip, but... 
surprise. 
  If i have the animation in Level_1, try to load Level_2 and make animation 
visible it stops when the load start!!! :( 

  All things STOP when the load of the following level starts...
  
  Nobody knows or can help me here... do u know any solution? I've tried  all 
kind of things... make a updateAfterEvent(); in a lot of situations  (even in a 
Timer) but it isn't a good idea (no changes), to reduce size  of last swf to 
5MB, but problem still occurs, to use  loadMovieNum(sMovie, 2); instead of my 
MovieClipLoader, but no changes  in problem...
  
  HELP ME, please... Help me... i only have a few days to solve it and finish 
another things of my project... 
  i was working during a month between 12 and 14 hours by day, 7 days by  
week... i'm starting to fall in depression and tireness...my mind  doesn't find 
more ways to run in this case 
  
  
  
  
  
   


-

Correo Yahoo!
Comprueba qué es nuevo, aquí
http://correo.yahoo.es



-

Correo Yahoo!
Comprueba qué es nuevo, aquí
http://correo.yahoo.es



-

Correo Yahoo!
Comprueba qué es nuevo, aquí
http://correo.yahoo.es
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Cache busting

2005-12-15 Thread Ryan Potter
Take a look at this.

http://www.communitymx.com/abstract.cfm?cid=827EA


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Troy
Rollins
Sent: Thursday, December 15, 2005 10:04 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Cache busting

I'd like to do some basic cache busting, like this:


//
if(System.capabilities.playerType == External){
myXML.load(tabs.xm);
} else {
myXML.load(tabs.xml?cachebuster= + getTimer());
}


Can I use something like this with loadMovie, as well as getURL, and 
XML.load?

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

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


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


[Flashcoders] ScrollPane / Combo box issue

2005-12-15 Thread tech
Hello,

 

I've ran across a V2 scrollpane issue in one of the projects I'm working on.


 

-  I am attaching/removing pre-built movieclips from the library.

-  Each movieclip contains a combination of components

-  Problem occurs when I remove a movieclip that contains a V2 combo
box and attach a movieclip that contains a V2 scrollpane. The content in the
scrollpane is not masked. This seems to only appear when the previous
movieclip contains the combo box, other components don't seem to affect it.

-  I've used scrollpane.redraw(true) and that doesn't seem to have
any affect on the problem

 

I will try and put a movie together that demonstrates the issue.

 

Thanks in advance for any help,

Mike

 

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


RE: [Flashcoders] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread Andreas Weber
 Just a quick observation: your onLoad should appear in code above the 
 actual sendAndLoad function.

Does it - readability apart - really matter?

Let's run a little test and make a really small and fast load: 
a textfile that just contains the string x=small

And in the .fla:

lv = new LoadVars();
lv.load('test.txt');

// waste much more time than the load can possibly take
while(getTimer()  5000){};

lv.onLoad = function(s){
trace('onLoad is called, success :'+s);
}

The onLoad handler is called just fine even though it is declared
several seconds after load() is called.

It seems to be quite safe to assume that with asynchronous load
operations the onData and onLoad events are dispatched with a delay of
at least one frame.

hth
Andreas Weber



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric
dolecki
Sent: Donnerstag, 15. Dezember 2005 15:02
To: Flashcoders mailing list
Subject: Re: [Flashcoders] onload(Success:Boolean) - what's it mean?

Just a quick observation: your onLoad should appear in code above the
actual
sendAndLoad function.




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


[Flashcoders] RE: Serious Problem with Big Loads... HELP ME , please... HELP ME

2005-12-15 Thread Julián Atienza

Finally i have discovered one thing...
  
  I had a big map (in size  and height and widht) ... 
  
  i've tried to delete the contents... and the problem still persist (even if 
the swf to load is only 1,7 Mb) ...
  
  Now i know that the problem resides in the widht and height of the  
bitmaps/MovieClips i'm trying to load/Manage...  not in the  size... 
  
  



-

Correo Yahoo!
Comprueba qué es nuevo, aquí
http://correo.yahoo.es
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Cache busting

2005-12-15 Thread Troy Rollins


On Dec 15, 2005, at 12:47 PM, Ryan Potter wrote:


Take a look at this.

http://www.communitymx.com/abstract.cfm?cid=827EA


That's a keeper. Thanks for the link.

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

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


RE: [Flashcoders] Help with flv to mp3 conversion

2005-12-15 Thread Abdul Qabiz
Hi Prem-


As you can see that thread, different approaches have been discussed. I
can think of following:

Macromedia(Adobe) Flash Media Server 2.0 can connect to WebServices and
CFC easily, so you can go with following approach...

What you can do:

- Record Voice and it would be saved as FLV..
- Then invoke(in ActionScript - server-side) a webservice(or Remoting in
FCS 1.5) method passing the path(or any other parameter to
identification of file) of FLV..
- Webservice would execute FFMPEG(or any other tool) with FLV
path,encoding params and output-path
- FFMPEG(or other tool) would create MP3/MPEG and stores in desired
directory..

I believe, for this you would be required to have FCS and Application
server on same machine...

If you are working on FCS 1.5, you can still achieve above using FCS 1.5
and a Java/.Net Remoting gateway...


FFMPEG Project: http://ffmpeg.sourceforge.net/index.php - A great
project, provides you a tool.

FLV2MP3: http://etudiant.epita.fr/~founad_m/flv2mp3/  - Interesting, it
does something you are looking for.


FFMPEG-PHP: http://ffmpeg-php.sourceforge.net/   (This could be useful
if you use PHP on server)


BTW! There is another mailing-list (ChattyFig FlashComm list) dedicated
for Flash Communication specific topic.. I am sure, if you post there
you would get different ideas...

FlashComm list: http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Hope that helps..

-abdul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Prem
Jayamohan
Sent: Thursday, December 15, 2005 1:59 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Help with flv to mp3 conversion

Hi,
 I am working on an application needs audio recording feature. It is
something like we record our voice through microphone and we want to
store the output in MP3 format. So we decided to use Flash communication
server. As we thought that is the only way in flash through which we can
do audio recording.
  
  Is there any other way in flash, which can provide audio recording?
  
  In case if it is the only way, then it saves it in a flv format. How
do we get it in mp3 format?
  
  I saw so many flv encoders. But flv audio format used by Flash
communication server seems to use Nellymoser codec. Nellymoser is a
proprietary codec. So we could not get a clear picture about that flv
format. We could not use those encoders also. But we need the output in
MP3 format.
  
  I went through so many mail threads. Many people are looking for this
feature.
  
 
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=
266threadid=868432enterthread=y --
  
  Do you provide any tools or support for this? Is there anyway through
which we can convert flv into MP3.
  or Can we get the format(or license) of that flv(or nellymoser) which
can help us to convert it into MP3?
  
 Thanks in advance for your help
  
 Regards,
 - Prem
 
___
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] anchors in dynamic textfield?

2005-12-15 Thread Abdul Qabiz
Hi,

No there are no anchors in Flash TextField. But I think, this could be
done with scroll/maxscroll properties of TextField, but its not trivial
to make..might require some logic...

Why don't you think to solve this using different approach? Like when
someone click on titles, show the corresponding text in textfield...
Something similar..

Why to make user scroll through a long textfield, having 10 pages of
text might slow the application also...


-abdul

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Deroo
Sent: Thursday, December 15, 2005 10:43 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] anchors in dynamic textfield?

Hi,
Bit of a problem:

I have a dynamic textfield which loads about 10 pages of text
externally. 
Textfield is formatted as html text.

In the 10 pages, there are a few dozen titles, definitions of words
... 
These titles are all formatted in bold type btitle1/b.

Is there a way in actionscript to have the text jump up or down with a
button from title to title? Meaning: titles are always one word, the
explanation might sometimes be a few paragraphs, I'd like the user to be
able to click on something like a next button that would then scroll
the text field down to the next title. In Dreamweaver, I would do this
with anchor tags, but I don't know how to do this in actionscripting

Might be simple, might be impossible, but any help would be greatly
appreciated!

Happy flashing,
Ben



___
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] anchors in dynamic textfield?

2005-12-15 Thread Mike Britton
In the past I've simulated anchors with a ScrollPane using its
vPosition property and duplicated clips inside the ScrollPane. 
However I agree it would be nice if TextArea had the ability to
anchor.

You could use asfunction to control the textArea's vPosition based on
a variable you pass in.  The variable could be a few words you know
are unique to the line you wish to anchor to.  There would have to be
some text-parsing code to search for the words, but in theory it would
work.

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


Re: [Flashcoders] anchors in dynamic textfield?

2005-12-15 Thread Miles Thompson


No, no anchors in dynamic Textfield. I was hoping for the same thing.

What you could do is have a sidebar, or footnote (footbar?), and load the 
explanations / definitions in there when they are clicked on, using 
asfunction(). That might be better, as the user's place in the file is not 
lost. Or pop them up on little scrollable text boxes?


Otherwise you will be trying to simulate this, as others have indicated, 
and it will never be right unless paragraphs are v. regular. Keep in mind 
that many users find anchors disturbing, when they click the back button to 
return to the previous page they start backing up through the text.


Hope this has been slightly helpful.

Cheers - Miles

At 01:12 PM 12/15/2005, Ben Deroo wrote:

Hi,
Bit of a problem:

I have a dynamic textfield which loads about 10 pages of text externally.
Textfield is formatted as html text.

In the 10 pages, there are a few dozen titles, definitions of words ...
These titles are all formatted in bold type btitle1/b.

Is there a way in actionscript to have the text jump up or down with a
button from title to title? Meaning: titles are always one word, the
explanation might sometimes be a few paragraphs, I'd like the user to be
able to click on something like a next button that would then scroll the
text field down to the next title. In Dreamweaver, I would do this with
anchor tags, but I don't know how to do this in actionscripting

Might be simple, might be impossible, but any help would be greatly
appreciated!

Happy flashing,
Ben



___
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] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread Ian Thomas
HI Andreas,
  I have definitely had issues where declaring the two in the wrong order
has meant that the onLoad doesn't get called. Can't remember specifics - but
there are definitely cases where it's a problem. (From what I remember,
executing within Zinc and loading from the local file system was one
case...)

Cheers,
  Ian

On 12/15/05, Andreas Weber [EMAIL PROTECTED] wrote:

  Just a quick observation: your onLoad should appear in code above the
  actual sendAndLoad function.

 Does it - readability apart - really matter?

 Let's run a little test and make a really small and fast load:
 a textfile that just contains the string x=small

 And in the .fla:

 lv = new LoadVars();
 lv.load('test.txt');

 // waste much more time than the load can possibly take
 while(getTimer()  5000){};

 lv.onLoad = function(s){
 trace('onLoad is called, success :'+s);
 }

 The onLoad handler is called just fine even though it is declared
 several seconds after load() is called.

 It seems to be quite safe to assume that with asynchronous load
 operations the onData and onLoad events are dispatched with a delay of
 at least one frame.

 hth
 Andreas Weber



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of eric
 dolecki
 Sent: Donnerstag, 15. Dezember 2005 15:02
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] onload(Success:Boolean) - what's it mean?

 Just a quick observation: your onLoad should appear in code above the
 actual
 sendAndLoad function.




 ___
 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] Adjusting standard v2 components

2005-12-15 Thread Ben Smeets
Great tx, i will check out how far i can go with the cellrenderer. 
 
Cheers,
 
Ben



From: [EMAIL PROTECTED] on behalf of Devendran I
Sent: Thu 12/15/2005 5:04 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Adjusting standard v2 components



HI

 you can acheive this through component.setStyle() and 
Component.cellRenderer(). U can do anything with these Two combination.

For more help refer Macromedia Help.

Regards
Devendran.I

Ben Smeets [EMAIL PROTECTED] wrote: Sorry if this has been handled before. 
But I was wondering how to adjust
(not 'create own') the v2 components CODE wise? I figured out how to
adjust the looks etc. But what if I wanted to tweak some code inside
e.g. Button Class? I lokked around and found like 4 places where the
component classes are stored on my machine. None of them seem to have
any effect on my used components :)

Is it possible to adjust the base component class? If so, any pointers
where to do it :)

Tx in advance,

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



   
-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping
___
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] Accorion Question

2005-12-15 Thread coker todd
Can someone help me with this, I'm trying to fire an
event using the MM Accordion Component, when a header
is clicked I need an event along with sliding the
pane. Any help, Please. Thanks.

Kai

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


[Flashcoders] Help - working on repulsion code

2005-12-15 Thread Erez Kikin-Gil

Hi 
I am looking to make a small  repulsion code.
One way I was thinking is to say that if the x or y position of 
myMovieclip is equal to what is not myMovie clip
Than the myMovieclip should move.

The thing is that I am not sure how to write this
Any ideas?

Erez


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


[Flashcoders] Crossdomain data exchange

2005-12-15 Thread Roman Blöth

Hello flashcoders,


this thing is driving me mad...

My swf (published for flash player 7 under Flash MX) just can't load 
data from another domain.


In our intranet the computers all have fully qualified domain names.
On main.ourweb.net the swf is running (embedded in a HTML page, of 
course). When calling the action I'm trying to implement, the swf sends 
data to another.ourweb.net via a loadVars-object, using a XML object 
as receiver of the data sent back - it is XML, but that's not the point 
- I'm observing the onLoad AND the onData - the received data is always 
undefined.


The crossdomain.xml allows access from * on the another.ourweb.net 
server (that computer runs an IIS, main.ourweb.net runs Apache) - I even 
placed the same crossdomain.xml on main.ourweb.net...


When directing the web browser to the address the loadVars is sending 
it's data to, I get proper XML. When running the swf in my browser, all 
I get is undefined...


Somewhere I've read a notice from a flash user, stating that Flash would 
not be able to receive data from a domain name not starting with www, 
though I don't think this really is true, since the examples given by 
macromedia also use (cross-)domains not starting with www...


Anyone observed such a problem before? Any idea on how to approach this 
phenomenon? I'm fumbling with this for 3 days now, but all I get is 
undefined... So every hint will be very welcome.



Best regards,
Roman.
--

---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
 t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
---
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Crossdomain data exchange

2005-12-15 Thread Chris Hill
I'd say your best bet is to use Charles to debug the interaction to make 
sure that the domains that you're calling are doing what you expect:


Charles:
http://www.xk72.com/charles/index.php

Tutorial (shameless self-plug)
http://ubergeek.tv/article.php?pid=92

Record the session, and you can usually tell where things go 
pear-shaped. Also, I'm not sure that you can (or should) use * in a 
crossdomain.xml. And there is no issue with using non-www domains.

Peace
C

Roman Blöth wrote:


Hello flashcoders,


this thing is driving me mad...

My swf (published for flash player 7 under Flash MX) just can't load 
data from another domain.


In our intranet the computers all have fully qualified domain names.
On main.ourweb.net the swf is running (embedded in a HTML page, of 
course). When calling the action I'm trying to implement, the swf 
sends data to another.ourweb.net via a loadVars-object, using a XML 
object as receiver of the data sent back - it is XML, but that's not 
the point - I'm observing the onLoad AND the onData - the received 
data is always undefined.


The crossdomain.xml allows access from * on the another.ourweb.net 
server (that computer runs an IIS, main.ourweb.net runs Apache) - I 
even placed the same crossdomain.xml on main.ourweb.net...


When directing the web browser to the address the loadVars is sending 
it's data to, I get proper XML. When running the swf in my browser, 
all I get is undefined...


Somewhere I've read a notice from a flash user, stating that Flash 
would not be able to receive data from a domain name not starting with 
www, though I don't think this really is true, since the examples 
given by macromedia also use (cross-)domains not starting with www...


Anyone observed such a problem before? Any idea on how to approach 
this phenomenon? I'm fumbling with this for 3 days now, but all I get 
is undefined... So every hint will be very welcome.



Best regards,
Roman.



--
_
   __ __     
  |  |  \/ ___\  Chris Hill  
  |  |  / /_/   [EMAIL PROTECTED]
  |/\___  /  http://ubergeek.tv  
   /_/   The Smell of Geek!  
-

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


RE: [Flashcoders] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread Andreas Weber
Good to know - thanks for the pointer!

Andreas Weber


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Donnerstag, 15. Dezember 2005 20:43
To: Flashcoders mailing list
Subject: Re: [Flashcoders] onload(Success:Boolean) - what's it mean?

HI Andreas,
  I have definitely had issues where declaring the two in the wrong
order
has meant that the onLoad doesn't get called. Can't remember specifics -
but
there are definitely cases where it's a problem. (From what I remember,
executing within Zinc and loading from the local file system was one
case...)

Cheers,
  Ian



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


[Flashcoders] Assign an ASFunction with inline image?

2005-12-15 Thread Marc Hoffman
I have some text read in from xml that includes an inline image. I 
can pad the image and a few words after it with an a href = 
'asfunction,arg'.../a. The function is successfully called when I 
click on the text. When I click on the image I get nothing, although 
the hand cursor shows for the image as well as the text.


How do I apply an a href to an inline image so it calls an 
asfunction when clicked?


thanks,
Marc


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


Re: [Flashcoders] Accorion Question

2005-12-15 Thread Ryan Matsikas
It fires a change event.. is that not what you want?


On 12/15/05, coker todd [EMAIL PROTECTED] wrote:

 Can someone help me with this, I'm trying to fire an
 event using the MM Accordion Component, when a header
 is clicked I need an event along with sliding the
 pane. Any help, Please. Thanks.

 Kai

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

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


Re: [Flashcoders] BitmapData and Streaming Video

2005-12-15 Thread John Grden
on this current project, I found that timing was an issue and I ended up
delaying the method that refreshes the draw by 25 millisenconds.  Not sure
exactly *why* that worked, but I had the impression that the FLVPlayer
needed to be ready to go before I made that call.

Iknow that's not a great answer ;) but maybe it'll get you going in the rigt
direction


On 12/15/05, Lori Hutchek [EMAIL PROTECTED] wrote:

 [previous message]
 Hey Lori, does it happen with progressive downloaded FLV's or true FCS
 streamed video?

 I've been able to do it with progressive's without a problem.
 [/previous message]



 It's FCS video that I'm having a problem with. The app I'm building runs
 off of both cd and web. And the cd version is playing great, It's only
 when I'm trying to do the same screen capture with FCS video that I have
 a problem.

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




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


Re: [Flashcoders] LocalConnection Undefined

2005-12-15 Thread Jeff Mastropietro
Solution found, I simply bumped up the publish settings to ActionScript 
2.0.  I didn't really have any reason to use 1.0.


Jeff

Jeff Mastropietro wrote:

I'm trying to use the LocalConnection class in some flash movies I'm 
building.  Nothing complex, and I'm starting with the example from the 
documentation.  However, the LocalConnection is not working, and if I 
trace the variable after I declare it the output is undefined.


var sending_lc:LocalConnection = new LocalConnection();
trace(sending_lc);

 undefined

I'm publishing to Flash 7 with ActionScript 1.0, is there any other 
settings I need to change, or do I need to import something to get 
this working?


Thanks,
Jeff
___
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] Accorion Question

2005-12-15 Thread Santhakumar K
In Help It is available in the compenet language reference
Usage 1:

*var listenerObject:Object *= new Object();*listenerObject*.change =
function(*eventObject:Object*) {*// Insert your code here.*
};accordionInstance.addEventListener(change, *listenerObject*);

Usage 2:

on (change) {*// Insert your code here.*
}



On 12/16/05, coker todd [EMAIL PROTECTED] wrote:

 yes, it's exactly what I want, where do I find that
 event?

 looked thru the entire component and couldn't find it.

 HELP?


 --- Ryan Matsikas [EMAIL PROTECTED] wrote:

  It fires a change event.. is that not what you
  want?
 
 
  On 12/15/05, coker todd [EMAIL PROTECTED] wrote:
  
   Can someone help me with this, I'm trying to fire
  an
   event using the MM Accordion Component, when a
  header
   is clicked I need an event along with sliding the
   pane. Any help, Please. Thanks.
  
   Kai
  
   __
   Do You Yahoo!?
   Tired of spam?  Yahoo! Mail has the best spam
  protection around
   http://mail.yahoo.com
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
  
 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


 __
 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




--
Santhakumar KChennai Indiahttp://www22.brinkster.com/zkumar/main.html
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ****************** Unicode Input ***************************

2005-12-15 Thread 8ball Developer
All you have to do is to do a key board mapping depending on the language
the user selects. The mapping is something like this:
key code=0065 output=0410/
This is Russian key mapping.
There is much more to this and I don't want to make it sound simple but it
is doable and I've done it. I just can't share the code. Sorry.

Good luck.


On 12/15/05, Mike Lyda [EMAIL PROTECTED] wrote:


 umm..  it kind of sounds like you want Flash to automatically map the
 characters to the keypress?  i.e. if someone with an English
 keyboard/system,
 types into your input field the characters will show up as Chinese?

 ...  it might be possible to have them actually typing into an
 offscreen/hidden
 input box, capture keypresses, do key mapping based on a table, and then
 insert
 the corresponding Chinese character into the (visible) input box...  that
 might
 work as long as they're using an English keyboard..

 --- Devendran I [EMAIL PROTECTED] wrote:

  Hi all,
 
We can Display Unicode Characters in dynamic and Input text field. Is
 it
  possible to get unicodeInput in a input text?
 
Consider this. You are having One input text box. By selecting a
 language,
  your Key press should be displayed as choosen language(in input text).
 
If u select Chinese Langugae. When you type it should be chinese
If u select Hindi Language. when you type it should be Hindi .
 
All these should happen in single text field.(And have to controll
 with
  script)
 
 
Thanks  regards
Devendran.I


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

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


[Flashcoders] Video on mobile devices

2005-12-15 Thread 8ball Developer
Hi All,

I'm very new to developing for mobile devices. I'm wondering which devices
support flash and flash streaming if any. I'm trying to build something like
http://www.mobitv.com/ to deliver video to cellphones. Is this even possible
with Flash? Any feedback is much appreciated.

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


[Flashcoders] Never Mind (was: Assign an ASFunction with inline image?)

2005-12-15 Thread Marc Hoffman
not sure why, but when I tried it again it started working for me 
just to pad the image with a href = 'asfunction:arg'.../a.


At 01:31 PM 12/15/2005, you wrote:

I have some text read in from xml that includes an inline image. I 
can pad the image and a few words after it with an a href = 
'asfunction,arg'.../a. The function is successfully called when I 
click on the text. When I click on the image I get nothing, although 
the hand cursor shows for the image as well as the text.


How do I apply an a href to an inline image so it calls an 
asfunction when clicked?



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


Re: [Flashcoders] Getting the size of a SWF from ASP ?

2005-12-15 Thread Josh Shelby
he wants the height and width...not the file size.

here ya go:

http://www.4guysfromrolla.com/webtech/tips/t102001-1.shtml



On 12/15/05, Jared Freeze [EMAIL PROTECTED] wrote:

 Dim fs,f,flen
 Set fs = Server.CreateObject(Scripting.FileSystemObject)
 Set f = fs.GetFile(Server.MapPath(\flashcontent\totallyradmusic.swf))
 flen = f.Size
 set f=nothing
 set fs=nothing


 Jared






 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jared
 Fox
 Sent: Thursday, December 15, 2005 9:24 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Getting the size of a SWF from ASP ?

 I know it has been a couple years since this topic was discussed, but I
 have read the thread and I have not found the answer.

 http://chattyfig.figleaf.com/pipermail/flashcoders/2001-October/011814.h
 tml

 Did anyone post a solution to this in ASP?

 I found a script written in PHP (possibly one of you wrote it) that
 decompresses the header and extracts the information but I have yet to
 find a script in ASP; just trying to save some time from reinventing the
 wheel.

 Jared
 This message (including any attachments) is a confidential and
 privileged communication of AWS Convergence Technologies, Inc. and
 intended only for the addressee. Any unauthorized use, distribution or
 copying of this message (or any attachment) is prohibited. If you are
 not the addressee or a person authorized to receive messages for the
 addressee, you have received this message in error. In that case, please
 delete this message and call us at 301-250-4000 so that we can correct
 our records in order to avoid this mistake in the future. 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

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


Re: [Flashcoders] ****************** Unicode Input ***************************

2005-12-15 Thread Janis Radins
I guess it's as simple as using unicode font. Best of all use device fonts.

2005/12/16, Devendran I [EMAIL PROTECTED]:

 Any how
   Thank you guys..
   I'll do it. If u Know any other Simple way to get Unicode input please
 let me know.

   Thanks,

   Regards,
   Devendran.I

 8ball Developer [EMAIL PROTECTED] wrote:
   All you have to do is to do a key board mapping depending on the
 language
 the user selects. The mapping is something like this:

 This is Russian key mapping.
 There is much more to this and I don't want to make it sound simple but it
 is doable and I've done it. I just can't share the code. Sorry.

 Good luck.


 On 12/15/05, Mike Lyda wrote:
 
 
  umm.. it kind of sounds like you want Flash to automatically map the
  characters to the keypress? i.e. if someone with an English
  keyboard/system,
  types into your input field the characters will show up as Chinese?
 
  ... it might be possible to have them actually typing into an
  offscreen/hidden
  input box, capture keypresses, do key mapping based on a table, and then
  insert
  the corresponding Chinese character into the (visible) input box... that
  might
  work as long as they're using an English keyboard..
 
  --- Devendran I wrote:
 
   Hi all,
  
   We can Display Unicode Characters in dynamic and Input text field. Is
  it
   possible to get unicodeInput in a input text?
  
   Consider this. You are having One input text box. By selecting a
  language,
   your Key press should be displayed as choosen language(in input text).
  
   If u select Chinese Langugae. When you type it should be chinese
   If u select Hindi Language. when you type it should be Hindi .
  
   All these should happen in single text field.(And have to controll
  with
   script)
  
  
   Thanks  regards
   Devendran.I
 
 
  __
  Do You Yahoo!?
  Tired of spam? Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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

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