Re: [Flashcoders] Version control software?

2005-12-13 Thread andar
I work in an e-learning development company, many of our designers work in a
team for a "module" project (we can consider a module as a flash movie or a
.fla)
They work at the same .fla, on a different "slide" or frame. Each slide
contained in a movieclip symbol. So what we need is a version control
software that can track the version status of each symbol, or movieclip, in
a .fla. And those designers can work concurrently at the same .fla on
different slides. Anybody know a version control software like this ? Or
maybe someone ever make this with jsfl ?

- andar -

- Original Message -
From: "Chris Hill" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, December 14, 2005 4:37 AM
Subject: Re: [Flashcoders] Version control software?


> IANAJSFLW (I am not a JSFL wizard), but perhaps you can script some
> version control hooks? What exactly do you want to happen in Flash
> concerning version control?
>
>
>
> Joeri van Oostveen wrote:
>
> >Not that I know from the Flash IDE, but when you're used to Eclipse as
> >editor, you can use CVS or SVN (I switched to SVN recently).
> >I find it a bad thing the Flash IDE hasn't got more support for
> >version control :(
> >
> >-- Joeri
> >
> >On 12/13/05, andar <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Is there any version control software that we can work directly from
Flash
> >>IDE other than Ms. VSS ?
> >>
> >>- andar -
> >>
> >>
> >>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] image manipulation in Flash

2005-12-13 Thread rishi
Hi

 

I want to do image manipulation in Flash. 

 

Problem Definition.

 

 I have a png image exported at 80% quality . I am using 4 colors in png
image say red,blue,green,orange. But as the image is generate because of
lower quality image now contains more than 4 colors, some are variations
of red, some of yellow some of gren.. In my application I want the user
to have an option to replace selective color.

How can I achieve to replace simultaneous ranges of red even if user
specified a single color red. Also keeping in mind the intention to
change only connected pixels.

 

 Any ideas are welcome.

 

Regards

Rishi

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


Re: [Flashcoders] Hyperlink to frame?

2005-12-13 Thread Mike Boutin

Very cool, thanks very much!

Heather
- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 9:35 PM
Subject: Re: [Flashcoders] Hyperlink to frame?



Or:



function dothis(str)
{
   if(str == "label")
   {
   some_mc.gotoAndPlay(3);
   }
}
- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, December 14, 2005 12:16 AM
Subject: Re: [Flashcoders] Hyperlink to frame?


sort of...  you could do:



- Original Message - 
From: "Mike Boutin" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 11:40 PM
Subject: [Flashcoders] Hyperlink to frame?


Is it possible to have a hyperlink (loaded from xml)gotoandplay a certain
frame in the movie?

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

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



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


Re: [Flashcoders] Hyperlink to frame?

2005-12-13 Thread JesterXL
Or:



function dothis(str)
{
if(str == "label")
{
some_mc.gotoAndPlay(3);
}
}
- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, December 14, 2005 12:16 AM
Subject: Re: [Flashcoders] Hyperlink to frame?


sort of...  you could do:



- Original Message - 
From: "Mike Boutin" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 11:40 PM
Subject: [Flashcoders] Hyperlink to frame?


Is it possible to have a hyperlink (loaded from xml)gotoandplay a certain 
frame in the movie?

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

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


Re: [Flashcoders] Hyperlink to frame?

2005-12-13 Thread JesterXL
sort of...  you could do:



- Original Message - 
From: "Mike Boutin" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 11:40 PM
Subject: [Flashcoders] Hyperlink to frame?


Is it possible to have a hyperlink (loaded from xml)gotoandplay a certain 
frame in the movie?

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

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


Re: [Flashcoders] Xpath and aphostrophes

2005-12-13 Thread Helmut Granda

Ok I found where the problem is, when I run this command:

XPath.selectNodes (myDoc,"/Node[Attribute = 
'"+SearchTermWithAphostrophe+"']");


It goes into an infinite loop, does anyone has any idea why the 
SearchTermWithAphostrophe would trigger the infinite loop?


TIA.
Helmut


Helmut Granda wrote:


Hello,

I have in interactive CD with a search function on it. I am using 
XPath to handle all my search funcionallity since it needs to work on 
PC and MAC.


