RE: [Flashcoders] sprouts data structure

2006-05-11 Thread Scott Hyndman
Wow, great question.

Needless to say, you can't figure these things out with vertices and edges 
alone, you're going to have to assign location to each vertex and use that to 
calculate the intersection...but that's where things get hazy. You probably 
don't want to brute force it, because your worst case gets bad. I'm sure there 
is some sort of clever math solution, but I've never been much of a 
mathematician.

So maybe you could do something visual. If your edges are drawn in one color, 
maybe you could check all the pixels in a line between the desired end points, 
and see if any of the pixels contain the edge color, in which case, don't allow 
the connection to be made.

I'll keep thinking about it though.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Weldon MacDonald
Sent:   Thu 5/11/2006 8:48 AM
To: Flashcoders mailing list
Cc: 
Subject:[Flashcoders] sprouts data structure

I have a request for a game called sprouts. The game starts with a few
randomly distributed dots. There is one move and 2 restrictions.
Move:   draw a line for a dot to itself (a loop) or to another dot.
Any line drawn has a new dot on it.
Restriction 1: no more than 3 lines from any dot.
Restriction 2: no lines can cross.

Simple game, but the data structure to keep track of the game and in
particular to handle restriction 2 is a bear. How do you tell when a
dot has been encircled by a line?

The game is, of course based on graph theory, and you can represent a
graph in several ways, but how to determine that it remains planar?

I haen't begun to think about the visual part of this, if I don't have
a reasonable data structure I can't teach a computer to play the game.

Any ideas? Hints? Wildly improbable ideas?

-- 
Weldon MacDonald
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessibility, MSAA & Screenreaders

2006-05-11 Thread Jamie Owen


Hello All.

I am experimenting with Accessibility and trying to discover how 
screenreaders ( say JAWS ) respond to subsequent calls to 
Accessibility.updateProperties() after the swf is loaded and first read by 
the reader.


I'm no expert user of JAWS and all i've managed to get working is : HTTP 
response > JAWS starts reading > reaches flash file > Reads out content 
based on tab order and accProps  If i try and clear the accProps then 
renew their values ( as what would happen if the swf content changes ) and 
make a call to updateProperties() the content seems to stay the same.


Is there anyway to make the reader start reading the new content straight 
away as what happens when a new page loads?


Is anyone an expert screenreader user or knows how the average screen reader 
user handles a flash file?


Or can anyone shed some light on the whole Microsoft Active Accessibility 
and flash / screen reader business?


Cheers

Jamie

_
Are you using the latest version of MSN Messenger? Download MSN Messenger 
7.5 today! http://join.msn.com/messenger/overview


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

2006-05-11 Thread Johannes Nel

get a proper as editor i would say

On 5/11/06, Serge Jespers <[EMAIL PROTECTED]> wrote:


You're welcome... I mixup capitals all the time so it was the first
thing I looked at ;-)

Serge

> Unbelievable!
>
> Thanks a lot Serge, you're a lifesaver :>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





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

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


Re: [Flashcoders] xpath xml strangeness

2006-05-11 Thread Serge Jespers
You're welcome... I mixup capitals all the time so it was the first  
thing I looked at ;-)


Serge


Unbelievable!

Thanks a lot Serge, you're a lifesaver :>


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

2006-05-11 Thread Kent Humphrey

Unbelievable!

Thanks a lot Serge, you're a lifesaver :>

On 11 May 2006, at 13:50, Serge Jespers wrote:


Could it be just a plain old typo?
XPath is with capital X and capital P.

In the perm_items line you wrote Xpath

Serge




These lines of code work:

menu_root = XPath.selectNodes(this, "root/menu/item/@name");
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, "root/perm/item/@name");
trace('perm_items: ' + perm_items);


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

2006-05-11 Thread Serge Jespers

Could it be just a plain old typo?
XPath is with capital X and capital P.

In the perm_items line you wrote Xpath

Serge




These lines of code work:

menu_root = XPath.selectNodes(this, "root/menu/item/@name");
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, "root/perm/item/@name");
trace('perm_items: ' + perm_items);


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

