Re: [Flashcoders] bandwidth detector.

2006-11-07 Thread Latcho

Here's a simple way.
For bandwidth detection you need data transfer.
_Frame 1:_
myDate = new Date()
miStart = myDate.getTime()

on _Frame 2_ place a hidden image 40 to 60 Kb in size, that gives a good 
result.

stop();
myDate = new Date();
miEnd = myDate.getTime();
miTime = Number((miEnd-miStart)/1000);
miKB = int((_root.getBytesTotal()/1024)/miTime);
miSpeed = miKB+ KB/S;
if (miKB=48) {
   _root.quality = low;
}
if ((miKB48)  (miKB=96)) {
   _root.quality = medium;
}
if (miKB96) {
   _root.quality = high;
}
trace(quality);
trace(miSpeed );

Regards,
Stijn

hbruyere wrote:

Hi,

 


Does anybody have advice to do a simple bandwidth Detector (Without using
any specific server - i.e Flash communication Server.)

 


I found this:

http://www.sonify.org/home/feature/remixology/019_bandwidthdetection/page2.h
tml

 


but was wondering if nothing better has been done ?

 


Why this question:

I working on a web site, and I'm using videos or images as full screen
background.

But I would like to be able to have an idea of the user Internet connection
in order to know if background videos can be activated 

 


Thanks,

 

Hugues 

 

 


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

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

  


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

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


[Flashcoders] Get key pressed on non-English keyboard

2006-11-07 Thread Danny Kodicek
If I need to know the value of the last key pressed, in English I'd use
Key.getAscii(), but of course that's no use if the character being returned
isn't Ascii. So is there an alternative to Key.getAscii()? A kind of
'Key.getString()'?

Danny

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

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


[Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Ben Smeets
Hi all,

Small problem with using the v2 datagrid component (which I try to avoid
as much as I can).

I have added a couple of rows which use CellRenderers to show per row a
button with which the user can delete a specific row. This all seems to
work fine, but the problem is that after deleting the last row, 1 row
keeps existing in the datagrid. It doesn't seem this row contains any
data (the label is cleared), but the components which existed in each
row still exist. How can I clear that row too? Or at least tell the
components in the cellrenderers that after a row is deleted and no other
rows exist, they should be invisible?

Fenks.

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

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


RE: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Ben Smeets
Banging head against wall.

Sorry guys, I managed to find a little line of code

addItem('no items in list');

Which did the damage. Nothing wrong with the DataGrid :)

Cheers,

Ben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Smeets
Sent: dinsdag 7 november 2006 10:46
To: Flashcoders mailing list
Subject: [Flashcoders] Datagrid keeps 1 empty row visible

Hi all,

Small problem with using the v2 datagrid component (which I try to avoid
as much as I can).

I have added a couple of rows which use CellRenderers to show per row a
button with which the user can delete a specific row. This all seems to
work fine, but the problem is that after deleting the last row, 1 row
keeps existing in the datagrid. It doesn't seem this row contains any
data (the label is cleared), but the components which existed in each
row still exist. How can I clear that row too? Or at least tell the
components in the cellrenderers that after a row is deleted and no other
rows exist, they should be invisible?

Fenks.

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

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

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


Re: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Hans Wichman

99,9% of us know how you feel m8:)

On 11/7/06, Ben Smeets [EMAIL PROTECTED] wrote:


Banging head against wall.

Sorry guys, I managed to find a little line of code

addItem('no items in list');

Which did the damage. Nothing wrong with the DataGrid :)

Cheers,

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Smeets
Sent: dinsdag 7 november 2006 10:46
To: Flashcoders mailing list
Subject: [Flashcoders] Datagrid keeps 1 empty row visible

Hi all,

Small problem with using the v2 datagrid component (which I try to avoid
as much as I can).

I have added a couple of rows which use CellRenderers to show per row a
button with which the user can delete a specific row. This all seems to
work fine, but the problem is that after deleting the last row, 1 row
keeps existing in the datagrid. It doesn't seem this row contains any
data (the label is cleared), but the components which existed in each
row still exist. How can I clear that row too? Or at least tell the
components in the cellrenderers that after a row is deleted and no other
rows exist, they should be invisible?

Fenks.

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

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

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


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

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


RE: [Flashcoders] Where to add eventListners in UIComponent classes?

2006-11-07 Thread Ben Smeets
I might be getting it wrong but the following might help:

In working with components and using placed onscreen in editor
components, I always find myself needing to wait 1 frame before adding
the component event listeners. It seems the v2 components need 1
enterframe to fully initialize themselves.

The way I do it (very crude code, in no sense useable in a copy paste
sense)


Private function onEnterFrame() {
// Create this handler, which if all goes well
// will be called only once, but we know 100% sure
// we had at least 1 frame interval.
addHandlers();
} 

Private function addHandlers() {
// Clean up the onEnterFrame
delete this.onEnterFrame;

// Add all listeners here
myComponent.addEventListener(click, this);
}




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wade
Arnold
Sent: dinsdag 7 november 2006 3:31
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Where to add eventListners in UIComponent
classes?

I have a component that has a couple Macromedia UI components used
inside of it. I have found that if I add my event listeners inside of
createChildren after I have added the UI components the events are not
added. I have also tried to add the events inside of the draw method. In
order to get the events to work properly I have to add them into my
onLoad() method. However this makes it so when I load the component I do
not get an accurate onLoad event from the component as the event
handlers have yet to be registered. Is there someplace that I am missing
that I should be placing all of my event registration in anything that
extends UIComponent? 

 

Thanks;

Wade Arnold 

 

 

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

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

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


[Flashcoders] Crikey - Tamarin!

2006-11-07 Thread Ian Thomas

Apologies if you've already seen this:

http://www.adobe.com/aboutadobe/pressroom/pressreleases/200611/110706Mozilla.html

Looks on a cursory read through as if Adobe are releasing the source
for AVM2 to Mozilla as open source, so that Mozilla can leverage it to
stick Adobe's ECMAScript AVM into their products.

That's a huge contribution, if that's the case. I'm impressed.

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

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


[Flashcoders] Strange phenomenon: FLV / Flash 7 not showing

2006-11-07 Thread Roman Blöth
Hello flashcoders,


a strange phenomenon happens here on a client's computer: I've built a
TV-set in Flash, playing 6 different FLV videos (Flash version 7). This
all seems to work fine -- in our office. On the client's computer
(several computers have been tested there) the videos just don't show.
The Flash player version is correct (all computers are windows pcs). I
thought it might be some kind of firewall filtering, which isn't the
case. FLV videos as shown on e.g. http://www.spiegel.de are playing fine
on all the client's computers. I've built an exe and shipped this along
with the FLVs to the client, so she can play the whole TV-thing from her
own disk drive -- also then the videos just don't play.

So here my question:

Does anybody know of a reason why some FLVs might not be played using
Flash player 7,0,19,0?


Any idea welcome,
Roman.

-- 

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

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

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


Re: [Flashcoders] Strange phenomenon: FLV / Flash 7 not showing

2006-11-07 Thread Hans Wichman

Hi,
dumm question probably, but I'l ask it anyway: have you ruled out wrong
paths ed?
Does meta info show up, status info etc, or nothing at all?
greetz
JC


On 11/7/06, Roman Blöth [EMAIL PROTECTED] wrote:


Hello flashcoders,


a strange phenomenon happens here on a client's computer: I've built a
TV-set in Flash, playing 6 different FLV videos (Flash version 7). This
all seems to work fine -- in our office. On the client's computer
(several computers have been tested there) the videos just don't show.
The Flash player version is correct (all computers are windows pcs). I
thought it might be some kind of firewall filtering, which isn't the
case. FLV videos as shown on e.g. http://www.spiegel.de are playing fine
on all the client's computers. I've built an exe and shipped this along
with the FLVs to the client, so she can play the whole TV-thing from her
own disk drive -- also then the videos just don't play.

So here my question:

Does anybody know of a reason why some FLVs might not be played using
Flash player 7,0,19,0?


Any idea welcome,
Roman.

--

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

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

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


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

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


Re: [Flashcoders] Strange phenomenon: FLV / Flash 7 not showing

2006-11-07 Thread Roman Blöth
Hans Wichman schrieb:
 Hi,
 dumm question probably, but I'l ask it anyway: have you ruled out wrong
 paths ed?
 Does meta info show up, status info etc, or nothing at all? 
