[Flashcoders] Robert McLaughlin/BRAD/Bombardier is out of the office.

2012-07-10 Thread robert . mclaughlin

I will be out of the office starting  07/06/2012 and will not return until
07/23/2012.

Please contact andrew.luck...@aero.bombardier.com (514) 344-6621 x4-6606
for any pressing issues.

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


[Flashcoders] Robert McLaughlin/BRAD/Bombardier is out of the office.

2012-05-02 Thread robert . mclaughlin

I will be out of the office starting  05/02/2012 and will not return until
05/08/2012.

Please contact andrew.luck...@aero.bombardier.com (514) 344-6621 x4-6606
for any pressing issues.

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


[Flashcoders] Robert McLaughlin/BRAD/Bombardier is out of the office.

2012-02-22 Thread robert . mclaughlin

I will be out of the office starting  02/22/2012 and will not return until
02/27/2012.

Please contact andrew.luck...@aero.bombardier.com (514) 344-6621 x4-6606
for any pressing issues.

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


[Flashcoders] Robert McLaughlin/BRAD/Bombardier is out of the office.

2012-02-16 Thread robert . mclaughlin

I will be out of the office starting  02/16/2012 and will not return until
02/20/2012.

Please contact andrew.luck...@aero.bombardier.com (514) 344-6621 x4-6606
for any pressing issues.

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


[Flashcoders] Robert McLaughlin/BRAD/Bombardier is out of the office.

2012-02-10 Thread robert . mclaughlin

I will be out of the office starting  02/10/2012 and will not return until
02/13/2012.

Please contact andrew.luck...@aero.bombardier.com (514) 344-6621 x4-6606
for any pressing issues.

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


[Flashcoders] Re: Caught In My Own Infinite Loop (Robert Henry)

2011-08-21 Thread Robert Henry
John,  no solution for your scenario - just a designer who hacks my  
way through.  Question: Why would you want to create and destroy vs  
just building once for all menus per user session and toggle  
visibility of the desired tier.  Historically visibility should also  
manage the hit state of the object.  For me, from my limited and dated  
perspective, the building and destroying and infinitely looping class  
sounds cumbersome, load heavy and possibly unnecessary.  I am likely  
way off base, but would like to know the reasoning and advantages of  
the approach as i am re-learning Flash and trying to get current - so  
go easy on me please ;)  Does your data change during the session or  
scale dramatically?



On Aug 21, 2011, at 12:00 PM, flashcoders- 
requ...@chattyfig.figleaf.com wrote:



  1. Caught In My Own Infinite Loop (John Polk)


--

Message: 1
Date: Sat, 20 Aug 2011 10:27:07 -0700 (PDT)
From: John Polk j.pol...@yahoo.com
Subject: [Flashcoders] Caught In My Own Infinite Loop
To: Flash List flashcoders@chattyfig.figleaf.com
Message-ID:
1313861227.44778.yahoomail...@web122201.mail.ne1.yahoo.com
Content-Type: text/plain; charset=us-ascii

Hi;
I have a class menu that calls another class submenu to  
instantiate a submenu of items when a menu item is rolled over. This  
process loops for as many sublevels exist. The problem comes when I  
want to destroy them. For example, if someone is at the first item  
of the second level and out pops the third level, then the user  
rolls out of the second level back to the first. In this case, the  
third level should be destroyed. The problem is that I have no way  
to communicate to my infinitely looping class that we've regressed a  
level. The same problem occurs when the user is at the second level  
on the first item and scrolls to the second. At the first item, a  
third level of items will pop out (assuming such exist) but they  
won't be destroyed when the user scrolls to the second item of the  
second level because I have no way to communicate with my infinitely  
looping script what transpired. I need a way to add these levels as  
children of a class that somehow
gets called every time the infinitely looping class gets called yet  
doesn't start from a fresh slate each time so that I can keep  
track of all the levels and their associated children being added to  
the stage. I hope that was clear :-}

TIA,
John


--


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


[Flashcoders] Robert McLaughlin/BRAD/Bombardier is out of the office.

2011-07-11 Thread robert . mclaughlin

I will be out of the office starting  07/07/2011 and will not return until
07/19/2011.

Please contact andrew.luck...@aero.bombardier.com (514) 344-6621 x68974
for any issues.

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


RE: [Flashcoders] Changing display index on the stage

2010-05-05 Thread Robert Leisle
Hi,

//Assumes mc1 is on the stage and has linkage set to mc1
var mc2:MovieClip = new MovieClip();
addChild(mc2); 
addChild(mc1);

hth,
Bob


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia
Vikhtinskaya
Sent: Wednesday, May 05, 2010 10:17 AM
To: Flash Coders List
Subject: [Flashcoders] Changing display index on the stage

Hi
Is it possible to have mc1 manually placed on stage be over mc2
created dynamically
mc2=new MovieClip();
addChild(mc2)
___
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] Equivalent of setCharAt to change a character in a string

2009-07-14 Thread Robert Leisle
Does this not work for you?

// Change the first instance only
var myPattern:RegExp = /sh/;
// Change all instances
//var myPattern:RegExp = /sh/g;
var str:String = She sells seashells by the seashore.;
trace(str.replace(myPattern, sch));
// She sells seaschells by the seashore.

Hth,
Bob

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: Tuesday, July 14, 2009 8:50 AM
To: 'Flash Coders List'
Subject: [Flashcoders] Equivalent of setCharAt to change a character in a string

Probably something really simple but can't for the life of me recall the syntax 
to change a particular character of a string.

For example if I have the word Flash and want to change the letter a to an 
e, I was hoping there was a function like setCharAt(2, e);

Btw I am coding in AS3.

Thanks

paul


___
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] Equivalent of setCharAt to change a character in a string

2009-07-14 Thread Robert Leisle
Ah yes. I missed that part.
How about this moderately less simple one using Kenneth's suggestion?

function swapCharAt(s:String, index:Number, char:String ):String{
var ptrn:RegExp = new RegExp((.{+index+}).(.*));
return( (s).replace(ptrn, $1+char+$2) );
}
trace( swapCharAt(Flash, 2, e) );

hth,
Bob

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: Tuesday, July 14, 2009 10:32 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Equivalent of setCharAt to change a character in
a string

Thanks Robert - yes I am able to replace patterns but just wondered If  
simple way to change a particular character in a string based on the  
character index?

Thanks
Paul

Sent from my iPhone

On 14 Jul 2009, at 18:10, Robert Leisle b...@headsprout.com wrote:

 Does this not work for you?

 // Change the first instance only
 var myPattern:RegExp = /sh/;
 // Change all instances
 //var myPattern:RegExp = /sh/g;
 var str:String = She sells seashells by the seashore.;
 trace(str.replace(myPattern, sch));
 // She sells seaschells by the seashore.

 Hth,
 Bob

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- 
 boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
 Sent: Tuesday, July 14, 2009 8:50 AM
 To: 'Flash Coders List'
 Subject: [Flashcoders] Equivalent of setCharAt to change a character  
 in a string

 Probably something really simple but can't for the life of me recall  
 the syntax to change a particular character of a string.

 For example if I have the word Flash and want to change the letter  
 a to an e, I was hoping there was a function like setCharAt(2,  
 e);

 Btw I am coding in AS3.

 Thanks

 paul


 ___
 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] ReferenceError: Error #1065 issue

2009-06-22 Thread Robert Leisle
Thanks Mario!

I actually found the solution to this. It was my own mistake, of course.
I've got a base level swf loading in a child swf which contains the super
class and subclass mentioned below. Turns out the loading swf also uses the
super class, and I hadn't recompiled it in the process. It was loading the
older version of the super class into memory first, so the updated
definition compiled into the child swf was not being used.

Thanks again for your response,
Bob


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of mario
Sent: Saturday, June 20, 2009 4:52 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ReferenceError: Error #1065 issue

If you override that function like so, does it compile (to make sure the 
override is correct) and do you see the trace (to make sure the call is 
correct)?

override protected function  mthGetPDataTag(stgInput:String) :String
{
trace('call worked')
return '';
}
--

Mario Gonzalez
http://onedayitwillmake.com
Senior Developer | WDDG.com


Leisle wrote:
 Hi list,

 This should be simple, but for some reason refuses to cooperate. I'm
working
 in AS3, CS3.
 I've got a super class (HsSegment) and a subclass (HsSegment_qtd1), both
are
 public. In the super class are the definitions for many methods, including
 this definition:

 protected function mthGetPDataTag(stgInput:String):String
 {
   //...Do stuff and return a String...
 }

 In the subclass I've got the call to this method:
 var stgEg:String = mthGetPDataTag(stgInput);

  When testing in the IDE this works fine. When testing in the browser I
get
 a runtime error,
  ReferenceError: Error #1065: Variable
 hs.segments.classes:HsSegment_qtd1::mthGetPDataTag is not defined.
   
 I've googled and found plenty of questions around this, but no answers,
 other than 'make your classes public', which they are.
 The other methods in the super class are defined and called essentially
this
 same way and work fine in both IDE and browser. What makes this one
special?

 What am I missing? Any help is appreciated.

 Thanks,
 Bob


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


__ Information from ESET NOD32 Antivirus, version of virus signature
database 4172 (20090619) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


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


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


[Flashcoders] ReferenceError: Error #1065 issue

2009-06-18 Thread Robert Leisle
Hi list,

This should be simple, but for some reason refuses to cooperate. I'm working
in AS3, CS3.
I've got a super class (HsSegment) and a subclass (HsSegment_qtd1), both are
public. In the super class are the definitions for many methods, including
this definition:

protected function mthGetPDataTag(stgInput:String):String
{
//...Do stuff and return a String...
}

In the subclass I've got the call to this method:
var stgEg:String = mthGetPDataTag(stgInput);

 When testing in the IDE this works fine. When testing in the browser I get
a runtime error,
 ReferenceError: Error #1065: Variable
hs.segments.classes:HsSegment_qtd1::mthGetPDataTag is not defined.

I've googled and found plenty of questions around this, but no answers,
other than 'make your classes public', which they are.
The other methods in the super class are defined and called essentially this
same way and work fine in both IDE and browser. What makes this one special?

What am I missing? Any help is appreciated.

Thanks,
Bob


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


RE: [Flashcoders] swf paths...

2009-06-03 Thread Robert Leisle
Hi Maurice,

How about sending it in as a URL variable when you load preloader.swf into
the html page?

In the HTML:
object .
param name=movie value=swf/preloader.swf?path=swf/ /
...
embed src=swf/preloader.swf?path=swf/ .../
/object

Then in preloader.swf:
var ojtParams:Object = this.loaderInfo.parameters;
var swfPath:String = ojtParams.path;


hth,
Bob


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of maurice
sallave
Sent: Wednesday, June 03, 2009 1:30 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] swf paths...

Hello!
First time on here, so thanks for any advice.
I'm pulling in a preloader.swf file into an html file that sits at root
swf/preloader.swf.  All my swf's are located in a swf directory that gets
preloaded into this preloader.swf - simple enough.  I'd like to try to keep
my server as clean as possible without having to hard-code the path into the
preloader.swf file and don't want to use flashvars as a way of referencing
my targeted path. Is there another way of doing this?  Of course if I put
the html file inside the swf directory, everything works, but it defeats the
purpose of keeping my server organized. I hope this makes sense and again
thanks in advance.
___
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] swf paths...

2009-06-03 Thread Robert Leisle
Here's another version:

var str:String = http://www.yourDomain.com/dir1/dir2/dir3/preloader.swf;;
var intFirst:int = str.indexOf(.com/) +5;
var intLast:int = str.lastIndexOf(/)+1;
var intPathLen:int = intLast - intFirst;
// 
var serverName:String = str.substr( 0, intFirst );
var directoryPath:String = str.substr( intFirst, intPathLen );
var fileName:String = str.substr( intLast );
// 
trace( serverName: +serverName, \ndirectoryPath: +directoryPath,
\nfileName: +fileName );


Cheers,
Bob

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of maurice
sallave
Sent: Wednesday, June 03, 2009 3:11 PM
To: Flash Coders List
Subject: Re: [Flashcoders] swf paths...

Thanks for the replies.  I'll be looking into both.

kind of been playing around with this as well:
str = _url;
slash = str.lastIndexOf(/);
str = str.substring(slash+1, str.length);
dot = str.lastIndexOf(.);
filename = str.substring(0, dot);
directoryLocation = _url.split(filename + .swf).join();

and setting it to frame 1.

On Wed, Jun 3, 2009 at 2:15 PM, Robert Leisle b...@headsprout.com wrote:

 Hi Maurice,

 How about sending it in as a URL variable when you load preloader.swf into
 the html page?

 In the HTML:
 object .
param name=movie value=swf/preloader.swf?path=swf/ /
...
embed src=swf/preloader.swf?path=swf/ .../
 /object

 Then in preloader.swf:
 var ojtParams:Object = this.loaderInfo.parameters;
 var swfPath:String = ojtParams.path;


 hth,
 Bob


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of maurice
 sallave
 Sent: Wednesday, June 03, 2009 1:30 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] swf paths...

 Hello!
 First time on here, so thanks for any advice.
 I'm pulling in a preloader.swf file into an html file that sits at root
 swf/preloader.swf.  All my swf's are located in a swf directory that
gets
 preloaded into this preloader.swf - simple enough.  I'd like to try to
keep
 my server as clean as possible without having to hard-code the path into
 the
 preloader.swf file and don't want to use flashvars as a way of referencing
 my targeted path. Is there another way of doing this?  Of course if I put
 the html file inside the swf directory, everything works, but it defeats
 the
 purpose of keeping my server organized. I hope this makes sense and again
 thanks in advance.
 ___
 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] Getting attributes out of a node with : in it

2009-02-09 Thread Robert Leisle
Check out the Namespace class, as it applies to XML, in the Flash docs.
There's also a good explanation in this tutorial by Lee Brimelow:
http://gotoandlearn.com/play?id=65

hth,
Bob

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki
Sent: Monday, February 09, 2009 10:37 AM
To: Flash Coders List
Subject: [Flashcoders] Getting attributes out of a node with : in it

For example I have a node like so:

yweather:condition text=Partly Cloudy code=30 temp=34 date=Mon, 09
Feb 2009 12:56 pm EST/


How can I get into that node to pull attributes out? The : in the node
name is screwing my up at the moment.

Eric
___
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] help stopping an external clip on as3

2009-01-16 Thread Robert Leisle
Hi Gustavo,

Try this:
var mc:MovieClip = myLoader.content as MovieClip;
mc.stop();

or
MovieClip(myLoader.content).stop();

Either one should work.

hth,
Bob

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gustavo
Duenas
Sent: Friday, January 16, 2009 10:43 AM
To: Flash Coders List
Subject: [Flashcoders] help stopping an external clip on as3



Ok Coders I have a loader which loads a external movieclip, and I  
want it to stop when I say, but unfortunately all my efforts are
useless
I've been using.

in some frame.

myLoader.stop();

and nothing

or myLoader.stop;

and is the same...any ideas?

every time is the same error, someone(there is no reference to stop()  
in the display library???) knows how to stop it?

Gustavo D.


Gustavo A. Duenas

___
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] What REALLY causes an IOError?

2008-11-03 Thread Robert Leisle
Hi all,

I am trying to drill deeper into Flash player IOError handling in AS3, in
order to distinguish different types of load failures when loading child
swfs and data into a parent swf. For instance, I need to know, and react
differently to, loads errors where the file is missing altogether vs. loads
where severe network congestion mid-load interrupts a load after a part of
the file has been received.

Can anyone offer some deeper information on exactly what initial
condition(s) triggers an IOError event? Is it time-based (no bytes loaded in
N ms), a reaction to a server response, something else? I've been googling
and reading through Adobe docs all morning and haven't seen anything deeper
than the often repeated, but largely unhelpful Adobe line: FlashR Player
dispatches an IOErrorEvent object when an error causes a send or load
operation to fail. I'm looking for more depth than that. A definition of
error and the criteria used to decide the load was a failure, for
instance, would be a good start.

Any info. or  directions to look would be greatly appreciated.

Thanks,
Bob


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


RE: [Flashcoders] getting loader to work with security policy...