2006-05-11 Thread Weldon MacDonald

I have a request for a game called sprouts. The game starts with a few
randomly distributed dots. There is one move and 2 restrictions.
Move:   draw a line for a dot to itself (a loop) or to another dot.
Any line drawn has a new dot on it.
Restriction 1: no more than 3 lines from any dot.
Restriction 2: no lines can cross.

Simple game, but the data structure to keep track of the game and in
particular to handle restriction 2 is a bear. How do you tell when a
dot has been encircled by a line?

The game is, of course based on graph theory, and you can represent a
graph in several ways, but how to determine that it remains planar?

I haen't begun to think about the visual part of this, if I don't have
a reasonable data structure I can't teach a computer to play the game.

Any ideas? Hints? Wildly improbable ideas?

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

2006-05-11 Thread John Mark Hawley
perm/item has no children with 'name' attributes. It has no children at 
all...


Kent Humphrey wrote:

ok, been banging my head against a wall for ages on this one.

These lines of code work:

menu_root = XPath.selectNodes(this, "root/menu/item/@name");
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, "root/perm/item/@name");
trace('perm_items: ' + perm_items);

The trace returns undefined.

Here is  the XML, trimmed down to the vitals:




height="400" filename="profiles-the-salon"/>
colour="0x7797ac" height="400" filename="profiles-mvc"/>


colour="0x7797ac" />





etc etc










Anyone have any ideas what the problem is?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] xpath xml strangeness

2006-05-11 Thread Kent Humphrey

ok, been banging my head against a wall for ages on this one.

These lines of code work:

menu_root = XPath.selectNodes(this, "root/menu/item/@name");
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, "root/perm/item/@name");
trace('perm_items: ' + perm_items);

The trace returns undefined.

Here is  the XML, trimmed down to the vitals:




	height="400" filename="profiles-the-salon"/>
			colour="0x7797ac" height="400" filename="profiles-mvc"/>


colour="0x7797ac" />





etc etc










Anyone have any ideas what the problem is?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] v1 components in Flash 2004

2006-05-11 Thread Marcelo de Moraes Serpa

Even though they are relatively good quality, the v2 framework is indeed too
big and can ruin projects that need to stay at a limited kb rate (for
strictband connections for example)... my components.swf shared library is
70KB alone... it adds too much to my app´s size :/

I´m also interested in free v2 alternatives that are also small in size :)

- Marcelo.

On 5/11/06, Adrian Lynch <[EMAIL PROTECTED]> wrote:


I can't seem to download this extension on Adobe's site:


http://www.adobe.com/cfusion/exchange/index.cfm?extid=1009423&view=sn111#loc
=en_us&extid=1009423&view=sn111&viewName=Flash%20Extension&avm=1

The download bottom doesn't do anything. Anyone else seeing this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 11 May 2006 12:18
To: Flashcoders mailing list
Subject: RE: [Flashcoders] v1 components in Flash 2004


I might have to go down that path.

I've swippedthe v1 SP from a file(copied from the library) and added it to
another movie but it dones't seem to be working.

I get a white box with the bars missing and no loaded content.

Any ideas?

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


RE: [Flashcoders] v1 components in Flash 2004

2006-05-11 Thread Adrian Lynch
I can't seem to download this extension on Adobe's site:

http://www.adobe.com/cfusion/exchange/index.cfm?extid=1009423&view=sn111#loc
=en_us&extid=1009423&view=sn111&viewName=Flash%20Extension&avm=1

The download bottom doesn't do anything. Anyone else seeing this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 11 May 2006 12:18
To: Flashcoders mailing list
Subject: RE: [Flashcoders] v1 components in Flash 2004


I might have to go down that path.

I've swippedthe v1 SP from a file(copied from the library) and added it to
another movie but it dones't seem to be working.

I get a white box with the bars missing and no loaded content.

Any ideas?

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


RE: [Flashcoders] v1 components in Flash 2004

