RE: [Flashcoders] Remove me

2005-10-20 Thread Shaw, Matt
Goodness? Or "how do you replace a comma in a string"-ness?
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Thursday, October 20, 2005 12:52 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Remove me

Who in their right mind wouldn't want 100 emails per minute of Flash
goodness?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Urquhart
Sent: Thursday, October 20, 2005 12:49 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Remove me

stupid pirate, I just want to stop receiving a hundred email a minute.

Then Im off for me bottle of rum, yaaar

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: 20 October 2005 17:10
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Remove me

ARR, evast ye matey, and click and then yonder link, at the
bottom of this setence... A  Ye can remove yerself there, ya
can!

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

- Original Message -
From: "Alexander Urquhart" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, October 20, 2005 10:50 AM
Subject: [Flashcoders] Remove me


Arrgh remove me from the mailing list


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

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

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


[Flashcoders] AS3 Hi-Jinks : Call to a possibly undefined method

2005-10-20 Thread Shaw, Matt

My Lord, I'm having a splendid time when AS3 - but some of theses errors
are heinous...

"Call to a possibly undefined method moveTo through a reference with
static type Test"

So, I've got this class Test, which extends Sprite and is attempting to
call this.moveTo(0,0)

I'm know that Sprite has a moveTo method - inherited from
flash.display.Graphics. So, I'm not seeing how this is "possibly
undefined". And "through a reference with static type Test"? There is
nothing static about my Test class. 

Any idears?

package {
import flash.display.Sprite;

public class Test extends Sprite {

public function Test() {
this.moveTo(0,0);
}
}
}

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


RE: [Flashcoders] serialize object

2005-10-25 Thread Shaw, Matt
Take a look at the XML-RPC standard. It could give you some ideas for
serializing object hierarchies into text. It only supports common data
types since it supposed to transcend languages, but you could build in
some smarter class instantiation.

http://xmlrpc.com

http://sf.net/projects/xmlrpcflash 

Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Florian
Metzger - Neodelight
Sent: Tuesday, October 25, 2005 11:50 AM
To: flashcoders
Subject: [Flashcoders] serialize object

i want to serialize the shared object and dump it into a text file and
later deserialze the shared object from that text file.
does anybody have a script or class for that ?
if not, i'll write one... does anybody else need stuff like that ?
 flow motion
___
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] Multilanguage sites

2005-10-25 Thread Shaw, Matt
http://www.w3.org/International/
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of daniel
clarke
Sent: Tuesday, October 25, 2005 10:03 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Multilanguage sites

I've been approached to put together a site which will ultimately have
10 language variations (some of which dont use the latin alphabet).

Were thinking XML driven content for a start, but what are the major
pitfals to look out for when putting a multilanguage site togehter. I've
done some top level research and figure theres goingto be issues with
character sets etc.

Does anyone have any links to good resources or advice to give ?

Thanks in advance

Daniel
___
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] tracking inactivity

2005-10-26 Thread Shaw, Matt
You need 2 equal signs...

if (this.time==this.stillFor) {


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alistair
Miller
Sent: Wednesday, October 26, 2005 11:48 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] tracking inactivity

You are setting a value here rather than comparing