2008-09-09 Thread Robert Leisle
Hi Boyd,

Yes, you'll need to do import flash.system.Security; to use the
loadPolicyFile method.

Also, in your crossdomain.xml, you'll need to include 
allow-access-from domain=www.boyd-speer.com/, or
allow-access-from domain=*.boyd-speer.com/
The way it is coded now will only allow the specific domain,
http://boyd-speer.com. Any differences to that (www, dev, etc.) will cause a
mismatch and the domain will not be allowed.

Hth,
Bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of BOYD SPEER
Sent: Tuesday, September 09, 2008 11:24 AM
To: Flash Coders List
Subject: [Flashcoders] getting loader to work with security policy...

I'm having some diffuculty getting a loader object to call a php script that
puts some data into the database (mysql) and returns a string. 
I placed a crossdomain.xml doc on the website at the level of the .swf. but
can't seem to verify whether the policy doc is loaded or not. In AS3 do I
have to do something like:
import flash.security.* to enable the code:

var loader:URLLoader = new URLLoader();
 
loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityErrorListe
ner);
 
Security.loadPolicyFile(http://www.boyd-speer.com/autoinfo/Irish/src/crossd
omain.xml);
   
   loader.addEventListener(Event.COMPLETE,loadcomplete);
   
   loader.load(request);
   
   function loadcomplete(evt:Event):void {
fscommand(loadcompleted...);
___
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: How to avoid little blink while loading another movie

2008-09-02 Thread Robert Leisle
You could also load the SecondLine.swf slightly before you actually want to
display it, but delay adding it to the display list until you do want to
display it. 
var myUILoader:UILoader=new UILoader(); 
myUILoader.height=23.6; 
myUILoader.move(-17,-1); 
myUILoader.source=SecondLine.swf;

Then at the moment it should be displayed do this:
removeChild(mc_FirstLine); // ( OR mc_FirstLine.visible=false; )
addChild(myUILoader);

hth,
Bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: Tuesday, September 02, 2008 11:21 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Re: How to avoid little blink while loading
another movie

Hi,

Presumably the blink is caused by the delay between your loading movie 
being called and you setting its state to visible=false.

You can resolve that in a few ways:

1. have the swf you load in already be visible=false, pre-set in the 
external file.
2. load the swf off-stage coordinates and then move it to the stage only 
after you set visible=false
3. set the alpha of the loading clip to zero, load the child then set 
visible to false and restore the alpha as needed

Hope this helps, maybe someone else has a better solution.

anuj sharma wrote:
 I am sorry i forgot to mention i am using UILoader componenet for loading
 that external SWF , if you guys have any other container in mind for this
 purpose i would be happy to use that.
 Thanks
 Anuj
 
 On Tue, Sep 2, 2008 at 11:01 AM, anuj sharma [EMAIL PROTECTED] wrote:
 
 Hi All
 I am building a simple tween movie in which a line just goes from left to
 right and as soon as it reaches the end point I need to call external swf
 file and need to make the already running tween movie invisible.
Everything
 is working fine except when i reach at the end of the movie and calling
 external swf file , it shows a little blink (for a fraction of second) to
 signify that something external has been loaded. I do not want my
 aaplication to show that it is loading some external files. Can i avoid
that
 fraction of second of delay (blink showing unloading and loading movies).
 Here's my code which i used at the end of my first tween movie.

 import fl.containers.UILoader;

 mc_FirstLine.visible=false;
 var myUILoader:UILoader=new UILoader();
 myUILoader.height=23.6;
 myUILoader.move(-17,-1);
 myUILoader.source=SecondLine.swf;
 addChild(myUILoader);

 Please let me know if we can , any help and suggestions will be highly
 appreciated.
 Thanks
 Anuj

 ___
 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] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Robert Leisle
Hi Jason,

Is something like this what you need?

function dec2hex(input):String {
var hex:Number;
var stgHex:String = uint(input).toString(16);
while (stgHex.length  6){
stgHex = 0+stgHex;
}
stgHex = 0x+stgHex;
return stgHex;
}

function hex2dec(input):String {
return String(uint(input));
}

// test run
var decColor:Number = 102;
var hexColor:String = dec2hex(decColor);
trace(hex: +hexColor);
trace(dec: +hex2dec(hexColor));

hth,
Bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, July 24, 2008 10:47 AM
To: Flash Coders List
Subject: [Flashcoders] ColorPicker.selectedValue to #hex?

How can I translate the ColorPicker.selectedValue to a 6 digit hex
number?  i.e. if the color selected is, 66, if I trace
ColorPicker.selectedColor, traces 102.  I tried gooling for an
Actionscript hex converter, but didn't come up with anything.  Thanks.


Jason Merrill 
Bank of America 
Enterprise Technology  Global Risk LLD 
Instructional Technology  Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 

 
___
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] E4X filtering strange behaviour

2008-07-21 Thread Robert Leisle
Hi Jason,

This works for me:
var testXML:XML = data
topics
topic title=Coldplays New Album /
topic title=The Dark Knight /
topic title=Arrested Development: The
Movie /
/topics
/data;

var re:RegExp = new RegExp(searchInput.text, g); 
var xmlListSearch:XMLList = testXML.topics.topic.(re[test](@title));
trace(result: +xmlListSearch.toXMLString());

Hth,
Bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Monday, July 21, 2008 12:27 PM
To: Flash Coders List
Subject: RE: [Flashcoders] E4X filtering strange behaviour

OK, so this is almost there, but not quite.  If I do as Kenneth
suggested (and this should be able to be reproduced), 

var testXML:XML = data
topics
topic title=Coldplays New Album /
topic title=The Dark Knight /
topic title=Arrested Development: The
Movie /
/topics
/data;

var re:RegExp = new RegExp(^+searchInput.text);
var xmlListSearch:XMLList = testXML.topics.topic.(re[test](@title));
trace(result: +xmlListSearch.toXMLString());

(Assuming there is a TextInput text field on the stage and a function
run when a button is clicked to run the regex search), if I enter the
search term, The, it only returns the second node containing The Dark
Knight, not the third topic node, which has a The in it's title
attribute as well.  If I put Dark, it doesn't return anything.  So it
seems it's only searching nodes where the search term is the first item.
How can I modify the regular expression above to find all nodes
containing an element of the search term?

Thanks,

Jason Merrill 
Bank of America 
Enterprise Technology  Global Risk LLD 
Instructional Technology  Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 

 
___
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] smooth animation

2008-06-06 Thread robert

Hi
I am working on a flash piece in which there is a band of 9 jpegs that  
slowly move horizontally along the screen in a never ending band (the  
images are repeated to the left as they exit to the right).


My client still perceives the movement as choppy. I have tried basic  
tricks like onEnterFrame and Tween() and a plain old timeline tween.  
The movement speed is very slow at 1px at 31fps. I've made it slightly  
smoother by checking each jpg to allow smoothing. Are there any  
other tricks at the newbie level or flashcoder level? Or is this  
something inherent in flash or related to the viewing hardware?


Thank you very much
robert
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] smooth animation

2008-06-06 Thread robert

Hi all
Thank you for the feedbacks and pointers to possible trouble spots.

At this point I am getting info on the client's hardware but I suspect  
I'll be back with a url for other opinions :/


well it is Friday at least :)

robert



On Jun 6, 2008, at 9:12 AM, Zeh Fernando wrote:

It depends on what's the actual problem. Allow smoothing won't  
help you unless you're talking about REAL slow (subpixel) moving or  
transformations like rotation and scale.


Using tweening extensions - tweener, tweenlite, tweenmax, go, fuse,  
etc - is a given. But other than that, if the thing still looks  
choppy, the bottleneck is most probably with image rendering -  
that'll depend on area used, blending modes, your framerate, whether  
there's something else on top or below the image, what's using  
cacheAsBitmap and what's not, whether you have filters, etc. And on  
that case, allow smoothing would actually make the thing worse.


So I'd say, find the bottleneck and attack it. There's no magic  
trick. You have to know your enemy. Trying to solve rendering issues  
with different tweening extensions won't give you any positive  
result, and the contrary is also true. So those aren't really  
tricks; it's more about doing the thing right from the start.  
There's a lot of combinations that will really drag the player  
performance down.


Zeh

robert wrote:

Hi
I am working on a flash piece in which there is a band of 9 jpegs  
that slowly move horizontally along the screen in a never ending  
band (the images are repeated to the left as they exit to the right).
My client still perceives the movement as choppy. I have tried  
basic tricks like onEnterFrame and Tween() and a plain old timeline  
tween. The movement speed is very slow at 1px at 31fps. I've made  
it slightly smoother by checking each jpg to allow smoothing. Are  
there any other tricks at the newbie level or flashcoder level? Or  
is this something inherent in flash or related to the viewing  
hardware?

Thank you very much
robert
___
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] Firefox popup blocker and flash 9

2008-05-28 Thread Robert Leisle
This is probably not what your client wants to hear but the question has to
be asked. Isn't Firefox popup blocker there for a reason? When blocking is
active there is a message when a popup is attempted. Users have the choice
to block or not, or to white-list your popups. I recommend allowing them
that choice.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade
Sent: Wednesday, May 28, 2008 4:22 PM
To: Flash Coders List
Subject: [Flashcoders] Firefox popup blocker and flash 9

I'm having problems with Fireox blocking my popup windows. I've tried
everything I can think of. It seems to happen on Windows running Firefox but
I can't replicate the issue on all machines I've tested(it works on most
machines but not all).

Here is the class I'm using:

package {

import flash.external.ExternalInterface;

public class URLUtil{

protected static const WINDOW_OPEN_FUNCTION : String =
window.open;

public static function openWindow(url : String, window : String =
_blank, features : String = ) : void {
ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window,
features);
}

}

}


//being called this way
function recholder1Release(event:MouseEvent) {
URLUtil.openWindow(res1link);
}


Any ideas?

TIA,

-D

___
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] Why isn't my TextField multiline? AS2

2008-05-07 Thread Robert Leisle
Hi Alistair,

Try adding this to your code:
tmpField.wordWrap = true;

Hth,
Bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alistair
Colling
Sent: Wednesday, May 07, 2008 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] Why isn't my TextField multiline? AS2

Hi there, thanks for checking this.

I'm generating a textfield from within a custom class but I can't  
seem to make it multiline, I can see the border of the textfield is  
the right size my text only appears on the first line and also my  
carriage returns \r are having no effect.
I've tried a number of options for properties of the textfield but I  
cant seem to get it to work.

Any suggestions thankfully received this is taking lots of time for a  
simple thing!
Cheers,
Ali



Here's the code from within my class:




var oline:MovieClip = mainMC.monkey.bubble.outline
var tmpBox:MovieClip =
mainMC.monkey.bubble.createEmptyMovieClip 
(text_mc, 1);
var tmpField:TextField =
tmpBox.createTextField(my_txt, 1,  
oline._x, oline._y, oline._width, oline._height);
tmpField.selectable = false;
tmpField.border = true;
tmpField.embedFonts = true;
tmpField.type = dynamic;
tmpField.multiline = true;  
tmpField.text = Q.monkeyStr;
tmpField.setTextFormat(myM);
___
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] AS3 For loop proplem

2008-05-06 Thread Robert Leisle
Hi SJM,

It looks like you're setting the persistent var, _mcName, to equal each 
_summaryElement[i].sumImg in turn as the loop progresses. That means that when 
the loop is finished, the value for _mcName will be a reference to 
_summaryElement[4].sumImg, the last clip being loaded. Since your loop 
undoubtedly runs faster than the loading process, what your imgLoadComplete 
handler is actually doing is this, 
_summaryElement[4].sumImg.addChild(ev.target.content). It wouldn't be 
surprising if you looked at the contents of _summaryElement[4].sumImg and found 
that all the images are added to its display list as each load completes. 
I would either get rid of the persistent var and find a way to use an ID number 
to link the loaded images and the containers, OR add this line to your 
loadImage method, _mcName.addChild(imageLoader);, and forget the event listener 
(at least for doing the addChild).

Hth,
Bob



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, May 06, 2008 9:54 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] AS3 For loop proplem

 This code should load a MovieClip from the library 5 times, place
each on the stage and then load a different image into each one
 Instead it loads the 5 MovieClips from the library, places them on
the stage and then only loads the image into the last (5th)
MovieClip, whats going wrong?
  this code will not run as its stripped 
 var itemList:XMLList  = locationInfo.item; 
 for (var i = 0; i  itemList.length(); i++) //
Loops through 5 times
 {
 _summaryElement[i] =
loadLibrary(summaryContainer); // Load our MovieClip from the library
 loadImage(images/ + i + .jpg,
_summaryElement[i].sumImg); // Should load image into
_summaryElement[i].sumImg which is a blank placeholder movieclip
 } 
 function loadImage(filename:String,
mcName:MovieClip):void
 {
 _mcName = mcName; // Contains MovieClip object
(object 1 through 5)
 var imageLoader:Loader = new Loader();
 var imageURL:URLRequest = new
URLRequest(filename);
 imageLoader.load (imageURL);

imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
imgLoadComplete);
 }
 function imgLoadComplete(ev:Event):void
 {
 _mcName.addChild(ev.target.content); // This
should add the loaded image into the placeholder movieclip for each
of the 5 MovieClips
}
 SJM
___
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] A simple question for getting Object info.

2008-05-02 Thread Robert Leisle
Hi ACE,

This works:

var bookList:Object = {
  BOOK1:{isbn:155209328X,Price:$19.95.,Title:This is Book1 Title},
  BOOK2:{isbn:0072231726,Price:$24.95.,Title:This is Book2 Title} };

for (var book:* in bookList) {
trace(book);
for (var i:* in bookList[book]) {
trace(\t+i+: +bookList[book][i]);
}
}
/*Output:
BOOK1
Price: $19.95.
isbn: 155209328X
Title: This is Book1 Title
BOOK2
Price: $24.95.
isbn: 0072231726
Title: This is Book2 Title
*/

Hth,
Bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ACE Flash
Sent: Friday, May 02, 2008 2:12 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] A simple question for getting Object info.

Hi there,

I could use for... in script to retrieve BOOK1, BOOK2 as below. Do you know
how can I retrieve all data inside of {} for BOOK1, BOOK2?

I tried to use for..each..in script... but I could only get the OBJECT.

Thank you

var bookList:Object = {
  BOOK1:{isbn:155209328X,Price:$19.95.,Title:This is Book1 Title},
  BOOK2:{isbn:0072231726,Price:$24.95.,Title:This is Book2 Title}
};

for (var bok:* in bookList) {
trace(bok);
}

//for each (var bok:* in bookList) {
 //trace(bok);
//}
___
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] Need Help from Techies

2008-04-26 Thread robert
I'm not entirely understanding what the problem is, but a JSFL script  
is good for going thru timelines and can be used to evaluate what is  
where.


or Distribute to layers should separate them out?



On Apr 25, 2008, at 5:17 PM, [EMAIL PROTECTED] wrote:


Hi All,

I have a problem that I cannot seem to solve.  The problem is that I  
deleted three small symbol buttons from the main interface of a  
flash document template.   Now, I visibly see their placeholder, but  
I cannot find the location of the placeholder for deletion.  I need  
to delete the placeholder because it is visibly unappealing.


Any suggestions?  All responses are greatly appreciated.

Thanx,

Shara
___
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] Reloading Dynamic Text

2008-04-19 Thread robert
you may need to include a random digit to prevent caching especially  
if mid is the same value each time the function attempts to load the  
php page.


var rand:Number = Math.floor(Math.random() * 100)
loadVariablesNum(live_flash.php?mid=+mid+r=+rand, 0, GET);




On Apr 19, 2008, at 12:43 PM, Scott Wilhelm (HireAWebGeek.com) wrote:


Hello:



I'm trying to update a dynamic text field that is being loaded with
variables brought in from a php file loaded in within a setinterval
function...for some reason though, it will not update the text  
field, even

though I have the it in the function...I'm, using AS2...



This is the script I have so far:



setInterval(updatescoreboard(), 1000, );



function updatescoreboard() {

loadVariablesNum(live_flash.php?mid=+mid, 0, GET);

_level0.t1s.text = t1s;

}