2006-05-11 Thread Adrian Lynch
I might have to go down that path.

I've swippedthe v1 SP from a file(copied from the library) and added it to
another movie but it dones't seem to be working.

I get a white box with the bars missing and no loaded content.

Any ideas?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan
Hovey
Sent: 11 May 2006 11:27
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] v1 components in Flash 2004


Hey there,

Ghostwire Studios has some excellent v1 components. The scroll pane is part
of Set 1.

http://www.ghostwire.com/

Cheers,

Ryan Hovey

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: Thursday, May 11, 2006 7:13 AM
To: Flashcoders
Subject: [Flashcoders] v1 components in Flash 2004

Can anyone point me to info about using v1 components in Flash 2004? I want
something smaller than the v2 scroll pane. It increases the swf by 500%!

Will using the MX version be a better move?

Thanks.

Adrian Lynch
http://www.halestorm.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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Transparent background when exporting to QuickTime?

2006-05-11 Thread Kevin Boyd (MMCR)
Hi 
 
I am trying to export a simple scrolling text animation from Flash 8 (in
Flash 5 format as that's all QuickTime can handle) to QuickTime so I can use
it as titles in Avid Liquid 7. On the Export options in Flash I set Alpha to
Alpha-transparent but in Liquid it just has a white background and when I
check it's properties, it states it has no Alpha! 
 
Any hints where I'm going wrong on this?
 
Kevin Boyd
Multimedia Creations Ltd.
www.mmcr.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] Best SWF Wrapper

2006-05-11 Thread Kevin Boyd (MMCR)
Well there is good old Director, works a treat (plays full screen) and you
have access to hundreds of plug-ins too :-) 


Kevin Boyd
Multimedia Creations Ltd.
www.mmcr.co.uk
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cedric
Muller
Sent: 11 May 2006 07:49
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Best SWF Wrapper

Normally, I am not always puking on software, but I confirm that Zinc is a
bad idea and a bad solution

Cédric Muller
-
b-tween | designContent
http://www.b-tween.com

tél.   +41 22 328 8168


> I faced similar issues with zinc
>
> 
> Thanks
> Sumeet Basak
> CTO
> Renaissance Legal & Learning Systems Pvt. Ltd.
> Cell: + 91 9223214301
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ian 
> Thomas
> Sent: Wednesday, May 10, 2006 1:27 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Best SWF Wrapper
>
> I personally would avoid Zinc. Although we've used it successfully, 
> I've had two or three of their updates introduce bugs which break our 
> products, and I've had to revert until a fix comes along. The quality 
> control is just too shoddy.
>
> Ian
>
> On 5/9/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>> I'm looking for some opinions on the best SWF wrapper you think is 
>> out there. The ability to save out files (XML), perhaps communicate 
>> with
> dbases
>> (local/online), etc.
>>
>> - e.dolecki
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Breakapart vs slicing an image

2006-05-11 Thread Dennis - I Sioux

Hey,

I was wondering if anyone knows what hapens to an image when you use flash 7 
and break it apart
Is it translated in many vector points or is it still an image with an build 
in mask (because you can slice away parts then)..


And does anyone know if it is precessor friendlier to slice an image into 
several jpg's.. or to just break apart and remove part of the image in 
flash?


Many thanks for the insight

With kind regards,

Dennis 



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

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


RE: [Flashcoders] Text Height in MovieClip help!

2006-05-11 Thread Tom Lee
I've noticed that some TextField properties do not update themselves until
the function that updated them finishes executing.  In other words, don't
do:

function(){
TextField.text = "foo";
trace(TextField._height);
}

I have sometimes used SetInterval to wait a tick before testing a property
on a TextField.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 3:52 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Text Height in MovieClip help!

I have a movieclip  (scrollContent) that has a dynamic textfield in it that
I
add text too. If i trace(scrollContent._height) it comes up as 190, which is
the same as it shows in the authoring environment. Why does the movieclip
height not adjust based on the text height?  Thanks!


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

2006-05-11 Thread Ryan Hovey
Hey there,