if (this.time=this.stillFor) {

change to 

if (this.time >=this.stillFor) {

Ali

-Original Message-
From: Matt Ganz [mailto:[EMAIL PROTECTED]
Sent: 26 October 2005 16:44
To: Flashcoders mailing list
Subject: [Flashcoders] tracking inactivity

hi.

i'm trying to record when there's been inactivity in my site. i got this
code from the archive but don't understand where it's going wrong. for
example, i set it to trace out if the mouse has been inactive for 10
seconds, but instead i get this message right away.
does anyone see anything out of place?

thanks. -- matt.

this.stillFor = 1; // 10 seconds
this.startTime = getTimer();


this.onMouseMove = function(){
  this.time = 0;
  this.startTime = getTimer();
  trace('Starting timer again'); }

this.onEnterFrame  = function(){
  this.time = getTimer()-this.startTime;


  if (this.time=this.stillFor) {
  this.time = 0;
  this.startTime = getTimer();
  trace('mouse has been still for 10 seconds!');
  }
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Dyson -- the cleaner that doesn't lose suction.

http://www.dyson.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

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


RE: [Flashcoders] Newbie AS3 question

2005-10-28 Thread Shaw, Matt
Assuming the Game class is your root/stage class:


Public class Game extends MovieClip {
public function Game(){
var gameworld:MovieClip = new MovieClip(); //new GameWorld()?
this.addChild( gameworld );

var game_bg:MovieClip = new MovieClip();
gameworld.addChild( game_bg );
}



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning
Sent: Friday, October 28, 2005 1:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Newbie AS3 question

AS3 noob question ahoy!

I'm reading the AS3 reference trying to get accustomed to the idea, but some 
things (though they look better) i don't really get right away :) Hence my 
feeling of incredible stupidity.

I realise the AS3 in the reference is Flex-related, but in Flash IDE terms, how 
would i do something like this in AS3:

var baseClip = _root.createEmptyMovieClip("gameworld",1);
var backGround = baseClip.createEmptyMovieClip("game_bg",1);

I get how much more practical myClip = new MovieClip(); looks, but i don't get 
how i connect a clip created this way with the traditional clip hierarchy. Is 
that out the window as well?
The reference describes |DisplayObjectContainer.addChild(), but i'm guessing 
this doesnt really count for how it'll work in the Flash IDE?

Any helpful hints at what the future holds? :)
|
- Andreas
___
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] Newbie AS3 question

2005-10-28 Thread Shaw, Matt
Avoiding the word "this" is to avoid easy to understand code

It tells you that a variable is not a local variable but a important one
that's gonna be around to a while ;]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon
Bradley
Sent: Friday, October 28, 2005 2:54 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Newbie AS3 question

On Oct 28, 2005, at 1:55 PM, Shaw, Matt wrote:

> Assuming the Game class is your root/stage class:
>
> 
> Public class Game extends MovieClip {
> public function Game(){
>   var gameworld:MovieClip = new MovieClip(); //new GameWorld()?
>   this.addChild( gameworld );
>
>   var game_bg:MovieClip = new MovieClip();
>   gameworld.addChild( game_bg );
> }

What I don't get is why it needs "this.addChild" instead of just
addChild.  I've been sick of the keyword "this" for a long time and have
since avoided it in AS2.

Any reason that it needs to be back in for AS3?

- Jon

___
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] JavaDoc in as2

2005-10-31 Thread Shaw, Matt
http://www.google.com/search?q=actionscript+doc+generator
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JOR
Sent: Monday, October 31, 2005 10:52 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] JavaDoc in as2

Doug Miller wrote:
> http://java.sun.com/j2se/javadoc/writingdoccomments/
> 
> 
> 
>  On Mon, 31 Oct 2005, Martin Klasson
> ([EMAIL PROTECTED]) wrote:
> 
> 
>>Hi People.
>>
>>I have been reading about the JavaDoc, and that is really what
> 
> I will
> 
>>implement into my documentation-routine.
>>
>>But now when I know all the tags and so on, I don't know what
> 
> is a
> 
>>general good way to use for params and how to really actually
> 
> turn
> 
>>javadoc into a good use within the AS-class.
>>
>>Is there any good basics out on some simple sites? I cant
> 
> really find it
> 
>>myself though googling and searching.
>>
>>Thanks.


What are you running to produce the HTML documentation, the JavaDoc app
itself?  It will work with .AS classes and packages?

I've already added all the documentation comments to my .AS files but
that's as far as I got.  I was looking for a way to then transform those
comments into actual HTML documentation but haven't tried JavaDoc yet. 
I didn't think it would read AS packages.


JOR



___
===  James O'Reilly
===
===  SynergyMedia, Inc.
===  www.synergymedia.net

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


RE: [Flashcoders] Calc max radius of a circle

2005-11-22 Thread Shaw, Matt
The rotation doesn't affect the maximum radius. The maximum radius will
be the smaller of width or height, divided by 2.

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Edgar
Sent: Tuesday, November 22, 2005 1:15 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Calc max radius of a circle 

I am trying to calculate the max radius a circle can be and have it
still fit in a bounding box.

The difficult part of the question is that the circle is really a 3D
object ie it can be rotate about the x or y axis.

Ie imagine  a plain circle drawn on the screen, now imagine your could
"push" the top of it down till its was edge on, then the max radius
would be half the width of the box. If pushed in on the left till it was
edge on it woulde be half the height of the box.

But how about all the other angles in between.

So you have width/height of box, and x rotation and a y rotation, so
what is the max radius..

Thanks
Rob 



___
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] Distort bitmap in flash 8?

2005-11-23 Thread Shaw, Matt
The answer is still no... Frustrating eh?

But this guy has some tricks up his sleeve...
http://lab.andre-michelle.com/f7:%203d/3dimage.swf


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Burvill
Sent: Wednesday, November 23, 2005 11:10 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Distort bitmap in flash 8?

Quick question about Flash 8 (I'm still using Flash 7 and my trial has
expired for 8)...

Is it possible to actually distort a bitmap image now in the same way
that you can distort a shape (modify -> transform -> distort)?

I want to create a perspective look as though you are looking at a
photograph that was placed on a table, with your eyes just above the
edge of the table.

Cheers.


___
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] AS3: Sandbox violation on BitmapData.draw()

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

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

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


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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

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


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

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



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

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

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

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


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

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

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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
<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] parsing XML RPC responses in AS...