Any ideas/suggestions to get this to work?



Thanks,



Scott

___
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] Reloading Dynamic Text

2008-04-19 Thread robert
somehow i don't think your sendAndLoad is correct. does the value for  
mid change at all when the interval is reached?
until then, this code should be able to update the textfield as the  
output from the php changes.



function reloadPHP() {
 loadVariables(fl_url, _root);
}

rand = Math.floor(Math.random() * 100);
fl_url = live_flash.php?mid=+mid+r=+rand;

// set the intervals for calling the php page
counter = setInterval(reloadPHP, 1);

// continuous loop to update the textfield from the _root value
this.onEnterFrame = function():Void {
  _level0.t1s.text = t1s;
}



On Apr 19, 2008, at 5:46 PM, Scott Wilhelm (HireAWebGeek.com) wrote:

I'm starting to get somewhere.  The problem I'm running into is that  
the

script will reload so fast for a while, and then it seems to timeout.

Here's my code.  Can someone please tell me what I'm doing wrong?

~~
rand = Math.floor(Math.random() * 100);
fl_url = live_flash.php?mid=+mid+r=+rand;

time = 1;
counter = setInterval(reloadPHP(), time, );

function reloadPHP(){
clearInterval(counter);
sendAndLoad(fl_url,GET);
loadVariables(fl_url, _root);
counter = setInterval(reloadPHP(), time);
}
~~

Thanks!

Scott


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Wilhelm (HireAWebGeek.com)
Sent: Saturday, April 19, 2008 3:43 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Reloading Dynamic Text

Hello:



I'm trying to update a dynamic text field that is being loaded with
variables brought in from a php file loaded in within a setinterval
function...for some reason though, it will not update the text  
field, even

though I have the it in the function...I'm, using AS2...



This is the script I have so far:



setInterval(updatescoreboard(), 1000, );



function updatescoreboard() {

loadVariablesNum(live_flash.php?mid=+mid, 0, GET);

_level0.t1s.text = t1s;

}



Any ideas/suggestions to get this to work?



Thanks,



Scott

___
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] Double lines from PHP

2008-04-18 Thread robert
no idea what your form data in php looks like, but you could probably  
use nl2br in there and the output (xml?) doesn't include \n or \r but  
simply br as needed.


Anyway I think on Windows you get a \r\n combo. for flash, you need to  
strip out the \r. then \n remains and as far as I recall for AS2, the  
\n is still interpreted regardless of htmlText. so finally you need to  
strip out the \n and replace that with br.





On Apr 18, 2008, at 10:08 AM, Elia Morling wrote:


Thanks, but it didn't work. :(

- Original Message - From: Muzak [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 18, 2008 5:37 PM
Subject: Re: [Flashcoders] Double lines from PHP



str.split(\n).join();

- Original Message - From: Elia Morling [EMAIL PROTECTED] 


To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 18, 2008 3:55 PM
Subject: [Flashcoders] Double lines from PHP


I'm sending some form data from PHP to flash and all line feeds  
turn out to be double lines in flash.


I'm using a textfield and htmlText. I tried to conver chr(13) and  
chr(10) to br but it doesn't work.

I also tried turning chr(13) to chr(10) and vice versa without luck.

Any ideas?

Elia


___
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] OT: php forum

2008-04-17 Thread robert
PHP Builder is pretty great. There is even a section code critique  
which is helpful.


http://phpbuilder.com/board/



On Apr 17, 2008, at 10:53 AM, Jer Brand wrote:

The open forum/programmers symposium on arstechnica.com is a pretty  
good

resource for most languages including PHP, though they tend to have an
anti-Flash slant on occasion.

On Thu, Apr 17, 2008 at 11:40 AM, Glen Pike  
[EMAIL PROTECTED]

wrote:

Not sure, I usually look at the PHP manual online and sift through  
the

comments, but have never used any lists.

Experts Exchange sometimes throws up PHP results, but you are  
supposed to
have a subscription - last time I googled, you could look at the  
answers in

Googles Cached pages without having to pay for subscription.

If you are using CakePHP there is good support / mailing lists for  
that -
they have a Google group, so I would have a look around for similar  
groups

just for PHP, etc.

Sorry if that's not much help.

Glen


Lehr, Theodore M (N-SGIS) wrote:

Sorry - I meant something like this where I can turn to when I  
have a

problem

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: Thursday, April 17, 2008 10:45 AM
To: Flash Coders List
Subject: Re: [Flashcoders] OT: php forum

Phorum - this is okay, easy to customise the look when you find the
template folder, header, footer  css
PHPBB - horrible to integrate with - tried doing a system to
automatically add new users for a CMS to the forum and had to  
rewrite large

chunks of code - does not separate code from SQL from content.
The people from Wordpress were working on a system called BBPress -
looked promising, but have not tried it out.

HTH


Lehr, Theodore M (N-SGIS) wrote:



Anyone know of a good php forum?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders










--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

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


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


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


Re: [Flashcoders] Dynamically changing FLV framerate

2008-04-09 Thread robert
Depends on the length of your video, but might be more efficient to  
render the video at an alternative speed. Not exactly the same as your  
case, but this is especially better when doing something like playing  
the movie backwards, that is, do a separate and complete rendering of  
the movie that displays as if playing backwards. Maybe you might have  
luck along those lines.




On Apr 8, 2008, at 11:17 PM, Sajid Saiyed wrote:

Hi,
Does anyone know a way to dynamically change the framerate of a FLV  
file?


I want to simulate fast forward and rewind (with different speeds).

I am able to change the framerate of the flash movie but that does not
affect the FLV thats playing in the Video component :(

Any suggestions please?

-- sajid
___
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] Interfaces

2008-04-01 Thread robert

On Apr 1, 2008, at 1:19 PM, Omar Fouad wrote:

list,
I've been reading tons of books and I still can't get the concept of
Interfaces.

Can someone explain it with an easy example for me?

Help will be really appreciated.



This guy's example gave me a good foothold. Maybe it will help:

http://labs.thesedays.com/2006/12/03/composition-over-inheritance-a-real-life-example/

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


RE: [Flashcoders] Button addEventListener is cancelled out by my Timerfunction.

2008-02-25 Thread Robert Leisle
Hi Vlado,

It looks like your button is probably on the timeline rather than make
instantiated with code. Make sure your button exists before you do the
addEventListener() on frame 25. Also, do you maybe have a key frame in the
button layer at frame 65? If so, each key frame creates a new instance of
the button and any properties of the new instance will have the default
values until you reset them. To avoid the problem you described, just remove
the key frames and give your button a continuous, uninterrupted layer for
the whole length of the time line that you need it.

hth

Bob Leisle

Headsprout Software  Engineering

www.headsprout.com

Where kids learn to read!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlado Krempl
Sent: Monday, February 25, 2008 5:13 AM
To: Flash Coders List
Subject: [Flashcoders] Button addEventListener is cancelled out by my
Timerfunction.

Timeline problem:

As soon as my pauseTimeline function is called on frame 65, my button
infoONEbtn doesn't register on frame 65.
And after frame 65, my button doesn't work unless I call the
addEventlistener again on frame 66.
Is there a way around this??

I have this code on frame 10

function pauseTimeline(howLong:Number):void {
 stop();
 var t:Timer = new Timer (howLong, 1);
 t.addEventListener(
 TimerEvent.TIMER, 
 function(evt:TimerEvent):void {
 play();
}
);
t.start();
}

then this code on frame 25

//infoONEbutton
infoONEbtn.addEventListener(MouseEvent.MOUSE_UP, infoONESCENE);

function infoONESCENE(evt:MouseEvent) {
 gotoAndPlay(infoONE);

}

this code on frame 65

pauseTimeline(3000);


Thankyou for bothering with my simple problems.

Vlado 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is
addressed.
If you have received this email in error please notify the sender. If you
are not the named addressee you should not disseminate, distribute or copy
this e-mail. 
___
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] RangeError: Error #2006: The supplied index is out ofbounds.

2008-02-25 Thread Robert Leisle
Hi Anuj,

According to Flash Help files for getChildAt(), this error is generated by
getChildAt() when, RangeError - Throws if the index does not exist in the
child list. Either your aa variable is not evaluating correctly inside
the function or there is no child object at depth index 0 when the function
is called.

Hth,
Bob Leisle

Headsprout Software  Engineering

www.headsprout.com

Where kids learn to read!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of anuj sharma
Sent: Monday, February 25, 2008 1:20 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] RangeError: Error #2006: The supplied index is out
ofbounds.

Hi Guys
I am making an Auto-Arrange button and clicking on which arranges all the
children of the container( which are on the main stage) in the tile format.
Basically on clicking, I manually move those child on the stage to
particular coordinates as shown in my code. I have pasted my code below. My
problem is that as soon as i click on the auto arrange button I am getting
error RangeError: Error #2006: The supplied index is out of bounds..
Please let me know what i am doing wrong and i will appreciate if you let me
know how would i fix this
Thanks a lot guys
Anuj

**CODE**
var aa:Number=0;
var xcoord:Number=-300;
var ycoord:Number=-200;
var xcoord1:Number=450;
 var xcoord2:Number=850;
 var xcoord3:Number=1250;
var ycoord1:Number=350;
 var ycoord2:Number=650;
//Button Listener
btn_AA.addEventListener(MouseEvent.CLICK,autoArrange);
function autoArrange(event:MouseEvent):void
{
if(container.getChildAt(aa)!=null)
{
container.getChildAt(aa).x=xcoord;
container.getChildAt(aa).y=ycoord;
//Arrange Second
container.getChildAt(aa+1).x=xcoord+xcoord1;
container.getChildAt(aa+1).y=ycoord;
//Arrange Third
container.getChildAt(aa+2).x=xcoord+ xcoord2;
container.getChildAt(aa+2).y=ycoord;
//Arrange Forth
container.getChildAt(aa+3).x=xcoord+xcoord3;
container.getChildAt(aa+3).y=ycoord;
//Arrange Fifth
container.getChildAt(aa+4).x=xcoord;
container.getChildAt(aa+4).y=ycoord+ycoord1;
//Arrange Sixth
container.getChildAt(aa+5).x=xcoord+xcoord1;
container.getChildAt(aa+5).y=ycoord+ycoord1;
//Arrange Seventh
container.getChildAt(aa+6).x=xcoord+ xcoord2;
container.getChildAt(aa+6).y=ycoord+ycoord1;
//Arrange Eight
container.getChildAt(aa+7).x=xcoord+xcoord3;
container.getChildAt(aa+7).y=ycoord+ycoord1;
//Arrange Ninth
container.getChildAt(aa+8).x=xcoord;
container.getChildAt(aa+8).y=ycoord+ycoord2;
//Arrange Tenth
container.getChildAt(aa+9).x=xcoord+xcoord1;
container.getChildAt(aa+9).y=ycoord+ycoord2;
//Arrange Eleventh
container.getChildAt(aa+10).x=xcoord+ xcoord2;
container.getChildAt(aa+10).y=ycoord+ycoord2;
}
}
___
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] on exit/close event

2007-12-19 Thread Robert Hadsell

Putting an onPreUnload javascript function in the page's Body tag might be more 
reliable.  As I understand it, this function was conceived to force what you 
want to happen to go to completion before the page is actually closed.
 
-- Bob Hadsell Date: Wed, 12 Dec 2007 13:17:16 -0500 From: [EMAIL PROTECTED] 
To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] on exit/close 
event  I don't believe Flash has anything for that (which makes my life 
difficult too). We use the onClose event when we can, but that's the best 
we've come up with.  -Andy  On Dec 12, 2007 12:49 PM, Andrew Sinning 
[EMAIL PROTECTED] wrote:  In AS2, is there an event that gets triggered 
when the user closes the  browser window or navigates away from the page 
containing the Flash  movie? My experience with the javascript onClose event 
in browsers is  that it's not reliable across platforms and browsers.   
My goal is to cache the current state of the user's interaction, and I'd  
rather not do this continuously, but I guess I'll probably have to pick  the 
most important places to do this if I can't catch an onClose.   Thanks!  
___  Flashcoders mailing list  
Flashcoders@chattyfig.figleaf.com  
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders  
___ Flashcoders mailing list 
Flashcoders@chattyfig.figleaf.com 
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_
i’m is proud to present Cause Effect, a series about real people making a 
difference.
http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Digest.

2007-10-19 Thread Robert Redmond
I attempted to use the control panel provided in the re-instatement  
email for this as well, but I'm still receiving the individual emails...


Kindly,

Robert N. Redmond
[EMAIL PROTECTED]
--
http://www.designerprogrammer.com
--
c. 917.673.3257
p. 845.284.2849
f. 866.292.9213
--
80 Nardin Road
Lake Peekskill, NY 10537
USA
--
imAOL therbox
imYAHOO designeprogrammer
--
You are inside. Go outside!



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


Re: [Flashcoders] flash contact form backend

2007-09-14 Thread robert nikolic
Many people replied instantly and many thanks for that because we visited 
those links and got more ideas.


What we eventually implemented is (flash)

on submit click
---
var my_lv:LoadVars = new LoadVars();
my_lv.Name = ta_firstName.text;
my_lv.Surname = ta_lastName.text;
my_lv.send(emailFormValues.php, frmEmail, POST);
---

and PHP

---
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;

html xmlns=http://www.w3.org/1999/xhtml;
head
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
titlePrint all GET and POST values/title
/head

body
?php
foreach ( $_REQUEST as $key = $value ) {
$body .= $key .   . = .   . $value;
}

$to = [EMAIL PROTECTED];
$subject = Test;
$headers = From: [EMAIL PROTECTED] .
   X-Mailer: php;
if (mail($to, $subject, $body, $headers)) {
 echo(pMessage successfully sent!/p);
} else {
 echo(pMessage delivery failed.../p);
}
?
/body
/html
---
frmEmail is an iframe in html 1x1 pixel who will load the and exectute the 
php script and allow the flash form to move to the 2nd frame


Cheers 2 all, Robert



From: eric e. dolecki [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] flash contact form backend
Date: Thu, 13 Sep 2007 12:00:23 -0400

http://www.kirupa.com/developer/actionscript/flash_php_email.htm


On 9/13/07, robert nikolic [EMAIL PROTECTED] wrote:

 I have a flash contact form, and I'm struggling to implement a proper
 backend code to be able to send it to an email recipient.

 Could anyone help with an example, many thanks,
 Robert

 _
 Express yourself instantly with MSN Messenger! Download today it's FREE!
 http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

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

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

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


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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

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


Re: [Flashcoders] AS3 Sound = wtf

2007-09-14 Thread Robert Brisita
Yeah sound was a bit of code, test, re-read documentation, trail, and 
error process.


I ended up creating an internal class called tSound (light class with 2 
members) that contained
a Sound and a SoundChannel that is used in a SoundManager for individual 
sounds.  I used

the SoundMixer to control global sound.

You alway have to instantiate a new SoundTransform when you want to 
manipulate either
the volume or the pan for an individual sound or the SoundMixer itself.  
Which I don't like.


I haven't implemented converting ByteArrays to Sounds as I haven't the 
need for it.  My next

step is adding positional sound when I get the chance to.

Just wanted to put my 2 cents in.

Cheers,
R.

EECOLOR wrote:

Maybe this is a project you would like to check out?

http://code.google.com/p/popforge/


Greetz Erik



On 9/13/07, Andreas Rønning [EMAIL PROTECTED] wrote:
  

I didn't mean hacking was wrong by any stretch, but i am not a hacker. I
simply don't have the time / budget to get in-depth on that level. Imagine
what these hacker types (Andrè Michelle in particular) could do if the API
natively supported the things they now hack to do? I don't really think the
things Michelle does is special in terms of audio programming, but it IS
special in a Flash context because of how limited the API is. It's a moan
about how truly awesome Flash audio could've been with some direct way to
affect audio and an orderly way to manage it i suppose?

I'll write up a feature request myself. Good to hear more people want the
same :)

- A



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

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


  


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

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


[Flashcoders] flash contact form backend

2007-09-13 Thread robert nikolic
I have a flash contact form, and I'm struggling to implement a proper 
backend code to be able to send it to an email recipient.


Could anyone help with an example, many thanks,
Robert

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

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