The CD I am producing crashes everything I try to search for strings 
that have aphostrophes on them (exe - Helmut's Files).


I have tried for a couple of days to fix the issue for I am still 
having trouble, I was wondering if anyone has encounter this problem 
and found a solution for it.


Better yet, if there is a "better" alternative to XPATH, welcome. What 
I am mainly doing is a search engine for a listing.


TIA.
Helmut



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






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


Re: [Flashcoders] Version control software?

2005-12-13 Thread Weyert de Boer
Ivan of Blitz wrote about this, more info at: 
http://www.ivantodorov.com/blog/?p=28

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


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

2005-12-13 Thread Weyert de Boer

Yeah, looks nice!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Hyperlink to frame?

2005-12-13 Thread Mike Boutin
Is it possible to have a hyperlink (loaded from xml)gotoandplay a certain frame 
in the movie?

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


[Flashcoders] Fast Object Property Comparison

2005-12-13 Thread clark slater
Hey Folks,

I'm working on some code for a catalog style application and I need to
compare objects from two different sets of data. Any object may have 10+
properties and I need to know if *some* properties have identical values. So
far I have been doing this the old fashioned way but I am wondering if there
is a much faster/better way to achieve the same result.

This is my present solution, would love to hear how clever people out there
handle this:

// param filterObj determines the props and values that must match e.g.
{prop1:"a", prop2:"b"}

function compareItems (filterObj:Object) : Array {
  var resultArr = new Array();
  var itemArr = RS.items;

  for (var i = 0; i < itemArr.length; i++) {
   var propMatch = true;
   var tmpItem = itemArr[i];

   for (var j in filterObj) {
if (tmpItem[j] != filterObj[j]) {
 propMatch = false;
 break;
}
   }

   if (propMatch) {
resultArr.push (tmpItem);
   }

  }
Thanks,

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


Re: [Flashcoders] Independent contractors and unemployment-

2005-12-13 Thread Helmut Granda
Could you share what happens in your case? I have couple of friends that 
are working as contractors yet they have to show up to an office and on 
a regular schedule.


Thank You,
Helmut

Manuel Saint-Victor wrote:


Just wanted to thank everyone for the feedback so far.  I've been talking to
a lawyer a bit this afternoon to see where things will head as well.

M


On 12/13/05, Miles Thompson <[EMAIL PROTECTED]> wrote:
 


Mani,

That ruling depends on where you are working and what govt. dept you are
dealing with.

Given your situation, the Workers Compensation Board in Nova Scotia would
probably rule that although you were technically and independent, you were
not in fact, and if injured on the job you could get WCB benefits.

The Nova Scotia Department of Labour would probably consider you an
independent, but they're wishy-washy.

The Canada Revenue Agency (Federal govt.) would consider you to be a de
facto employee, ESPECIALLY if you tried to claim various expense
deductions
available to the self-employed.

Whether Employment Canada (also Federal) would see it that way is moot.

And as you likely live in the US, you have what, 50 states and the
District
of Columbia, plus your Federal Govt. If you have the money, spend $150 or
so with a labour lawyer in your state and you will get your answer really
quickly.

HTH - Miles

At 02:57 PM 12/13/2005, Manuel Saint-Victor wrote:
   


This is OT and I apologize in advnce but I think this is the population
 


that
   


would have had the most experience about this type of situation.

I had been working as a Flash developer for an elearning company for
 


about a
   


year and a half and after they stopped doing business and I went to the
unemployment  office I was informed that there is no record of me having
worked there.  When I called the company to follow up I was informed that
 


I
   


was considered an independent contractor and therefore not entitled to
 


any
   


unemployment benefits etc.

From the research that I have done it seems to me that by controlling
 


the
   


hours that I was supposed to work, when and where I did the work and
micromanaging every aspect of how the project was done that they
 


eliminated
   


they eliminated their stake at me being an independent contractor.

If anyone has had any experience or knowledge about this type of
 


situation
   


and where I stand and how I should go about handling this situation I
 


would
   


greatly appreciate any advice about this.

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


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

   


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




 



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


Re: [Flashcoders] Flexbuilder 2: how can I hide subcontrols oftheRichTextEditor?

2005-12-13 Thread JesterXL
Right idea, wrong event.  Use creationComplete (another might work, but this 
is the safest):





- Original Message - 
From: "Tom Bray" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 8:36 PM
Subject: Re: [Flashcoders] Flexbuilder 2: how can I hide subcontrols 
oftheRichTextEditor?


Thanks, Jesse.  Now, what if I want to hide those mofos automagically
when the app loads so the user never sees them?  I've been trying to
call the hideMofos() method like this:



But I get a runtime error that makes me think I need to wait for those
subcontrols to initialize. Correct?

-Tom

On 12/13/05, JesterXL <[EMAIL PROTECTED]> wrote:
> This works:
>
> 
>
> http://www.macromedia.com/2005/mxml"; xmlns="*">
>
> 
>
> 
>
> 
>
> 
> label="Hide Buttons"
>
> click="hideMofos()" />
>
> 
> id="my_rte"
>
> width="100%" height="100%" />
>
> 
>
>
>
> - Original Message -
> From: "Tom Bray" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Tuesday, December 13, 2005 7:42 PM
> Subject: [Flashcoders] Flexbuilder 2: how can I hide subcontrols of
> theRichTextEditor?
>
>
> I'd like to hide the font chooser, align buttons, and the link text
> field in my RTE component.  My first attempt was to set the _visible
> property of the linkTextInput subcontrol to false in the RTE's
> initialize event handler.  This throws errors at runtime and they
> aren't particularly helpful at figuring out what the problem is.
>
> Thanks,
>
> Tom
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

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


Re: [Flashcoders] Flexbuilder 2: how can I hide subcontrols of theRichTextEditor?

2005-12-13 Thread Tom Bray
Thanks, Jesse.  Now, what if I want to hide those mofos automagically
when the app loads so the user never sees them?  I've been trying to
call the hideMofos() method like this:



But I get a runtime error that makes me think I need to wait for those
subcontrols to initialize. Correct?

-Tom

On 12/13/05, JesterXL <[EMAIL PROTECTED]> wrote:
> This works:
>
> 
>
> http://www.macromedia.com/2005/mxml"; xmlns="*">
>
> 
>
> 
>
> 
>
> 
> label="Hide Buttons"
>
> click="hideMofos()" />
>
> 
> id="my_rte"
>
> width="100%" height="100%" />
>
> 
>
>
>
> - Original Message -
> From: "Tom Bray" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Tuesday, December 13, 2005 7:42 PM
> Subject: [Flashcoders] Flexbuilder 2: how can I hide subcontrols of
> theRichTextEditor?
>
>
> I'd like to hide the font chooser, align buttons, and the link text
> field in my RTE component.  My first attempt was to set the _visible
> property of the linkTextInput subcontrol to false in the RTE's
> initialize event handler.  This throws errors at runtime and they
> aren't particularly helpful at figuring out what the problem is.
>
> Thanks,
>
> Tom
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flexbuilder 2: how can I hide subcontrols of theRichTextEditor?

2005-12-13 Thread JesterXL
This works:



http://www.macromedia.com/2005/mxml"; xmlns="*">















- Original Message - 
From: "Tom Bray" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 7:42 PM
Subject: [Flashcoders] Flexbuilder 2: how can I hide subcontrols of 
theRichTextEditor?


I'd like to hide the font chooser, align buttons, and the link text
field in my RTE component.  My first attempt was to set the _visible
property of the linkTextInput subcontrol to false in the RTE's
initialize event handler.  This throws errors at runtime and they
aren't particularly helpful at figuring out what the problem is.

Thanks,

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

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


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

2005-12-13 Thread Jason Cunliffe

Hey Tyler

Good job. Well done. Thanks :-)

Jason

- Original Message - 
From: "Tyler Wright" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, December 14, 2005 12:56 AM
Subject: Re: [Flashcoders] Who wants MIDI in the Flash Player?


This conversation has now been posted to http://codext.xtyler.com/code/2

I've posted a summary along with a direct quote of the entire conversation
which I hope will continue to receive contributions.  If everyone approves,
I'll send it off to MM, though I know they also keep up in the Flashcoders
list and have perhaps already most of this.  You've been great!  Here's to
hoping (I could really use these features next spring when 8.5 releases).

Tyler


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


[Flashcoders] Flexbuilder 2: how can I hide subcontrols of the RichTextEditor?

2005-12-13 Thread Tom Bray
I'd like to hide the font chooser, align buttons, and the link text
field in my RTE component.  My first attempt was to set the _visible
property of the linkTextInput subcontrol to false in the RTE's
initialize event handler.  This throws errors at runtime and they
aren't particularly helpful at figuring out what the problem is.

Thanks,

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


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

2005-12-13 Thread Tyler Wright
This conversation has now been posted to http://codext.xtyler.com/code/2

I've posted a summary along with a direct quote of the entire conversation
which I hope will continue to receive contributions.  If everyone approves,
I'll send it off to MM, though I know they also keep up in the Flashcoders
list and have perhaps already most of this.  You've been great!  Here's to
hoping (I could really use these features next spring when 8.5 releases).

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


[Flashcoders] Xpath and aphostrophes

2005-12-13 Thread Helmut Granda

Hello,

I have in interactive CD with a search function on it. I am using XPath 
to handle all my search funcionallity since it needs to work on PC and MAC.


The CD I am producing crashes everything I try to search for strings 
that have aphostrophes on them (exe - Helmut's Files).


I have tried for a couple of days to fix the issue for I am still having 
trouble, I was wondering if anyone has encounter this problem and found 
a solution for it.


Better yet, if there is a "better" alternative to XPATH, welcome. What I 
am mainly doing is a search engine for a listing.


TIA.
Helmut



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


Re: [Flashcoders] The Amazing infinite call stack, part 2

2005-12-13 Thread Andy Makely
You might look into using a Finite State Machine.  They are a great way to
do command sequencing, and are incredibly useful in game programming for
lots of things, from updating the UI to building enemy AI behaviors.
There's some good Flash-based FSM info at http://www.flashsim.com .


--
andy makely


On 12/13/05, John Mark Hawley <[EMAIL PROTECTED]> wrote:
>
> A for loop wouldn't give we any way to pause for input, or to wait and let
> the UI animate to reflect the last command's doings, though.
>
> I need a way to avoid recursion, not use it. Ideally:
>
> 1. advance to next command.
> 2. execute command.
> 3. Wait for command to finish.
> 4. repeat 1-3
>
> in some way that lets step 1 pop off the call stack while waiting for step
> 3.  There has to be an example floating around somewhere.
>
> -Mark
>
> --
> John Mark Hawley
> The Nilbog Group
> 773.968.4980 (cell)
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2005-12-13 Thread Mike Boutin
I delayed a clip on stage.  Using a button to stop the tween & delay 
before it happens:  If you leave it, it will play after the delay, if 
you click the button before the delay, the tween never happens.  Hope 
this helps.


#include "lmc_tween.as"
clip.tween("_x", clip._x+100,2,"easeout",3);


myButton.onRelease = function(){  
   clip.stopTween();

}


Cinetryx wrote:


yes, i want.

Mike Boutin a écrit :

So you are calling the tween, but you want to delete it before the 
delay happens?


Cinetryx wrote:


When you write this :

my_mc.tween(property, pEnd, seconds, animType, delay, callback, 
extra1, extra2)


you can set delay before the start tween function .

But my problem is how to delete this delay.

Mike Boutin a écrit :

How exactly are you "delaying" the tween?  the tween class doesnt 
have a "delay" in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance 
when i use a tween on other instance, but i don't manage it. can 
anybody help me ? thank


Ps : i'm French, so sorry for my english

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



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





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



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





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



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





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



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


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

2005-12-13 Thread Cinetryx

yes, i want.

Mike Boutin a écrit :

So you are calling the tween, but you want to delete it before the 
delay happens?


Cinetryx wrote:


When you write this :

my_mc.tween(property, pEnd, seconds, animType, delay, callback, 
extra1, extra2)


you can set delay before the start tween function .

But my problem is how to delete this delay.

Mike Boutin a écrit :

How exactly are you "delaying" the tween?  the tween class doesnt 
have a "delay" in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance when 
i use a tween on other instance, but i don't manage it. can 
anybody help me ? thank


Ps : i'm French, so sorry for my english

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



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





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



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





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



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





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


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

2005-12-13 Thread Mike Boutin
So you are calling the tween, but you want to delete it before the delay 
happens?


Cinetryx wrote:


When you write this :

my_mc.tween(property, pEnd, seconds, animType, delay, callback, 
extra1, extra2)


you can set delay before the start tween function .

But my problem is how to delete this delay.

Mike Boutin a écrit :

How exactly are you "delaying" the tween?  the tween class doesnt 
have a "delay" in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance when 
i use a tween on other instance, but i don't manage it. can 
anybody help me ? thank


Ps : i'm French, so sorry for my english

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



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





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



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





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



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


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

2005-12-13 Thread Cinetryx

When you write this :

my_mc.tween(property, pEnd, seconds, animType, delay, callback, extra1, 
extra2)


you can set delay before the start tween function .

But my problem is how to delete this delay.

Mike Boutin a écrit :

How exactly are you "delaying" the tween?  the tween class doesnt have 
a "delay" in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance when i 
use a tween on other instance, but i don't manage it. can anybody 
help me ? thank


Ps : i'm French, so sorry for my english

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



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





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



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





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


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

2005-12-13 Thread Mike Boutin
How exactly are you "delaying" the tween?  the tween class doesnt have a 
"delay" in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance when i 
use a tween on other instance, but i don't manage it. can anybody 
help me ? thank


Ps : i'm French, so sorry for my english

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



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





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



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


Re: [Flashcoders] Phantoming in List Component

2005-12-13 Thread Paul Evans

On 13 Dec 2005, at 18:22, John Giotta wrote:

 Basically, an image will appear at the bottom of the List
that I didn't add from the dataprovider.


it this image one of your icons or something totally unrelated?

if an icon, without having traced your code...

You need to deal with setValue being given value in the case where  
there is no detail to be displayed in the cell, and set the  
renderer's child objects to whatever you want their empty state to be.


My own approach use something like...

public function setValue( sLabel:String, oItem:Object,  
sState:String ):Void

{
  if( oItem.icon != undefined )
  {
  // we have an item to display in this cell
  // load icon, set text etc.
  }
  else
  {
  // The cell should be empty
  // set child objects to their empty state,
  // i.e. remove the icon if one was rendered last time
  // and clear the text
  }
}

check this posting...

http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2003-September/ 
087908.html


and particularly this quote...

"Remember that cells are constantly recycled with new values. Every
time setValue is called, be prepared to clear whatever might already  
be in

the cell (from the last value put in it) and even handle being passed
undefined values (for blank items)."

hth

Paul
creative-cognition Ltd
http://www.creative-cognition.co.uk/


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


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

2005-12-13 Thread Cinetryx

stopAllTween delete the tween event but  not the delay before the tween

Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the instances 
that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i want 
to delete a delay and the tween to on previous instance when i use a 
tween on other instance, but i don't manage it. can anybody help me ? 
thank


Ps : i'm French, so sorry for my english

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



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





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


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

2005-12-13 Thread Mike Boutin
movieclip.stopAllTweens()  will stop all tweening on all the instances 
that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i want 
to delete a delay and the tween to on previous instance when i use a 
tween on other instance, but i don't manage it. can anybody help me ? 
thank


Ps : i'm French, so sorry for my english

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



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


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

2005-12-13 Thread [EMAIL PROTECTED]

Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i want to 
delete a delay and the tween to on previous instance when i use a tween 
on other instance, but i don't manage it. can anybody help me ? thank


Ps : i'm French, so sorry for my english

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


[Flashcoders] button action script

2005-12-13 Thread Ben Aqua
I have action scripts on menu buttons, some of which on release load  
an external FLV movie. The other buttons are simple gotoAndStop  
actions set to go to specific frames in the main scene to load a  
movieclip.


The latter buttons described above, for some reason, make the other  
FLV loading buttons inactive. Here is the file I'm working with:


http://www.broadbahn.net/flash/

If you click on Demo or Contact, clicking every button except Home  
does nothing. Anybody know why this may be?


here is the code I have right now for those buttons:



on (release) {
_root.gotoAndStop("19");
}



thanks
Ben

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


[Flashcoders] Cancel Keypress

2005-12-13 Thread Judah Frangipane
I'm trying to restore the previous text in a text field if a user 
presses the Escape key. I set up a listener for the key down event. I 
have got it to restore the previous value but I cannot find a way to 
cancel the escape key from entering a "" symbol. You can see this 
symbol by adding a TextInput to the stage and pressing the ESC key in it.


   // here is my listener function
   function keyDownEvent() {
   // get key code
   var key = Key.getCode();
   var prevText:String = previousText;
  
   // if user presses key then

   if (key == Key.ESCAPE) {
   trace(_name + " ESCAPE key pressed")
   trace("prevText="+prevText)
   // restore previous dudes text
   setText(prevText);
   }
   }

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


RE: [Flashcoders] getURL

2005-12-13 Thread Keith DiMatteo
I found that manually creating the URL Query string was the best way to
solve this, especially since some of the name-value-pairs I needed to
pass were URLs with Query strings.

Since you're using GET you can just:

url = "http://foo.com?";;
nvp1 = "bar=baz&";
getURL(url + nvp1, "GET");


HTH,
Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans
Wichman
Sent: Monday, December 12, 2005 8:35 AM
To: Flashcoders mailing list; Flashcoders mailing list
Subject: Re: [Flashcoders] getURL

Hi,
i looked into the settings manager, but couldnt find it.
Any ideas for the workaround?
greetz
Hans

At 02:02 PM 12/12/2005, Mick G wrote:
>This is a new security setting in Flash 8 - drives me crazy. I rolled 
>back to Flash 7 in one of my browsers. If you have Flash 8, there are 
>workarounds.
>
>http://www.macromedia.com/support/documentation/en/flashplayer/help/set
>tings_manager.html
>
>The settings manager being an online app is so weird. Makes no sense to
me.
>
>
>On 12/12/05, Hans Wichman <[EMAIL PROTECTED]> wrote:
> >
> > Hi list,
> >
> > it seems when playing content in Flash 8, using 
> > getUrl("myFIle.html", "_blank", "GET") does no longer append 
> > variables to the given file when run locally.
> > Can anyone confirm this and does anyone have a workaround?
> >
> > greetz
> > Hans
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>___
>Flashcoders mailing list
>Flashcoders@chattyfig.figleaf.com
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] ComboBox change event

2005-12-13 Thread andrew . lucking




> I've looked at the itemRollOver event, but that only gets sent if the
user
> releases the mouse between opening the comboBox and making the selection.
> I also tried "unsetting" the list selection, but it won't let you do
this.


The close event won't work for you?

A.




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


Re: [Flashcoders] Version control software?

2005-12-13 Thread Chris Hill
IANAJSFLW (I am not a JSFL wizard), but perhaps you can script some 
version control hooks? What exactly do you want to happen in Flash 
concerning version control?




Joeri van Oostveen wrote:


Not that I know from the Flash IDE, but when you're used to Eclipse as
editor, you can use CVS or SVN (I switched to SVN recently).
I find it a bad thing the Flash IDE hasn't got more support for
version control :(

-- Joeri

On 12/13/05, andar <[EMAIL PROTECTED]> wrote:
 


Is there any version control software that we can work directly from Flash
IDE other than Ms. VSS ?

- andar -

   



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


Re: [Flashcoders] Loading Xml from Flash over Http

2005-12-13 Thread Manuel Saint-Victor
I had something similar happen and it turned out that when I was ftp'ing the
files they were sitting in a www.mysite version of the domain- which
apparently flash considers to not  be the same as the non www  (mysite.com )
version.  What i finally got to work was a cross-domain file listing the two
versions of the url as well as the ip that I was using for ftp.  That might
have been overkill but it made it work.


M


On 12/13/05, Brent Gore <[EMAIL PROTECTED]> wrote:
>
> I have an xml file that is loaded into a swf, playing in a browser.  My
> question is about the url to the xml file.  If I specify an absolute url
> ("http://mydomain.com/xml/file.xml";) I have no problems but when I try
> and use a relative url ("xml/file.xml") it fails to load.  The rel path
> is correct.  Running the swf in any environment other than over http
> works correctly with the rel url.  I've also added a crossdomain.xml
> which allows any access, and it resides with the swf.
>
> For this particular project it is crucial that the url be relative and
> not absolute.  Is this a limitation in Flash, or am I missing something?
> Are there any other options than using an absolute url?
>
> Thanks for your help!
>
> Brent
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Independent contractors and unemployment-

2005-12-13 Thread Manuel Saint-Victor
Just wanted to thank everyone for the feedback so far.  I've been talking to
a lawyer a bit this afternoon to see where things will head as well.

M


On 12/13/05, Miles Thompson <[EMAIL PROTECTED]> wrote:
>
>
> Mani,
>
> That ruling depends on where you are working and what govt. dept you are
> dealing with.
>
> Given your situation, the Workers Compensation Board in Nova Scotia would
> probably rule that although you were technically and independent, you were
> not in fact, and if injured on the job you could get WCB benefits.
>
> The Nova Scotia Department of Labour would probably consider you an
> independent, but they're wishy-washy.
>
> The Canada Revenue Agency (Federal govt.) would consider you to be a de
> facto employee, ESPECIALLY if you tried to claim various expense
> deductions
> available to the self-employed.
>
> Whether Employment Canada (also Federal) would see it that way is moot.
>
> And as you likely live in the US, you have what, 50 states and the
> District
> of Columbia, plus your Federal Govt. If you have the money, spend $150 or
> so with a labour lawyer in your state and you will get your answer really
> quickly.
>
> HTH - Miles
>
> At 02:57 PM 12/13/2005, Manuel Saint-Victor wrote:
> >This is OT and I apologize in advnce but I think this is the population
> that
> >would have had the most experience about this type of situation.
> >
> >I had been working as a Flash developer for an elearning company for
> about a
> >year and a half and after they stopped doing business and I went to the
> >unemployment  office I was informed that there is no record of me having
> >worked there.  When I called the company to follow up I was informed that
> I
> >was considered an independent contractor and therefore not entitled to
> any
> >unemployment benefits etc.
> > >From the research that I have done it seems to me that by controlling
> the
> >hours that I was supposed to work, when and where I did the work and
> >micromanaging every aspect of how the project was done that they
> eliminated
> >they eliminated their stake at me being an independent contractor.
> >
> >If anyone has had any experience or knowledge about this type of
> situation
> >and where I stand and how I should go about handling this situation I
> would
> >greatly appreciate any advice about this.
> >
> >Thanks,
> >Mani
> >___
> >Flashcoders mailing list
> >Flashcoders@chattyfig.figleaf.com
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Independent contractors and unemployment-

2005-12-13 Thread Miles Thompson


Mani,

That ruling depends on where you are working and what govt. dept you are 
dealing with.


Given your situation, the Workers Compensation Board in Nova Scotia would 
probably rule that although you were technically and independent, you were 
not in fact, and if injured on the job you could get WCB benefits.


The Nova Scotia Department of Labour would probably consider you an 
independent, but they're wishy-washy.


The Canada Revenue Agency (Federal govt.) would consider you to be a de 
facto employee, ESPECIALLY if you tried to claim various expense deductions 
available to the self-employed.


Whether Employment Canada (also Federal) would see it that way is moot.

And as you likely live in the US, you have what, 50 states and the District 
of Columbia, plus your Federal Govt. If you have the money, spend $150 or 
so with a labour lawyer in your state and you will get your answer really 
quickly.


HTH - Miles

At 02:57 PM 12/13/2005, Manuel Saint-Victor wrote:

This is OT and I apologize in advnce but I think this is the population that
would have had the most experience about this type of situation.

I had been working as a Flash developer for an elearning company for about a
year and a half and after they stopped doing business and I went to the
unemployment  office I was informed that there is no record of me having
worked there.  When I called the company to follow up I was informed that I
was considered an independent contractor and therefore not entitled to any
unemployment benefits etc.
>From the research that I have done it seems to me that by controlling the
hours that I was supposed to work, when and where I did the work and
micromanaging every aspect of how the project was done that they eliminated
they eliminated their stake at me being an independent contractor.

If anyone has had any experience or knowledge about this type of situation
and where I stand and how I should go about handling this situation I would
greatly appreciate any advice about this.

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



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


RE: [Flashcoders] Independent contractors and unemployment-

2005-12-13 Thread Ryan Potter
That is the case if they filed correctly.  There are rules for when an
employer has to give you a w2 and not a 1099.  check out www.irs.gov.

Here is a quote from the irs:

"The general rule is that an individual is an independent
contractor if you, the employer, have the right to control or direct
only the result of the work and not the means and methods of
accomplishing the result." (page 59, p1066)

Looks like you may have a case.

Here is the tax code that defines what an employee is (Publication 15-A
Employers Supplemental Tax Guide):
http://www.irs.gov/publications/p15a/ar02.html#d0e338

Here is a very useful publication as well (page 59):
http://www.irs.gov/pub/irs-pdf/p1066.pdf


Here are the instructions for 1099 and w2.
http://www.irs.gov/pub/irs-pdf/i1099gi.pdf
http://www.irs.gov/pub/irs-pdf/iw2w3.pdf





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Farid
Shahlavi
Sent: Tuesday, December 13, 2005 12:21 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Independent contractors and unemployment-

It basically boils down to whether you were a 1099 or
a W2 employee, if they gave you a W2 at the end of the
year and you worked full-time hours, then you are
entitled to unemployment benefits unless you were
fired for whatever reason that they can dispute your
filing.

If you received a 1099, then you are considered a self
employed consultant even if you worked full-time and
exclusively for that one company. All this is of
course assuming that you were working here in the US.

HTH

Farid

--- Manuel Saint-Victor <[EMAIL PROTECTED]>
wrote:

> This is OT and I apologize in advnce but I think
> this is the population that
> would have had the most experience about this type
> of situation.
> 
> I had been working as a Flash developer for an
> elearning company for about a
> year and a half and after they stopped doing
> business and I went to the
> unemployment  office I was informed that there is no
> record of me having
> worked there.  When I called the company to follow
> up I was informed that I
> was considered an independent contractor and
> therefore not entitled to any
> unemployment benefits etc.
> >From the research that I have done it seems to me
> that by controlling the
> hours that I was supposed to work, when and where I
> did the work and
> micromanaging every aspect of how the project was
> done that they eliminated
> they eliminated their stake at me being an
> independent contractor.
> 
> If anyone has had any experience or knowledge about
> this type of situation
> and where I stand and how I should go about handling
> this situation I would
> greatly appreciate any advice about this.
> 
> Thanks,
> Mani
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 

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


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


Re: [Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread John Grden
Thanks Anggie!

John

On 12/13/05, Anggie Bratadinata <[EMAIL PROTECTED]> wrote:
>
> John Grden wrote:
> > It's one thing to crash, it's quite another hang on FOREVER trying to
> kill
> > the damn process off!!!
> >
> > Anyone else getting crashes with FLash8 and having it take forever to
> kill
> > off the process?  Is there some magic bullet I can use with XP (dos
> > command?) that will nail the process without waiting for the freakin'
> dump?
> >
> > this version by far, has already crashed many more times than 7 ever did
> on
> > me.  G.
> So I'm not the only one! Haha!
> It crashes too often when I'm doing my AMFPHP project ... :(
> What a PITA!
>
> Funny, MX2004 doesn't stink that much
>
> I use Process Explorer ( http://www.sysinternals.com ) to kill it. It's
> a freeware. A nice one.
>
> --
> Anggie Bratadinata
> Web|Graphic|Flash
> Jl. Raya Langsep 21
> Malang - East Java
> I N D O N E S I A
> http://www.nextrand.co.id
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


Re: [Flashcoders] ComboBox change event

2005-12-13 Thread Miles Thompson

At 01:53 PM 12/13/2005, Chris Bare wrote:

The V2 component ComboBox does not send a change event if you select the value
that is already select. I am using a combo box to set the font size in a
textField. In my case, the user may have selected several characters of
different font sizes. I can't select multiple sizes in the combo box, so I
just select the size of the first character. Now if the user wants to set all
the characters to the size of the first, they can't.
I've looked at the itemRollOver event, but that only gets sent if the user
releases the mouse between opening the comboBox and making the selection.
I also tried "unsetting" the list selection, but it won't let you do this.

I have seen this work in the Flash Text Editor, but can't figure out what they
are doing. Any suggestions?
--


When you say V2 of the combo box, what version are you referring to? I just 
moved an app from MX to MX 2004 (Version 7) and had to change the "change" 
for a combo box with a list of dates to this:


var cboIssueDatesLstnr:Object = new Object();

cboIssueDatesLstnr.change = function(eventObj){
var eventSource = eventObj.target;
var theSelectedItem = eventSource.selectedItem;
var theSelectedItemLabel = theSelectedItem.label;
 getStories( theSelectedItem.data );
 BkIssPrntBtn( theSelectedItem.data, _root.lOKtoPrint );
 _root.dtDate = theSelectedItem.data ;
}

More to the point, does the textField allow multiple font sizes, if it is 
not HTMLText?


Don't know if I've been helpful - Miles 



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


Re: [Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread John Grden
Yeah, I know about killing dumprep.exe, but that doesn't help, it just sits
there ;(

Sorry for the rant earlier ;)  I'm calm now.

On 12/13/05, Karthik <[EMAIL PROTECTED]> wrote:
>
> You can usually kill dumprep.exe to move things along.. Basically just
> sort the task list based on CPU usage and kill the bugger that's
> hogging all the limelight :P
>
> hth
> -K
>
> On 14/12/05, Jim Kremens <[EMAIL PROTECTED]> wrote:
> > I've observed the same with the 8 IDE.  I hesitated to say anything, as
> it
> > varies from one machine to another.  It rarely crashes on my laptop, but
> > hangs ALL the time on my machine at work.
> >
> > It's annoying that you can't kill the process...
> >
> > Jim Kremens
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


RE: [Flashcoders] ComboBox change event

2005-12-13 Thread Robert Chyko
This may not be the answer you are looking for, but I'll say it
anyway...  Why not just set the comboBox to a blank value when the user
selects text of multiple font sizes?  Then as long as you are doing some
type of validation this ensures that they have to change the value of
the comboBox.

This, I believe, is how most applications handle such a scenario anyway.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Bare
Sent: Tuesday, December 13, 2005 12:54 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] ComboBox change event


The V2 component ComboBox does not send a change event if you select the
value
that is already select. I am using a combo box to set the font size in a
textField. In my case, the user may have selected several characters of
different font sizes. I can't select multiple sizes in the combo box, so
I
just select the size of the first character. Now if the user wants to
set all
the characters to the size of the first, they can't.
I've looked at the itemRollOver event, but that only gets sent if the
user
releases the mouse between opening the comboBox and making the
selection.
I also tried "unsetting" the list selection, but it won't let you do
this.

I have seen this work in the Flash Text Editor, but can't figure out
what they
are doing. Any suggestions?
-- 
Chris Bare
[EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread Anggie Bratadinata

John Grden wrote:

It's one thing to crash, it's quite another hang on FOREVER trying to kill
the damn process off!!!

Anyone else getting crashes with FLash8 and having it take forever to kill
off the process?  Is there some magic bullet I can use with XP (dos
command?) that will nail the process without waiting for the freakin' dump?

this version by far, has already crashed many more times than 7 ever did on
me.  G.

So I'm not the only one! Haha!
It crashes too often when I'm doing my AMFPHP project ... :(
What a PITA!

Funny, MX2004 doesn't stink that much

I use Process Explorer ( http://www.sysinternals.com ) to kill it. It's 
a freeware. A nice one.


--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://www.nextrand.co.id
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Amazing infinite call stack, part 2

2005-12-13 Thread JesterXL
There are a few.  From the enterprise level Cairngorm, a framework for Flex, 
to ARP, the framework for Flash & Flex.  Both use the Command pattern. 
Their goal is to make the controller easier to maintain, and break out 
significant chunks of controller code into portable classes.

Additionally, I created a WebService queue 2 years ago for handling multiple 
webservices since debugging 14 going on at one time was too hard:
http://dev.jessewarden.com/flash/actionscript/WebServiceClass.as
http://dev.jessewarden.com/flash/actionscript/ResponderClass.as
http://dev.jessewarden.com/flash/actionscript/WebServiceQueueClass.as

Additionally, here's an example how to spread out loops; not as OOP as 
commands, but it works:
http://www.jessewarden.com/archives/2005/05/flex_flash_refr.html

- Original Message - 
From: "Chris Wilson" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Tuesday, December 13, 2005 2:05 PM
Subject: RE: [Flashcoders] The Amazing infinite call stack, part 2


Since Flash is event-driven, how about setting it up in such a way that
whatever part of your script adds the command to the queue dispatches an
event to a listener that then executes that command?  That way you avoid
recursion, and you also avoid a for() loop that's outside the internal Flash
event loop.

Unfortunately, my ActionScript is not proficient enough to know which
classes/methods you need to use to interact with Flash's native event queue,
but I'm sure someone else on the list could chime in with the right info.

HTH,

-Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Mark
Hawley
Sent: Tuesday, December 13, 2005 1:54 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] The Amazing infinite call stack, part 2

A for loop wouldn't give we any way to pause for input, or to wait and let
the UI animate to reflect the last command's doings, though.

I need a way to avoid recursion, not use it. Ideally:

1. advance to next command.
2. execute command.
3. Wait for command to finish.
4. repeat 1-3

in some way that lets step 1 pop off the call stack while waiting for step
3.  There has to be an example floating around somewhere.

-Mark

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

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


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

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


Re: [Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread Karthik
You can usually kill dumprep.exe to move things along.. Basically just
sort the task list based on CPU usage and kill the bugger that's
hogging all the limelight :P

hth
-K

On 14/12/05, Jim Kremens <[EMAIL PROTECTED]> wrote:
> I've observed the same with the 8 IDE.  I hesitated to say anything, as it
> varies from one machine to another.  It rarely crashes on my laptop, but
> hangs ALL the time on my machine at work.
>
> It's annoying that you can't kill the process...
>
> Jim Kremens
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Independent contractors and unemployment-

2005-12-13 Thread Farid Shahlavi
It basically boils down to whether you were a 1099 or
a W2 employee, if they gave you a W2 at the end of the
year and you worked full-time hours, then you are
entitled to unemployment benefits unless you were
fired for whatever reason that they can dispute your
filing.

If you received a 1099, then you are considered a self
employed consultant even if you worked full-time and
exclusively for that one company. All this is of
course assuming that you were working here in the US.

HTH

Farid

--- Manuel Saint-Victor <[EMAIL PROTECTED]>
wrote:

> This is OT and I apologize in advnce but I think
> this is the population that
> would have had the most experience about this type
> of situation.
> 
> I had been working as a Flash developer for an
> elearning company for about a
> year and a half and after they stopped doing
> business and I went to the
> unemployment  office I was informed that there is no
> record of me having
> worked there.  When I called the company to follow
> up I was informed that I
> was considered an independent contractor and
> therefore not entitled to any
> unemployment benefits etc.
> >From the research that I have done it seems to me
> that by controlling the
> hours that I was supposed to work, when and where I
> did the work and
> micromanaging every aspect of how the project was
> done that they eliminated
> they eliminated their stake at me being an
> independent contractor.
> 
> If anyone has had any experience or knowledge about
> this type of situation
> and where I stand and how I should go about handling
> this situation I would
> greatly appreciate any advice about this.
> 
> Thanks,
> Mani
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 

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


[Flashcoders] custom trace

2005-12-13 Thread Boon Chew

  Pardon me if this has been asked before, is there a way to override the  
trace( ) function?  I have inherited a body of code, short of  doing global and 
replace to make it call my custom trace, I would like  to "reroute" the trace( 
) call to my own implementation.  But I am  not sure if trace is a function 
intrinsic to the AVM?  Is that  possible?
  
  - boon
  


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


RE: [Flashcoders] The Amazing infinite call stack, part 2

2005-12-13 Thread Chris Wilson
Since Flash is event-driven, how about setting it up in such a way that
whatever part of your script adds the command to the queue dispatches an
event to a listener that then executes that command?  That way you avoid
recursion, and you also avoid a for() loop that's outside the internal Flash
event loop.

Unfortunately, my ActionScript is not proficient enough to know which
classes/methods you need to use to interact with Flash's native event queue,
but I'm sure someone else on the list could chime in with the right info.

HTH,

-Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Mark
Hawley
Sent: Tuesday, December 13, 2005 1:54 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] The Amazing infinite call stack, part 2

A for loop wouldn't give we any way to pause for input, or to wait and let
the UI animate to reflect the last command's doings, though.

I need a way to avoid recursion, not use it. Ideally:

1. advance to next command.
2. execute command.
3. Wait for command to finish.
4. repeat 1-3

in some way that lets step 1 pop off the call stack while waiting for step
3.  There has to be an example floating around somewhere.

-Mark

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

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


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


RE: [Flashcoders] Independent contractors and unemployment-

2005-12-13 Thread Merrill, Jason
That sucks - do you have any recollection or documentation of the
supposed "contract" you signed with them?  Contractors usually sign
contracts - if you have any $, you may consider hiring an attorney.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com



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


[Flashcoders] Independent contractors and unemployment-

2005-12-13 Thread Manuel Saint-Victor
This is OT and I apologize in advnce but I think this is the population that
would have had the most experience about this type of situation.

I had been working as a Flash developer for an elearning company for about a
year and a half and after they stopped doing business and I went to the
unemployment  office I was informed that there is no record of me having
worked there.  When I called the company to follow up I was informed that I
was considered an independent contractor and therefore not entitled to any
unemployment benefits etc.
>From the research that I have done it seems to me that by controlling the
hours that I was supposed to work, when and where I did the work and
micromanaging every aspect of how the project was done that they eliminated
they eliminated their stake at me being an independent contractor.

If anyone has had any experience or knowledge about this type of situation
and where I stand and how I should go about handling this situation I would
greatly appreciate any advice about this.

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


[Flashcoders] The Amazing infinite call stack, part 2

2005-12-13 Thread John Mark Hawley
A for loop wouldn't give we any way to pause for input, or to wait and let the 
UI animate to reflect the last command's doings, though.

I need a way to avoid recursion, not use it. Ideally:

1. advance to next command.
2. execute command.
3. Wait for command to finish.
4. repeat 1-3

in some way that lets step 1 pop off the call stack while waiting for step 3.  
There has to be an example floating around somewhere.

-Mark

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

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


Re: [Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread Jim Kremens
I've observed the same with the 8 IDE.  I hesitated to say anything, as it
varies from one machine to another.  It rarely crashes on my laptop, but
hangs ALL the time on my machine at work.

It's annoying that you can't kill the process...

Jim Kremens


On 12/13/05, John Giotta <[EMAIL PROTECTED]> wrote:
>
> I can't say that I have, but I get what you describe from allot of
> applications not just Flash 8. :-p
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread John Giotta
I can't say that I have, but I get what you describe from allot of
applications not just Flash 8. :-p
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Phantoming in List Component

2005-12-13 Thread John Giotta
I created a custom cell renderer for the List component to allow icons
to be external thumbnails. However, I'm getting some strange
phantoming. Basically, an image will appear at the bottom of the List
that I didn't add from the dataprovider.

private var iconLoader:MovieClipLoader;
private var _tLabel:TextField;
private var _mIcon:MovieClip;
private var iconLoaded:Boolean = false;
private var owner:MovieClip;
private var listOwner;
private var getCellIndex:Function;
private var getDataLabel:Function;
private var _style:TextFormat;
private var _borderMC_:MovieClip;
public function PlayListCellRender() {
iconLoader = new MovieClipLoader();
iconLoader.addListener(this);
createEmptyMovieClip("_borderMC_", 1);
createEmptyMovieClip("_mIcon", 2);
createTextField("_tLabel", 3, 0, 0, 200, 20);
_tLabel.autoSize = "left";
_tLabel.selectable = false;
}
private function onLoadInit (target:MovieClip) {
iconLoaded = true;
_tLabel._x = target._width;
_tLabel.setTextFormat(_style);
_tLabel.setNewTextFormat(_style);
}
public function getPreferredWidth():Number {
return owner.__width;
}
public function getPreferredHeight():Number {
return owner.__height;
}
public function setSize(nWidth:Number, nHeight:Number):Void {}
public function setValue(sLabel:String, oItem:Object, 
sState:String):Void {
_tLabel.text = sLabel;
var nIndex:Number = getCellIndex().itemIndex;
var sIcon:String = 
listOwner.dataProvider.getItemAt(nIndex).icon;
_style = listOwner._getTextFormat();
_style.bold = true;
if (sIcon) {
if (!iconLoaded) iconLoader.loadClip(sIcon, _mIcon);
} else {
_tLabel.setTextFormat(listOwner._getTextFormat());
_tLabel.setNewTextFormat(listOwner._getTextFormat());
}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread John Grden
It's one thing to crash, it's quite another hang on FOREVER trying to kill
the damn process off!!!

Anyone else getting crashes with FLash8 and having it take forever to kill
off the process?  Is there some magic bullet I can use with XP (dos
command?) that will nail the process without waiting for the freakin' dump?

this version by far, has already crashed many more times than 7 ever did on
me.  G.

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


Re: [Flashcoders] flash and ASP.NET (ryanm)

2005-12-13 Thread ryanm
Interesting approach, Ryan. So, the big advantage here is cost (free!) 
with

the big disadvantage being that we're limited to string data types on the
return. Thanks for sharing.

   The other way is to use the XML object. You can put all of your return 
data in XML and compress it. XML is extremely redundant, so it compresses 
very small, and the decompression is handled by the browser automatically. 
With some creative use of the byte array you could probably still pass 
binary data (this will be a great help with images stored in a database). I 
also regularly use bitmasks in XML, you just have to convert them to numbers 
before using them. Serialization isn't a big deal, you just write a 
recursive function that serializes/deserializes your objects as XML and use 
it in your gateway class. Remoting is a convenience, from my perspcective, 
and not all clients can afford to pay for conveniences.


   In my opinion, remoting often allows the developer be lazy when they 
shouldn't be. I'm not saying that remoting is bad, it just lets you spend 
less time thinking about the transport layer, which is often a good thing, 
but it can let you be lazy when you should be putting more effort into an 
efficient transport layer. Rather than passing whole objects back and forth 
simply because you can, it is often more efficient to figure out how to pass 
the smallest amount of information in the simplest form, and then it comes 
down to building a well thought out transport layer. Some apps benefit 
greatly from remoting, but usually those are apps that depend on real-time 
data updates, and not your usual DB read/write apps.


   If you don't need real-time updates, why spend the resources on it? If 
you don't need a response from a "save to database" request to move on, why 
not just send it off asynch and let a background listener worry about 
whether it saved correctly or not? In fact, if you don't need to know your 
data was saved to move on, why not queue DB changes and send them out in 
scheduled batches, and worry about DB errors when the batch finishes, saving 
the end-user bandwidth and time, not to mention keeping traffic volume on 
the server down? It all depends on the needs of the app, of course, but I 
find that in most cases, remoting would often be easier on me but that 
doesn't necessarily mean it serves the app best.


ryanm 


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


[Flashcoders] ComboBox change event

2005-12-13 Thread Chris Bare
The V2 component ComboBox does not send a change event if you select the value
that is already select. I am using a combo box to set the font size in a
textField. In my case, the user may have selected several characters of
different font sizes. I can't select multiple sizes in the combo box, so I
just select the size of the first character. Now if the user wants to set all
the characters to the size of the first, they can't.
I've looked at the itemRollOver event, but that only gets sent if the user
releases the mouse between opening the comboBox and making the selection.
I also tried "unsetting" the list selection, but it won't let you do this.

I have seen this work in the Flash Text Editor, but can't figure out what they
are doing. Any suggestions?
-- 
Chris Bare
[EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] debug tool?

2005-12-13 Thread Mike Boutin

Does

LuminicBox.Log also work in flash 8? i cant seem to get it to log a 
message though it doesnt get any errors...



John Grden wrote:


Yeah i agree, if you're just into logging, LuminicBox/Flashinspector is a
great tool

John

On 12/13/05, Jim Tann <[EMAIL PROTECTED]> wrote:
 


LuminicBox Logger



   


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

 



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


Re: [Flashcoders] Sandbox violation on local file (was AS3: Sandbox violation on BitmapData.draw())

2005-12-13 Thread Derek Vadneau
Are you publishing from Flash 8?  Are you publishing the SWF with Local 
Playback Security set to "Access local files only" or "Access network 
files only"?

I think by default Flash 8 will deny local file access on files less than 
version 7.  You either need to re-publish the file from Flash 8 to gain 
the "Access local files only" setting, or use the Macromedia 
batch-converter for SWFs.


Derek Vadneau


- Original Message - 
From: "Shaw, Matt (MTVN)" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 12:15 PM
Subject: SPAM-LOW: [Flashcoders] Sandbox violation on local file (was AS3: 
Sandbox violation on BitmapData.draw())


I'm actually getting this error now in a Flash 7 swf with local
files...a swf from folder A can't load another swf from folder A?

*** Security Sandbox Violation ***
Connection to file://...\swf\Library.swf halted - not permitted from
file://...\swf\Other.swf


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


RE: [Flashcoders] Sandbox violation on local file (was AS3:Sandboxviolation on BitmapData.draw())

2005-12-13 Thread Shaw, Matt (MTVN)
yes 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Tuesday, December 13, 2005 12:23 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Sandbox violation on local file (was
AS3:Sandboxviolation on BitmapData.draw())

Is the Flash 7 SWF running in the Flash 8 player?

- Original Message -
From: "Shaw, Matt (MTVN)" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 12:15 PM
Subject: [Flashcoders] Sandbox violation on local file (was AS3: 
Sandboxviolation on BitmapData.draw())


I'm actually getting this error now in a Flash 7 swf with local
files...a swf from folder A can't load another swf from folder A?

*** Security Sandbox Violation ***
Connection to file://...\swf\Library.swf halted - not permitted from
file://...\swf\Other.swf



- Original Message - 
From: JesterXL <[EMAIL PROTECTED]>
Date: Dec 8, 2005 5:45 PM
Subject: Re: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()
To: Flashcoders mailing list 

I've had no problems converting a loaded PNG, using the docs example
code no
less.  When the loader's done, you just cast it to a bitmap:

var myBitmap:Bitmap = Bitmap(loader.content);
addChild(myBitmap)

- Original Message -
From: "Shaw, Matt (MTVN)" < [EMAIL PROTECTED]
 >
To: "Flashcoders mailing list" 
Sent: Thursday, December 08, 2005 5:08 PM
Subject: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()


In Flash < 8.5 I don't recall getting any sandbox violations when
running a local swf. However, I'm in AS3 and I can load a jpg that is in
the same directory as my swf but get a Sandbox Violation when I attempt
to pass that loaded jpg to BitmapData.draw()

*** Security Sandbox Violation ***
SecurityDomain 'file:///c://bin/Image3d-debug.swf' tried to access
incompatible context file:///c://bin/mona.jpg'

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

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

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

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


Re: [Flashcoders] Sandbox violation on local file (was AS3: Sandboxviolation on BitmapData.draw())

2005-12-13 Thread JesterXL
Is the Flash 7 SWF running in the Flash 8 player?

- Original Message - 
From: "Shaw, Matt (MTVN)" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 12:15 PM
Subject: [Flashcoders] Sandbox violation on local file (was AS3: 
Sandboxviolation on BitmapData.draw())


I'm actually getting this error now in a Flash 7 swf with local
files...a swf from folder A can't load another swf from folder A?

*** Security Sandbox Violation ***
Connection to file://...\swf\Library.swf halted - not permitted from
file://...\swf\Other.swf



- Original Message - 
From: JesterXL <[EMAIL PROTECTED]>
Date: Dec 8, 2005 5:45 PM
Subject: Re: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()
To: Flashcoders mailing list 

I've had no problems converting a loaded PNG, using the docs example
code no
less.  When the loader's done, you just cast it to a bitmap:

var myBitmap:Bitmap = Bitmap(loader.content);
addChild(myBitmap)

- Original Message -
From: "Shaw, Matt (MTVN)" < [EMAIL PROTECTED]
 >
To: "Flashcoders mailing list" 
Sent: Thursday, December 08, 2005 5:08 PM
Subject: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()


In Flash < 8.5 I don't recall getting any sandbox violations when
running a local swf. However, I'm in AS3 and I can load a jpg that is in
the same directory as my swf but get a Sandbox Violation when I attempt
to pass that loaded jpg to BitmapData.draw()

*** Security Sandbox Violation ***
SecurityDomain 'file:///c://bin/Image3d-debug.swf' tried to access
incompatible context file:///c://bin/mona.jpg'

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

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

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

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


Re: [Flashcoders] Version control software?

2005-12-13 Thread Joeri van Oostveen
Not that I know from the Flash IDE, but when you're used to Eclipse as
editor, you can use CVS or SVN (I switched to SVN recently).
I find it a bad thing the Flash IDE hasn't got more support for
version control :(

-- Joeri

On 12/13/05, andar <[EMAIL PROTECTED]> wrote:
> Is there any version control software that we can work directly from Flash
> IDE other than Ms. VSS ?
>
> - andar -
>
> - Original Message -
> From: "Martin Wood" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Tuesday, December 13, 2005 7:42 PM
> Subject: Re: [Flashcoders] Version control software?
>
>
> > I do all of my work remotely and have setup SVN access for all the
> > people involved in the project.
> >
> > After a 10 minute guide to tortoise svn all the non-programmers were
> > happy, and they have now got out of the habit of having mutiple copies
> > of files with incremental names like schedule_rev23 because the
> > revisions are managed automatically.
> >
> > We use it for everything project related, specification documents,
> > schedules, code, .fla's.
> >
> > Its great having https access as well so if someone needs to just view
> > one or two files i can send them a link and some guest account details.
> >
> > If you are thinking of setting up an SVN server yourself i personally
> > prefer using debian. And this page can get you up and running in no time.
> >
> >
> http://www.geocities.com/arhuaco/doc/subversion/apache-subversion-in-debian.
> html
> >
> > although i use a slightly different config in apache (the SVNParentPath
> > directive, to allow easy control of multiple repositories)
> >
> > something like this :
> >
> > 
> >  DAV svn
> >  SVNParentPath /opt/svn
> >  AuthType Basic
> >  AuthName "My SVN"
> >  AuthUserFile /opt/svn/.dav_svn.passwd
> >  Require valid-user
> > 
> >
> > thanks,
> >
> > Martin
> >
> > Ian Thomas wrote:
> > > Hi Danny,
> > >   SVN and CVS work happily for remote access, too...
> > >
> > > Cheers,
> > >   Ian
> > >
> > > P.S. Bought the book, by the way - just haven't had time to read it. :-)
> > >
> > > On 12/13/05, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> > >
> > >>We've been quite happy with FTPVC, which is a system based on your FTP
> > >>site.
> > >>It's very useful when you're working with freelancers and others who
> need
> > >>to
> > >>be offsite. A few quirks, but it's cheap, it works pretty well and has a
> > >>decent UI too.
> > >>
> > >>Danny
> > >>
> > >
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> >
> > --
> > Martin Wood
> >
> > http://relivethefuture.com/choronzon
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Sandbox violation on local file (was AS3: Sandbox violation on BitmapData.draw())

2005-12-13 Thread Shaw, Matt (MTVN)
I'm actually getting this error now in a Flash 7 swf with local
files...a swf from folder A can't load another swf from folder A? 

*** Security Sandbox Violation ***
Connection to file://...\swf\Library.swf halted - not permitted from
file://...\swf\Other.swf
 


- Original Message - 
From: JesterXL <[EMAIL PROTECTED]>
Date: Dec 8, 2005 5:45 PM 
Subject: Re: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()
To: Flashcoders mailing list 

I've had no problems converting a loaded PNG, using the docs example
code no 
less.  When the loader's done, you just cast it to a bitmap:

var myBitmap:Bitmap = Bitmap(loader.content);
addChild(myBitmap)

- Original Message -
From: "Shaw, Matt (MTVN)" < [EMAIL PROTECTED]
 >
To: "Flashcoders mailing list" 
Sent: Thursday, December 08, 2005 5:08 PM
Subject: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()


In Flash < 8.5 I don't recall getting any sandbox violations when
running a local swf. However, I'm in AS3 and I can load a jpg that is in
the same directory as my swf but get a Sandbox Violation when I attempt 
to pass that loaded jpg to BitmapData.draw()

*** Security Sandbox Violation ***
SecurityDomain 'file:///c://bin/Image3d-debug.swf' tried to access
incompatible context file:///c://bin/mona.jpg'

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

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


RE: [Flashcoders] Loading Xml from Flash over Http

2005-12-13 Thread Adrian Lynch
Is the path correct from the HTML page including the swf?

I'm not up to scratch on crossdomain.xml file but I thought that it had to
be in the root of the site. Can anyone confirm that?

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brent
Gore
Sent: 13 December 2005 16:07
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Loading Xml from Flash over Http


I have an xml file that is loaded into a swf, playing in a browser.  My
question is about the url to the xml file.  If I specify an absolute url
("http://mydomain.com/xml/file.xml";) I have no problems but when I try
and use a relative url ("xml/file.xml") it fails to load.  The rel path
is correct.  Running the swf in any environment other than over http
works correctly with the rel url.  I've also added a crossdomain.xml
which allows any access, and it resides with the swf.

For this particular project it is crucial that the url be relative and
not absolute.  Is this a limitation in Flash, or am I missing something?
Are there any other options than using an absolute url?

Thanks for your help!

Brent

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


RE: [Flashcoders] Loading Xml from Flash over Http

2005-12-13 Thread Mike Mountain
Strange that this should come up, the other day my colleague was working
on a file that used relative refferences loaded in from XML, it worked
fine, the next day when he open it up it had stopped working - the fix
we found was instead of:

"mydir/myfile.xml"

Was to use

"/mydir/myfile.xml"

The odd thing was it had worked fine before and we'd not moved any of
the files around.

Our swf runs in a projector environment, but it may be worth a try?

Cheers

M 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Brent Gore
> Sent: 13 December 2005 16:07
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Loading Xml from Flash over Http
> 
> I have an xml file that is loaded into a swf, playing in a 
> browser.  My question is about the url to the xml file.  If I 
> specify an absolute url
> ("http://mydomain.com/xml/file.xml";) I have no problems but 
> when I try and use a relative url ("xml/file.xml") it fails 
> to load.  The rel path is correct.  Running the swf in any 
> environment other than over http works correctly with the rel 
> url.  I've also added a crossdomain.xml which allows any 
> access, and it resides with the swf.
> 
> For this particular project it is crucial that the url be 
> relative and not absolute.  Is this a limitation in Flash, or 
> am I missing something?
> Are there any other options than using an absolute url?
> 
> Thanks for your help!
> 
> Brent
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Loading Xml from Flash over Http

2005-12-13 Thread Brent Gore
I have an xml file that is loaded into a swf, playing in a browser.  My
question is about the url to the xml file.  If I specify an absolute url
("http://mydomain.com/xml/file.xml";) I have no problems but when I try
and use a relative url ("xml/file.xml") it fails to load.  The rel path
is correct.  Running the swf in any environment other than over http
works correctly with the rel url.  I've also added a crossdomain.xml
which allows any access, and it resides with the swf.

For this particular project it is crucial that the url be relative and
not absolute.  Is this a limitation in Flash, or am I missing something?
Are there any other options than using an absolute url?

Thanks for your help!

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


Re: [Flashcoders] debug tool?

2005-12-13 Thread old9
yeah, x-ray rocks

On 12/13/05, John Grden <[EMAIL PROTECTED]> wrote:
>
> Yeah i agree, if you're just into logging, LuminicBox/Flashinspector is a
> great tool
>
> John
>
> On 12/13/05, Jim Tann <[EMAIL PROTECTED]> wrote:
> >
> > LuminicBox Logger
> >
> >
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
  t.E.l : +8605513602273
  m.o.B : +8613855184110
q.Q : 7387905
B.L.o.G : http://old9.wordpress.com
  E.m.A.i.L : qi.jiahui⊕gmail.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] debug tool?

2005-12-13 Thread John Grden
Yeah i agree, if you're just into logging, LuminicBox/Flashinspector is a
great tool

John

On 12/13/05, Jim Tann <[EMAIL PROTECTED]> wrote:
>
> LuminicBox Logger
>
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
I've tried putting a textField with embed font + html. I made one line plain 
text, one line italic and one line bold. This works fine for all other 
textfields that use this embed font + html.

Maybe you need to put the textField on the root of application?

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerem Gülensoy
Sent: dinsdag 13 december 2005 15:39
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

hmm...works fine here in flash8...i couldnt notice a change in behavior
yet...
i´m embedding the chars i need in a textfield, putting it on the stage,
creating a new one, setting embedfonts to true, applying a textformat and a
text -> and it works fine :)

cheers,
 k.

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Mike
Mountain
Gesendet: Dienstag, 13. Dezember 2005 15:29
An: Flashcoders mailing list
Betreff: RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten
me

 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kerem 
> Gülensoy
> Sent: 13 December 2005 14:24
> To: 'Flashcoders mailing list'
> Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody 
> enlighten me
> 
> it still works fine for me...what exactly doesnt work? 

In flash 8 on my pc, embedding the font chars (in the props panel) for one
text box doesn't carry over to be accessible by all other text boxes with
the same font. I find it tricky to be any more specific than I was before.

> for me the biggest con about fontsymbols is that you have to embed 
> almost the whole font and can not choose which characters to 
> embed...also embedding of special characters like polish and turkish 
> doesnt work...or did i overlook something?
> 
> k.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


RE: [Flashcoders] The Amazing infinite call stack

2005-12-13 Thread Chris Wilson
You're looking for "infinite recursion".

Generally speaking, your application might be better served with a for()
loop to iterate through the command queue within a single function call.
There are times when recursive functions (i.e., functions that call
themselves) are more elegant, though.

-Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Mark
Hawley
Sent: Tuesday, December 13, 2005 9:40 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] The Amazing infinite call stack

I'm sure this has a ridiculously easy answer that I just never learned 
from my generally informal programming training, but I can;t figure out 
what the problem is called, so I can't just google an answer.  Here's 
the (simplified) situation:

1. (Game::main()) we call Game::main(); no surprises here.
2. (_engine = new Engine()) Main sets up an 'engine' class and gets it 
started up.
3. (_engine.getNextCommand()) Engine's job is basically to look at a 
queue of Commands, ordered by the time they're supposed to execute, get 
the next one, and execute it.
4. (_engine.onTurnComplete()) Engine waits until it gets notified that 
the current turn is finished.
5. (engine.getNextCommand()) Engine looks for the  next commandetc.

Now, the problem is that _engine.getNextCommand() never returns, so I 
end up with a huge call stack with getNextCommand()s piled high, which 
eventually makes Flash crap out. In the ancient version of this game, 
the three basic stats were on different frames, so that the implied loop 
here was broken up, and worked fine.  My brain can't see that "right" 
way to do this via main(), though. Any help, insight, or google search 
terms?

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


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


[Flashcoders] The Amazing infinite call stack

2005-12-13 Thread John Mark Hawley
I'm sure this has a ridiculously easy answer that I just never learned 
from my generally informal programming training, but I can;t figure out 
what the problem is called, so I can't just google an answer.  Here's 
the (simplified) situation:


1. (Game::main()) we call Game::main(); no surprises here.
2. (_engine = new Engine()) Main sets up an 'engine' class and gets it 
started up.
3. (_engine.getNextCommand()) Engine's job is basically to look at a 
queue of Commands, ordered by the time they're supposed to execute, get 
the next one, and execute it.
4. (_engine.onTurnComplete()) Engine waits until it gets notified that 
the current turn is finished.

5. (engine.getNextCommand()) Engine looks for the  next commandetc.

Now, the problem is that _engine.getNextCommand() never returns, so I 
end up with a huge call stack with getNextCommand()s piled high, which 
eventually makes Flash crap out. In the ancient version of this game, 
the three basic stats were on different frames, so that the implied loop 
here was broken up, and worked fine.  My brain can't see that "right" 
way to do this via main(), though. Any help, insight, or google search 
terms?


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


AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Kerem Gülensoy
hmm...works fine here in flash8...i couldnt notice a change in behavior
yet...
i´m embedding the chars i need in a textfield, putting it on the stage,
creating a new one, setting embedfonts to true, applying a textformat and a
text -> and it works fine :)

cheers,
 k.

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Mike
Mountain
Gesendet: Dienstag, 13. Dezember 2005 15:29
An: Flashcoders mailing list
Betreff: RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten
me

 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kerem 
> Gülensoy
> Sent: 13 December 2005 14:24
> To: 'Flashcoders mailing list'
> Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody 
> enlighten me
> 
> it still works fine for me...what exactly doesnt work? 

In flash 8 on my pc, embedding the font chars (in the props panel) for one
text box doesn't carry over to be accessible by all other text boxes with
the same font. I find it tricky to be any more specific than I was before.

> for me the biggest con about fontsymbols is that you have to embed 
> almost the whole font and can not choose which characters to 
> embed...also embedding of special characters like polish and turkish 
> doesnt work...or did i overlook something?
> 
> k.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Mike Mountain
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kerem Gülensoy
> Sent: 13 December 2005 14:24
> To: 'Flashcoders mailing list'
> Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can 
> anybody enlighten me
> 
> it still works fine for me...what exactly doesnt work? 

In flash 8 on my pc, embedding the font chars (in the props panel) for one text 
box doesn't carry over to be accessible by all other text boxes with the same 
font. I find it tricky to be any more specific than I was before.

> for me the biggest con about fontsymbols is that you have to 
> embed almost the whole font and can not choose which 
> characters to embed...also embedding of special characters 
> like polish and turkish doesnt work...or did i overlook something?
> 
> k.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Kerem Gülensoy
it still works fine for me...what exactly doesnt work? 
for me the biggest con about fontsymbols is that you have to embed almost
the whole font and can not choose which characters to embed...also embedding
of special characters like polish and turkish doesnt work...or did i
overlook something?

k.

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Mike
Mountain
Gesendet: Dienstag, 13. Dezember 2005 15:11
An: Flashcoders mailing list
Betreff: RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten
me

While we're on the subject, my general fix for this issue used to be a
textbox offstage with everything embedded - all other textboxes could then
access the embedded font. This seems to have stopped working (not sure in
which version it stopped working) which is a real shame as it was a much
easier way of ensure your fonts were included than pissing around in the
library / ticking all the relevant tags on the text boxes/ adding the
relevant code per text box.

Anyone know why this was broken?

M 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Cedric 
> Muller
> Sent: 13 December 2005 14:02
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Embedded fonts vs. Html : Can anybody 
> enlighten me
> 
> just to be sure, you are speaking of Flash 8 ?
> did something change (new bugs, new workarounds) into that regard (vs 
> Flash 7) ?
> 
> cedric
> 
> >> Ps: Aren't textfields something macromedia was proud of in the new 
> >> release? (I've had nothing but problems with it)
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] flash and ASP.NET (ryanm)

2005-12-13 Thread Kevin Mulvihill
Interesting approach, Ryan. So, the big advantage here is cost (free!) with
the big disadvantage being that we're limited to string data types on the
return. Thanks for sharing.

Kevin

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of ryanm
> Sent: Monday, December 12, 2005 6:41 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] flash and ASP.NET (ryanm)
> 
> > Ryan, how would this work?
> >
> 
> 
> //  Actionscript
> 
> var IncomingData:LoadVars = new LoadVars(); 
> IncomingData.onLoad = function(success:Boolean){
> if(success){
> // Do stuff when data is loaded
> }else{
> trace("Load Failed!");
> }
> };
> 
> var OutgoingData:LoadVars = new LoadVars(); 
> OutgoingData.first_name = "Bob"; OutgoingData.address = "1234 
> Main"; OutgoingData.zipcode = "75240"; 
> OutgoingData.sendAndLoad("http://server.com/script.aspx",Incom
> ingData,"POST");
> 
> 
> 'VB.NET Code Behind in the page load event
> 
> first_name = Request("first_name")
> address = Request("address")
> zipcode = Request("zipcode")
> 
> 'Do SQL query using posted data
> 'Munge data as necessary
> 'Write return data into a string called "output"
> 
> response.write output
> 
> 
> That's about it.
> 
> ryanm 
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 


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


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Mike Mountain
While we're on the subject, my general fix for this issue used to be a
textbox offstage with everything embedded - all other textboxes could
then access the embedded font. This seems to have stopped working (not
sure in which version it stopped working) which is a real shame as it
was a much easier way of ensure your fonts were included than pissing
around in the library / ticking all the relevant tags on the text boxes/
adding the relevant code per text box.

Anyone know why this was broken?

M 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Cedric Muller
> Sent: 13 December 2005 14:02
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Embedded fonts vs. Html : Can 
> anybody enlighten me
> 
> just to be sure, you are speaking of Flash 8 ?
> did something change (new bugs, new workarounds) into that 
> regard (vs Flash 7) ?
> 
> cedric
> 
> >> Ps: Aren't textfields something macromedia was proud of in the new 
> >> release? (I've had nothing but problems with it)
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Cedric Muller

just to be sure, you are speaking of Flash 8 ?
did something change (new bugs, new workarounds) into that regard (vs 
Flash 7) ?


cedric


Ps: Aren't textfields something macromedia was proud of in the new
release? (I've had nothing but problems with it)


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


Re: [Flashcoders] Lightweight List Component

2005-12-13 Thread John Giotta
Ah I see now, thanks again ;-)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] asfunction to destination anchor?

2005-12-13 Thread Bill Napier
It isn¹t possible.


From: Bill Napier <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list 
Date: Tue, 13 Dec 2005 08:05:25 -0500
To: Flashcoders mailing list 
Subject: [Flashcoders] asfunction to destination anchor?

Not sure what protocol is for posting to the list so I apologize if I am
going about it the wrong way... And I¹m new to this but I would think there
would be a way to go from either a button or use the asfunction within a
dynamic textfield to go to a destination anchor in a textfield in the
following frame. Obviously, what I have here will work for linking to a text
at the top of the field. However, I would like to either go to a destination
anchor further down the field or define a different function which set the
ui scrollbar on the next field to a percentage of scrolling. I can work
around it but would like to make it happen. Thanks in advance for any help.

Bill

Frame 1
stop();
//Takes me to next frame only
function gotoFrame (frame) {
gotoAndStop(frame);
}
var myCSS = new TextField.StyleSheet();
var cssURL = "gib.css";
exampleText = "Chapter I: Getting StartedDestination
Anchor";";
myCSS.load(cssURL);
//define onLoad handler
myCSS.onLoad = function(success){
if (success) {
chTxt.styleSheet = myCSS;
chTxt.text=exampleText;
}
};

Frame 2
stop();
var myCSS = new TextField.StyleSheet();
var cssURL = "gib.css";
exampleText = "Destination Anchor";
//Load CSS file
myCSS.load(cssURL);
//define onLoad handler
myCSS.onLoad = function(success){
if (success) {
chTxt.styleSheet = myCSS;
chTxt.text=exampleText;
}
};




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

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


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
Thx, guys, I'm really enlighted now! (soon I will probably vaporize into the 
fourth dimension...).
No, really, thanks!

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of old9
Sent: dinsdag 13 december 2005 14:50
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

you need

1. a font symbol with a linkage name say "myfont" in the library.
2. a textFiled with the property embedFonts setted to true
3. a font property setted to "myfont" applied to the textField trough
textFormat or CSS


I agree, the textField really sucks, work with textField is totally a pain
in the ass.


On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Dear colleagues,
>
>
>
> Apparently it isn't possible to have a textfield with embedded fonts and
> html. Is this correct and why is this.
>
>
>
> Don't just tell me it is possible, because I've tested it, and when I
> embed the font, the html doesn't come true. For instance
> blablabla doesn't appear.
>
>
>
> Thx, Lieven Cardoen
>
>
>
> Ps: Aren't textfields something macromedia was proud of in the new
> release? (I've had nothing but problems with it)
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
  t.E.l : +8605513602273
  m.o.B : +8613855184110
q.Q : 7387905
B.L.o.G : http://old9.wordpress.com
  E.m.A.i.L : qi.jiahui��gmail.com

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


[Flashcoders] JSFL textfield recognition issue

2005-12-13 Thread Karthik
Hi,

   I just ran into an issue with a JSFL script where static/dynamic
textfields that are used in motions tweens on the stage aren't
recognised correctly. I've uploaded a test fla and test JSFL script
here:

http://rapidshare.de/files/909/test.rar.html

Essentially, the script acknowledges that a textfield is on the stage,
but doesn't recognise its attributes. The textfield can't be modified
in this situation.

It is probably understandable if this happens in the non-keyframes of
the tween. But it appears to happen to the keyframes themselves.
Moreover, this seems to affect textfields in non-tweened key frames
that follow in the same layer.

What am I missing here?

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


Re: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread old9
you need

1. a font symbol with a linkage name say "myfont" in the library.
2. a textFiled with the property embedFonts setted to true
3. a font property setted to "myfont" applied to the textField trough
textFormat or CSS


I agree, the textField really sucks, work with textField is totally a pain
in the ass.


On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Dear colleagues,
>
>
>
> Apparently it isn't possible to have a textfield with embedded fonts and
> html. Is this correct and why is this.
>
>
>
> Don't just tell me it is possible, because I've tested it, and when I
> embed the font, the html doesn't come true. For instance
> blablabla doesn't appear.
>
>
>
> Thx, Lieven Cardoen
>
>
>
> Ps: Aren't textfields something macromedia was proud of in the new
> release? (I've had nothing but problems with it)
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
  t.E.l : +8605513602273
  m.o.B : +8613855184110
q.Q : 7387905
B.L.o.G : http://old9.wordpress.com
  E.m.A.i.L : qi.jiahui⊕gmail.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Version control software?

2005-12-13 Thread andar
Is there any version control software that we can work directly from Flash
IDE other than Ms. VSS ?

- andar -

- Original Message -
From: "Martin Wood" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 7:42 PM
Subject: Re: [Flashcoders] Version control software?


> I do all of my work remotely and have setup SVN access for all the
> people involved in the project.
>
> After a 10 minute guide to tortoise svn all the non-programmers were
> happy, and they have now got out of the habit of having mutiple copies
> of files with incremental names like schedule_rev23 because the
> revisions are managed automatically.
>
> We use it for everything project related, specification documents,
> schedules, code, .fla's.
>
> Its great having https access as well so if someone needs to just view
> one or two files i can send them a link and some guest account details.
>
> If you are thinking of setting up an SVN server yourself i personally
> prefer using debian. And this page can get you up and running in no time.
>
>
http://www.geocities.com/arhuaco/doc/subversion/apache-subversion-in-debian.
html
>
> although i use a slightly different config in apache (the SVNParentPath
> directive, to allow easy control of multiple repositories)
>
> something like this :
>
> 
>  DAV svn
>  SVNParentPath /opt/svn
>  AuthType Basic
>  AuthName "My SVN"
>  AuthUserFile /opt/svn/.dav_svn.passwd
>  Require valid-user
> 
>
> thanks,
>
> Martin
>
> Ian Thomas wrote:
> > Hi Danny,
> >   SVN and CVS work happily for remote access, too...
> >
> > Cheers,
> >   Ian
> >
> > P.S. Bought the book, by the way - just haven't had time to read it. :-)
> >
> > On 12/13/05, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> >
> >>We've been quite happy with FTPVC, which is a system based on your FTP
> >>site.
> >>It's very useful when you're working with freelancers and others who
need
> >>to
> >>be offsite. A few quirks, but it's cheap, it works pretty well and has a
> >>decent UI too.
> >>
> >>Danny
> >>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
> --
> Martin Wood
>
> http://relivethefuture.com/choronzon
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Kerem Gülensoy
you can create a fontsymbol in the library...but i´ve encountered problems
with multilanguage applications in embedding special characters with
fontsymbols..i wouldnt recommend it...

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Dienstag, 13. Dezember 2005 14:14
An: flashcoders@chattyfig.figleaf.com
Betreff: RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten
me

Sorry, it does work. Html wasn't set to true in that off stage textfield.

But isn't there a way to embed both versions of font without a off stage
textfield?

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: dinsdag 13 december 2005 13:58
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten
me

No - it's just that as far as Flash embedding is concerned Verdana Italic is
_different_ from Verdana.

What you need to do is embed both versions of the font - Verdana Italic and
Verdana.

The easiest way to do that is to stick a dynamic textfield offstage, and put
two lines of text in it. Set it to embed, and make sure that the first line
is in plain text and the second line is in italic.

That should do the trick.

Cheers,
  Ian

On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  --> this is done by the textField but Italic
doesn't
> show. Could it be that the font Verdana doesn't support Italic?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] Version control software?

2005-12-13 Thread Danny Kodicek

SVN and CVS work happily for remote access, too...


Sure, but FTPVC is nice because it's so damn simple. 


P.S. Bought the book, by the way - just haven't had time to read it. :-)


I suspect you're not alone in this...

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


AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Kerem Gülensoy
you have to place two textfields on the stage...one for italic, one for
non-italic... no idea how to put two formats in one dynamic textfield on
stage neither...

k.

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Ian Thomas
Gesendet: Dienstag, 13. Dezember 2005 13:58
An: Flashcoders mailing list
Betreff: Re: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten
me

No - it's just that as far as Flash embedding is concerned Verdana Italic is
_different_ from Verdana.

What you need to do is embed both versions of the font - Verdana Italic and
Verdana.

The easiest way to do that is to stick a dynamic textfield offstage, and put
two lines of text in it. Set it to embed, and make sure that the first line
is in plain text and the second line is in italic.

That should do the trick.

Cheers,
  Ian

On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  --> this is done by the textField but Italic 
> doesn't show. Could it be that the font Verdana doesn't support Italic?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
Sorry, it does work. Html wasn't set to true in that off stage
textfield.

But isn't there a way to embed both versions of font without a off stage
textfield?

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: dinsdag 13 december 2005 13:58
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Embedded fonts vs. Html : Can anybody
enlighten me

No - it's just that as far as Flash embedding is concerned Verdana
Italic is
_different_ from Verdana.

What you need to do is embed both versions of the font - Verdana Italic
and
Verdana.

The easiest way to do that is to stick a dynamic textfield offstage, and
put
two lines of text in it. Set it to embed, and make sure that the first
line
is in plain text and the second line is in italic.

That should do the trick.

Cheers,
  Ian

On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  --> this is done by the textField but Italic
doesn't
> show. Could it be that the font Verdana doesn't support Italic?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Re: 3D in Flash

2005-12-13 Thread Danny Kodicek



Unfortunately Viewpoint's flash engine is still Flash 5, but you can do
(almost) anything you would expect to be able to in that version.  The 
only

thing I found I wasn't able to do (from Flash 5) is prototyping.  In
addition to rendering the Flash as a texture (without loosing interaction)
you can also render it as foreground and background... which is pretty
powerful considering you can script directly between the two. However, as 
an

example of separate plugins passing data/control, in this case syncing 2d
and 3d menus, here's an example:

http://www.3w3d.com/

Also, Viewpoint has recently added ECMA based scripting engine (previously
was pure XML only) which they've hooked into their 3D object/property
system.  For example, take a cube, attach methods to each of it's points,
say random sine waves... instant jello cube.  I've used this capability to
write a simple 3d chess game:

http://www.3w3d.com/vet/chess/


By the way, idly playing with this I seem to have made it move its own King 
into check. Are you using a standard engine or did you write your own?


Danny 


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


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
Thx, but this doesn't work neither. If I make one line Italic, both
lines come Italic...

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: dinsdag 13 december 2005 13:58
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Embedded fonts vs. Html : Can anybody
enlighten me

No - it's just that as far as Flash embedding is concerned Verdana
Italic is
_different_ from Verdana.

What you need to do is embed both versions of the font - Verdana Italic
and
Verdana.

The easiest way to do that is to stick a dynamic textfield offstage, and
put
two lines of text in it. Set it to embed, and make sure that the first
line
is in plain text and the second line is in italic.

That should do the trick.

Cheers,
  Ian

On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  --> this is done by the textField but Italic
doesn't
> show. Could it be that the font Verdana doesn't support Italic?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] asfunction to destination anchor?

2005-12-13 Thread Bill Napier
Not sure what protocol is for posting to the list so I apologize if I am
going about it the wrong way... And I¹m new to this but I would think there
would be a way to go from either a button or use the asfunction within a
dynamic textfield to go to a destination anchor in a textfield in the
following frame. Obviously, what I have here will work for linking to a text
at the top of the field. However, I would like to either go to a destination
anchor further down the field or define a different function which set the
ui scrollbar on the next field to a percentage of scrolling. I can work
around it but would like to make it happen. Thanks in advance for any help.

Bill

Frame 1
stop();
//Takes me to next frame only
function gotoFrame (frame) {
gotoAndStop(frame);
}
var myCSS = new TextField.StyleSheet();
var cssURL = "gib.css";
exampleText = "Chapter I: Getting StartedDestination
Anchor";";
myCSS.load(cssURL);
//define onLoad handler
myCSS.onLoad = function(success){
if (success) {
chTxt.styleSheet = myCSS;
chTxt.text=exampleText;
}
};

Frame 2
stop();
var myCSS = new TextField.StyleSheet();
var cssURL = "gib.css";
exampleText = "Destination Anchor";
//Load CSS file
myCSS.load(cssURL);
//define onLoad handler
myCSS.onLoad = function(success){
if (success) {
chTxt.styleSheet = myCSS;
chTxt.text=exampleText;
}
};




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


Re: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Ian Thomas
No - it's just that as far as Flash embedding is concerned Verdana Italic is
_different_ from Verdana.

What you need to do is embed both versions of the font - Verdana Italic and
Verdana.

The easiest way to do that is to stick a dynamic textfield offstage, and put
two lines of text in it. Set it to embed, and make sure that the first line
is in plain text and the second line is in italic.

That should do the trick.

Cheers,
  Ian

On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  --> this is done by the textField but Italic doesn't
> show. Could it be that the font Verdana doesn't support Italic?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
 --> this is done by the textField but Italic doesn't show. 
Could it be that the font Verdana doesn't support Italic?



Vriendelijke groeten,

Ann Soens

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerem Gülensoy
Sent: dinsdag 13 december 2005 12:34
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

even though you dont want to hear it: its possible ;) do you apply a
textformat on the textfield? is the font embeded in a texfield or do you use
a fontsymbol?

kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Dienstag, 13. Dezember 2005 12:20
An: flashcoders@chattyfig.figleaf.com
Betreff: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

Dear colleagues, 

 

Apparently it isn't possible to have a textfield with embedded fonts and
html. Is this correct and why is this.

 

Don't just tell me it is possible, because I've tested it, and when I embed
the font, the html doesn't come true. For instance blablabla doesn't
appear.

 

Thx, Lieven Cardoen

 

Ps: Aren't textfields something macromedia was proud of in the new release?
(I've had nothing but problems with it)

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

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

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


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen

Ok, here's what I do : 

The textField is Dynamic, Font Verdana, Anti-alias for readability + embedded. 
This is done on the Stage.

In Code : 
txt_Instruction.html = true;
txt_Instruction.htmlText = "" + 
unescape(_global.exData.meta.studentInstruction1) + "";


In the example I try there's a string : blab la bla some words
some words doesn't appear, all the rest does.

Thx for helping me out with this issue.

Vriendelijke groeten,

Ann Soens

PointX Multimedia
 
Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerem Gülensoy
Sent: dinsdag 13 december 2005 12:34
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

even though you dont want to hear it: its possible ;) do you apply a
textformat on the textfield? is the font embeded in a texfield or do you use
a fontsymbol?

kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Dienstag, 13. Dezember 2005 12:20
An: flashcoders@chattyfig.figleaf.com
Betreff: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

Dear colleagues, 

 

Apparently it isn't possible to have a textfield with embedded fonts and
html. Is this correct and why is this.

 

Don't just tell me it is possible, because I've tested it, and when I embed
the font, the html doesn't come true. For instance blablabla doesn't
appear.

 

Thx, Lieven Cardoen

 

Ps: Aren't textfields something macromedia was proud of in the new release?
(I've had nothing but problems with it)

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

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

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


Re: [Flashcoders] Version control software?

2005-12-13 Thread Martin Wood
I do all of my work remotely and have setup SVN access for all the 
people involved in the project.


After a 10 minute guide to tortoise svn all the non-programmers were 
happy, and they have now got out of the habit of having mutiple copies 
of files with incremental names like schedule_rev23 because the 
revisions are managed automatically.


We use it for everything project related, specification documents, 
schedules, code, .fla's.


Its great having https access as well so if someone needs to just view 
one or two files i can send them a link and some guest account details.


If you are thinking of setting up an SVN server yourself i personally 
prefer using debian. And this page can get you up and running in no time.


http://www.geocities.com/arhuaco/doc/subversion/apache-subversion-in-debian.html

although i use a slightly different config in apache (the SVNParentPath 
directive, to allow easy control of multiple repositories)


something like this :


DAV svn
SVNParentPath /opt/svn
AuthType Basic
AuthName "My SVN"
AuthUserFile /opt/svn/.dav_svn.passwd
Require valid-user


thanks,

Martin

Ian Thomas wrote:

Hi Danny,
  SVN and CVS work happily for remote access, too...

Cheers,
  Ian

P.S. Bought the book, by the way - just haven't had time to read it. :-)

On 12/13/05, Danny Kodicek <[EMAIL PROTECTED]> wrote:


We've been quite happy with FTPVC, which is a system based on your FTP
site.
It's very useful when you're working with freelancers and others who need
to
be offsite. A few quirks, but it's cheap, it works pretty well and has a
decent UI too.

Danny



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



--
Martin Wood

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


[Flashcoders] Image Color

2005-12-13 Thread Sumeet Kumar
Hi All

 

I have a jpg image and it is multicolored. I want to change the
particular color of the image(means if a person is wearing a blue shirt
and red jeans

Then I should be able to change the color of the shirt only) but without
using getPixel and setPixel.

 

I would be very happy for any help i can get.

 

Regards

Sumeet Kumar

 

 

 

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


Re: [Flashcoders] Asbroadcaster and setinterval

2005-12-13 Thread Meinte van't Kruis
oh wait the Delegate, now I get it, I never usually use setInterval, but I
figure it probably works within a different scope than the object calling
it.

On 12/13/05, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
>
> allright, thx for the help. The delegate thing might help, allthough I'm
> not sure the problem was ever with the interval thingy.
>
> Eskil, I'll look into your code, it does seem to do what I'm trying to
> implement.
>
> On 12/13/05, Jim Tann < [EMAIL PROTECTED]> wrote:
> >
> > Is is because your this statement no longer referes to the original
> > class. Try to use
> >
> > intervalId = setInterval(mx.utils.Delegate.create(this, fireInterval),
> > intervalSpeed);
> >
> > that should work.
> >
> > Jim
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] ] On Behalf Of Meinte
> > van't Kruis
> > Sent: 13 December 2005 09:19
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] Asbroadcaster and setinterval
> >
> > both are correct, that isn't the problem.
> >
> > the interval get's called properly
> >
> > function fireInterval(){
> > trace("A");
> >  this.broadcastMessage("onInterval",this.event);
> > }
> > ^^ this traces "A" infinitely
> >
> > But the message never gets broadcasted, so it enters the function, but
> > it
> > doesn't broadcast the onInterval event.
> >
> > Then I checked if it was any problem with the whole AsBroadcaster thing
> > not
> > set up correctly, so I fired the event on a keydown event:
> >
> > function keyDown(){
> >this.broadcastMessage("onInterval",this.event);
> > }
> >
> > this DOES broadcast the onInterval event..
> >
> > so the interval function get's fired, but doesn't fire the onInterval
> > event
> > for some mystical reason...
> > whereas another event(Key event in this case) CAN fire the onInterval
> > event
> >
> > I'm quite stuck on it actually :/
> >
> > On 12/13/05, eskil janson < [EMAIL PROTECTED]> wrote:
> > >
> > > Not shure if I got your problem right, but if you are using an object
> > > where
> > > the function exists which you want to
> > > execute with your interval, the syntax should be something like :
> > >
> > > intervalId = setInterval(this, "sendMessage", intervalSpeed);
> > >
> > > where "this" is a reference to the object where the method
> > ("sendMessage")
> > > you are calling is located.
> > > "intervalSpeed"  should be a number.
> > >
> > > When Braodcasting the message, the first parameter is the name of the
> > > method
> > > you want to get called, and the second (and following) parameters are
> > > optional parameters  to be passed on to the executing method.
> > >
> > >
> > > /Eskil
> > >
> > >
> > > - Original Message -
> > > From: "Meinte van't Kruis" < [EMAIL PROTECTED]>
> > > To: 
> > > Sent: Monday, December 12, 2005 10:56 PM
> > > Subject: [Flashcoders] Asbroadcaster and setinterval
> > >
> > >
> > > Hello,
> > >
> > > I'm trying something that might be obvious, but somehow isn't. What
> > I'm
> > > trying to do is broadcasting a message on a setinterval basis.
> > >
> > > I've set up my events broadcaster class and it worked quite well.
> > > The problem i had with it was that it extended MovieClip.. The only
> > reason
> > > for this was the onEnterFrame function, seemed a waste.
> > >
> > > I came up with this to replace the onEnterframe and subsequently have
> > the
> > > eventbroadcaster class extend Object instead of MovieClip:
> > >
> > > this.intervalID=setInterval(this.fireInterval,interval); < in the
> > > class'
> > > constructor
> > >
> > > function fireInterval(){
> > > //_root.log.log(this._listeners);
> > > this.broadcastMessage("onInterval",this.event);
> > > }
> > >
> > > Now, i've traced within the fireInterval function, and it works fine.
> > > Problem is, the listeners never get the onInterval event broadcasted
> > to
> > > them.
> > > When i do this(it also listens to key events):
> > >
> > > function keyDown(){
> > >this.broadcastMessage ("onInterval",this.event);
> > > }
> > >
> > > it DOES work... So i'm quite stumped here,
> > >
> > > first of all the fireInterval function gets executed, but the
> > listeners
> > > never hear it and
> > > secondly, when I have a key event broadcast the event, the listeners
> > DO
> > > hear
> > > it...
> > >
> > > What's the problem here? Don't AsBroadcaster and setInterval like each
> > > other?
> > >
> > > thanks,
> > > Meinte
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > >
> > >
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > htt

Re: [Flashcoders] Asbroadcaster and setinterval

2005-12-13 Thread Meinte van't Kruis
allright, thx for the help. The delegate thing might help, allthough I'm not
sure the problem was ever with the interval thingy.

Eskil, I'll look into your code, it does seem to do what I'm trying to
implement.

On 12/13/05, Jim Tann <[EMAIL PROTECTED]> wrote:
>
> Is is because your this statement no longer referes to the original
> class. Try to use
>
> intervalId = setInterval(mx.utils.Delegate.create(this, fireInterval),
> intervalSpeed);
>
> that should work.
>
> Jim
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] ] On Behalf Of Meinte
> van't Kruis
> Sent: 13 December 2005 09:19
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Asbroadcaster and setinterval
>
> both are correct, that isn't the problem.
>
> the interval get's called properly
>
> function fireInterval(){
> trace("A");
>  this.broadcastMessage("onInterval",this.event);
> }
> ^^ this traces "A" infinitely
>
> But the message never gets broadcasted, so it enters the function, but
> it
> doesn't broadcast the onInterval event.
>
> Then I checked if it was any problem with the whole AsBroadcaster thing
> not
> set up correctly, so I fired the event on a keydown event:
>
> function keyDown(){
>this.broadcastMessage("onInterval",this.event);
> }
>
> this DOES broadcast the onInterval event..
>
> so the interval function get's fired, but doesn't fire the onInterval
> event
> for some mystical reason...
> whereas another event(Key event in this case) CAN fire the onInterval
> event
>
> I'm quite stuck on it actually :/
>
> On 12/13/05, eskil janson < [EMAIL PROTECTED]> wrote:
> >
> > Not shure if I got your problem right, but if you are using an object
> > where
> > the function exists which you want to
> > execute with your interval, the syntax should be something like :
> >
> > intervalId = setInterval(this, "sendMessage", intervalSpeed);
> >
> > where "this" is a reference to the object where the method
> ("sendMessage")
> > you are calling is located.
> > "intervalSpeed"  should be a number.
> >
> > When Braodcasting the message, the first parameter is the name of the
> > method
> > you want to get called, and the second (and following) parameters are
> > optional parameters  to be passed on to the executing method.
> >
> >
> > /Eskil
> >
> >
> > - Original Message -
> > From: "Meinte van't Kruis" < [EMAIL PROTECTED]>
> > To: 
> > Sent: Monday, December 12, 2005 10:56 PM
> > Subject: [Flashcoders] Asbroadcaster and setinterval
> >
> >
> > Hello,
> >
> > I'm trying something that might be obvious, but somehow isn't. What
> I'm
> > trying to do is broadcasting a message on a setinterval basis.
> >
> > I've set up my events broadcaster class and it worked quite well.
> > The problem i had with it was that it extended MovieClip.. The only
> reason
> > for this was the onEnterFrame function, seemed a waste.
> >
> > I came up with this to replace the onEnterframe and subsequently have
> the
> > eventbroadcaster class extend Object instead of MovieClip:
> >
> > this.intervalID=setInterval(this.fireInterval,interval); < in the
> > class'
> > constructor
> >
> > function fireInterval(){
> > //_root.log.log(this._listeners);
> > this.broadcastMessage("onInterval",this.event);
> > }
> >
> > Now, i've traced within the fireInterval function, and it works fine.
> > Problem is, the listeners never get the onInterval event broadcasted
> to
> > them.
> > When i do this(it also listens to key events):
> >
> > function keyDown(){
> >this.broadcastMessage ("onInterval",this.event);
> > }
> >
> > it DOES work... So i'm quite stumped here,
> >
> > first of all the fireInterval function gets executed, but the
> listeners
> > never hear it and
> > secondly, when I have a key event broadcast the event, the listeners
> DO
> > hear
> > it...
> >
> > What's the problem here? Don't AsBroadcaster and setInterval like each
> > other?
> >
> > thanks,
> > Meinte
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Version control software?