2006-08-11 Thread Shaw, Matt (MTVN)
http://sourceforge.net/projects/xmlrpcflash/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of keitai
guy
Sent: Friday, August 11, 2006 2:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders] parsing XML RPC responses in AS...

hi -

I am trying to display results of a web service app that is returning
data in the XML-RPC format as per below.

This seems very hard to parse in any of the tools  I've found...

XPath seems useless against it since the only thing different is the
_contents_ (value?) of each  node. The node names themselves are
all the same...

Am I missing something? Can anyone suggest better ways to work with this
type of data?







  SCRIPT_NAME
  /index.php


  requests
  

   
  msg
  

...

c_member

c_member_id
2

nickname
oga

birth_year
1982

birth_month

Thanks!

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread Shaw, Matt (MTVN)
I think in this case you need to teach a man to fish. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Giotta
Sent: Thursday, February 16, 2006 10:28 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

FlashVars is what we're using to set the clickthrough URL, however, the
ads system is predefined to set the variable to clickTAG and some
designers have been referring to the variable as clickTag.

clickTag doesn't equal clickTAG... so I thought I could run an injection
script to just insert a line to correct any variable name misspellings.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Can You Extend a Swc Component?

2006-04-04 Thread Shaw, Matt (MTVN)
I'm trying to use a component's intrinsic class as a super class.

I have a component installed. I unzipped the .swc files and "stole" the
intrinsic classes so I could get proper code checking in Eclipse. This
works fine. Then I attempted to extend one of the intrinsic classes.
Flash compiles with no complaints but an instance of my subclass doesn't
actually seem to inherit anything from the super class. If I delete the
intrinsic classes, Flash will compile, with no complaints, and then
inheritance works! It seems that the "compiled" aso intrinsic class
satisfies the compiler. If I then delete my aso cache, then the Flash
compiler complains it can't find the super class.

I tried all sorts of weird things in-between each of these steps to make
the compiler happy but maybe I'm not supposed to be doing this in the
first place. And no, I'm not going to touch prototype.

Thanks,
Matt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Can You Extend a Swc Component?

2006-04-05 Thread Shaw, Matt (MTVN)
I'm trying to use a component's intrinsic class as a super class.

I have a component installed. I unzipped the .swc files and "stole" the
intrinsic classes so I could get proper code checking in Eclipse. This
works fine. Then I attempted to extend one of the intrinsic classes.
Flash compiles with no complaints but an instance of my subclass doesn't
actually seem to inherit anything from the super class. If I delete the
intrinsic classes, Flash will compile, with no complaints, and then
inheritance works! It seems that the "compiled" aso intrinsic class
satisfies the compiler. If I then delete my aso cache, then the Flash
compiler complains it can't find the super class.