Ghostwire Studios has some excellent v1 components. The scroll pane is part
of Set 1.

http://www.ghostwire.com/

Cheers,

Ryan Hovey 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: Thursday, May 11, 2006 7:13 AM
To: Flashcoders
Subject: [Flashcoders] v1 components in Flash 2004

Can anyone point me to info about using v1 components in Flash 2004? I want
something smaller than the v2 scroll pane. It increases the swf by 500%!

Will using the MX version be a better move?

Thanks.

Adrian Lynch
http://www.halestorm.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

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

2006-05-11 Thread Adrian Lynch
Can anyone point me to info about using v1 components in Flash 2004? I want
something smaller than the v2 scroll pane. It increases the swf by 500%!

Will using the MX version be a better move?

Thanks.

Adrian Lynch
http://www.halestorm.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] Saving images server-side...

2006-05-11 Thread Glenn Mitchell

Hi,


maybe I'm misunderstanding, but are you just marquee-ing an existing  
image, cropping and resizing ?

or is there more manipulation going on ?

when I first read your post, I thought that maybe you dont need to  
send any image data back to the server at all ? just a reference to  
the original image and the cropping resizing data ... then just  
process it with gdlib or similar


but, I'm prbably wrong :)

glenn


On 11/05/2006, at 8:04 AM, ryanm wrote:

   I know we've been through this and the answer is always "you'll  
have to send it to a server-side script", but has anyone come up  
with a usable solution to modifying bitmap data and then resaving  
it over the web? I'm in a .NET envornment, using AS2/Flash 8, and I  
need to make thumbnails out of larger pictures (with user  
interaction), and then save them back to the server. I wrote an RLE  
class a while back, but it seems like there should be a more  
efficient way. Has anyone implemented anything that is fast enough  
to be usable in a business enviornment? Freebie code would be  
great, but even hints as to how such a thing was implemented in a  
usable fashion would be just as good.


ryanm

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] x, y coordinates when using Mouse Listener object arenot giving correct output

2006-05-11 Thread Vivek lakhanpal

Hi Jim,

I have tried this problem at 2-3 other places and at last it has been
confirmed as some sort of bug in Flash. we have got a way out of the
problem. You can follow the following thread:

http://www.actionscript.org/forums/showthread.php3?p=484976&posted=1#post484976

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

2006-05-11 Thread Joe Cutting

>>
The thing is that the buttons are used as sensors, meaning that we use the
buttons to detect if some block is available (i.e. item isn't removed from
his stationary) now we want to be able to reorder this four block
elements. Only I am not sure how I can detect if the order, is a expected.
Because of the continous key events.
>>
When I've done this in the past the thing to remember is that its a lot
easier if you use "Key.isDown" rather than "onKeyDown" and "onKeyUp" events.
Rumour is that this function is being removed in AS3 so get it while its hot.

Here's some very rough code to show one way of doing it
 Warning untested pseudo code written first thing in the morning 

orderHolder = new Array()
counter = 1