2005-12-13 Thread Ian Thomas
Hi Danny,
  SVN and CVS work happily for remote access, too...

Cheers,
  Ian

P.S. Bought the book, by the way - just haven't had time to read it. :-)

On 12/13/05, Danny Kodicek <[EMAIL PROTECTED]> wrote:
>
> We've been quite happy with FTPVC, which is a system based on your FTP
> site.
> It's very useful when you're working with freelancers and others who need
> to
> be offsite. A few quirks, but it's cheap, it works pretty well and has a
> decent UI too.
>
> Danny
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Version control software?

2005-12-13 Thread Danny Kodicek
We've been quite happy with FTPVC, which is a system based on your FTP site. 
It's very useful when you're working with freelancers and others who need to 
be offsite. A few quirks, but it's cheap, it works pretty well and has a 
decent UI too.


Danny

- Original Message - 
From: "Ian Thomas" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Tuesday, December 13, 2005 10:21 AM
Subject: Re: [Flashcoders] Version control software?


Iestyn,
 If you look back over the last couple of days of posts, lots of people
have been talking about this already (see under 'Workflow')...

 The general consensus seems to be to use Subversion (also called SVN). I
myself use it all the time; it solves many of the problems CVS used to have.
It's open source; it's a command-line thing, but you can pick up a GUI tool
called TortoiseSVN to use with it - it is also open source.