Re: [Flashcoders] long dash

2007-08-23 Thread robert

how about just buying a math font and embedding it?

http://www.adobe.com/type/browser/P/P_1423.html




On Aug 23, 2007, at 1:07 PM, natalia Vikhtinskaya wrote:


But how that help to show: 1/3 of   9 with horizontal line?

2007/8/23, Hershell Bryant [EMAIL PROTECTED]:
Will your design allow you to just create a movieclip with a solid  
fill
instead of a line? You could give it some small constant dimension  
in Y to
suit your idea of line thickness, and then you have full control  
over its

length in X.

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

Vikhtinskaya
Sent: Thursday, August 23, 2007 11:38 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] long dash

Maybe anybody know how to show 1/3, 1/7.. with horizontal line. I
thought that maybe I can use long dash and three text areas.. But it
will not work if I should to show
1/3 of 9  but with horizontal line. I seems no solution?


2007/8/23, Alan MacDougall [EMAIL PROTECTED]:

natalia Vikhtinskaya wrote:

Hi
I thought it simple but that does not work.I am trying to show  
long dash

c=a mdash; b
txt.html=true;
txt.htmlText=c;
But that does not work. What am I doing wrong?
Thanks in advance


Flash actually only displays a few HTML entities:

lt;
gt;
quot;
amp; (I think)
and one other that I forget.

If you want to use any other special characters, use the code
appropriate to your encoding style. In ASCII, for example, it's  
symbol
151, which you can enter in Windows with alt-0151. In Unicode, I  
think

it's \u8212, but don't quote me.

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

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


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

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


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

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


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

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


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

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


Re: [Flashcoders] Timeline instance problem

2007-08-06 Thread robert


On Aug 6, 2007, at 2:22 AM, Muzak wrote:

My problem comes down to that much of the code is dealing with  
defining code for different events for movie clips in my movie. But
a lot of these movie clips have not yet appeared on the timeline  
when the movie start, and when the constructor for main_mc is

run.



Don't use the constructor to get things done. Use the  
MovieClip.onLoad method.




beautiful and so obvious. for the longest time i had been using  
onEnterFrame or setinterval in my constructors...

you made my day, thank you
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Runtime shared library loading problem

2007-07-29 Thread Robert r. Sanders
I think that the issue is that the file (SWF) loading is taking place 
relative to the url of the root clip.  There are various ways to see 
network traffic, including Live HTTP Headers (plugin for Firefox), 
Wireshark (network packet sniffer), there's also an addon for IE that 
does HTTP monitoring although I can't think of its name off the top of 
my head.  These could confirm the full paths that are being requested.


You should be able to dynamically find the current base url in 
actionscript, although its not too pretty as I recall.  You could also 
just pass in the based URL and parse it internally to normalize for the 
different paths; or if possible just use absolute urls and/or 
server-relative urls.




Hi,

I have a flash movieclip container that I use to load all my swf files. I
use SWFObject to load this flash container inside the html file and I pass
my swf filename as a variable. 


This works fine as long as my swf files do not contain objects that need to
be loaded at runtime. When I have such objects, they do not seem to get
loaded.

If I load my swf file directly using SWFObject and specify base param to
indicate the path to the runtime files, it works fine. The problem happens
only when I load my swf file through a container.

Any help would be really appreciated.

Thanks
Kannan



  



--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

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

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


Re: [Flashcoders] Tips and advice for online bugtracking

2007-07-10 Thread robert

On Jul 10, 2007, at 5:33 AM, Marcelo Wolfgang wrote:


Hi all,

I have the type of problem I hate the most when developing flash.  
My swf works fine locally, but it doesn't work at all on the web.  
And I'm about as clueless one can be about debuggin this kind of  
problem.

So... can anyone spare some advices?




Probably totally old school, but you could put a textarea component  
on the root of your movie. call it debug_tf.


when you want to trace as you might locally, just do:

// trace(xml loaded...);
_level0.debug_tf.text += xml loaded...\n;

fancy it up by adding a tiny button that can show or hide the textbox.

I don't know how well this would work in AS3 but works fine in AS2.


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

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


Re: [Flashcoders] adapt architecture to facilitate switching component sets

2007-06-30 Thread Robert Sanders
Sounds to me that your over complicating a bit.  What you probably could 
do is provide a base set of classes for you model/data and then one or 
more adapters to add the needed conversion to and from framework 
specifics.  In general I think that while ease of reuse is a great idea, 
you aren't going to be able to achieve it 100% anyway, so its best to 
find a compromise between ease of use and ease of reuse (amongst other 
considerations).  In general it seems to be that actually switching a UI 
framework is a major undertaking to begin with (they usually have all 
sorts of changes required not just of the model code but also of the 
skins, graphics, etc) that it is usually best to pick one and stick with 
it until or unless it becomes less painful to switch than to keep using 
the existing framework.



Hans Wichman wrote:

Hi,

we are looking into using another component set than the v2 architecture.
However we don't want to switch over and over again, and frankly as the
architecture developer I dont want anything to do with components at all.

So I was thinking about a setup where I write component interfaces 
such as

IComboBox and a set of wrappers such as V2ComboBoxAdapter implements
IComboBox.
Next a designer creates a view, and puts something in his view like (im
making it up as I'm typing) :

getComboBox (id:String):IComboBox {
return AbstractFactory.create (V2Adapters.COMBO_BOX, _root.cbPersons);
}

In terms of being independent of my views, I can just start putting an 
app

together and if the designer dude wants to skin it differently or use a
whole other component set he is free to do so, even mix and match is an
option.

The main thing I'm wondering about is whether I'm gruesomely
overcomplicating things and just causing a heckload of work for no good
reason other than that I am not familiar with a single very good 
component
set that satisfies all the designer needs (I'm not saying they don't 
exist,

I'm saying I don't have enough experience in any of them to make a
wellformed decision, and don't really have the time to test them one by
one:)).

Hope this makes any sense!
greetz
JC
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

Re: AW: [Flashcoders] Turn image around effect?

2007-06-29 Thread robert

Maybe it is some variation of the pageflip:

http://www.iparigrafika.hu:16080/pageflip/





On Jun 29, 2007, at 4:12 AM, Jiri Heitlager | dadata.org wrote:

Hmmm, i would also really like to know how they did that. It seems  
to be running in as2 FP8, so that probably rules out papervision.  
Maybe it is done by Sandt, but I cant figure out how.

But then again it could also be done by using mask, couldn't it.

Jiri

Matthias Dittgen wrote:

have you tried to contact their developer directly? ;-)
2007/6/29, Peter Oliver Geller [EMAIL PROTECTED]:

But when you use the image distortion effect (Bitmap Data)
with a two image flip, it´s tricky to program your mask on the  
point of
intersection where the image turns around, because on that moment  
you
display the front and backside and I think group94 use another  
type of

technique which is definitely easier.

Hmm or you can really simple do a gradient alpha flow on the two  
images in

an inversely direction?

Thanks
Peter

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von  
Cedric

Muller
Gesendet: Freitag, 29. Juni 2007 11:40
An: flashcoders@chattyfig.figleaf.com
Betreff: Re: AW: [Flashcoders] Turn image around effect?

maybe by creating the illusion of only one image that is front and
back ??
My guess is that there are two images flipped in the same time: one
from visible to invisible and the other one from invisible to  
visible


hth,
Cedric

 I know the card flip effect,
 but I think its more like the effect Jesse Graupmann posted.

 The question is how ja shows the image backside???
 I have no idea how to combine the image distortion to switch from
 front to
 backside and vice versa?

 Any ideas?

 Peter

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im Auftrag von
 Pedro
 Taranto
 Gesendet: Donnerstag, 28. Juni 2007 19:37
 An: flashcoders@chattyfig.figleaf.com
 Betreff: Re: [Flashcoders] Turn image around effect?

 Card Flip Effect:
 http://pixelfumes.blogspot.com/2006/07/business-card-flip-effect-
 class-with.
 html

 --Pedro Taranto


 Peter Geller escreveu:
 Hi list,



 can somebody give me an answer how this turn around effect was
 made when
 you click on the speech bubble?



 http://www.ja-ik-doe-mee.be/



 Or is it done with a visual flatted 3D Image made with
 http://www.flashsandy.org/ ?





 Another nice technique which interests me is used on this side:

 http://lab.mathieu-badimon.com/ same technique?



 Maybe some of you have a link for me how this is done?



 Thanks a lot



 Peter

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

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


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

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


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

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

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

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


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

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


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

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

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



[Flashcoders] DHTML over flash, Mac issue

2007-06-28 Thread Gosselin, Robert
Hi everyone,

I¹m wondering if anyone ever created a web site using animated dhtml to hide
a flash movie?

We did a prototype that is working pretty well under PC. But when it come to
MAC it break.

Any idea how to fix it?

Thks


ROBERT GOSSELIN   DÉVELOPPEUR FLASH SENIOR
SID LEE514.282.2200 # 619
CRÉATIVITÉ COMMERCIALE SIDLEE.COM

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

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


Re: [Flashcoders] DHTML over flash, Mac issue

2007-06-28 Thread Gosselin, Robert

That is exactly what is happening, it flickers. In firefox, safari, it
dosen't work at all. I also read everywhere that there is no way to fix
that. Is that right?

Le 28/06/07 16:01, « Phil Chung » [EMAIL PROTECTED] a écrit :

 Can you describe exactly how it breaks?
 
 I know there is an issue with Safari on Mac where the dhtml element flickers
 when placed on top of flash (for an example, go to www.adobe.com, open one
 of the dropdown menus at the top and roll over the items that are overlaying
 the Flash element).  That's a Safari bug so there isn't much that can be
 done (though i believe its supposed to be fixed in Safari 3).
 
 There are also issues on FireFox and Safari on Mac where if you hover over
 dhtml elements overlaying Flash elements, the swf will still receive mouse
 events.  Depending on the situation, you may be able to work around this,
 but its ugly at best.
 
 Phil
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gosselin,
 Robert
 Sent: Thursday, June 28, 2007 1:52 PM
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] DHTML over flash, Mac issue
 
 
 Hi everyone,
 
 I¹m wondering if anyone ever created a web site using animated dhtml to hide
 a flash movie?
 
 We did a prototype that is working pretty well under PC. But when it come to
 MAC it break.
 
 Any idea how to fix it?
 
 Thks
 
 
 ROBERT GOSSELIN   DÉVELOPPEUR FLASH SENIOR
 SID LEE514.282.2200 # 619
 CRÉATIVITÉ COMMERCIALE SIDLEE.COM
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.476 / Virus Database: 269.9.10/876 - Release Date: 6/28/2007
 10:56 AM
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



ROBERT GOSSELIN   DÉVELOPPEUR FLASH SENIOR
SID LEE514.282.2200 # 619
CRÉATIVITÉ COMMERCIALE SIDLEE.COM

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

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


Re: [Flashcoders] loading xml into flash in spanish(desperate)

2007-06-25 Thread robert

how about in your xml using the html codes:
ñ = #241;
é = #233;

so señor is se#241;or

also I think the texboxes would need to embed characters for ñ and é.




On Jun 25, 2007, at 11:50 AM, Gustavo Duenas wrote:

I'm still stuck on this... would somebody help me, I don't know why  
this flash apparently doesn't want to read the xml from the  
attributes,
I changed the xml into utf-8 and nothing, I also set up _sans in  
the css and nothing, does anyone knows how can I finally convince  
this flash to show my spanish characters as ñ and the é 
(tildes)...thanks Everyhting is ok, but the spanish characters.  
this is quite disturbing because I speak spanish.



Gustavo
this is my code:

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

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


[Flashcoders] Robert Jakobsson is out of the office.

2007-06-15 Thread robert . jakobsson
I will be out of the office starting  2007-06-15 and will not return until
2007-06-25.

I will respond to your message when I return.
Best regards Robert Jakobsson

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

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


Re: [Flashcoders] getBytes...() works only local, not online (except when imgs are cached)

2007-06-15 Thread robert
I'm certain some of the real coders on this list can optimize this or  
point out its faults but it worked for me on a few projects:



// iterate thru a list of items for loading
len = items.length
_count = len + 1;
for (var i:Number = 0; i  len; i++) {
  loadItem(items[i]);
}

function loadItem(swf) {
  // do the MCL thing and in your onLoadProgress function
  // get the current amount loaded and calculate the difference  
loaded between each time
  // onLoadProgress fires (assuming you are using MovieClipLoader).  
Then call a
  // function like below which adds that difference to the amounts  
of all items loaded

  // which results in the total percentage.
}


_loadedtotal = 0;
function updatePercentage(per:Number) {
  // then calculate that number as a percentage of 5 items (_count):
  _loadedtotal += per;
  var allpercentage:Number = Math.floor(_loadedtotal/(_count * 100)  
* 100);

}




On Jun 15, 2007, at 9:53 AM, Helios Pregioni Bayma wrote:


Yeah, but the client wants to show % of all images togheter.

Like if I have 5 images (20kb, 40kb, 10kb, 10kb, 20kb)
and swf has loaded 10kb of the first image
the loader shows 10% loaded, cause it´s 10kb of 100kb of all images
not showing any other information.

If there´s no way to do it, I can say it to the client and change,  
use the

way you said.
If there´s a way, let me know.

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

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


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

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


Re: [Flashcoders] How do I get rid of enhanced stroke?

2007-06-13 Thread robert
Recent versions of illustrator create enhanced strokes even if there  
is no enhancement.


Save the file as a lower version (Flash 8 to Flash MX) then open it  
up and save again to your current version. The strokes should resolve  
themselves.


With Flash CS3 this problem is fixed I think.

google enhanced stroke flash for some hints.


On Jun 13, 2007, at 8:56 AM, Alistair Colling wrote:

Thanks Zeh and Giles, that's really helpful. I realise this isn't  
the place for non-codey questions now so I'll keep my posts  
strictly AS-related.

Thanks again :)
Ali


On 13 Jun 2007, at 16:32, Giles Taylor wrote:


Just ignore them!
They are just warnings that you will lose the enhanced stroke effects
and the swf will work fine.

Giles

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

Colling
Sent: 13 June 2007 16:02
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] How do I get rid of enhanced stroke?

Hi there, I've received some graphics in an FLA from a designer and
they use enhanced stroke. I need to get rid of this as I'm publishing
to Flash Player 6 and I am getting compiler errors because of this.
I've tried doing this by breaking the images apart but the enhanced
stroke still remains. Converting the image to a bitmap looks bad as
the image has diagonal lines .
Any suggestions on how to do this very gratefully received,
Thanks!
Ali



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

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

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




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

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


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

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


Re: [Flashcoders] another stupid XML question

2007-06-09 Thread robert
for me i'd parse the entire xml in one go when the swf is loading. In  
parsing, save each subsection of the xml data into an array. When the  
button needs it, simply access the array.


this is not a stupid question because I've seen similar scenarios in  
which the xml was completely reloaded only to target the desired  
subsection of the xml. You might consider going to FlashNewbies for  
help:


  http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie



On Jun 9, 2007, at 10:17 AM, ben deroo wrote:


hi,
small sample:
ankematheve
   concept
   image path=images/a1.jpg br=413 ho=550 thumbpath=
thumbnails/a1.jpg thumbwidth=56 thumbheight=75/image
   image path=images/vue.jpg br=550 ho=309 thumbpath=
thumbnails/vue.jpg thumbwidth=56 thumbheight=75/image
   /concept
   details
   image path=images/a1.jpg br=413 ho=550 thumbpath=
thumbnails/a1.jpg thumbwidth=56 thumbheight=75/image
   image path=images/a2.jpg br=550 ho=413 thumbpath=
thumbnails/a2.jpg thumbwidth=56 thumbheight=75/image
   /details
/ankematheve



I'd like to be able to load and /or replace sections of this xml file.

meaning:
when I click a button on stage, i'd like thumbnails(that code has  
allready

been done) to appear from the concept node.
when I click another button on stage, i'd like that content to be  
removed
(deleted from the stage, but not from the xml file ofcourse) and be  
replaced

by content from the details node.

yup, I feel stupid, but that's ok!

Ben


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

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