I tried all sorts of weird things in-between each of these steps to make
the compiler happy but maybe I'm not supposed to be doing this in the
first place. And no, I'm not going to touch prototype.

Thanks,
Matt

[Resent because of list issues]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Can You Extend a Swc Component?

2006-04-06 Thread Shaw, Matt (MTVN)
Not one comment? I know someone else has tried this also.

Mike Chambers, what's the official word? 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shaw,
Matt (MTVN)
Sent: Wednesday, April 05, 2006 10:48 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Can You Extend a Swc Component?

I'm trying to use a component's intrinsic class as a super class.

I have a component installed. I unzipped the .swc files and "stole" the
intrinsic classes so I could get proper code checking in Eclipse. This
works fine. Then I attempted to extend one of the intrinsic classes.
Flash compiles with no complaints but an instance of my subclass doesn't
actually seem to inherit anything from the super class. If I delete the
intrinsic classes, Flash will compile, with no complaints, and then
inheritance works! It seems that the "compiled" aso intrinsic class
satisfies the compiler. If I then delete my aso cache, then the Flash
compiler complains it can't find the super class.

I tried all sorts of weird things in-between each of these steps to make
the compiler happy but maybe I'm not supposed to be doing this in the
first place. And no, I'm not going to touch prototype.

Thanks,
Matt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Video Object in Runtime Shared Library

2006-04-13 Thread Shaw, Matt (MTVN)
I have a library which I am sharing via "Runtime Sharing". I am
importing a MovieClip which contains a Video object. The MovieClip
imports fine and appears on the stage but it is missing the Video
object. Are Video objects not sharable via runtime sharing?

Thanks,
Matt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] RANT: Collect Fonts Button

2006-04-13 Thread Shaw, Matt (MTVN)
This would be illegal unless the fonts included a license which allowed
copying them and sending them around. Unless the fonts were free... 

But yes, I agree that it is annoying.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of clark
slater
Sent: Thursday, April 13, 2006 6:16 PM
To: [ExtendFlash]; [FlashCoders]
Subject: [Flashcoders] RANT: Collect Fonts Button

Print designers who use QuarkXpress have had an essential utility for
years.
They can collect all the fonts used in a project so that when passing
the source file to a bureau for print the exact same fonts are supplied
along with the artwork and layout.

I cannot begin to list all the times we have encountered major pain
because the designer who created a particular FLA has lost the fonts or
reinstalled their operating system or for whatever reason can no longer
get their hands on the fonts. It is such a phenomenal pain in the tits.
In terms of production time this is a VERY costly problem. We have
literally wasted hours screwing around with fonts trying to track down
the exact font used in a particular file. Sometimes the font might be
correct version - but different kerning table means it reflows
everywhere. Aggh.

Often made worse by the way that font names are handled differently in
Flash than in other programs using the exact same file. The scope for
confusion is enormous. Even using third party font management tools like
suitcase does not alleviate the problems because of the way that most
design applications will install their own dirty secret fonts into the
system fonts folder.

Given the number of FLA files that are shared from designer to
developer, agency to client to agency to freelancer etc. I simply cannot
understand why Macromedia never saw fit to implement a utility like
Quark has so it would be easy to collect all the fonts used in a
particular file for handoff to the next part of the production workflow.
The chance of font piracy is not a strong enough argument to explain why
this critical design feature has been left out. After all anyone wanting
to pirate fonts can just swap the contents of their system fonts folder
etc.

Clearly, I sincerely hope this is included in the next version of the
Flash IDE - but I'm not holding my breath as it's been a submitted
wishlist item since version 3 or 4! In the meantime it would be great if
there was a way to handle this with JSFL. Unfortunately I can't see any
way to access the fonts used property of a document.

I'm sure we are not the only agency nearly driven to dementia with these
kind of Flash font related issues. If anyone else out there shares our
anguish please speak up, we need to convince Adobe to include proper
font management in the next Flash IDE. And on the offchance that anyone
has found a funky solution to this most annoying of problems, I will at
the very least buy you a case of your favorite beer. And if anyone has
any insights to how this could be pulled off with JSFL I would be very
interested to discuss.