Well, wrong paths are ruled out -- the version the client is viewing is
exactly the same as the version I'm using on my office computer. The
Flash player is installed correctly -- all Flash 7 content on the web is
playing fine. The phenomenon on the client's computer is just that
video.start() doesn't do _anything_, and I'm quite clueless now.
I've instructed the client to install a new Flash player version and
will see how that competes, but I don't really believe it will change
anything... -- anyway I will keep you informed and still welcome any idea.


Regards,
Roman.

-- 

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

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

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


[Flashcoders] RTL input once again

2006-11-07 Thread Danny Kodicek
Okay, I know this area has been visited a few times (and I've touched on it
several times recently) but I'd just like to see if anyone knows the current
state of the art.

As far as I can see, there is no really decent RTL component available out
there. Everything seems to be output-only. I'd like to create an RTL input
field that can:

Allow both typing and setting text dynamically through code
Allow pasting in of text from external files and from within itself or other
Flash fields
Deal with backspace/delete
Handle BiDi text

Is there such a thing out there?

If not, my current plan is:

- set a listener for textChanged
- when typing, manually move the selection to the left of the inserted text
unless it's part of the Western char set (I'm not planning to support Arabic
and Greek in the same field!)
- when deleting, undo the delete and manually delete in the appropriate
direction

But this is going to fail for pasting from external apps. We can live with
it, but...

Any suggestions from others who have tried it?

Danny

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

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


Re: [Flashcoders] Chopping an FLV

2006-11-07 Thread Meinte van't Kruis

that's odd, it works for me. I did install the on2 vp6 codec tho, perhaps
the video you're trying to cut is encoded with that codec, which would
explain the audio working but video not working.

for the codec, search for 'vp6 vfw codec 6.2 -pack'. It used to be
distributed by on2, but not anymore, not sure if its legal or not.


Meinte

On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:


Thanks for that. I'm having a play about with it.

I can't get it to work with the following:

C:\flvtool2_1.0.5_rc6flvtool2 -C -i 1 -o 2 Test.flv
Test1_2.flv

It produces the new shortened FLV but it only has sound, no video.

Any ideas?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Meinte
van't Kruis
Sent: 06 November 2006 13:34
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Chopping an FLV


i'm using flvtool to auto-cut movies for me, its beta, but it works.

Meinte

On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:

 Hey all,

 I am trying to extract a small section of a larger flv file and was
 wondering the best way to do it. I thought that importing to a movie,
 expanding the timeline and cutting the frames out would work but alas
no.

 Any pointers or ideas.

 Cheers.

 Adrian

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

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

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

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

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

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


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

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


RE: [Flashcoders] Chopping an FLV

2006-11-07 Thread Adrian Lynch
Thanks Meinte. I had a look at FLVKnife which uses FLVTool. Not sure why
FLVTool on it's own wouldn't work, maybe installing FLVKnife installed some
dependencies.

Thanks all.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Meinte
van't Kruis
Sent: 07 November 2006 13:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Chopping an FLV


that's odd, it works for me. I did install the on2 vp6 codec tho, perhaps
the video you're trying to cut is encoded with that codec, which would
explain the audio working but video not working.

for the codec, search for 'vp6 vfw codec 6.2 -pack'. It used to be
distributed by on2, but not anymore, not sure if its legal or not.


Meinte

On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:

 Thanks for that. I'm having a play about with it.

 I can't get it to work with the following:

 C:\flvtool2_1.0.5_rc6flvtool2 -C -i 1 -o 2 Test.flv
 Test1_2.flv

 It produces the new shortened FLV but it only has sound, no video.

 Any ideas?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Meinte
 van't Kruis
 Sent: 06 November 2006 13:34
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Chopping an FLV


 i'm using flvtool to auto-cut movies for me, its beta, but it works.

 Meinte

 On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:
 
  Hey all,
 
  I am trying to extract a small section of a larger flv file and was
  wondering the best way to do it. I thought that importing to a movie,
  expanding the timeline and cutting the frames out would work but alas
 no.
 
  Any pointers or ideas.
 
  Cheers.
 
  Adrian
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

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

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

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

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


RE: [Flashcoders] Chopping an FLV

2006-11-07 Thread Sönke Rohde
Be sure to download the latest flvtool2.exe while using FLV Knife.
The release on my website uses an older version and simply replace the
flvtool2.exe.
I will release a new version in the near future.

Cheers,
Sönke 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Anthony Lee
 Sent: Tuesday, November 07, 2006 4:28 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Chopping an FLV
 
 You might want to try FLV Knife while you're at it:
 http://soenkerohde.com/software/flv-knife/
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 

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

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


Re: [Flashcoders] Freelancer Class

2006-11-07 Thread JulianG

I know I don't have to.
But I think the code is more clear that way.

Thanks,
JulianG

Rich Rodecker wrote:

you know you dont have to reference 'this' inside the class, right?  :D




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

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


RE: [Flashcoders] Chopping an FLV

2006-11-07 Thread Sönke Rohde
No, it simply uses the commandline which is also displayed in the gui.

Cheers,
sönke 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Adrian Lynch
 Sent: Tuesday, November 07, 2006 3:00 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Chopping an FLV
 
 Thanks Meinte. I had a look at FLVKnife which uses FLVTool. 
 Not sure why
 FLVTool on it's own wouldn't work, maybe installing FLVKnife 
 installed some
 dependencies.
 
 Thanks all.
 
 Adrian
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Meinte
 van't Kruis
 Sent: 07 November 2006 13:30
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Chopping an FLV
 
 
 that's odd, it works for me. I did install the on2 vp6 codec 
 tho, perhaps
 the video you're trying to cut is encoded with that codec, which would
 explain the audio working but video not working.
 
 for the codec, search for 'vp6 vfw codec 6.2 -pack'. It used to be
 distributed by on2, but not anymore, not sure if its legal or not.
 
 
 Meinte
 
 On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:
 
  Thanks for that. I'm having a play about with it.
 
  I can't get it to work with the following:
 
  C:\flvtool2_1.0.5_rc6flvtool2 -C -i 1 -o 2 Test.flv
  Test1_2.flv
 
  It produces the new shortened FLV but it only has sound, no video.
 
  Any ideas?
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf 
 Of Meinte
  van't Kruis
  Sent: 06 November 2006 13:34
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Chopping an FLV
 
 
  i'm using flvtool to auto-cut movies for me, its beta, but it works.
 
  Meinte
 
  On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:
  
   Hey all,
  
   I am trying to extract a small section of a larger flv 
 file and was
   wondering the best way to do it. I thought that importing 
 to a movie,
   expanding the timeline and cutting the frames out would 
 work but alas
  no.
  
   Any pointers or ideas.
  
   Cheers.
  
   Adrian
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 

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

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


[Flashcoders] Adding user Defined parameter in Flash Component

2006-11-07 Thread hidayath q

Hi all,

Im really thankful to you all,bcos i have got good solutions whenever i post
here.

I want to know whether *Adding user Defined parameter in Flash Component (*if
need to add a *Bold* parameter* in a text input component ).*if so,can
anyone please tell me the way in which i can get it.it will be helpful if i
get some related URL for it.

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

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


Re: [Flashcoders] Can Flash determine which server it is being served from?

2006-11-07 Thread Julien Vignali

Have you tried to play with the _root._url property ?

BOYD SPEER a écrit :

Any ideas on how a Flash .swf could be aware of the server from which it has 
been loaded? I would like to somehow create a .swf that would only run if 
loaded from a certain server to prevent the database front end from being 
hijacked and installed in a different invironment...

thanks for any insights!

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

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

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

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


[Flashcoders] Scrollbar component

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

I've skinned my scrollbar component, but why is it that the scroll
thumb's over state never seems to work?  It's happened to me on a few
projects and I've seen it on others' work out there.  What gives?

Thanks,
- Michael M.

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

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


[Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
Hi Flashcoders

is it possible to write ActionScript code to gain access to
lines/fills/shapes drawn on the stage using the standard Flash API?

eg
open a new document
draw a line on the stage
draw another line
add some more lines, curves, add some filled shapes, rectangles, circles etc

now is it possible to write ActionScript that will translate the drawing you
created above into AS-style:

moveTo(x1,y1);
lineTo(x2,y2);
curveTo(cx,cy, x3,y3);
beginFill();
lineTo(x4,y4);
etc etc

I want to be able to trace out a fairly complex drawing using all the Flash
tools, but then control how it gets drawn entirely from ActionScript.

Thanks! Ben.

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

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Tom Rhodes
Have a google for actionscript SVG file readers, i seem to remember 
people achieving the effect you are after like that, i'm pretty sure 
exactly what you are asking is impossible though...


Ben wrote:

Hi Flashcoders

is it possible to write ActionScript code to gain access to
lines/fills/shapes drawn on the stage using the standard Flash API?

eg
open a new document
draw a line on the stage
draw another line
add some more lines, curves, add some filled shapes, rectangles, circles etc

now is it possible to write ActionScript that will translate the drawing you
created above into AS-style:

moveTo(x1,y1);
lineTo(x2,y2);
curveTo(cx,cy, x3,y3);
beginFill();
lineTo(x4,y4);
etc etc

I want to be able to trace out a fairly complex drawing using all the Flash
tools, but then control how it gets drawn entirely from ActionScript.

Thanks! Ben.

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

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


  



--

__

Tom Rhodes - Developer / Composer
Wheelhouse Creative Ltd, 2 Albion Place,
Hammersmith, London. W6 0QT
Tel: 020 8748 4466  Fax: 020 8748 4850
www.wheelhousecreative.co.uk
__

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

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Janis Radins

No you cannt access curve data throught AS.
Only thing thats possible would be to save all drawing activity in memory
for later reproduction.
That wouldnt be that hard actually.

2006/11/7, Ben [EMAIL PROTECTED]:


Hi Flashcoders

is it possible to write ActionScript code to gain access to
lines/fills/shapes drawn on the stage using the standard Flash API?

eg
open a new document
draw a line on the stage
draw another line
add some more lines, curves, add some filled shapes, rectangles, circles
etc

now is it possible to write ActionScript that will translate the drawing
you
created above into AS-style:

moveTo(x1,y1);
lineTo(x2,y2);
curveTo(cx,cy, x3,y3);
beginFill();
lineTo(x4,y4);
etc etc

I want to be able to trace out a fairly complex drawing using all the
Flash
tools, but then control how it gets drawn entirely from ActionScript.

Thanks! Ben.

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

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


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

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg

Are you asking if you can somehow save out all the commands to a text file?

now is it possible to write ActionScript that will translate the drawing you
created above into AS-style:

You see, you would have been using AS to perform all those commands in the
first place. ie. lineTo, moveTo... etc.

Scott


On 11/7/06, Ben [EMAIL PROTECTED] wrote:


Hi Flashcoders

is it possible to write ActionScript code to gain access to
lines/fills/shapes drawn on the stage using the standard Flash API?

eg
open a new document
draw a line on the stage
draw another line
add some more lines, curves, add some filled shapes, rectangles, circles
etc

now is it possible to write ActionScript that will translate the drawing
you
created above into AS-style:

moveTo(x1,y1);
lineTo(x2,y2);
curveTo(cx,cy, x3,y3);
beginFill();
lineTo(x4,y4);
etc etc

I want to be able to trace out a fairly complex drawing using all the
Flash
tools, but then control how it gets drawn entirely from ActionScript.

Thanks! Ben.

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

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





--

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

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


[Flashcoders] allowScriptAccess and swfobject.js

2006-11-07 Thread aaron smith

Hey All,

I am having issues with javascript working from a swf file. The problem is
that the html file I embed the flash in, is pulling the flash content from
another server. So to fix this I found out that i need to have the
allowScriptAccess param. It works when I use the html generated by flash,
and change that allowScriptAccess to always, but I need to use swfobject.
to write the swf. So if I do so.addVariable(allowScriptAccess, always );
It doesn't work then..

has anyone run into this issue?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] allowScriptAccess and swfobject.js

2006-11-07 Thread Ryan Potter
I believe you are using the wrong flash object method.

It should be 

so.addParam(allowScriptAccess, always);

not 

so.addVariable(allowScriptAccess, always);   


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of aaron smith
Sent: Tuesday, November 07, 2006 9:09 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] allowScriptAccess and swfobject.js

Hey All,

I am having issues with javascript working from a swf file. The problem is
that the html file I embed the flash in, is pulling the flash content from
another server. So to fix this I found out that i need to have the
allowScriptAccess param. It works when I use the html generated by flash,
and change that allowScriptAccess to always, but I need to use swfobject.
to write the swf. So if I do so.addVariable(allowScriptAccess, always
);
It doesn't work then..

has anyone run into this issue?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] 3-6M Flash contract in Little Rock, AR

2006-11-07 Thread Steve Mathews

What, have recruiters actually figure out how to find the right person
for a job? No way.

It seems that Flash (along with HTML/JavaScript) run into this problem
where recruiters, or even HR staff, don't understand what they need.
So we end up with these really bad keyword copy and paste lists.

On 11/6/06, John Grden [EMAIL PROTECTED] wrote:

maybe we should hand write some job descriptions that make sense, and point
recruiters to them to help qualify what they're really after and, to a
greater degree, what they're able to realistically find.

I re-read, thinking that maybe this was multiple positions, but no - it's
for one: If you are interested in this position...Please only reply if you
are intermediate in both Flash AND Java
(not one or the other).

This is the part that kills me:

* ActionScript - Low to Intermediate
then...
* Flash/ActionScript Developer: Strong Flash and ActionScript

On 11/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 This is my first post.  If I'm supposed to post Flash jobs elsewhere,
 please
 let me know.  Thanks!

 --
 If you are interested in this position, please send resume to
 [EMAIL PROTECTED] Please include your desired hourly
 rate
 as well. Please only reply if you are intermediate in both Flash AND Java
 (not one or the other).

 Location: Little Rock, AR
 Term: 3-6 month contract, possibly longer
 Hourly Rate: DOE

 Requirements:

 * Flash Design - Intermediate to Advanced
 * ActionScript - Low to Intermediate
 * Sysadmin experience with J2EE servers: Required for application server
 setup and maintenance
 * Java Developer: This developer should have experience with Servlets and
 JSP's. I would say intermediate java skills will be fine.
 * HTML/Javascript Developer: Strong Javascript skills
 * Flash/ActionScript Developer: Strong Flash and ActionScript
 * Artist: Some image manipulation skills will be require

 Description: Contractor will provide IT services related to a leading edge
 technology website for a Fortune 500 company. This site is very
 interactive,
 leveraging flash components throughout. The pages are HTML files with JSP
 sub-pages that are tied together using Javascript. Other sections include
 a
 3D image page which use a Viewpoint plugin along with a Java based
 technology.


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

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




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

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


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

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


RE: [Flashcoders] AS 3.0 - dynamically create object from libraryclass

2006-11-07 Thread Dave Geurts

  Awesome, worked like a charm. thanks!

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Juan Carlos Anorga
Sent:   Mon 11/6/2006 10:29 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] AS 3.0 - dynamically create object from 
libraryclass

I think you are looking for getDefinitionByName(name:String) in the  
flash.utils package.

- juan

On Nov 6, 2006, at 3:15 PM, Dave Geurts wrote:


   I am trying to dynamical attach or create new objects from  
 Classes that are linked in the library.  In the library I did the  
 linkage properties and it is using the Auto Generated Class  
 feature.  Before AS 3 days I would use attach and eval to get this  
 working.  any ideas?


 Working Code:
   var questionObj:MovieClip = new set1_1();
   inventoryPanel.addChild(questionObj);



 Dynamic Code does not work on creating a new class from the library
   var questionObj:MovieClip = new [set+1+_+1]();
   inventoryPanel.addChild(questionObj);

 returns-
 TypeError: Error #1007: Instantiation attempted on a non-constructor


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

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

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

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



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

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

Re: [Flashcoders] 3-6M Flash contract in Little Rock, AR

2006-11-07 Thread John Grden

that's exactly what I thought ;(

say it just once MILLLIIOONNNdollars.

On 11/7/06, Carl Welch [EMAIL PROTECTED] wrote:


me too. I thought it was a 3 to 6 million dollar contract... In my
dreams...