Re: [Flashcoders] border styles for TextArea component

2007-05-16 Thread Robert Hadsell

John --

Your postings led me to look into this further.  I found the answer in this 
livedocs item, Using ActionScript to draw Button skins: 
http://tinyurl.com/282gze


You'll see from the Comments at the end that the AS code didn't seem to 
work.  This might be because the instructions are ambiguous on which type of 
new symbol (named ButtonSkin) to create; it works OK with ButtonSkin created 
as a movie clip.  The second Comment gives a link that is very useful, 
dealing with all the quirky terms for button states. (It turns out that a 
button that has focus is in emphasized states; a button that has been made 
to toggle on is in the true states; toggle off puts the button in false 
states, a perverse term because this is the state buttons are normally in.)


The key to controlling the settable features of RectBorder is lineStyle.  
The three parameters in the example (additionally parameters can follow 
these) are thickness for line width (0 would be hairline), 0 for line color 
(black; any other color would be 0xrrggbb hexadecimal terms), and 100 for 
alpha.


-- Bob Hadsell



From: john robinson [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] border styles for TextArea component
Date: Wed, 2 May 2007 13:46:18 -0400

Thanks!
I'm looking into RectBorder now and creating my own RectBorder class.
I've got it working following the example below (though I'm using F8,  not 
CS3) but now I have a new issue...


http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/ 
wwhelp.htm?context=LiveDocs_Partsfile=3504.html


The width I want is actually hairline. Easy enough using the  RectBorder 
example above.


Now I need to be able to change the color of that border at runtime.  
Anyone?


Thanks again,
John



On May 2, 2007, at 1:29 PM, Hairy Dog Digital wrote:

There is no size or width property for the RectBorder, which is  what 
the
TextArea component uses for the border.  You would have to do a  custom 
skin

or theme. If this is only for this one project, you can copy the skin
elements into your library. Here is the info from livedocs:
http://tinyurl.com/3acnln. Of course, this is just one approach and  it is
optimized for doing it with a single FLA file. If you are working  across
multiple FLAs you may want to take a different approach.


-Original Message-
From: john robinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 11:24 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] border styles for TextArea component

Hello all -

I'm using the TextArea component in Flash 8. I need to give the  component 
a
border that is 1 pixel wide. I've found that using setStyle 
(borderStyle,

solid) gives me a solid border but it is wider than I need. Can  anyone
give me a hint as to how to change the width of the border?

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

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

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

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


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

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


_
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507


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

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


RE: [Flashcoders] MovieClip.loadMovie(), unloadMovie() and attachMovie()

2007-05-12 Thread Robert Hadsell

ej --

Another possible approach is to use MovieClipLoader() with 
createEmptyMovieClip() and loadClip() to create a child movieclip nested 
within a parent movieclip.  I posted steps for doing this on May 1, in 
response to the posting dynamic image loading in mc.


-- Bob Hadsell



From: ej [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] MovieClip.loadMovie(), unloadMovie() and 
attachMovie()

Date: Wed, 9 May 2007 21:44:52 + (UTC)


  I am rather new to Flash and ActionScript.  I think maybe I am not quite
understanding how I should properly being using these functions and hoping
someone can enlighten me.

  I am trying to write a general sort of player. I have an empty MovieClip
placeholder on the stage (let's call it 'mc') I want to be able to load 
content

into and then replace with other content.

  Sometimes what I want to load in an external SWF file, and sometimes I 
want
to load a MovieClip that is within the library of my top-level movie.  I 
don't

have any problem doing this:


  mc.loadMovie('myMovie.swf');
  // detect end of that movie, then:
  mc.unloadMovie();
  mc.loadMovie('myMovie.swf'); // just run same one again


   So, mc is still there after unloadMovie() and I can load and play the 
same
thing again using the same stage instacne. I also don't have any problem 
doing

this:

  mc.attachMovie('myLinkIdentifier', 'myInstanceName',
mc.getNextHighestDepth());
  // detect end of that movie, then:
  mc.attachMovie('myLinkIdentifier', 'myInstanceName',
mc.getNextHighestDepth());

  (I realize the code above is creating more instance on top of one 
another and

using up more memory. That's fine - I have seen the animation example (Tofu
Hunter) that came with it. The important part is that I can still attach a
symbol after having already done so.)

  What I can't seem to get working the way I would expect is to be able to 
load

a SWF, then unload it, then attach a library MovieClip symbol to the same
placeholder. Something like this:

  mc.loadMovie('myMovie.swf');
  // detect end of that movie, then:
  mc.unloadMovie();
  mc.attachMovie('myLinkIdentifier', 'myInstanceName',
mc.getNextHighestDepth());


  Maybe there's some logical reason to not be able to do this, but I guess 
I'm
just not seeing it.  Can someone please explain this in a little more 
detail?


Thanks,
-ej




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

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


_
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507


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

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


[Flashcoders] Robert Jakobsson is out of the office.

2007-05-10 Thread robert . jakobsson
I will be out of the office starting  2007-05-10 and will not return until
2007-05-14.

I will respond to your message when I return.
Best regards Robert Jakobsson

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

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


RE: [Flashcoders] specific filter

2007-05-07 Thread Robert Hadsell
The Color Transform class that became available in Flash 8 might be a good 
approach for changing at least some components of a move clip (changing 
color and/or alpha property).


-- Bob Hadsell



From: Prince Zain [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] specific filter
Date: Mon, 7 May 2007 13:35:38 +0530

Hi,

Is there any filter that can change only the specific color in the
given movieclip.

Any help is greatly appreciated.

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

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


_
Exercise your brain! Try Flexicon. 
http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07


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

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


Re: [Flashcoders] Flash 8 OSX - Classpath woes

2007-05-06 Thread robert

You can recreate a new test class that lives in classes directory?

I don't think it is an issue, but what is the line-endings setting of  
the documents and document encoding?


In PHP, there was some weird bug that if the document encoding was  
UTF-8 with BOM (Byte order mark) then PHP engine would throw all  
kinds of errors.



On May 6, 2007, at 10:57 AM, Steven Sacks wrote:

Thanks Wagner.  Unfortunately, that's not the issue.  These files  
were built on my Windows box (not on a network drive) and packaged  
up in an MXP.  Also, this is a brand new install of the trial  
version of Flash 8 for OSX, so deleting the ASO wouldn't (and  
didn't) help.  :(

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

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


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

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


Re: [Flashcoders] Animating Character Movement

2007-05-04 Thread Robert Brisita
Try the State Pattern.  I have successfully used this in a line of games 
I did for a client.


The Quick and Dirty explanation:
Each state knows what it needs to do.  On a change state the old state 
exits and the new state enters.  On
an update (onEnterFrame) the state is handled (it does what it needs to 
accomplish).  Any state can be interrupted to go into another state.  
Each state implements an interface.


In my games I had a hierarchical state pattern (states within states) 
and the root state was in the game manager
which held all the game logic methods that states could use to 
accomplish whatever task they wanted.


More info (cleaner and clearer) here:
http://www.ai-junkie.com/architecture/state_driven/tut_state1.html

Ciao,
Rob.

James Marsden wrote:

Hey Dan,

I've had a bit of a struggle with this too. I've tried a few ways of 
doing it, but have settled on having all state/animations in a 
MovieClip on the first frame of the character MovieClip, and then 
functions to show and hide whichever animations you need eg:


turnRightFromLeft()
{
   paddleLeftMC.visible = false;
   idleLeftMC.visible = false;
   idleRightMC.visible = false
 
   idleCentre.gotoAndPlay(turnRightFromLeft); // at the end of this 
animation, it calls back to set 'paddleRightMC.visible = true';

}


It's quite long winded, and you still need a state machine to work out 
which functions you need to call, but the other ways I tried were 
vastly more complex, and introducing a new animation at a later date 
was a real headache.


HTH,

James



Holth, Daniel C. wrote:

Hello,

I'm working on an project where the user uses the arrows keys to move a
guy in a kayak left and right across the screen.  I have 6 total
animations set up: Paddling Left, Idle Facing Left, Turning Left to
Right, Paddling Right, Idle Facing Right, and Turning Right To Left.

I've never programmed a moving character before, so I'm looking for some
tips on the best way to program this sort of thing.  I started to create
a pseudo-state pattern using a 6 switch statement to figure out what
state the character is currently in and responding accordingly when the
user presses a key.  This seems rather tedious though, and I figured
there must be a better way of doing this.

I think the part I'm having the most trouble with is the 'turning
states'.

Any feedback greatly appreciated!  I can post some of my current code if
it helps, but I really haven't gotten anywhere productive with it yet.

Thanks!

Daniel Holth
I.S. Programmer



This e-mail and its attachments are intended only for the use of the 
addressee(s) and may contain privileged, confidential or proprietary 
information. If you are not the intended recipient, or the employee 
or agent responsible for delivering the message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution, displaying, copying, or use of this information is 
strictly prohibited. If you have received this communication in 
error, please inform the sender immediately and delete and destroy 
any record of this message. Thank you.

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

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


  

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

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




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

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


Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-03 Thread Robert Brisita
I associate my AS2 classes to my library symbols through 
Object.registerClass(LibraryID, ClassName).

Where:
LibraryID is an identifier in the FLA of a movie clip.
ClassName is a class that eventually extends a Movieclip.

I have a RegisterClasses singleton that is the first thing that is 
called before I start my application manager.  I
just change the code in RegisterClasses if I have a different version of 
a particular class and if I compile with

MTASC I don't have to open up the FLA.

When attaching a movie clip I just use the attachMovie method and if I 
wanted to pass arguments to the
constructor I would use the 4th argument and pass an object.  The object 
members are equivalent to
members of the class.  For example passing {something:value} in the 
method gives the class a member called

something when the constructor hits.

Just wanted to add my way too!

Ciao,
Rob.

Muzak wrote:

To be honest, I've always found that alot of hassle just to attach a movieclip.
I've never bought into the createClassObject/createObject-way used by the v2 
component framework either.

If all you're after is the correct type when using attachMovie, do the 
following.

private var customClip:CustomClip

private function onLoad() {
  var mc:CustomClip = CustomClip(this.attachMovie(CustomClip, customClip, 
this.getNextHighestDepth()));
  // calling non-existing method - throws error
  mc.someMethod();
}

Doesn't get any easier than that if you ask me.

Of course, in AS3 attachMovie is gone and we can just use:
var mc:CustomClip = new CustomClip();

;-)

regards,
Muzak

- Original Message - 
From: Matthias Dittgen [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, May 03, 2007 9:43 AM
Subject: Re: [Flashcoders] AS2: generating new instances dynamically?


  

This discussion is very interesting, so I would like to offer my
approach of attaching/construction of visual classes. I am open for
optimization hints.
I am using something like this:


1) THE CLASS EXTENDING MOVIECLIP

class com.path.MyVisual extends MovieClip
{

public static var _SYMBOL_NAME:String = __Packages.com.path.MyVisual;
public static var _SYMBOL_OWNER:Function = MyVisual;
public static var _SYMBOL_LINKED =
Object.registerClass(_SYMBOL_NAME,_SYMBOL_OWNER);

private var __width:Number;
private var __text:String;

public static function create(target:MovieClip, initObject:Object,
depth:Number, name:String):MyVisual
{
depth = (depth!=undefined?depth:target.getNextHighestDepth());
name = (name!=undefined?name:myVisual+depth);
return MyVisual(target.attachMovie(MyVisual._SYMBOL_NAME, name,
depth, initObject));
}

public static function createInitObject(width:Number, text:String):Object
{
return {
__width: width,
__text: text};
}

private function MyVisual()
{
// I can use __width and __text here, if I like so.
}
}


2) THE CONSTRUCTION OF AN INSTANCE
I use the static create/createInitObject methods. The latter gives me
its signature when the editor supports code completion. This way, it
feels like a constructor and I get the correct type returned:

var mv:MyVisual = MyVisual.create(this, MyVisual.createInitObject(200,
Hello World));


Have fun,
Matthias




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

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


  


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

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


Re: [Flashcoders] Syntax for dynamically calling a function

2007-05-03 Thread Robert Brisita

You could do something like this:

class Something
{
   method1();
   method2(a_number:Number);
}

Somewhere else:
var method_str:String = method1;
var sm:Something = new Something();

sm[method_str](); // Will call method1 class method
sm[method2](0x09F911029D74E35BD84156C5635688C0); // Also works ;-)

Ciao,
Rob.

Alistair Colling wrote:
Hi there, I want to call a function but want to able to call it 
dynamically so a string that is passed will determine which function 
is called.
My reason for this is I have an interface with a number of buttons 
that have different labels but that look the same and need to call 
different functions. I was going to make one button and duplicate it 
then name it so it will call a function depending on what it's name 
is. My code would go something like this:


///inside 'button' MC named 'pictures'
var label:String = this._name

this.onPress = function(){
//want to call function from here, dictated by the name of the MC, 
not sure of this sytanx

this._parent.label()
}
main timeline
function pictures(){
//to be called from pictures button onPress event
}
///
Any suggestions much appreciated!
Ali





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

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


--No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.6.2/781 - Release Date: 
4/30/2007 9:14 AM





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

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


Re: [Flashcoders] Any good XML api out there?

2007-05-03 Thread Robert Brisita

Ever tried XML2Object?
Check it out:
http://www.sephiroth.it/file_detail.php?id=129

The only draw back is if there is only one element it won't put it into 
an array but an object.  To resolve

this I throw it into an array to unify use:

if(!object.xml_element.length)
{
   object.xml_element = new Array(object.xml_element);
}

Ciao,
Rob.

Johannes Nel wrote:

xpath statement to get all the artist names ./root/track/artist/text()

On 5/3/07, Johan Nyberg [EMAIL PROTECTED] wrote:


Hi, what I need is basically a class that puts all the data in an
associative array, or numeric, depending on if I'm storing values for
individual nodes, or a mothernode.

Now I find there is a lot of looping going on every time I have to parse
a XML, and XPath seems more like the thing you want to use if you're
looking for specific data inside the XML - I just want to put all the
data in an Array or Object...

For example:
root

track
name/name
artist/artist
/track

track
name/name
artist/artist
/track

/root

I would like it like this: root[track[n][artist]]

Regards,

/Johan

--
Johan Nyberg

Web Guide Partner
Sergels Torg 12, 8 tr
111 57 Stockholm
070 - 407 83 00

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

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







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

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


Re: [Flashcoders] Flash / Java Communication with ExternalInterface

2007-05-03 Thread Robert Brisita
I'm not sure if this will help you but on my current project I have a 
Oracle / Java back end and I created some servlets to process and return 
XML to the Flash client for processing.  Although for this project I am 
using AS3,
what I use is equivalent to LoadVars.  Servlets execute within the Web 
server’s process space and they persist between calls so they can keep 
state information as well.


If anyone has anything to add or another suggestion I would be 
interested to know.


Ciao,
Rob.

Alain Rousseau wrote:

Hi All,
 
we're at a point in a project where we need good communication between Flash