Open source is good.

 Commercialy, when I last looked (admittedly a few years back) Perforce was
damned good, but pricey. Microsoft's Visual Source Safe I used for a couple
of years, but it a) cost money and b) its database kept crashing and it took
our work with it.

HTH,
 Ian


On 12/13/05, iestyn lloyd <[EMAIL PROTECTED]> wrote:


Hi list,

Can anyone recommend some decent version control software? A lot of
our projects use hundreds of swf files, and it can be a nightmare
making sure people are working on the latest files.

Any recommendations anyone?

cheers

iestyn


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


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


AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread Kerem Gülensoy
even though you dont want to hear it: its possible ;) do you apply a
textformat on the textfield? is the font embeded in a texfield or do you use
a fontsymbol?

kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Dienstag, 13. Dezember 2005 12:20
An: flashcoders@chattyfig.figleaf.com
Betreff: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

Dear colleagues, 

 

Apparently it isn't possible to have a textfield with embedded fonts and
html. Is this correct and why is this.

 

Don't just tell me it is possible, because I've tested it, and when I embed
the font, the html doesn't come true. For instance blablabla doesn't
appear.

 

Thx, Lieven Cardoen

 

Ps: Aren't textfields something macromedia was proud of in the new release?
(I've had nothing but problems with it)

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

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


Re: [Flashcoders] Flash is a single-threaded app? Maybe it's just the AVM? or...

2005-12-13 Thread hank williams
I cant share the full actual code because it is dependent on too many
things. I have tried to pull a snippet out and edit it to make it
understandable.

The idea here is that I have a block of data called
"m_in_videoStorage_generic.items" which needs to be processed. The
processing is too slow and I cant make it faster. I want it to happen
in the background. So I created an interval to do a little bit of
processing each time the interval is hit, and to broadcast an event
when all of the data is processed. This concept can probably be turned
into a generic class by passing in the function that gets periodically
processed. That function would just have to obey certain rules about
keeping track of how much it gets done each "slice".

In the below code m_genericSyncOffset is how far we have gotten
through the array, and k_sliceSize is how many items to process in
each cycle through the array. So the key to my concept is being able
to break up long operation into a collection of more mamageable
chunks. Sometimes this is not possible, but often it is.

Regards
Hank

CODE:
---

private static k_sliceSize:Number = 10;
private static m_genericSyncOffset:Number;

private function syncGenericStorage():Void{
m_genericSyncOffset = 0;
m_genericStorageIntID = 
setInterval(this,"syncGenericStorageSlice",1);
}

private function syncGenericStorageSlice():Void{

var generic:Array = m_in_videoStorage_generic.items;
var loopMax:Number = generic.length;
var i:Number;

if (loopMax>m_genericSyncOffset+k_sliceSize)
loopMax = m_genericSyncOffset+k_sliceSize;

for (i=m_genericSyncOffset;i=generic.length){

//messageWire is just a class I created that is a type 
of event system
//if I want to notify some other piece of my system 
about a given
//even, I "publish" that even and anyone who is 
subscribed to that even
//is notified. This could be done with a standard event.

// pseudo code: m_messageWire.publish( tell system data 
is processed);

clearInterval(m_genericStorageIntID);
}
else
m_genericSyncOffset = i;
}