On 11/6/06, Adam Pasztory [EMAIL PROTECTED] wrote:
 Darn.  When I saw the subject, I thought 3-6m was the pay.  ;)

 On 11/6/06, John Grden [EMAIL PROTECTED] wrote:
 
  maybe we should hand write some job descriptions that make sense, and
  point
  recruiters to them to help qualify what they're really after and, to a
  greater degree, what they're able to realistically find.
 
  I re-read, thinking that maybe this was multiple positions, but no -
it's
  for one: If you are interested in this position...Please only reply
if
  you
  are intermediate in both Flash AND Java
  (not one or the other).
 
  This is the part that kills me:
 
  * ActionScript - Low to Intermediate
  then...
  * Flash/ActionScript Developer: Strong Flash and ActionScript
 
  On 11/6/06, [EMAIL PROTECTED] 
  [EMAIL PROTECTED]
  wrote:
  
   This is my first post.  If I'm supposed to post Flash jobs
elsewhere,
   please
   let me know.  Thanks!
  
   --
   If you are interested in this position, please send resume to
   [EMAIL PROTECTED] Please include your desired
hourly
   rate
   as well. Please only reply if you are intermediate in both Flash AND
  Java
   (not one or the other).
  
   Location: Little Rock, AR
   Term: 3-6 month contract, possibly longer
   Hourly Rate: DOE
  
   Requirements:
  
   * Flash Design - Intermediate to Advanced
   * ActionScript - Low to Intermediate
   * Sysadmin experience with J2EE servers: Required for application
server
   setup and maintenance
   * Java Developer: This developer should have experience with
Servlets
  and
   JSP's. I would say intermediate java skills will be fine.
   * HTML/Javascript Developer: Strong Javascript skills
   * Flash/ActionScript Developer: Strong Flash and ActionScript
   * Artist: Some image manipulation skills will be require
  
   Description: Contractor will provide IT services related to a
leading
  edge
   technology website for a Fortune 500 company. This site is very
   interactive,
   leveraging flash components throughout. The pages are HTML files
with
  JSP
   sub-pages that are tied together using Javascript. Other sections
  include
   a
   3D image page which use a Viewpoint plugin along with a Java based
   technology.
  
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
  [  JPG  ]
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





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

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben

 You see, you would have been using AS to perform all those commands in the
 first place. ie. lineTo, moveTo... etc.

 Scott


the lines are first created directly onto the stage using the Flash IDE (not
ActionScript) eg the line, circle, box tools from the tools palette on the
left side of the workspace.

then these shapes are (somehow - this is the bit I don't know) converted
into their API equivalents (lineTo, curveTo, beginFill, endFill etc)


I'm sure it would be possible to write a drawing program using the API
which allows the user to create lines and fills and edit them, but this
seems like a HUGE waste of time since there is already an absolutely perfect
drawing program inside Flash itself...

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

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


Re: [Flashcoders] Can Flash determine which server it is being served from?

2006-11-07 Thread BOYD SPEER
Thanks Julien, works great!

- Original Message -
From: Julien Vignali [EMAIL PROTECTED]
Date: Tuesday, November 7, 2006 8:57 am
Subject: Re: [Flashcoders] Can Flash determine which server it is being served 
from?

 Have you tried to play with the _root._url property ?
 
 BOYD SPEER a �crit :
  Any ideas on how a Flash .swf could be aware of the server from 
 which it has been loaded? I would like to somehow create a .swf 
 that would only run if loaded from a certain server to prevent the 
 database front end from being hijacked and installed in a 
 different invironment...
  
  thanks for any insights!
  
  -Boyd
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

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

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg


I want to be able to trace out a fairly complex drawing using all the
Flash tools, but then control how it gets drawn entirely from ActionScript.



Now I understand you want to take drawings from IDE and trace them in
ActionScript. What is your  goal with this?  You want to stylize your
drawings on the fly? I'm just wondering if there wouldn't be logical
constraints, much less technical.

Scott


On 11/7/06, Ben [EMAIL PROTECTED] wrote:



 You see, you would have been using AS to perform all those commands in
the
 first place. ie. lineTo, moveTo... etc.

 Scott


the lines are first created directly onto the stage using the Flash IDE
(not
ActionScript) eg the line, circle, box tools from the tools palette on the
left side of the workspace.

then these shapes are (somehow - this is the bit I don't know) converted
into their API equivalents (lineTo, curveTo, beginFill, endFill etc)


I'm sure it would be possible to write a drawing program using the API
which allows the user to create lines and fills and edit them, but this
seems like a HUGE waste of time since there is already an absolutely
perfect
drawing program inside Flash itself...

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

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





--

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

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


RE: [Flashcoders] 3-6M Flash contract in Little Rock, AR

2006-11-07 Thread flashcoders
Sorry for the confusion folks.  Was trying to put as much in subject line to
save you time as possible and that didn't even cross my mind.  I would love
a 3-6 Million dollar contract too. :)

Sincerely,
 
Dave Phillips
WebTech Staffing, LLC


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Grden
Sent: Tuesday, November 07, 2006 10:27 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] 3-6M Flash contract in Little Rock, AR


that's exactly what I thought ;(

say it just once MILLLIIOONNNdollars.

On 11/7/06, Carl Welch [EMAIL PROTECTED] wrote:

 me too. I thought it was a 3 to 6 million dollar contract... In my 
 dreams...

 On 11/6/06, Adam Pasztory [EMAIL PROTECTED] wrote:
  Darn.  When I saw the subject, I thought 3-6m was the pay.  ;)
 
  On 11/6/06, John Grden [EMAIL PROTECTED] wrote:
  
   maybe we should hand write some job descriptions that make sense, 
   and point recruiters to them to help qualify what they're really 
   after and, to a greater degree, what they're able to realistically 
   find.
  
   I re-read, thinking that maybe this was multiple positions, but no 
   -
 it's
   for one: If you are interested in this position...Please only 
   reply
 if
   you
   are intermediate in both Flash AND Java
   (not one or the other).
  
   This is the part that kills me:
  
   * ActionScript - Low to Intermediate
   then...
   * Flash/ActionScript Developer: Strong Flash and ActionScript
  
   On 11/6/06, [EMAIL PROTECTED]  
   [EMAIL PROTECTED]
   wrote:
   
This is my first post.  If I'm supposed to post Flash jobs
 elsewhere,
please
let me know.  Thanks!
   
--
If you are interested in this position, please send resume to 
[EMAIL PROTECTED] Please include your desired
 hourly
rate
as well. Please only reply if you are intermediate in both Flash 
AND
   Java
(not one or the other).
   
Location: Little Rock, AR
Term: 3-6 month contract, possibly longer
Hourly Rate: DOE
   
Requirements:
   
* Flash Design - Intermediate to Advanced
* ActionScript - Low to Intermediate
* Sysadmin experience with J2EE servers: Required for 
application
 server
setup and maintenance
* Java Developer: This developer should have experience with
 Servlets
   and
JSP's. I would say intermediate java skills will be fine.
* HTML/Javascript Developer: Strong Javascript skills
* Flash/ActionScript Developer: Strong Flash and ActionScript
* Artist: Some image manipulation skills will be require
   
Description: Contractor will provide IT services related to a
 leading
   edge
technology website for a Fortune 500 company. This site is very 
interactive, leveraging flash components throughout. The pages 
are HTML files
 with
   JSP
sub-pages that are tied together using Javascript. Other 
sections
   include
a
3D image page which use a Viewpoint plugin along with a Java 
based technology.
   
   
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive: 
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training 
http://www.figleaf.com http://training.figleaf.com
   
  
  
  
   --
   [  JPG  ]
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive: 
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training 
   http://www.figleaf.com http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive: 
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training 
  http://www.figleaf.com http://training.figleaf.com
 


 --
 Carl Welch
 http://www.carlwelch.com
 [EMAIL PROTECTED]
 805.403.4819
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive: 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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



RE: [Flashcoders] Flash and DHTML menus

2006-11-07 Thread Perdue, Blake
I'm guessing there isn't a solution to this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Perdue,
Blake
Sent: Monday, November 06, 2006 10:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash and DHTML menus

We're building a Flash T1 (top story box) into a page redesign. Directly
above the SWF we have a navigation bar that displays DHTML menus over
the flash content. We want to support as many browsers on as many OSes
as possible, but are running into problems. For example, Mac Safari
displays DHTML poorly:

http://www.nascar.com/wireless/
(roll over the main nav)

Adobe suggests 'transparent wmode', while others suggest opaque, neither
of which works well in Safari:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
http://www.communitymx.com/content/article.cfm?cid=E5141

Also, the T1 uses intervals to swap the top story and we're running into
timing problems because (I think) we're using a transparent wmode, as
suggested here:

http://justin.everett-church.com/wmode/

Are there any work-arounds, or solutions that support the major browsers
(IE, FF, Safari, Opera) and also avoid the interval timing issue?



Blake Perdue | 212.522.1292 | AIM: blakepCNN

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

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

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


Re: [Flashcoders] Flash and DHTML menus

2006-11-07 Thread slangeberg

Yeah, if you could have, the menu in flash would have been ideal.

If you search this list for 'transparent wmode', you'll find that this has
poor cross-platform support.

Scott

On 11/7/06, Perdue, Blake [EMAIL PROTECTED] wrote:


I'm guessing there isn't a solution to this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Perdue,
Blake
Sent: Monday, November 06, 2006 10:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash and DHTML menus

We're building a Flash T1 (top story box) into a page redesign. Directly
above the SWF we have a navigation bar that displays DHTML menus over
the flash content. We want to support as many browsers on as many OSes
as possible, but are running into problems. For example, Mac Safari
displays DHTML poorly:

http://www.nascar.com/wireless/
(roll over the main nav)

Adobe suggests 'transparent wmode', while others suggest opaque, neither
of which works well in Safari:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
http://www.communitymx.com/content/article.cfm?cid=E5141

Also, the T1 uses intervals to swap the top story and we're running into
timing problems because (I think) we're using a transparent wmode, as
suggested here:

http://justin.everett-church.com/wmode/

Are there any work-arounds, or solutions that support the major browsers
(IE, FF, Safari, Opera) and also avoid the interval timing issue?



Blake Perdue | 212.522.1292 | AIM: blakepCNN

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

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

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





--

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

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


RE: [SPAM]Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben

  I want to be able to trace out a fairly complex drawing using all the
  Flash tools, but then control how it gets drawn entirely from
 ActionScript.


 Now I understand you want to take drawings from IDE and trace them in
 ActionScript. What is your  goal with this?  You want to stylize your
 drawings on the fly? I'm just wondering if there wouldn't be logical
 constraints, much less technical.

exactly!

the goal is to build up a complex drawing step by step under the control of
ActionScript. So the style can be modified, it can be influenced by the user
while its being drawn, the animation can be synchronised with external
events, reversed, speeded up, slowed down, paused, branched etc.

ActionScript is GREAT for the control. But the IDE is GREAT for all the
initial inputting of lines, curves and shapes (with its ability to edit
lines, use guide layers, snap to objects, align objects, adjust control
points etc).

but can ActionScript gain access to this IDE-stored info...???




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

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


Re: [Flashcoders] Adding user Defined parameter in Flash Component

2006-11-07 Thread Muzak
Check the docs for:
Using Components  Creating Components  Creating the ActionScript class file  
Adding component metadata

Livedocs:
http://livedocs.macromedia.com/flash/8/main/3031.html

Muzak

- Original Message - 
From: hidayath q [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 07, 2006 3:54 PM
Subject: [Flashcoders] Adding user Defined parameter in Flash Component


 Hi all,

 Im really thankful to you all,bcos i have got good solutions whenever i post
 here.

 I want to know whether *Adding user Defined parameter in Flash Component (*if
 need to add a *Bold* parameter* in a text input component ).*if so,can
 anyone please tell me the way in which i can get it.it will be helpful if i
 get some related URL for it.

 Thanks and regards,
 S.Hidayath.


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

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


[Flashcoders] Preloader not working with singleton

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

Dumb throwback question:  my load progress bar isn't working.  I have
two frames, one to monitor the loading of the swf, and when it happens,
go to the next frame to init a singleton, but my load progress bar
doesn't show up until the swf is 100% loaded.  What am I missing here?

Thanks,
- Michael M.

//First frame:
_root.attachMovie(loading, loading, 1, {_x:574, _y:494});
var l:Number = new Number(_root.getBytesLoaded());
var t:Number = new Number(_root.getBytesTotal());
var pct:Number = new Number(0);
_root.onEnterFrame = function():Void  {
l = _root.getBytesLoaded();
pct = Math.round((l/t)*100);
_root.loading.progBar._width = pct;
if (pct == 100) {
delete _root.onEnterFrame;
nextFrame();
}
};
stop();


//Second frame: (inits singleton)
var o:ar = ar.getInstance();
o.init();
stop();

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

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


Re: [SPAM]Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg

You're going to need a fairly complex system to set this up!

Even if you could use AS to trace the artwork in the IDE (which I doubt),
you'd need a system in place to figure out where you are in the drawing.

reversed, speeded up, slowed down, paused, branched etc.




Can you imagine how hard it would be to guess where you are in the artwork
generation process to emulate these things? Say you have a shape with a
bunch of sub-shapes that have sub-shapes that are overlapped by some other
stuff. How would you know in when in the code that you need to render each
item?

Not trying to slam you, but to help you think about this critically.

Here's one thing to consider: Have you ever seen this done anywhere else? If
so, that would be a good starting point to figure out how it was done. If
not, there may be a good reason!

Scott

On 11/7/06, Ben [EMAIL PROTECTED] wrote:



  I want to be able to trace out a fairly complex drawing using all the
  Flash tools, but then control how it gets drawn entirely from
 ActionScript.


 Now I understand you want to take drawings from IDE and trace them in
 ActionScript. What is your  goal with this?  You want to stylize your
 drawings on the fly? I'm just wondering if there wouldn't be logical
 constraints, much less technical.

exactly!

the goal is to build up a complex drawing step by step under the control
of
ActionScript. So the style can be modified, it can be influenced by the
user
while its being drawn, the animation can be synchronised with external
events, reversed, speeded up, slowed down, paused, branched etc.

ActionScript is GREAT for the control. But the IDE is GREAT for all the
initial inputting of lines, curves and shapes (with its ability to edit
lines, use guide layers, snap to objects, align objects, adjust control
points etc).

but can ActionScript gain access to this IDE-stored info...???




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

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





--

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

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


RE: [Flashcoders] Preloader not working with singleton

2006-11-07 Thread Alain Rousseau
You have instances in the library that Loads in first frame, So they load
before frame 0, plus you use attachMovie to load your preloader. What
happens is that the preloader and all assets that are set to export in first
frame load, then the preloader gets attached but all your assets are
allready loaded.

The best approach is to separate the preloader from the content to be
preloaded in two separate swf. And do not use attachMovie for your preloader
instance, just place it on the stage directly.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn,
Michael
Sent: 7 novembre 2006 13:53
To: Flashcoders mailing list
Subject: [Flashcoders] Preloader not working with singleton

Hi list...

Dumb throwback question:  my load progress bar isn't working.  I have two
frames, one to monitor the loading of the swf, and when it happens, go to
the next frame to init a singleton, but my load progress bar doesn't show up
until the swf is 100% loaded.  What am I missing here?

Thanks,
- Michael M.

//First frame:
_root.attachMovie(loading, loading, 1, {_x:574, _y:494}); var l:Number =
new Number(_root.getBytesLoaded()); var t:Number = new
Number(_root.getBytesTotal()); var pct:Number = new Number(0);
_root.onEnterFrame = function():Void  {
l = _root.getBytesLoaded();
pct = Math.round((l/t)*100);
_root.loading.progBar._width = pct;
if (pct == 100) {
delete _root.onEnterFrame;
nextFrame();
}
};
stop();


//Second frame: (inits singleton)
var o:ar = ar.getInstance();
o.init();
stop();

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

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.31/522 - Release Date: 2006-11-07
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.31/522 - Release Date: 2006-11-07
 

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

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


[Flashcoders] Preciso de programador actionscript/flash/php

2006-11-07 Thread Cliquei
Preciso de programador actionscript/flash/php se tiver alguem na lista que
seja do Brasil e esteja disponivel para freela ..responda a este email.

 

Até já.


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.31/522 - Release Date: 7/11/2006
09:40
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-07 Thread Zeh Fernando

Preciso de programador actionscript/flash/php se tiver alguem na lista que
seja do Brasil e esteja disponivel para freela ..responda a este email.


The above email reads:

I need a actionscript/flash/php programmer if there's anyone on this list 
that's from Brazil and is available for freelance work ..reply to this 
email.


With all due respect, the official language of this list is english, and 
it's usually good form to translate emails when sending them using another 
language, even if they don't immediatelly interest to anyone who doesn't 
speak the language.



Zeh 


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

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


Re: [Flashcoders] Freelancer Class

2006-11-07 Thread slangeberg

I don't know if it's a remnant.

You may be doing property initialization and need to nail down scope:

class Student {

private var name:String

function Student( name:String ) {
  this.name = name;
}
}

-Scott

On 11/7/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


 I know I don't have to.
 But I think the code is more clear that way.

Classes will not compile if you try to access variables that are not
declared in the class.  So by accessing a variable, it is inherently
referring to this because it absolutely must be, thus that particular
use of this is redundant and a remnant of the days of AS1 classes
(prototype) and maintaining scope within them.

That's not to say this doesn't have its place, but since its place is
more refined now, I find it's more important to reserve its use for
those times so it stands out that much more.  However, everyone has
their own style and if using this gives you warm fuzzies, then who am
I or anyone to take that away from you?  :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

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

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


RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
 I don't know if it's a remnant.
 
 You may be doing property initialization and need to nail down scope:
 
 class Student {
 
 private var name:String
 
 function Student( name:String ) {
this.name = name;
 }
 }

That's just bad coding.  Don't use class variable names as argument
names.  It's not like you don't have a choice about it.  ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread R�kos Attila

B is it possible to write ActionScript code to gain access to
B lines/fills/shapes drawn on the stage using the standard Flash API?

If you need to parse a drawing created in the Flash IDE and convert it
to an AS script which creates the same result, but using Drawing API
methods, then use JSFL. Through JSFL you have full access to the
content of an FLA document and I guess that it is not too complicated
to translate JSFL objects into AS methods. I never tried such but it
looks possible to me.

  Attila

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

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


RE: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Steven Sacks | BLITZ
I think he wants to take what some artist drew in Flash and code it to
draw at run-time using the drawing API.  I'm not sure what benefit that
has except to make designers have to code their drawings instead of draw
their drawings and I don't know (m)any designers who would like to do
that.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Mike Keesey
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ
 Sent: Tuesday, November 07, 2006 12:05 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Freelancer Class
 
  I don't know if it's a remnant.
 
  You may be doing property initialization and need to nail down
scope:
 
  class Student {
 
  private var name:String
 
  function Student( name:String ) {
 this.name = name;
  }
  }
 
 That's just bad coding.  Don't use class variable names as argument
 names.  It's not like you don't have a choice about it.  ;)