and Java. ATM we are using SWT Flash and it's FSCommand handling. I would
like to go a bit further to be able to send complex objects via
ExternalInterface. I know there is Javaflash (HYPERLINK
http://www.osflash.org/javaflash/http://www.osflash.org/javaflash/) out
there but the official website is so slow and it seems to be still in beta. 
 
Basically, we are using Flash as GUI for a Java backend. We'll need to send

back and forth some complex objects. We are currently exploring the
possiblity of using XML to send values. 
 
What solution would be the best ? Meaning which one gets the fastest

response, stability and extendability.
 
Are there any other options or howto's than FSCommand ? any link or tips are

welcome. Or is Javaflash stable enough for use in a commercial App ?
 
Thanks in advance !
 
Alain


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.2/785 - Release Date: 2007-05-02

14:16
 
___

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

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


  


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

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


Re: [Flashcoders] Implications of using GPL'ed libraries?

2007-05-02 Thread Robert Sanders

GPL means you have to release source to your game.

LGPL - well since it was written or C type langs. there is some (heated) 
debate about how to define linking in the context of dynamic 
languages; I've seen recently that there seems to be a creative commons 
license that explicitly says modification to code must be shared, code 
that just calls library functions doesn't.




Henry Cooke wrote:

Hey folks,

I'm looking at using some GPL licensed code (Flade, to be specific) in a
game I'm building for my employers. However, I can't find a clear answer
anywhere as to what that implies for our source: does anyone know if 
using
GPL licensed libraries means that we would have to release the source 
to our
game? Or just the library, if I modify it? Or not at all? I assume 
compiling

a SWF constitutes creating a binary version, but are we technically
distributing it if it's loaded from a web server?

Any insights would be greatly appreciated.

Henry


Addendum for Free Software people: I'm not trying to circumvent the GPL
here, just trying to understand the implications to my employer. 
Personally,

I think open source is a fantastically good thing. I just need to know if
I'm going to have to convince my bosses of that ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

Re: [Flashcoders] Implications of using GPL'ed libraries?

2007-05-02 Thread Robert Brisita
It has always been the FSF's position that dynamically linking 
applications to libraries creates a single work derived from both the 
library code and the application code. The GPL requires that all 
derivative works be licensed under the GPL, an effect which can be 
described as hereditary. So, if an application links to a library 
licensed under the GPL, the application too must be licensed under the 
GPL. By contrast, libraries licensed under the GNU Lesser General Public 
License (LGPL) may be linked to proprietary applications.


Source:
http://www.gnu.org/licenses/lgpl-java.html

FSF == Free Software Foundation

If you have to go the GPL route,  you can tell your employers that all 
the code is in the SWF anyway, making it
available just takes away an extra step from the process of acquiring 
the code.


This has some good FAQs:
http://www.gnu.org/licenses/gpl-faq.html

Good Luck,
Rob.

Henry Cooke wrote:

Hey folks,

I'm looking at using some GPL licensed code (Flade, to be specific) in a
game I'm building for my employers. However, I can't find a clear answer
anywhere as to what that implies for our source: does anyone know if 
using
GPL licensed libraries means that we would have to release the source 
to our
game? Or just the library, if I modify it? Or not at all? I assume 
compiling

a SWF constitutes creating a binary version, but are we technically
distributing it if it's loaded from a web server?

Any insights would be greatly appreciated.

Henry


Addendum for Free Software people: I'm not trying to circumvent the GPL
here, just trying to understand the implications to my employer. 
Personally,

I think open source is a fantastically good thing. I just need to know if
I'm going to have to convince my bosses of that ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] Implications of using GPL'ed libraries?

2007-05-02 Thread Robert Brisita
Yeah for this instance (Action Script) if you extend a class in the 
licensed library then that extension must be available to all who ask 
for it.


Robert Sanders wrote:

GPL means you have to release source to your game.

LGPL - well since it was written or C type langs. there is some 
(heated) debate about how to define linking in the context of 
dynamic languages; I've seen recently that there seems to be a 
creative commons license that explicitly says modification to code 
must be shared, code that just calls library functions doesn't.




Henry Cooke wrote:

Hey folks,

I'm looking at using some GPL licensed code (Flade, to be specific) in a
game I'm building for my employers. However, I can't find a clear answer
anywhere as to what that implies for our source: does anyone know if 
using
GPL licensed libraries means that we would have to release the source 
to our
game? Or just the library, if I modify it? Or not at all? I assume 
compiling

a SWF constitutes creating a binary version, but are we technically
distributing it if it's loaded from a web server?

Any insights would be greatly appreciated.

Henry


Addendum for Free Software people: I'm not trying to circumvent the GPL
here, just trying to understand the implications to my employer. 
Personally,
I think open source is a fantastically good thing. I just need to 
know if

I'm going to have to convince my bosses of that ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.6.2/781 - Release Date: 4/30/2007 9:14 AM
  


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

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


Re: [Flashcoders] Implications of using GPL'ed libraries?

2007-05-02 Thread Robert Brisita
Does it say anywhere in the GPL that requested code has to be commented 
and readable? :-)


Anyway the link I posted earlier should apply to all languages similar 
to JAVA considering LGPL:

http://www.gnu.org/licenses/lgpl-java.html

The way I interpret it, libraries would have to be loaded as an extra 
SWF to be on the safe side

I see it the same way.

R.

Mark Winterhalder wrote:

On 5/2/07, Robert Brisita [EMAIL PROTECTED] wrote:

If you have to go the GPL route,  you can tell your employers that all
the code is in the SWF anyway, making it
available just takes away an extra step from the process of acquiring
the code.


Uhm... I really don't think that can be decompiled qualifies as
making code publicly available. Local vars and comments aside, the
same would be true for Java and lots of other languages.

Frankly, I think there is a good possibility the author intended the
lib to be used the way you want to, and just chose the GPL as a
generic open source license without giving the implications any
thought. A short mail should clear things up, and a positive reply
could be taken as permission (the author can license his code to
anybody any way s/he pleases). So just mail the author, describe what
you want to do, and ask nicely if it's OK.

Generally, I would like some more clarity on the LGPL in regards to
SWFs. The way I interpret it, libraries would have to be loaded as an
extra SWF to be on the safe side, but I can't imagine this is the
intention of most of the authors.

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

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




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

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


Re: [Flashcoders] Implications of using GPL'ed libraries?

2007-05-02 Thread Robert Brisita

Cool.

his position is that he doesn't want to place any restrictions on the 
way people use his work, short of passing it

off as their own
Yeah, understand that.  A BSD license would have been better or one of 
the newer CC licenses.


Permission from the author rules all though, right?
From my interpretation you are correct.

I'm trying to do everything by the book.
As we should all do when handling commercial products.

R.

Henry Cooke wrote:

Thanks guys. I emailed the author earlier today and got a nice, positive
response - you were right, Mark, his position is that he doesn't want to
place any restrictions on the way people use his work, short of 
passing it

off as their own ;)

I'm just trying to be super-careful here, because there's some IP issues,
and the client are a fairly large, public organisation, so I'm trying 
to do
everything by the book. Permission from the author rules all though, 
right?

Obviously, I'm going to make sure he gets credit and there's a clear line
between our work and his etc etc...

Thanks again,
h.

On 02/05/07, Mark Winterhalder [EMAIL PROTECTED] wrote:


On 5/2/07, Robert Brisita [EMAIL PROTECTED] wrote:
 If you have to go the GPL route,  you can tell your employers that all
 the code is in the SWF anyway, making it
 available just takes away an extra step from the process of acquiring
 the code.

Uhm... I really don't think that can be decompiled qualifies as
making code publicly available. Local vars and comments aside, the
same would be true for Java and lots of other languages.

Frankly, I think there is a good possibility the author intended the
lib to be used the way you want to, and just chose the GPL as a
generic open source license without giving the implications any
thought. A short mail should clear things up, and a positive reply
could be taken as permission (the author can license his code to
anybody any way s/he pleases). So just mail the author, describe what
you want to do, and ask nicely if it's OK.

Generally, I would like some more clarity on the LGPL in regards to
SWFs. The way I interpret it, libraries would have to be loaded as an
extra SWF to be on the safe side, but I can't imagine this is the
intention of most of the authors.

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

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


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

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




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

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


Re: [Flashcoders] Forms between JSP and Flash

2007-05-02 Thread Robert Brisita

If memory serves me right try this:

?
$xml = success;
print xml=$xml;
?

$xml is a variable that holds the data and xml will be the member of the 
LoadVars instance in flash when

the onLoad event is triggered.

Quick Example:
class Test
{
   var lv:LoadVars = new 
  
   some method

   {
  ...
 lv.onLoad = Delegate.create(this, response);
  lv.load(a_php_url, lv, method);
   ...
   }
  
   response(success:Boolean)

   {
  trace(lv.xml);
   }
}

That should work.

Regards,
Rob.

Helmut Granda wrote:

Hello all,

Im using to reading variables from PHP like this

?

echo form=success;

?

but I'm having some issues trying to read the same variables from JSP. 
If I
access the file from within the browser I can see the variables but in 
flash

with loadVars it shows as Undefined.

Anyone knows if the information has to be treated different?

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

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




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

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


Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-01 Thread Robert Brisita

If it is a movie clip you want to instantiate then you have to use:
_root.attachMovie(libraryID, instanceName, depth);

The class associated with it will construct and the onLoad event will 
trigger if it is being listened to.


Ciao,
Rob.

sebastian chedal wrote:

Hello Flashcoders,

Sorry to bother you with another simple AS2 questions, I'm making good
progress but I am stumped with one simple thing.

I have one class/object that I want to use to generate copies 
[instances] of

another class.

The second class is an object in the library with an ID and an assosiated
*.as file [in the linkage panel].

The code is:
=

//PostModel.as

import com.blabla.PostView;

class com.blabla.PostModel {

  public function createPost (__id) {
   var newPost = new PostView (__id);
  }
}

=

When I run this code, the class doesn't construct an instance...

What am I missing? If I need to call the Library Identifyer instead, how
would I do that?

I don't want to attach the PostView to the PostModel class, I just 
want to
create instances of them and attach them to _root [or some other MC in 
the

timeline].

Thanks!!

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

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




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

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


Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Robert Brisita
Search for an example of a crossdomain.xml, which would sit on the root 
directory of your website.


Hope this helps,
Rob.

Helmut Granda wrote:

Is there anyway to go around the crossdomain for testing purposes besides
testing locally (from flash IDE)?

final files will be at

Form:
subdomain.zzz.com
Processing form:
differentsubdomain.zzz.com

Testing is being done at

yyy.com

and of course me being at yyy.com dont have access tot xxx.com and I dont
want to send files and be like, test it if it fails send it back, then 5
minutes later ask for the file again and so forth.

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

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




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

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


Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Robert Brisita
The crossdomain.xml has to be on the server with the data you want to 
access.

You could also you LocalConnection to get around it.

Helmut Granda wrote:
but the crossdomain.xml has to be in the client's machine not on my 
testing

server. is that correct?

On 5/1/07, Robert Brisita [EMAIL PROTECTED] wrote:


Search for an example of a crossdomain.xml, which would sit on the root
directory of your website.

Hope this helps,
Rob.

Helmut Granda wrote:
 Is there anyway to go around the crossdomain for testing purposes
besides
 testing locally (from flash IDE)?

 final files will be at

 Form:
 subdomain.zzz.com
 Processing form:
 differentsubdomain.zzz.com

 Testing is being done at

 yyy.com

 and of course me being at yyy.com dont have access tot xxx.com and I
dont
 want to send files and be like, test it if it fails send it back, 
then 5

 minutes later ask for the file again and so forth.

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

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



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

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


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

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




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

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


Re: [Flashcoders] Wave effect

2007-04-27 Thread Robert Brisita

This is MAC only. :) That's funny.

Michael Stuhr wrote:

Parvaiz Patel schrieb:

Hi,