---

On 12/13/05, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> sounds interesting, would like to have a peek at the code.
> Do you have it online somewhere to share?
>
> thx,
> Meinte
>
> On 12/12/05, hank williams <[EMAIL PROTECTED]> wrote:
> >
> > There is some truth to this, but parf of good architecture is about
> > tailoring what you have to what you need. In my current application, I
> > have a collection of data that needs to be processed. Under certain
> > circumstances I actually get the dialog box about the app running
> > slowly.
> >
> > So what I did was to make this data processing "chunkable", and then I
> > use setInterval to calculate pieces of it at a time. I was thinking
> > about the concept of a separate swf but this turned out to be easier.
> >
> > So I guess my point is just that threading would be nice. I use it
> > sparingly in my java side work. But I do find that it is generally
> > possible to do what you want to do in a single threaded flash player.
> >
> > Regards
> > Hank
> >
> > On 12/12/05, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > > I don't see how UI lock can be effectively solved using actionscript. It
> > > seems to me multithreading in AS would be very fancy, and anything fancy
> > > that isn't native just slows things down even more in my opinion.
> > >
> > > On 12/8/05, Mike Britton <[EMAIL PROTECTED]> wrote:
> > > >
> > > > It scares me too, but so does UI lock, something that's been happening
> > > > to me a lot lately.
> > > >
> > > > Mike
> > > > ___
> > > > Flashcoders mailing list
> > > > Flashcoders@chattyfig.figleaf.com
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___

  1   2   >