I don't think it's bad coding. Documentation generated from this
signature might be a bit clearer than documentation generated from a
signature where the argument was, e.g., nameValue, since it would be
more immediately obvious that the argument name corresponds to the
property name. That said, the code itself is clearer the other way.
Six of one and half a dozen of the other. (Programming is so often like
that.)

--
Mike Keesey

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

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


[Flashcoders] Q:associate class with MovieClip using composition and WITHOUT attachmovie

2006-11-07 Thread moveup
Hi
Normally if I want to associate  a MovieClip with a class using composition I 
simply use attachMovie and cast the returned instance to the class I want to 
use.

If you can't use attachMovie (ie the Movieclip already exists on the stage for 
example)

is it still possible to use comoposition to link the Class to the mc?

just wondering...

Jim Bachalo

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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Q:slider that 'snaps to' predefined values

2006-11-07 Thread moveup
I'm bullding an app that uses a slider...

id eally I want the slider to 'snap to' predefined values if the slider is 
within a certain distance..
Ideally I'd build myself from scratch but I'm on a too tight timeline (aren't 
all timelines too short)

does anyone know of a third party component that does this?
or a reference to a quick code sample that does the same thing?

Thanks in advance
Jim Bachalo

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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Q:associate class with MovieClip using composition and WITHOUT attachmovie

2006-11-07 Thread Alain Rousseau
 
It's been discussed in here before,

You should look up that thread :
http://chattyfig.figleaf.com/pipermail/flashcoders/2003-May/075855.html

Or search through Muzak's search page for this list :
http://www.muzakdeezign.com/flashcoders/


HTH !

A

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 7 novembre 2006 15:32
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Q:associate class with MovieClip using composition
and WITHOUT attachmovie

Hi
Normally if I want to associate  a MovieClip with a class using composition
I simply use attachMovie and cast the returned instance to the class I want
to use.

If you can't use attachMovie (ie the Movieclip already exists on the stage
for example)

is it still possible to use comoposition to link the Class to the mc?

just wondering...

Jim Bachalo

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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.31/522 - Release Date: 2006-11-07
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.31/522 - Release Date: 2006-11-07
 

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

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


[Flashcoders] Q;Convert hex values to ra,rb,ga,gb,ba,bb,aa,ab??

2006-11-07 Thread moveup
Hi
Woking on a color selctor and I need to dynamically convert loaded hex values 
to values the ColorTransform class uses (ra,ra,ga,gb,ba,gb,aa,ab)

Does anyone know the forumula to do this?

Mucho gracias para tu ayuda!
Jim Bachalo


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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Q;Convert hex values to ra,rb,ga,gb,ba,bb,aa,ab??

2006-11-07 Thread Alain Rousseau
Jim,

Here's a utility Class I made to tint any MovieClip using the ColorTransform
object.

Use it and modify it as you wish :)

HTH !

A


class ca.daroost.utils.Tint {
//

/***
**
*
*  Constructor : Tint
*


*/
//
function Tint() {
}
//

/***
**
*
*  Method : tintMC
*   
*  Changes the tint of the targetMC
*
*   @param : targetMC - the MovieClip to apply the tint
to
*color - the new color to be applied
*alpha - the new alpha to be applied
*


*/
//
public static function tintMC(targetMC:MovieClip, color:Number,
alpha:Number) {
alpha = (alpha == undefined) ? 100 : alpha;
var tintTransform:Object = new Object();
var newColor:Color = new Color(targetMC);
var r = color  16  0xff;
var g = color  8  0xFF;
var b = color  0xFF;
var pRed:Number = Math.round(r/255*100);
var pGreen:Number = Math.round(g/255*100);
var pBlue:Number = Math.round(b/255*100);
tintTransform.ra = pRed;
tintTransform.ga = pGreen;
tintTransform.ba = pBlue;
tintTransform.aa = alpha;
tintTransform.rb = 0;
tintTransform.gb = 0;
tintTransform.bb = 0;
tintTransform.ab = 0;
newColor.setTransform(tintTransform);
}
}


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 7 novembre 2006 15:59
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Q;Convert hex values to ra,rb,ga,gb,ba,bb,aa,ab??

Hi
Woking on a color selctor and I need to dynamically convert loaded hex
values to values the ColorTransform class uses (ra,ra,ga,gb,ba,gb,aa,ab)

Does anyone know the forumula to do this?

Mucho gracias para tu ayuda!
Jim Bachalo


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

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.31/522 - Release Date: 2006-11-07
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.31/522 - Release Date: 2006-11-07
 

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

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


Re: [Flashcoders] Freelancer Class

2006-11-07 Thread slangeberg


I don't think it's bad coding. Documentation generated from this
signature might be a bit clearer than documentation generated from a
signature where the argument was, e.g., nameValue, since it would be
more immediately obvious that the argument name corresponds to the
property name. That said, the code itself is clearer the other way.
Six of one and half a dozen of the other. (Programming is so often like
that.)



Pretty much. You either muddy up your code or your docs. This is probably
why this kind of code is prevalent in Java. They've had strong doc tools
nearly from the beginning.

Scott

On 11/7/06, Mike Keesey [EMAIL PROTECTED] wrote:


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ
 Sent: Tuesday, November 07, 2006 12:05 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Freelancer Class

  I don't know if it's a remnant.
 
  You may be doing property initialization and need to nail down
scope:
 
  class Student {
 
  private var name:String
 
  function Student( name:String ) {
 this.name = name;
  }
  }

 That's just bad coding.  Don't use class variable names as argument
 names.  It's not like you don't have a choice about it.  ;)