Anybody knows how to create the wave effect shown in
(http://www.mandchou.com/) at the bottom for dynamically loaded images.
Pls let me know.

Thanks  regards,
PP


This is MAC only.


micha






*sorry couldn't resist.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] Pile of Objects Physics

2007-04-26 Thread Robert Brisita

Cheers for the site:

http://lab.polygonal.de/

It has some great topics.  I'm sure I'll refer to this site over and 
over again.


Ciao,
Rob.

Joe Cutting wrote:

Tom, Robert,
   Thanks for this. I've seen Fisix but was put off by the rather 
nebulous

we can negotiate licensing terms for commercial projects. Glad to hear
you've used flade successfully. The version number (0.2 alpha) and 
lack of documentation
were a concern but I'll have another look. For those interested the 
other avenues
I found were this guy (http://lab.polygonal.de/category/physics/) who 
has a great engine
in development for a year or so but doesn't look like he's 
distributing it and  Erin Catto
(http://www.gphysics.com/) who has a freeware engine but its in C++ 
and would need translating.


Many thanks for all your advice

Joe

Just a quick note:
Flade is AS2 and is no longer in development.
APE is AS3 by the creator of Flade (Alex Cove).
Fisix is AS3 by another group.

Tom Gooding wrote:
 I think fisix engine is an AS3 continuation of APE. I've used the flade
 library (which I think in turn is the precursor of APE) for some rigid
 body simulations before and it's pretty good (especially if you need to
 support 9 version players), documentation is non existent though, you
 need to look at the example code to infer usage.

 FLADE: http://www.cove.org/flade/




Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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

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




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

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


Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Robert Brisita

Don't know if this helps you but I'll mention it for the sake of knowledge.

You could also use:

_global.setTimeout(scope, function_str, milliseconds)

Works like setInterval and it will return an ID but it will only run 
once then kill itself.


Ciao,
Rob.

Danny Kodicek wrote:
   Is a new intervalID always one greater than the most recent 
  

intervalID?

AFAIK, yes.


That is, will this always work to ensure you only ever have one 
interval running at a time?
  
Again, AFAIK, yes.. but at the same time it limits your to 
only ever have one interval, no matter where.


For instance you won't be able to have 2 instances of the 
same class run an interval at the same time, which might not 
be what you're after.


If you want to manage intervals better than the built in way 
(which is non-existant), google for setInterval manager and 
I'm sure something useful will turn up.


Here's one I just found:
http://www.ny-dev.com/forums/f184/interval-manager-552/



As a general rule, I don't use them at all, but I was just interested to
find a solution that didn't involve having to keep track of all intervals in
use. When working in Director, I've in the past wrapped timeout objects (the
Lingo equivalent of intervals) in my own objects to improve the
functionality, and that's probably what I'd do in Flash too if I were to use
them.

Danny

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

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


  


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

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


Re: [Flashcoders] Class for movie - best practice question

2007-04-24 Thread Robert Brisita

One way:
In the same directory as your SWF.  Have a main class with a static 
function that takes in a movie clip.

In your FLA put code in Frame 1 like:
MainClass.main(this);

The this is the root movie clip.  The static function main will pass 
it around to who ever needs it in your application.  It depends how you 
want to handle it but this is a starting point.


Hope this helps,
Rob.

Johan Nyberg wrote:
Hi, just wanted to know if there is a best practice when creating a 
class for the mother movie (i.e. the flash-movie itself). Is

this the way to go?

var mother:MyFabFlashApp = new MyFabFlashApp();

..or is there a better way? Seems kind of a stupid question, but I 
wanted to put it anyway in case I've missed something.  ;-)  I'veput 
my main code on the first frame of the _root timeline for too long, 
and want to move it into a class.


Regards,
/Johan Nyberg

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

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




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

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


Re: [Flashcoders] setInterval woes

2007-04-20 Thread robert

pulling the data every time that frame comes up.

Is this called on a timeline with many frames and no stop()? If so, I  
think you are setting a completely new interval on each loop of the  
frames.


If you want this thing to fire once each minute put it somewhere  
outside of this loop of frames and call the setInterval


I don't know how your project is set up but alternative is to check  
if the interval exists and don't spawn a new one, something like:


frame 1:
if (_global.initLoop == undefined) {
  _global.initLoop = setInterval(intervalLoop, 6);
}

this way your setInterval is called once and will do its thing every  
minute and independent of the timeline activity.





On Apr 20, 2007, at 5:34 AM, Michael King wrote:



Hey all,

Some of you may remember my problems with visually mapping  
streaming data
before.  I ended up needing them as separate clips to provide  
individual

roll-over support with the ability to add links in a future revision.

Well, now that I have it performing better, I'm breaking down the
information into intervals of 1 minute bursts.  What I'm trying  
to do is

use setInterval to have it pull the data once per minute.

The problem is, when I use setInterval as documented, it waits the  
first

minute, does its thing, but then it ignores the interval after that,
pulling the data every time that frame comes up.


Here's the relevant bit of code:

function intervalLoop() {
  xmlData = new XML();
  xmlData.load(wddx.php);
  xmlData.onLoad = function () {
wddx = new Wddx();
_root.wddxObj = wddx.deserialize(this);
delete(xmlData);
  }

  for (j=0; j  _root.lines.length; j++) {
trace(Deleting clip:  + _root.lines[j][pen]._name);
_root.lines[j][pen].removeMovieClip();
delete(_root.lines[j][pen]);
delete(_root.lines[j][timestamp]);
_root.lines.splice(j,1);
  }

  for (var i in _root.wddxObj) {
_root.counter++;
date_now = new Date();
pen = createEmptyMovieClip(curve_ + i + _mc, 2 +
_root.counter);
trace(Added clip:  + pen._name);
pen.lineStyle(1.5,0xFF6600);
container = {pen: pen, timestamp: date_now};
_root.lines.push(container);
dest_long = _root.wddxObj[i][long];
dest_lat = _root.wddxObj[i][lat];
site = _root.wddxObj[i][site];
src_long = _root.locations[site][long];
src_lat = _root.locations[site][lat];
curvePoint(pen, src_long, src_lat, dest_long, dest_lat);
  }
}

setInterval(intervalLoop, 6);

Thanks,




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

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


Re: [Flashcoders] Finding the height and width of the VISIBLE area of a masked SWF

2007-04-19 Thread Robert Brisita
With your second explanation, the problem you are having is clearer.  
About a year ago, I developed an application where I had a container 
that loaded SWFs from other developers.  I contacted all the developers 
with the dimensions and the FPS the SWF container is being built on and 
sent them an API
to communicate with the container.  It made my life a little easier.  
The problem was that some developers didn't conform to the API or read 
the docs, which led to last minute phone conferences to explain how to 
use the API, but that is besides the point.


Because you have no control of those properties, I believe there isn't a 
viable fix other than getting the loaded SWF dimensions from the 
movieclip reference.  From what I remember; if the SWF you are loading 
is built at a faster FPS than your container they will run slower and 
the loaded SWF may not account for that.  Example; your container is 12 
FPS and the loaded SWF is 24 FPS, the loaded SWF will run at 12 FPS.  
They might not be checking the current FPS and adjust their parameters 
for time based movement.


The only other thing I can think of, but I haven't dealt with was 
changing the scale mode of the stage to showAll or exactFit.  I am 
not sure this will help though and this will affect the container SWF as 
well.


Let me know if you do figure this out another way, I would be 
interesting to know.


Cheers,
Rob.

matt stuehler wrote:

Claus,

That's a great suggestion - the best answers are often the overlooked,
obvious ones.

But I don't think so - in the original SWFs, the masks aren't
movieclips - they're just fills. So, I don't know how you'd check
their width or height.

The key thing about the application is that I won't know anything
about the SWFs that are being loaded.

My app should simply load a swf into a container movieclip, then
attempt to scale it to fit the stage, and center it.

Ordinarily, I can just check the container._width and
container._height to accomplish this. But I've tested a few SWFs that
weren't working properly, and that's when I discovered that they were
using masks, which throws off the _width and _height.

I can't assume that the SWFs will use a movieclip as a mask.

Thanks again for your advice.

Cheers,
Matt




On 4/18/07, Claus Wahlers [EMAIL PROTECTED] wrote:


 I'd like to be able to find the VISIBLE height and width of those
 SWFs; however _width and _height return the size of ALL the masked
 content.

Can't you just check the width/height of the mask?

Cheers,
Claus.

--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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




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

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


Re: [Flashcoders] Compiler chokes when using a class method as event handler

2007-04-19 Thread Robert Brisita

The compiler says:
**Error** Deck.as: There is no method with the name 'setDepthTo'.
   this.setDepthTo(DepthManager.kTop);

And from your code I don't see it either: this.setDepthTo or 
this.filters.  When you say it works
do you mean it compiles ok or that onPress the card acts the way it 
should visually?  Took a quick look at UIComponent and didn't see them 
there either.. I wouldn't be surprised if you traced those two

calls and they would be undefined.

Hope this helps,
Rob.

Alexander Farber wrote:

Hello,

I'm trying to create a v2 component representing a deck
of playing cards and I have a problem, which I believe is
very common, but I can't find a solution on the net yet.

My code is simple and is listed completely at the bottom.

And the problem is, that when I assign an event handler to
each (child) card MC in my cards_array this way (is it called
closure?) in the Deck.createChildren(), then it works ok:

card.onPress = function() {
this.setDepthTo(DepthManager.kTop);
this.filters = _parent.shadow_array;
}

But when I try to move the code above into a separate
method of the parent Deck class like this:

card.onPress = raiseCard;

or even:

card.onPress = Delegate.create(card, raiseCard);

Then the compiler will complain - even though I believe the
scope (the card) is correct - and the Deck.as won't compile:

**Error** Deck.as: There is no method with the name 'setDepthTo'.
this.setDepthTo(DepthManager.kTop);

What is the workaround here? Thank you

Regards
Alex

class Deck extends UIComponent
{
static var symbolName:String = 'Deck';
static var symbolOwner:Object = Deck;
var className:String = 'Deck';

private var bb_mc:MovieClip;
private var cards_array:Array;
var shadow_array:Array;

function Deck() {
}

private function init():Void {

super.init();
bb_mc.unloadMovie();
   
shadow_array = [ new DropShadowFilter(0, 90, 0x00,

0.30, 10, 10, 1, 1, false, false, false) ];
   
cards_array = [];

}

private function createChildren():Void {
for (var i:Number = 0; i = 32; i++) {
var card_name:String = 'card_' + (i + 1) + '_mc';
var card:MovieClip = cards_array[i] =
this.createChildAtDepth(i, DepthManager.kTop);

//card.onPress = raiseCard;
//card.onPress = Delegate.create(card, raiseCard);

card.onPress = function() {
trace('CLICKED CARD: ' + _width + ' x ' + _height +
' @ ' + _x + ', ' + _y + ' ' + _rotation);
this.setDepthTo(DepthManager.kTop);
this.filters = _parent.shadow_array;
}

}
   
size();

}

function raiseCard():Void {

trace('CLICKED CARD: ' + _width + ' x ' + _height +
' @ ' + _x + ', ' + _y + ' ' + _rotation);
this.setDepthTo(DepthManager.kTop); // XXX PROBLEM
this.filters = _parent.shadow_array;
}

private function size():Void {
super.size();
   
//if (! (this.__width  0  this.__height  0)

//return;

for (var i:Number = 0; i = 32; i++) {
var card:MovieClip = cards_array[i];
   
card._x = Math.floor(Math.random() * (this.__width - 
card._width));
card._y = Math.floor(Math.random() * (this.__height - 
card._height));

card._rotation = Math.floor(Math.random() * 10 - 5);
}
   
invalidate();

}

private function draw():Void {
super.draw();
}
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] poll on editors/IDe

2007-04-08 Thread robert

I'm using BBedit!


On Apr 8, 2007, at 9:31 AM, Ron Wheeler wrote:


This is my list so far.


FlashDevelop
Flexbuilder
SciTe Flash
Eclipse with Flex SDK
Eclipse with ASDT
Eclipse with FDT
Eclipse with HXDT
Eclipse with EHX
SEPY Actionscript editor
Flash 9 IDE
Flash 8 IDE
Vim
Notepad++
EditPlus with ActionScript profile
TextMate

Thanks to all who added to the list.

Ron


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

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


Re: [Flashcoders] re: createTextField

2007-04-07 Thread robert


On Apr 6, 2007, at 10:06 AM, leolea wrote:



Try adding:

mytext.embedFonts = true;

Also, put an empty dynamic textfield (offstage), select the font
mysilkscreen and embed the characters you need.

Should do it.


I always thought adding a textfield to the stage was absurd so I've  
created a movieclip with a textfield and then added a linkage id to  
that. The textfield needn't be wide or tall.


then instead of createTextField just do attachMovie:

  var tb1:MovieClip = this.attachMovie('mytextbox_mc', tb1,  
this.getNextHighestDepth());

  tb1.text_tf._width = 200;
  tb1.text_tf.multiline = true;
  tb1.text_tf.wordWrap = true;
  tb1.text_tf.autoSize = true;
  tb1.text_tf.text = 'Maecenas pellentesque cursus est. ...';
  tb1._x = 300;
  tb1._y = 100;

I never had to apply TextFormat but I suspect it shouldn't be a problem.




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

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


Re: [Flashcoders] sync flv with swf

2007-04-04 Thread robert
Im just guessing but how about getting a percentage played of the swf  
using currentframe and totalframes, then using that number to target  
the matching playhead position in the flv.



On Apr 4, 2007, at 6:02 AM, Ellen Sundh wrote:


Hi!

I have an identical movie in a swf file and as a flv.
They loaddifferently but I was wondering if there is a way to match  
the frames so that the flv goes to the same frame in the movie as  
the swf?


The only option I can think is doing it by hand, frame by frame.  
Are there any other solutions?


Thanks in advance!

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

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


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

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


Re: [Flashcoders] Dealing with size of a multi languages site

2007-03-22 Thread Gosselin, Robert
Thanks Alain.


Le 22/03/07 07:50, « Alain Rousseau » [EMAIL PROTECTED] a écrit :

 Hi Robert,
 
 You should look into shared librairies for your fonts as it will spread
 the weight of the fonts over multiple files.
 For possible solution I'd recommend going over
 http://www.muzakdeezign.com/flashcoders/ and search for font shared
 library
 Lots of discussion on the subject !
 
 Good luck !
 
 
 Alain
 
 Gosselin, Robert wrote:
 HI,
 
 I am building a site where we must include 6 different languages in it.
 I am doing this by using the i18n method and everything work perfectly.
 
 What would be the best way of dealing with the embedded fonts in my project?
 What is the best method for saving size of my swf?
 
 Right now I am doing some test and the swf is [EMAIL PROTECTED] heavy.
 
 Thanks
 
 
 
 ROBERT GOSSELIN   SENIOR FLASH DEVELOPER
 SID LEE514.282.2200 # 619
 COMMERCIAL CREATIVITYSIDLEE.COM
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 
 
   
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



ROBERT GOSSELIN   DÉVELOPPEUR FLASH SENIOR
SID LEE514.282.2200 # 619
CRÉATIVITÉ COMMERCIALE™ SIDLEE.COM

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

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


[Flashcoders] Dealing with size of a multi languages site

2007-03-21 Thread Gosselin, Robert
HI,

I am building a site where we must include 6 different languages in it.
I am doing this by using the i18n method and everything work perfectly.

What would be the best way of dealing with the embedded fonts in my project?
What is the best method for saving size of my swf?

Right now I am doing some test and the swf is [EMAIL PROTECTED] heavy.

Thanks



ROBERT GOSSELIN   SENIOR FLASH DEVELOPER
SID LEE514.282.2200 # 619
COMMERCIAL CREATIVITYSIDLEE.COM


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

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


RE: [Flashcoders] Flash training suggestions

2007-03-09 Thread Robert Bilderbach
Might take a look at the lynda.com, may get you enough to get up to speed
for the other class and you can pick what your looking for.
GBY,
-R

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: Friday, March 09, 2007 2:44 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash training suggestions

Resending as this bounced the first time I tried (so if you already saw
this, sorry!):

I'm looking for some suggestions on Flash training classes.  My Flash devel
knowledge is in a somewhat interesting state in that I know the basics and
some advanced parts of AS2 programming, but don't really know much at all
about using Flash itself (timeline, creating UI objects in the FLA, etc).

I've found a few training courses that I could go to, but the ones that look
useful to me (the more advanced programming ones) have prereqs of the
simpler classes, where most of the material is stuff I already know, with
just a few things that I don't.

For instance, this class:
http://www.trainsimple.com/courses/advanceddesign.html
has a lot of things I'd like to learn (Tween, extending MovieClip) but has
prereqs requiring both basic AS knowledge which I have and basic Flash
design stuff (Rich Content Creation), which I don't have.  I don't know if
I'd be able to get the company to have me take more than one training course
in the near term, and for what I'm doing the advanced class would be much
more useful, but I'm not sure if I would have trouble in it due to not
knowing the design stuff.

Has anyone here been in a similar situation and found training that was
helpful without duplicating a lot of what you already knew?  Does anyone
have any suggestions on training courses that would be good, or even just
training companies that people have found to be good?

Thanks!

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

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

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

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


Re: [Flashcoders] How to read variables from file into an array.

2007-03-07 Thread robert
I don't mean to derail this topic, but I have read about JSON so  
would this be an ideal spot for it?



On Mar 7, 2007, at 7:50 AM, Hairy Dog Digital wrote:


Why TEXT and not XML?

-Original Message-
From: Steve Abaffy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 10:42 AM
To: Flash
Subject: [Flashcoders] How to read variables from file into an array.

Hello,

All the information I have found on this seems to indicate that the
file is read as one big chunk into variable pairs. So if the file  
contains
Var1=Something1 and Var2=Something2 these are split up by the  
system into
var1 and var2 with their associated values. However what I would  
like to do
is I have records for home listings all in a TEXT file. So my  
records look

like

Mls=123456
Price=123456
Bedrooms=4
Bath=2.5
Sqft=1200

Mls=988765
Price=654466
Bedrooms=3
Bath=1.5
Sqft=955

Etc..
I would like to read this into an Array_MLS(), Array_Price etc...  
but can no

information on how to do this. Any help would be great.

Thanks

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

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


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

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


RE: [Flashcoders] Unsubscribe

2007-03-01 Thread robert nikolic

and me please
[EMAIL PROTECTED]



From: Grigoras, Vasile [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Unsubscribe
Date: Thu, 1 Mar 2007 12:29:00 -0500

[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jarret
Franklin
Sent: Thursday, March 01, 2007 6:52 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: RE: [Flashcoders] Subscription problems


...and me, please unsubscribe...
[EMAIL PROTECTED]


=
From: Matthew Bryson [EMAIL PROTECTED]
Date: 2007/02/28 Wed PM 12:40:31 CST
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Subscription problems


and me...
Unsubscribe [EMAIL PROTECTED]




 From: [EMAIL PROTECTED] To: 
flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Subscription 
problems Date: Wed, 28 Feb 2007 14:32:42 -0300  pease Unsubscribe me 
too  [EMAIL PROTECTED]  - Original Message -  
From: Kristal Dale [EMAIL PROTECTED] To: 
flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 28, 2007 
1:21 PM Subject: Re: [Flashcoders] Subscription problemsAgain, I 
too have tried to unsubscribe (5+ times), no  confirmation email is 
sent.This is a helpful list, but getting every email in my  inbox 
is a real annoyance. Until the unsubscribe is  fixed on this list, please 
honor the unsubscribe  requests from email.Unsubscribe 
[EMAIL PROTECTED]Thanks.--- Joe 
[EMAIL PROTECTED] wrote:  Sorry to jump on the 
bandwagon but since nothing is  being done, I would like  to point 
out that my subscription has been altered  from web-only to  
individual emails. I have tried to unsubscribe on a  few occasions and 
no  confirmation email has been sent despite figleaf  saying it has. 
   I apologise for the annoyance to regular people on  this board, 
but none of  us have a choice since nobody seems to be listening  to 
our requests.So this is a call for help... Please, admin,  
unsubscribe me - since I don't  seem to be able to through your 
website!Thanks...  
___  
Flashcoders@chattyfig.figleaf.com  To change your subscription options 
or search the  archive:   
http://chattyfig.figleaf.com/mailman/listinfo/flashcodersBrought 
to you by Fig Leaf Software  Premier Authorized Adobe Consulting and 
Training  http://www.figleaf.com  http://training.figleaf.com
  ___  
Flashcoders@chattyfig.figleaf.com  To change your subscription options or 
search the archive:  
http://chattyfig.figleaf.com/mailman/listinfo/flashcodersBrought to 
you by Fig Leaf Software  Premier Authorized Adobe Consulting and 
Training  http://www.figleaf.com  http://training.figleaf.com   
___ 
Flashcoders@chattyfig.figleaf.com To change your subscription options or 
search the archive: 
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders  Brought to you 
by Fig Leaf Software Premier Authorized Adobe Consulting and Training 
http://www.figleaf.com http://training.figleaf.com

_
Invite your mail contacts to join your friends list with Windows Live 
Spaces. It's easy!

http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Jarret Franklin
[EMAIL PROTECTED]
www.jfmediaMD.com


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

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

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


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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

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


RE: [Flashcoders] Flash exe and Vista

2007-02-28 Thread Robert Akerson
David,
In truth it never came up in all of our testing.  

http://www.multidmedia.com/support/developers/technotes/?action=showid=
19

But now I have something else to keep me awake at night.

-Robb



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Townsend
Sent: Monday, February 26, 2007 3:55 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

Robb,

Just out of interest, how were you able to overcome the ntdll.dll issue
that
is common with zinc? I used to love using zinc but as far as I know they
still haven't come up with a proper working solution for the problem.

I had the horrible experience of sending a product to manufacturing
(luckily
a short run of 2000) and then getting a constant stream of complaints
from
users who were unable to use it on win2k and a few other OS's. 

Thanks,

David Townsend
Mobile: 0403 055 383
The Australian Imagery Company

Address: PO Box 5075, Sandhurst East, Vic 3550
Phone: (03) 54442340 - Fax: (03) 54442341
Email: [EMAIL PROTECTED]
Web: http://www.australianimagery.com.au
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Akerson
Sent: Tuesday, 27 February 2007 6:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

I just finished a large Flash CD project that started out as a SWF
Studio build, but Switched over the Using MDMs Zinc 2.5 after some
initial testing with Vista.  

http://www.multidmedia.com/

This got around the locking up and Admin access issues with SWFStudio.
The syntax is fairly similar between the 2 applications and I was able
to re-code the entire wrapper portion in a couple of days.

Robb Akerson

Ratchet Inc.
Minneapolis Minnesota



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Townsend
Sent: Sunday, February 25, 2007 11:35 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

Heya All,

Apparently Northcode are working on an update to make the system work
with
Vista, from memory there is something in the forum about it. 

mProjector (www.screentime.com) does apparently work fine with Vista,
although they do not appear to have done a full and complete test as yet
(they just haven't had any problems reported). 

I am in the same boat as you. I use SWF Studio but I have to have a
working
version for Vista before I can publish, so the present situation is very
frustrating. 

David Townsend
Mobile: 0403 055 383
The Australian Imagery Company

Address: PO Box 5075, Sandhurst East, Vic 3550
Phone: (03) 54442340 - Fax: (03) 54442341
Email: [EMAIL PROTECTED]
Web: http://www.australianimagery.com.au
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin
Burrer
Sent: Monday, 26 February 2007 2:11 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

I already sent them an email to them. Let's see what they come back
with.
I start to wonder if they planning to release a new version at all...
There's still no flash 9 support + the website has not been updated for
ages.

Robin




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, 26 February 2007 12:45 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash exe and Vista

Get in touch with northcode:
http://www.northcode.com/support.php
http://www.northcode.com/forums/index.php
http://www.northcode.com/forums/showthread.php?t=7852highlight=vista

MDM Zinc is supposed to work on Vista, but I haven't been able to test
it yet.
http://www.multidmedia.com/support/developers/technotes/?action=showid=
58

regards,
Muzak


- Original Message - 
From: Robin Burrer [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, February 26, 2007 1:54 AM
Subject: [Flashcoders] Flash exe and Vista


Hi there,

I'm using swf studio as a swf wrapper. Unfortunately swf studio has not
been updated for vista yet. As a result you have to have administrator
rights to run the flash app.

Even more annoying is the fact that if you just run the application by
double-clicking the exe (or through an autorun file on a CD-ROM) the exe
won't start but will still be listed in the task manager. This means
that you manually have to quit the application in the task manager
before you can start the exe as an administrator.

The worst thing about this whole issue is that Microsoft didn't think it
was necessary to inform the user in any way when he tries to run a
legacy exe.
No error message - nothing. The app just won't start.

So my question is: Are there any workarounds yet? Do other swf wrapper
tools already work with vista?

I came up with this idea of creating a vista compatible windows form
application. This application would then open

RE: [Flashcoders] Flash exe and Vista

2007-02-26 Thread Robert Akerson
I just finished a large Flash CD project that started out as a SWF
Studio build, but Switched over the Using MDMs Zinc 2.5 after some
initial testing with Vista.  

http://www.multidmedia.com/

This got around the locking up and Admin access issues with SWFStudio.
The syntax is fairly similar between the 2 applications and I was able
to re-code the entire wrapper portion in a couple of days.

Robb Akerson

Ratchet Inc.
Minneapolis Minnesota



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Townsend
Sent: Sunday, February 25, 2007 11:35 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

Heya All,

Apparently Northcode are working on an update to make the system work
with
Vista, from memory there is something in the forum about it. 

mProjector (www.screentime.com) does apparently work fine with Vista,
although they do not appear to have done a full and complete test as yet
(they just haven't had any problems reported). 

I am in the same boat as you. I use SWF Studio but I have to have a
working
version for Vista before I can publish, so the present situation is very
frustrating. 

David Townsend
Mobile: 0403 055 383
The Australian Imagery Company

Address: PO Box 5075, Sandhurst East, Vic 3550
Phone: (03) 54442340 - Fax: (03) 54442341
Email: [EMAIL PROTECTED]
Web: http://www.australianimagery.com.au
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin
Burrer
Sent: Monday, 26 February 2007 2:11 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

I already sent them an email to them. Let's see what they come back
with.
I start to wonder if they planning to release a new version at all...
There's still no flash 9 support + the website has not been updated for
ages.

Robin




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, 26 February 2007 12:45 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash exe and Vista

Get in touch with northcode:
http://www.northcode.com/support.php
http://www.northcode.com/forums/index.php
http://www.northcode.com/forums/showthread.php?t=7852highlight=vista

MDM Zinc is supposed to work on Vista, but I haven't been able to test
it yet.
http://www.multidmedia.com/support/developers/technotes/?action=showid=
58

regards,
Muzak


- Original Message - 
From: Robin Burrer [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, February 26, 2007 1:54 AM
Subject: [Flashcoders] Flash exe and Vista


Hi there,

I'm using swf studio as a swf wrapper. Unfortunately swf studio has not
been updated for vista yet. As a result you have to have administrator
rights to run the flash app.

Even more annoying is the fact that if you just run the application by
double-clicking the exe (or through an autorun file on a CD-ROM) the exe
won't start but will still be listed in the task manager. This means
that you manually have to quit the application in the task manager
before you can start the exe as an administrator.

The worst thing about this whole issue is that Microsoft didn't think it
was necessary to inform the user in any way when he tries to run a
legacy exe.
No error message - nothing. The app just won't start.

So my question is: Are there any workarounds yet? Do other swf wrapper
tools already work with vista?

I came up with this idea of creating a vista compatible windows form
application. This application would then open an alert popup window,
which informs the user that the application which is about to be
launched (my flash exe) requires administrator rights. It would then
prompt the user to
Run the application as an administrator, start the flash exe and quit.

Not sure if this is possible though ...


Any thoughts?


Robin


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

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

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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.4/702 - Release Date:
2/25/2007
3:16 PM


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

Brought to you by Fig Leaf Software

Re: [Flashcoders] 3d question

2007-02-14 Thread Gosselin, Robert
This tutorial is pretty easy to understand and well documented :

http://www.kirupa.com/developer/actionscript/3dindex.htm


Good luck!

Le 14/02/07 13:35, « Patrick Matte | BLITZ » [EMAIL PROTECTED] a
écrit :

 If you just wanna have some movieclips moving around in 3D space with
 depth sorting, try my set of AS2 classes.
 
 http://labs.blitzagency.com/?p=68
 
 Theres a download link with the source for all the examples. The code is
 not well documented but its pretty straight forward...
 
 I'm working on the AS3 version right now but its not ready yet.
 
 
 BLITZ | Patrick Matte - 310-551-0200 x214
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Dani
 Bacon
 Sent: Wednesday, February 14, 2007 6:51 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] 3d question
 
 well there are
 
 http://www.flashsandy.org/
 
 and
 
 http://www.osflash.org/papervision3d
 
 
 On 14/02/07, Gustavo Duenas [EMAIL PROTECTED] wrote:
 
 Hi Guys, does anyone knows the way to move a 2d object(vector based)
 in 3d, rotating axis x y and z, using action script course 
 I don't know probably is a dumb question...I'm using flash 8,
 actionscript 2...and by the way do you know also how can I have
 actionscript 3 in my
 flash 8?
 
 Regards
 
 
 Gustavo Duenas
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



ROBERT GOSSELIN   DÉVELOPPEUR FLASH
SID LEE514.282.2200 # 619
CRÉATIVITÉ COMMERCIALE SIDLEE.COM

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

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


[Flashcoders] (no subject)

2007-02-01 Thread Robert W Johnson

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

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


Re: [Flashcoders] path to upper level folder

2007-01-31 Thread robert

I think this is what you want:

with this swf inside folder1-html:

mc.loadMovie('../folder_with_images/image1.jpg')



On Jan 31, 2007, at 8:27 AM, natalia Vikhtinskaya wrote:


I have two folders.Each of them has html with swf. Swf loads images.
www
   - folder_with_images
   - folder1-html and swf
   - folder2-html and swf
Is it possible to have relative path in swf to to the folder with  
images?



2007/1/31, Merrill, Jason [EMAIL PROTECTED]:


Swf and html are in the same folder. I need to have  
folder_with_images

available for two folders
folder_with_images available for two folders _folder_with_images
 _folder1, _folder2

folder 1 and 2 have swf and html and I want to loaded images
to both swf.

OK, I'm thorouoghly confused as to what your setup is - something got
lost in translation there.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness



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

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


Re: [Flashcoders] Q:Preloader when TOTAL size of assets not known

2007-01-25 Thread Robert r. Sanders
You might also use a double percentage: e.g. one view showing loading 
for each file as a % (if you wanted) and the other simply showing a % of 
the number of files.


Depending on you setup it also shouldn't be too difficult to write 
something server side to do something like scan the XML and insert file 
sizes into it (or report them via a second channel).



[EMAIL PROTECTED] wrote:

Hi
Using a XML config file to load in a number of image assets.
i was wondering what approach is best taken when you want to create some type 
of a 'percent loaded' display, not knowing the combined total size of all 
assets...

Is there an easy solution to this without 'faking' it or hardcoding the total 
size?

Perhaps using PHP on the back end?

Thanks

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

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

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



--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

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

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


RE: [Flashcoders] Flash IE OCX error

2007-01-24 Thread Robert Chyko
I get the same thing from time to time, but it is very random and I have
not been able to narrow it down.  It is a rather rare occurrence for me,
so I have just been living with it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arindam
Dhar
Sent: Wednesday, January 24, 2007 4:37 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash IE OCX error


yes, i did reinstall numerous times, not helping :-(

Geoff Stearns [EMAIL PROTECTED] wrote:  have you tried uninstalling
the plugin (using the adobe uninstaller) 
and then reinstalling it?


On Jan 22, 2007, at 3:36 AM, Arindam Dhar wrote:

 hi,

 I have encountered flash ocx error many times which just appears
 without any hint after which I have no other option but to close 
 the relevent browser.

 This is what exactly i get in the error popup,

 Internet explorer encountered a problem with addon and needs to
 close.
 The following add-on running when this problem occured
 file : Flash9.ocx
 company : adobe systems incorporated
 Description : Adobe flash player 9

 Has anyone faced this or has any explanation and solution?

 thanks,

 Arindam



 
 -

 Real people. Real questions. Real answers. Share what you know. 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive: 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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



-
 Yahoo! Movies - Search movie info and celeb profiles and photos.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] flash on osx thru parallels/bootcamp

2007-01-24 Thread robert

Thank you for your tips.

I'm sorry I think I wasn't clear.

Initially I ran a .swf in Parallels and the performance was  
incredible which ignited my interest to what else Parallels could do.  
I was thinking of using the Flash IDE for PC on my Mac via Parallels,  
that way the OS X doesn't need to invoke Rosetta. So while waiting  
for comments last night I installed Flash IDE for PC (trial version)  
on my Parallels and it does fell pretty snappy.


Only problem so far is my Parallels didn't have some projects' fonts  
installed and I needed to copy over the class files because the IDE  
couldn't find them on the Mac/PC shared directory. At this point I've  
only attempted to publish some projects but not start up anything new.


I was just curious if anyone else had done that and had any comments.



On Jan 24, 2007, at 6:23 AM, Andy Herrman wrote:


I haven't tried it at all, so I may be way off here, but:

If you're having performance problems, try playing around with the VM
settings in Parallels.  Specifically, take a look at how much RAM
parallels is giving to the VM.  If that value is too low then the
virtual machine won't have enough RAM to use, so it will end up
thrashing (paging stuff back and forth to disk).  This can cause
serious performance problems.  Try upping the RAM and see if that
helps.

I assume you're running XP in the virtual machine.  I want to say you
should give it at least 512MB of ram, though if you're running a lot
of things other than Parallels and only have a gig or so of RAM in
your machine then you may not have that much to spare.  You'll have to
experiment.

  -Andy


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

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


Re: [Flashcoders] Re: flash on osx thru parallels/bootcamp

2007-01-24 Thread robert


On Jan 24, 2007, at 1:37 PM, Steven Sacks | BLITZ wrote:


Have you tried FlashDevelop for Windows or TextMate for Mac?



Yes, I really like TextMate and enjoying this 30-day trial. Now I'm  
using BBedit which is good but not well suited for actionscripting.


Anyway my main curiosity is to see how the IDE handles since I still  
need to go in an manage symbols and etc. 
___

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

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


Re: [Flashcoders] Running Flash Application on a local network

2007-01-23 Thread Robert r. Sanders
Look up the FlashPlayerTrust files.  I wrote a NullSoft Install 
script that simply created a trust file for drive letter it was launched 
from and then loaded the default web browser on the local html file 
(which in turn referenced the SWF).  If you are just running an SWF you 
might try one of the SWF to EXE converters, I am not familiar with 
them,but I believe they handle the security issues for you.



vipin chandran wrote:
This is a flat network share and the html file will be accessed from 
within

the LAN.

Locally everything is working fine, but when i share the folder and 
try to

access the file, content is not loading (xml).

I am using normal XML class for loading the xml.

The client machine may not have an internet connection, so the settings
manager may not help. I am looking for a way of hard coding the stuff 
which

you are doing with the online settings manager.

Any help friends?

Thanks
`vipin

On 1/23/07, eugen pflüger [EMAIL PROTECTED] wrote:


i had this problem too.
i couldnt get really behind this issue but i know how to avoid this
problem and get your files loaded.

you need to set the security settings for your pc:
http://www.macromedia.com/support/documentation/en/flashplayer/help/
settings_manager04.html

the clients computer needs to have an internet connection to do this.
you then choose the folder of your project and then add this to the
list. or as i did, you add the main hard disk folder (/).

i know this is a hacky solution and i never could understand why this
has to be this way.
this security restrictions shouldnt happen if you choose use only
local files. but that didnt work in my case.

hope it helps.
eugen





Am 23.01.2007 um 03:28 schrieb JulianG:

are you using an HTTP server on the host computer?
or just opening the HTML/SWF file using a network share?

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

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

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

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


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

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



--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

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

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


[Flashcoders] flash on osx thru parallels/bootcamp

2007-01-23 Thread robert

Hi
I'm curious if anyone is using Flash IDE on OS X, but doing it thru  
Parallels. I'm on a Mac Book Pro with 2.33 GHz core duos and it feels  
like the same speed to publish on this or my old powerbook. I really  
noticed a difference when I ran a swf (it was only the flash player  
though). Just curious if I should alter my work style! 
___

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

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


Re: [Flashcoders] Re: speech recognition in Flash?

2007-01-15 Thread Robert r. Sanders

BOYD SPEER wrote:

I did a childrens' project in Director some time ago in which I used a speech 
recognition engine (it came with Dragon Naturally Speaking software) in concert 
with the Windows animated wizard. now I would like to translate it into Flash. 
Can the Windows wizard (Active-X - I think) be made to work in Flash? And can a 
speech recognition engine be used to compare spoken words to a word list?

Thanks for any info..

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
  
There are some wrappers for Flash that allow you to convert your flash 
into an EXE (which runs locally); I believe some allow you to hook into 
external controls in this manner.


If you want web based then your options are:

  1. Try and embed the ActiveX into a page and then use javascript to
 communicate with the Flash 'applet'; probably has licensing
 issue(s) as well as technical issues.
  2. Use a server-side backend; the downside here is that since Flash
 compresses mic. input into a proprietary format there may not be a
 way to get it out into a format usable to your recognition engine.


--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

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

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


  1   2   3   >