onEnterFrame = function() {

if (Key.isPressed(firstKey) and orderHolder(firstKey)==null) {
  orderHolder(firstKey) = counter
  counter ++
}
if (Key.isPressed(secondKey) and orderHolder(secondKey)==null) {
.
etc for all the keys
}

BTW You can do this without ripping apart a keyboard using a gadget 
called a "keyboard encoder"

Type this into google for suppliers.

Hope this helps

Joe

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

2006-05-11 Thread Andriy Panas
Hello ryanm,

Thursday, May 11, 2006, 1:04:55 AM, you wrote:


> Has anyone implemented anything that is fast enough to
> be usable in a business enviornment?

Grant Skinner was the man who wrote recently saveBMP routine which
does exactly what you are looking for, IMHO.

Here is the relevant text entry at his blog ( no source code shared ;)
http://www.gskinner.com/blog/archives/2006/03/saving_bitmapda.html


-- 
Best regards,
 Andriymailto:[EMAIL PROTECTED]

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

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


Re: [Flashcoders] Best SWF Wrapper

2006-05-11 Thread Cedric Muller

yes, I forgot that optimistic note about mProjector...


Seriously.  Stop f**king around and get mProjector.  I have coded  
against
many wrappers and mProjector by far is the best experience,  
period.  From
how the API works to the elegant and clever way it handles the  
system tray
icon (best solution I've seen) and direct communication between  
multiple
Flash windows (some others make you use LocalConnection - blech),  
etc. etc.


http://www.screentime.com/software/mprojector/

Now, if it doesn't have a feature you really need, then I guess  
it's not
going to work for you and that's unfortunate.  You'll have to  
struggle with
another wrapper that does have the feature you need but is a pain  
to work
with and is unstable, inefficient, and a pain to code against -  
three things

mProjector is absolutely not.

I've written full-blown desktop applications in mProjector that  
have run for

weeks without being shut down without a single issue.

-Steven




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Cedric Muller
Sent: Wednesday, May 10, 2006 11:49 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Best SWF Wrapper

Normally, I am not always puking on software, but
I confirm that Zinc is a bad idea and a bad solution

Cédric Muller
-
b-tween | designContent
http://www.b-tween.com

tél.   +41 22 328 8168



I faced similar issues with zinc


Thanks
Sumeet Basak
CTO
Renaissance Legal & Learning Systems Pvt. Ltd.
Cell: + 91 9223214301

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On

Behalf Of Ian

Thomas
Sent: Wednesday, May 10, 2006 1:27 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Best SWF Wrapper

I personally would avoid Zinc. Although we've used it successfully,
I've had two or three of their updates introduce bugs which

break our

products, and I've had to revert until a fix comes along.

The quality

control is just too shoddy.

Ian

On 5/9/06, eric dolecki <[EMAIL PROTECTED]> wrote:

I'm looking for some opinions on the best SWF wrapper you

think is

out
there. The ability to save out files (XML), perhaps

communicate with

dbases

(local/online), etc.

- e.dolecki

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

2006-05-11 Thread Steven Sacks
Seriously.  Stop f**king around and get mProjector.  I have coded against
many wrappers and mProjector by far is the best experience, period.  From
how the API works to the elegant and clever way it handles the system tray
icon (best solution I've seen) and direct communication between multiple
Flash windows (some others make you use LocalConnection - blech), etc. etc.

http://www.screentime.com/software/mprojector/

Now, if it doesn't have a feature you really need, then I guess it's not
going to work for you and that's unfortunate.  You'll have to struggle with
another wrapper that does have the feature you need but is a pain to work
with and is unstable, inefficient, and a pain to code against - three things
mProjector is absolutely not.

I've written full-blown desktop applications in mProjector that have run for
weeks without being shut down without a single issue.

-Steven

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Cedric Muller
> Sent: Wednesday, May 10, 2006 11:49 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Best SWF Wrapper
> 
> Normally, I am not always puking on software, but
> I confirm that Zinc is a bad idea and a bad solution
> 
> Cédric Muller
> -
> b-tween | designContent
> http://www.b-tween.com
> 
> tél.   +41 22 328 8168
> 
> 
> > I faced similar issues with zinc
> >
> > 
> > Thanks
> > Sumeet Basak
> > CTO
> > Renaissance Legal & Learning Systems Pvt. Ltd.
> > Cell: + 91 9223214301
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On 
> Behalf Of Ian  
> > Thomas
> > Sent: Wednesday, May 10, 2006 1:27 AM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] Best SWF Wrapper
> >
> > I personally would avoid Zinc. Although we've used it successfully,
> > I've had two or three of their updates introduce bugs which 
> break our
> > products, and I've had to revert until a fix comes along. 
> The quality
> > control is just too shoddy.
> >
> > Ian
> >
> > On 5/9/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >> I'm looking for some opinions on the best SWF wrapper you 
> think is  
> >> out
> >> there. The ability to save out files (XML), perhaps 
> communicate with
> > dbases
> >> (local/online), etc.
> >>
> >> - e.dolecki
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/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