I don't think it's bad coding. Documentation generated from this
signature might be a bit clearer than documentation generated from a
signature where the argument was, e.g., nameValue, since it would be
more immediately obvious that the argument name corresponds to the
property name. That said, the code itself is clearer the other way.
Six of one and half a dozen of the other. (Programming is so often like
that.)

--
Mike Keesey

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

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





--

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

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


RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
 Pretty much. You either muddy up your code or your docs.

I opt to muddy up docs over code, just like Macromedia.  ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
 I think he wants to take what some artist drew in Flash and code it to
 draw at run-time using the drawing API.  I'm not sure what benefit that
 has except to make designers have to code their drawings instead of draw
 their drawings and I don't know (m)any designers who would like to do
 that.

the benefit is that the animation can be controlled programatically. For
example it can be made interactive or synchronised with external events, or
it could respond to, or invite responses from, other Flash movies. In short,
it can contain programming logic. The benefits are many and varied.

It has nothing to do with making designers do anything, I don't mind how
designers produce their work.

Thanks anyway, I appreciate the time you guys give to these issues.

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

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


RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Mike Keesey
They (now Adobe) have pretty much done an about-face on this issue. The
ActionScript 3.0 documentation
(http://livedocs.macromedia.com/flex/2/langref/ ) is excellent.

And they do use the argument name = property name syntax in
constructors. For example,

http://livedocs.macromedia.com/flex/2/langref/Error.html

Error(message:String = , id:int = 0)
Creates a new Error object.

(Well, the id argument corresponds to the errorID property--so I
guess they went both ways on this one!)
―
Mike Keesey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ
 Sent: Tuesday, November 07, 2006 1:34 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Freelancer Class
 
  Pretty much. You either muddy up your code or your docs.
 
 I opt to muddy up docs over code, just like Macromedia.  ;)
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

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

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


RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Sönke Rohde
  I don't know if it's a remnant.
  
  You may be doing property initialization and need to nail 
 down scope:
  
  class Student {
  
  private var name:String
  
  function Student( name:String ) {
 this.name = name;
  }
  }
 
 That's just bad coding.  Don't use class variable names as argument
 names.  It's not like you don't have a choice about it.  ;)

Sorry, but I completly disagree. I think this is best practice.
The usage of this is obsolete in many cases but with this it is clear that
it is a member variable.
I also use ClassName.staticVarName to ensure that it is a static variable.
This kind of coding will be completly obsolute if IDEs support semantic
syntax highlighting to show difference between member- static and local
variables like it is already supported by the latest JDT.

Cheers,
Sönke

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

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


Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-07 Thread Pedro Rodrigues

i am new to the list but it seems to me this is for discussion of
flash programming and not for job offers...

On 11/7/06, Zeh Fernando [EMAIL PROTECTED] wrote:

 Preciso de programador actionscript/flash/php se tiver alguem na lista que
 seja do Brasil e esteja disponivel para freela ..responda a este email.

The above email reads:

I need a actionscript/flash/php programmer if there's anyone on this list
that's from Brazil and is available for freelance work ..reply to this
email.

With all due respect, the official language of this list is english, and
it's usually good form to translate emails when sending them using another
language, even if they don't immediatelly interest to anyone who doesn't
speak the language.


Zeh

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

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


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

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


RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
I shouldn't have used the term bad to describe these practices and for
that I apologize.