OK anyone that made it this far thanks for listening to my ranting.

Maybe we're the only Flash agency lame enough to be so badly affected by
such font problems coz I don't really see this discussed anywhere, or
maybe there's some really slick or simple solution that everyone else is
using...but I'm betting not. In which case it seems like an extension
that could fix this would be a *really* shit hot item for someone to
develop and offer to the Flash community as a whole.


Clark Slater
www.bayinteractive.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] XML->PHP->FLASH

2006-04-20 Thread Shaw, Matt (MTVN)
Or don't write any XML at all. 
All the kids are using XML-RPC with Flash - it's the neatest!

http://xmlrpcflash.sf.net

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of CK
Sent: Thursday, April 20, 2006 12:05 PM
To: Flashcoders mailing list
Subject: [Flashcoders] XML->PHP->FLASH

Hi,

After browsing the Kirupa.com XML tutorial written by Senoculor, it
appears that given the awkward way the AS XML Object works that using
PHP to parse XML then pass the PHP variables to flash may be less
intense.  Could someone enlighten?



Respectfully,
CK
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XML->PHP->FLASH

2006-04-20 Thread Shaw, Matt (MTVN)
I believe JSON relies on the ability to eval a string into an object,
which flash can't do without some help.

Eg: eval('{ key: "value" }');  

Won't work in Flash, you'd have to parse the string - then why not parse
XML

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julian
'Julik' Tarkhanov
Sent: Thursday, April 20, 2006 12:59 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML->PHP->FLASH


On 20-apr-2006, at 18:43, Shaw, Matt (MTVN) wrote:

> Or don't write any XML at all.
> All the kids are using XML-RPC with Flash - it's the neatest!
>
> http://xmlrpcflash.sf.net
>
>

And what about JSON? Did it make any inroads into Flash yet? Seems much
more terse and useful for bare-struct juggling than XML.

--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl


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

2006-04-20 Thread Shaw, Matt (MTVN)
That is true. There's mucho overhead with serializing things to XML. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ettwein,
Josh
Sent: Thursday, April 20, 2006 1:25 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] XML->PHP->FLASH

If you're already using PHP on the server side, I can't see why you
wouldn't use AMF - it's binary, where xml is not, and is far more
verbose to send across the pipe.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shaw,
Matt (MTVN)
Sent: Thursday, April 20, 2006 9:43 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] XML->PHP->FLASH

Or don't write any XML at all. 
All the kids are using XML-RPC with Flash - it's the neatest!

http://xmlrpcflash.sf.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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Showing Preloader for the same SWF

2006-05-15 Thread Shaw, Matt (MTVN)
Classes and linked MovieClips are exported on Frame 1 by default. Those
items are probably the bulk of your SWF. You can specify the export
frame for classes in the publish settings for ActionScript. For
MovieClips, I usually have all design in a shared library, which I place
on a frame > 1.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Basak
Sent: Monday, May 15, 2006 11:03 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Showing Preloader for the same SWF

Got a problem in showing a preloader of a file which is being loaded.

This file is embedded in the html file itself, so the preloader appears
for a few seconds before the whole file loads.

Another issue that I face in preloading files which has multiple scenes.
It seems that every scene is treated as separate movies and not get
loaded in a single go.

This is my code that tracks the loading.

this.onEnterFrame = function() {

if (checkLoading == true) {

if (_root.getBytesLoaded()>4) {

if (_root.getBytesLoaded() ==
_root.getBytesTotal()) {

play();

}else{

var per =
Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);

 
mainPreloader_mc.main_preloaderText.text = per+"%";

}

}

}

};

 

Am I missing anything?

Do let me know


Thanks
Sumeet Basak
CTO
Renaissance Legal & Learning Systems Pvt. Ltd.
Cell: + 91.9223214301
web:   www.renaissancesystem.com;


www.conveyancinghub.com
email:  
[EMAIL PROTECTED]  

Renaissance: The Revival of Learning & Culture; Syn: Rebirth
 Contact us for all your Legal, Web
and eLearning requirements

 

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