My eyes see all those extra this references as clutter and some
people's eyes see them as useful pointers.  I don't use document writing
programs like AsDoc or Jdoc so the concerns of people who do are foreign
to me.  I wasn't even aware of their constraints in this regard and so
to automatically declare them as bad was my bad.  :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
 They (now Adobe) have pretty much done an about-face on this 
 issue. The ActionScript 3.0 documentation 
 (http://livedocs.macromedia.com/flex/2/langref/ ) is excellent.

Macromedia's AS docs were (in)famously bad due to what many considered
to be poor examples and they also had many errors.  I believe they have
field developers writing the docs for AS3 now so expect the examples to
be more applicable and hopefully the error count will be a lot lower, as
well.


 And they do use the argument name = property name syntax in
constructors.

There's more than one way to skin a cat.  While I might find that
cutting from the base of the neck down the back to the base of the tail
to be the best way, others might prefer cutting along the belly better
because the stitching will be less visible once you put the skin back
together even though cutting from the belly often results in a mess
unless you're careful.  Different strokes for different folks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] FLEX 2.0 Chart and PDF Generation

2006-11-07 Thread Claude Hussenet
Is there a way to include a chart created with the FLEX Charting library into
a PDF file ? I also would like to know if it's possible to do it in batch mode !

Thank you for your help.

Regards-Claude



 
-
Sponsored Link

Get a free Motorola Razr! Today Only! Choose Cingular, Sprint, Verizon, Alltel, 
or T-Mobile.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Robert r. Sanders

I'd second two earlier opinions, plus a few other ideas.

1. You could get a JSFL component written to translate the FLA content 
to a different structure.


2. You could look at the SVG renders for Flash/SWF; then the drawing 
could be in a different tool and exported or saved as SVG.


3. With extra work the drawing could be done as a set of internal 
movieclip objects which could then be manipulated by actionscript with 
out having to use the drawing API.


Ben wrote:

You see, you would have been using AS to perform all those commands in the
first place. ie. lineTo, moveTo... etc.

Scott




the lines are first created directly onto the stage using the Flash IDE (not
ActionScript) eg the line, circle, box tools from the tools palette on the
left side of the workspace.

then these shapes are (somehow - this is the bit I don't know) converted
into their API equivalents (lineTo, curveTo, beginFill, endFill etc)


I'm sure it would be possible to write a drawing program using the API
which allows the user to create lines and fills and edit them, but this
seems like a HUGE waste of time since there is already an absolutely perfect
drawing program inside Flash itself...

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

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

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

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson
Ben is not asking designers to code their drawings, and I'm pretty sure 
you cannot access the IDE freeform pencil's actions in JSFL, I tried it 
once. Unless you somehow manage to get a tablet PC connected to the line 
drawing tool in Flash but build continuous lines, then yes, /that/ is 
reproducible in JSFL, in which case you'd just copy-paste the history 
panel, or a record the strokes using a JSFL application which would spit 
out some AS conversion. If having a drawing composed of connected lines 
is the look you're going for. A Davis (as in Josh), maybe, but it 
certainly won't be a Monet.


What you need Ben is to create a freeform drawing tool, in Flash, that 
captures continuous line data drawn in the app using the Drawing API in 
such a way that the lines are so small that each stroke appears 
freeform, I've seen it done. As you draw it records and converts the 
drawing to a data format of some kind, it really isn't important what 
(custom XML format, SVG, array sets, whatever) as long as your 
reciprocal 'player' app can read the data. You can output the results to 
a text window to cut-and paste into a text data file, or you can use the 
FileReference API plus some backend script to create a downloadable 
text/XML data file to use with your 'player'.


You would then need to create a 'player' app that reads the data and 
replicates the drawing's creation, at either a hardcoded or user-defined 
speed, to 'animate-in' the final drawing, all using the Drawing API.


But you would have to have your artist re-create any drawing using this 
tool, in order to capture his pencil strokes and record them to the data 
model.


Taking an existing drawing and recompositing it in actionscript can 
theoretically be done if you convert the swf vector image to SVG and 
then read it/re-create it using an SVG parser connected to your player 
app. The only thing is, because you'd most likely wind up with thousands 
of minute line segments, you'd have to handle their re-creation using an 
algorithm, not in the order they were created, which would be unknown. 
At best this would yield a relatively intuitive re-creation but would 
still look machine-generated. Worst-case scenario the strokes would form 
in no particular order, and in linear left-right-top-bottom or radial 
pattern best case scenario.


So really, your only option for effect realism is to create a drawing 
tool and a matched player for the job.


Or maybe find a drawing application that outputs to time-coded SVG (if 
such a thing exists), and read it back to the player app.



__

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Ben wrote:

I think he wants to take what some artist drew in Flash and code it to
draw at run-time using the drawing API.  I'm not sure what benefit that
has except to make designers have to code their drawings instead of draw
their drawings and I don't know (m)any designers who would like to do
that.


the benefit is that the animation can be controlled programatically. For
example it can be made interactive or synchronised with external events, or
it could respond to, or invite responses from, other Flash movies. In short,
it can contain programming logic. The benefits are many and varied.

It has nothing to do with making designers do anything, I don't mind how
designers produce their work.

Thanks anyway, I appreciate the time you guys give to these issues.

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

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


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

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


Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson

 You would then need to create a 'player' app that reads the data and
 replicates the drawing's creation, at either a hardcoded or user-defined
 speed, to 'animate-in' the final drawing, all using the Drawing API.

You can see an example of what I'm talking about here:
http://www.imagination3.com/

1. Make a drawing.
2. Email it to yourself.
3. Click the link in the email.
4. Watch it recreate the drawing.

__

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Joseph Balderson wrote:
Ben is not asking designers to code their drawings, and I'm pretty sure 
you cannot access the IDE freeform pencil's actions in JSFL, I tried it 
once. Unless you somehow manage to get a tablet PC connected to the line 
drawing tool in Flash but build continuous lines, then yes, /that/ is 
reproducible in JSFL, in which case you'd just copy-paste the history 
panel, or a record the strokes using a JSFL application which would spit 
out some AS conversion. If having a drawing composed of connected lines 
is the look you're going for. A Davis (as in Josh), maybe, but it 
certainly won't be a Monet.


What you need Ben is to create a freeform drawing tool, in Flash, that 
captures continuous line data drawn in the app using the Drawing API in 
such a way that the lines are so small that each stroke appears 
freeform, I've seen it done. As you draw it records and converts the 
drawing to a data format of some kind, it really isn't important what 
(custom XML format, SVG, array sets, whatever) as long as your 
reciprocal 'player' app can read the data. You can output the results to 
a text window to cut-and paste into a text data file, or you can use the 
FileReference API plus some backend script to create a downloadable 
text/XML data file to use with your 'player'.


You would then need to create a 'player' app that reads the data and 
replicates the drawing's creation, at either a hardcoded or user-defined 
speed, to 'animate-in' the final drawing, all using the Drawing API.


But you would have to have your artist re-create any drawing using this 
tool, in order to capture his pencil strokes and record them to the data 
model.


Taking an existing drawing and recompositing it in actionscript can 
theoretically be done if you convert the swf vector image to SVG and 
then read it/re-create it using an SVG parser connected to your player 
app. The only thing is, because you'd most likely wind up with thousands 
of minute line segments, you'd have to handle their re-creation using an 
algorithm, not in the order they were created, which would be unknown. 
At best this would yield a relatively intuitive re-creation but would 
still look machine-generated. Worst-case scenario the strokes would form 
in no particular order, and in linear left-right-top-bottom or radial 
pattern best case scenario.


So really, your only option for effect realism is to create a drawing 
tool and a matched player for the job.


Or maybe find a drawing application that outputs to time-coded SVG (if 
such a thing exists), and read it back to the player app.



__

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Ben wrote:

I think he wants to take what some artist drew in Flash and code it to
draw at run-time using the drawing API.  I'm not sure what benefit that
has except to make designers have to code their drawings instead of draw
their drawings and I don't know (m)any designers who would like to do
that.


the benefit is that the animation can be controlled programatically. For
example it can be made interactive or synchronised with external 
events, or
it could respond to, or invite responses from, other Flash movies. In 
short,

it can contain programming logic. The benefits are many and varied.

It has nothing to do with making designers do anything, I don't mind how
designers produce their work.

Thanks anyway, I appreciate the time you guys give to these issues.

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

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


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

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



Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson

 1. Make a drawing.
 2. Email it to yourself.
 3. Click the link in the email.
 4. Watch it recreate the drawing.

or just press Replay, DOH! :)

if you move your mouse very fast while drawing you can see that it's 
actually creating lines...

__

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Joseph Balderson wrote:

  You would then need to create a 'player' app that reads the data and
  replicates the drawing's creation, at either a hardcoded or user-defined
  speed, to 'animate-in' the final drawing, all using the Drawing API.

You can see an example of what I'm talking about here:
http://www.imagination3.com/

1. Make a drawing.
2. Email it to yourself.
3. Click the link in the email.
4. Watch it recreate the drawing.

__

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Joseph Balderson wrote:
Ben is not asking designers to code their drawings, and I'm pretty 
sure you cannot access the IDE freeform pencil's actions in JSFL, I 
tried it once. Unless you somehow manage to get a tablet PC connected 
to the line drawing tool in Flash but build continuous lines, then 
yes, /that/ is reproducible in JSFL, in which case you'd just 
copy-paste the history panel, or a record the strokes using a JSFL 
application which would spit out some AS conversion. If having a 
drawing composed of connected lines is the look you're going for. A 
Davis (as in Josh), maybe, but it certainly won't be a Monet.


What you need Ben is to create a freeform drawing tool, in Flash, that 
captures continuous line data drawn in the app using the Drawing API 
in such a way that the lines are so small that each stroke appears 
freeform, I've seen it done. As you draw it records and converts the 
drawing to a data format of some kind, it really isn't important what 
(custom XML format, SVG, array sets, whatever) as long as your 
reciprocal 'player' app can read the data. You can output the results 
to a text window to cut-and paste into a text data file, or you can 
use the FileReference API plus some backend script to create a 
downloadable text/XML data file to use with your 'player'.


You would then need to create a 'player' app that reads the data and 
replicates the drawing's creation, at either a hardcoded or 
user-defined speed, to 'animate-in' the final drawing, all using the 
Drawing API.


But you would have to have your artist re-create any drawing using 
this tool, in order to capture his pencil strokes and record them to 
the data model.


Taking an existing drawing and recompositing it in actionscript can 
theoretically be done if you convert the swf vector image to SVG and 
then read it/re-create it using an SVG parser connected to your player 
app. The only thing is, because you'd most likely wind up with 
thousands of minute line segments, you'd have to handle their 
re-creation using an algorithm, not in the order they were created, 
which would be unknown. At best this would yield a relatively 
intuitive re-creation but would still look machine-generated. 
Worst-case scenario the strokes would form in no particular order, and 
in linear left-right-top-bottom or radial pattern best case scenario.


So really, your only option for effect realism is to create a drawing 
tool and a matched player for the job.


Or maybe find a drawing application that outputs to time-coded SVG (if 
such a thing exists), and read it back to the player app.



__

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Ben wrote:

I think he wants to take what some artist drew in Flash and code it to
draw at run-time using the drawing API.  I'm not sure what benefit that
has except to make designers have to code their drawings instead of 
draw

their drawings and I don't know (m)any designers who would like to do
that.


the benefit is that the animation can be controlled programatically. For
example it can be made interactive or synchronised with external 
events, or
it could respond to, or invite responses from, other Flash movies. In 
short,

it can contain programming logic. The benefits are many and varied.

It has nothing to do with making designers do anything, I don't mind how
designers produce their work.

Thanks anyway, I appreciate the time you guys give to these issues.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:

Re: [Flashcoders] Freelancer Class

2006-11-07 Thread Dennis Roche

On 08/11/06, Mike Keesey [EMAIL PROTECTED] wrote:


 That's just bad coding.  Don't use class variable names as argument
 names.  It's not like you don't have a choice about it.  ;)

I don't think it's bad coding. Documentation generated from this
signature might be a bit clearer than documentation generated from a
signature where the argument was, e.g., nameValue, since it would be
more immediately obvious that the argument name corresponds to the
property name. That said, the code itself is clearer the other way.
Six of one and half a dozen of the other. (Programming is so often like
that.)

--
Mike Keesey



I prefer the the double underscore naming scheme to differentiate a
local/arugment variable from a class variable. It helps when you want to
create get/set functions and reminds you that it is a private variable and
should not accessed directly.

class Student
{
  private var __name:String;
  public function Student(name:String)
  {
 __name = name;
  }
}


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

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


[Flashcoders] about BitmapData.draw() crossdomain

2006-11-07 Thread 赵洪日
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in 
b.com,have any Solution in this?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] about BitmapData.draw() crossdomain

2006-11-07 Thread 赵洪日
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in 
b.com,have any Solution in this?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] about BitmapData.draw() crossdomain

2006-11-07 Thread 赵洪日
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in 
b.com,have any Solution in this?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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