[Flashcoders] Aspect Oriented Programming

2005-11-29 Thread lieven.cardoen
Hi Simon, I'm trying to figure out this part of As2lib. It looks great,
but I don't have the time to look how it exactly works. This is what I
have so far : 

 

private static function
initLogMethodExecutionsAspect(weaver:SimpleWeaver):Void {

var
logMethodExecutionsAspect:LogMethodExecutionsAspect = new
LogMethodExecutionsAspect();

 
//weaver.addAspect(logMethodExecutionsAspect,
_global.be.idiomatic.framework.content);

 
weaver.addAspect(logMethodExecutionsAspect,
_global.be.idiomatic.module);

 
weaver.addAspect(logMethodExecutionsAspect, _global.org.as2lib.env.log);

}







 
//==

//  PUBLIC METHODS

 
//==

public static function
init(target:MovieClip):Void{

// use two separated try-catch
blocks because the application may run even if the weaving process
failed

try {

var weaver:SimpleWeaver
= new SimpleWeaver();

 
initLogMethodExecutionsAspect(weaver);

weaver.weave();

} catch
(exception:org.as2lib.env.except.Throwable) {

// send email to
application programmer

if
(logger.isErrorEnabled()) {

 
logger.error(Weaving failed with exception:\n +
StringUtil.addSpaceIndent(exception.toString(), 2));

}

}



target.attachMovie(Application,
application, 1);

}

 

 

My question is how does the  LogMethodExecutionsAspect class look like.
I haven't begun programming this class. All it should do is send a
message at the beginning of a method and at the end saying which class
and method the program is in. Do you have an example of such an Aspect?

 

Thx, greetz

 

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 361197

Fax 056 35 26 48

www.pointx.be http://www.pointx.be/ 

 

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


Re: [Flashcoders] water simulation

2005-11-29 Thread franto
Hi,

try to find in my flash 8 collection:
http://www.franto.com/blog2/collected-links-to-maelstrom-examples

or try my water with displacement filter
http://www.franto.com/blog2/maelstrom-examples-water

but this is not physics :) it's just visual effect of water



On 11/29/05, Andy Johnston [EMAIL PROTECTED] wrote:
 Hey Miles,

 Thanks for that one, I have to admit twas a wee bit over my head, really
 need some working as2 code if anyone has anything similar. Thanks for
 the link though I will have a more in depth read when I got some time.

 Cheers

 Andy

 
  Andy,
 
  Didn't think this link would be much help. butthere's a quicktime
  animation at the end which demonstrates his equation, and there seems
  to be a slosh effect ...
  http://www.osc.edu/education/su_programs/si/si2005/projects/wave_motion/
 
  Regards - Miles
 
  At 08:02 PM 11/28/2005, Andy Johnston wrote:
 
  Hi all,
 
  Looking for some actionscript to simulate a body of water that is
  contained in a rectangular box. Think cutting a swimming pool in half
  then shaking it from side to side. Anyone got some physics code that
  would generate a constrained sloshing around motion?
 
  any help or pointer mucho appreciated!
  ___
  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



--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Load/export Symbol in ActionScript

2005-11-29 Thread de-hack SWF


 Creating a fake named linkage'd run-time symbol is done another way.
 But I don't remember it by hearth. Maybe someone else can feed on this
 one.


Yes. Thanks. You identify my problem. This is  the point that I want to
know. Anyone any ideas? :-)

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


Re: [Flashcoders] Load/export Symbol in ActionScript

2005-11-29 Thread Ian Thomas
Hi Juguang,

I posted the following about a week ago - I think it's what you're after:
--
  Can't remember where I got this solution - definitely not mine - but
here's how to create a MovieClip-derived class that doesn't need an
associated library symbol:
--
class net.something.MyButton extends MovieClip
{
static var symbolName:String = __Packages.net.something.MyButton ;
static var symbolOwner:Function = MyButton;

public function MyButton()
{
}

static var symbolLinked=Object.registerClass(symbolName, symbolOwner);
}
--
To create it, use attachMovie:

import net.something.MyButton;

var button:MyButton=MyButton(myTimeline.attachMovie(MyButton.symbolName,
someRandomButton,
myTimeline.getNextHighestDepth()));

Where myTimeline is whatever parent movie clip you're trying to attach to.

HTH,
  Ian

(I think I'll go away and put this in the FAQ...)


On 11/29/05, de-hack SWF [EMAIL PROTECTED] wrote:

 
 
  Creating a fake named linkage'd run-time symbol is done another way.
  But I don't remember it by hearth. Maybe someone else can feed on this
  one.


 Yes. Thanks. You identify my problem. This is  the point that I want to
 know. Anyone any ideas? :-)

 Juguang

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


RE: [Flashcoders] Delegate scope - superclass issue?

2005-11-29 Thread Nikolaj Selvik
Yes, turns out an older version of the superclass was compiled into a different 
loaded swf. Sorry bout that.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: den 28 november 2005 18:07
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Delegate scope - superclass issue?

I've never had that problem.

Try removing the this from this.myFunction. Shouldn't make any
difference - but I don't use it, and, as I said, I don't have the problem.
:-)

HTH,
  Ian

On 11/28/05, Nikolaj Selvik [EMAIL PROTECTED] wrote:

 Hi,

 Thanks for welcoming me to your list!

 I´ve run into a problem using MM's delegate class, couldn't find any info
 on this particular issue so here goes:

 Example:

 mySubClass inherits from mySuperClass

 In mySubClass I have:

 myObject.addEventListener(click,Delegate.create(this, this.myFunction));

 works fine if myFunction is defined in mySubclass, just as it should,
 but not if Its defined in mySuperClass. Why?


 Best Regards,

 Nick
 ___
 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] SOAP HTTP 500 header

2005-11-29 Thread Nikolaj Selvik
Hi all,

Having a bit of a problem using SOAP and Flash - The SOAP 1.1 specifications 
say the SOAP HTTP server MUST issue an HTTP 500 Internal Server Error response 
in case of a SOAP error, but Flash´s XML (and loadVars) Objects won't parse 
the data when a 500 header is returned. This way there is no way I can access 
the error data on the client, which happens to be exacly what I need to do... 
Did anyone here run into this issue? Is there a way to force the player to read 
the data, regardless of header?

Thanks,

Nick

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


[Flashcoders] Compiler bug when extending MovieClip and calling super-function in subclass constructor

2005-11-29 Thread Morten Barklund Shockwaved

Hi,

I believe, that I've found a bug in the Flash 8 compiler.

Just for the facts: I have Flash 8 Professional (English edition) for 
Windows XP - no other version number, as far as I can see.


The bug is, that the compiler will result in a missing pop-operation 
thus leaving an extra item on the stack when extending movieclip and in 
the constructor of the subclass calling a function of the movieclip 
class. The special extension-function will have a missing pop-operation 
when the super-function is called without adding this. or super. to 
the function call.


The simplest case is a FLA file only containing:

var sc:SubClass = new SubClass();
trace(sc instanceof SubClass);

And SubClass only containing:

class SubClass extends MovieClip {
public function SubClass() {
play();
}
}

The trace will be false in the above, but when adding this. or 
super. to the play-invocation, the trace will be true.


When decompiled with Flasm 1.6 the only difference between a SWF with 
this. and without is, that with this. an extra pop()-operation is 
added. And this pop-operation should be there, as it will properly 
remove the something from the stack. (both FLM-files added for 
reference in below-mentioned ZIP)


The above is just a simple example, it is not actually occuring as we 
all know, that you cannot instantiate movieclips through the 
constructor. But you can instantiate movieclips by adding them to a 
movieclip in the library and attach this movieclip. Thus we can add an 
extra class Attacher:


class Attacher {
public function Attacher() {
_root.attachMovie(SubClass, sub, 1);
}
}

And in the FLA file we create a movieclip in the library with the AS2 
class and identifier SubClass. We change the frame actionscript to:


var attacher:Attacher = new Attacher();
trace(attacher instanceof Attacher);

Now, attacher is _not_ an instance of class Attacher. It is actually 
undefined. And _that_ is a bug!


It only occurs when extending movieclip (or maybe also Button or 
TextField, haven't tried those), and only when the reference to the 
super-function is in the constructor of the subclass. Haven't tried Flash 7.


I've added all the files needed to reproduce (and I've reproduced at 
other computers with Flash 8) to a zip, and it can be downloaded at:


http://actionscript.dk/downloads/bughunt.zip

Feel free to comment.

This bug report will be submitted to Macromedia after the sending of 
this mail.


--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Loading Text Dynamically - Any Good Wasy or Tutorials?

2005-11-29 Thread Nicholas Chhabra

Yeh, I did some proper searching - e.g. Google! lol...

And got my textbox working.
Thanks for the links anyway!

Also, I believe (correct me if I'm wrong) that the way to make scroll 
buttons is to right -


btnScroll.onRelease = function() {
   content_Txt.scroll+=5;
};

(For Down)

btnScrollU.onRelease = function() {
   content_Txt.scroll-=5;
};

For Up?

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


[Flashcoders] zoomable Flash maps

2005-11-29 Thread Van De Velde Hans
Hi list,
 
I need to make a geographical map viewer module in Flash with a dynamic
number of hierarchical zoomable depth levels
and with a number of hotspots per level (i.e. the stores of the client in a
certain country, region or city).
 
And I need to foresee an administration module that allows to drag and drop
hotspots on the maps
and store these hotspots to a database.
 
 Please send me links to examples of Flash maps, howtos or anything that
can help 
 
 
Thanks,
Hans.
 
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] zoomable Flash maps

2005-11-29 Thread Daniel Cascais
Hi Hans,

I've seen this map application being mentioned a few times:

http://www.zoomify.com/


On 11/29/05, Van De Velde Hans [EMAIL PROTECTED] wrote:
 Hi list,

 I need to make a geographical map viewer module in Flash with a dynamic
 number of hierarchical zoomable depth levels
 and with a number of hotspots per level (i.e. the stores of the client in a
 certain country, region or city).

 And I need to foresee an administration module that allows to drag and drop
 hotspots on the maps
 and store these hotspots to a database.

  Please send me links to examples of Flash maps, howtos or anything that
 can help 


 Thanks,
 Hans.

--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] melting ice

2005-11-29 Thread Igor Volk
Hi All,
Does anyone know any realistic Flash examples of melting ice?
Many thanks in advance,
Igor
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] water ripple

2005-11-29 Thread Eric E. Dolecki
I am working on a little effect of a water ripple. I am using a mc  
that grows and blurs and fades to produce the effect - and while it  
seems like its working, its slow which leads me to think I have not  
set it up correctly.


anyone have sample code/fla producing a rain-drop type water ripple  
on a mc on the Stage thats efficient  lovely?


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


RE: [Flashcoders] water ripple

2005-11-29 Thread Mike Mountain
Andre Michelle has a beautiful example on his site -
http://lab.andre-michelle.com/

See 'rain' and 'wate'r - there's no source but it looks like he's just
using displacment maps You never know if you ask nicely he may send
you the fla.

M

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Eric E. Dolecki
 Sent: 29 November 2005 12:02
 To: Flashcoders mailing list
 Subject: [Flashcoders] water ripple
 
 I am working on a little effect of a water ripple. I am using 
 a mc that grows and blurs and fades to produce the effect - 
 and while it seems like its working, its slow which leads me 
 to think I have not set it up correctly.
 
 anyone have sample code/fla producing a rain-drop type water 
 ripple on a mc on the Stage thats efficient  lovely?
 
 e.dolecki
 ___
 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] water ripple

2005-11-29 Thread Andreas Rønning

Eric E. Dolecki wrote:

I am working on a little effect of a water ripple. I am using a mc  
that grows and blurs and fades to produce the effect - and while it  
seems like its working, its slow which leads me to think I have not  
set it up correctly.


anyone have sample code/fla producing a rain-drop type water ripple  
on a mc on the Stage thats efficient  lovely?


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


http://andreas.rayon.no/temp/watery.html

Totally useless. Performance is a big ish.

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


[Flashcoders] Displace text in flash8

2005-11-29 Thread rishi
Hi 

I want to displace text in such a way that it appears like a roof
text/Valley text/bridge text

Regards
Rishi

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rishi
Sent: Tuesday, November 29, 2005 1:30 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Displace text in flash8

Hi

 

I need to change shape of text or displace text in flash 8 such as it
produces text straight from bottom and round from top 

In Other words text starts as small from beginning and is increasing
order with glyphs touching the increasing order. Itshould represent roof
text as well as valley text and I want some similar text effects in
flash8. Any ideas for text to shape and displace to an extent.

 

Thanks

Rishi

___
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] water ripple

2005-11-29 Thread [EMAIL PROTECTED]

 http://andreas.rayon.no/temp/watery.html

 Totally useless. Performance is a big ish.

 - Andreas


hmmm?

http://www.thesundancekid.net/code/water/

anyway. not really what eric was looking for.

Andreas Rønning wrote:

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


Re: [Flashcoders] water ripple

2005-11-29 Thread Andreas Rønning

[EMAIL PROTECTED] wrote:


 http://andreas.rayon.no/temp/watery.html

 Totally useless. Performance is a big ish.

 - Andreas


hmmm?

http://www.thesundancekid.net/code/water/

anyway. not really what eric was looking for.

Andreas Rønning wrote:

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


Hmm what? :P

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


[Flashcoders] How to get colour of text formatted with CSS

2005-11-29 Thread Tim Stickland
Hi

Does anyone know if it's possible to read the text colour specified in an
externally loaded CSS style?

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


RE: [Flashcoders] How to get colour of text formatted with CSS

2005-11-29 Thread Nikolaj Selvik
var yourStyle:Object = yourStyleSheet.getStyle(yourStyleName);

then get

yourStyle.[color];


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Stickland
Sent: den 29 november 2005 14:14
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] How to get colour of text formatted with CSS

Hi

Does anyone know if it's possible to read the text colour specified in
an
externally loaded CSS style?

Cheers
Tim
___
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] Array.sortOn and get property

2005-11-29 Thread chloridrik

Hi,

I have a class Foo :

class Foo {
   private var __id:Number

   public function set id(_id:Number){
  __id=_id
   }

   public function get id(){
  return __id
   }
}


I create some Foo objects, set the id value, and I push them in Array, 
but after, I can't sort them by ID


myFooArray.sortOn([id],[Array.DESCENDING | Array.NUMERIC])

but I can sort them by __id when __id is public...


   Jeremie.
  sorry for my english...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] how to stop mouse clicks leaking through the gaps in textFields?

2005-11-29 Thread Kevin Boyd (MMCR)
I am creating dynamic text sprites in a movieClip using createTextField()
for a bread crumb navigation feature to be used in a Director movie. Problem
is I just want plain text, no background on the text sprites but when you
try and click on the text and click between letters flash does not pick up
the click! 
 
Is there a simple way to turn off the transparency of these text members so
that the clicks do not leak through the gaps?
 
Kevin Boyd
Multimedia Creations Ltd.
www.mmcr.co.uk 


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


Re: [Flashcoders] How to get colour of text formatted with CSS

2005-11-29 Thread Tim Stickland
Excellent, thanks Nikolaj


On 11/29/05, Nikolaj Selvik [EMAIL PROTECTED] wrote:

 var yourStyle:Object = yourStyleSheet.getStyle(yourStyleName);

 then get

 yourStyle.[color];


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim
 Stickland
 Sent: den 29 november 2005 14:14
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] How to get colour of text formatted with CSS

 Hi

 Does anyone know if it's possible to read the text colour specified in
 an
 externally loaded CSS style?

 Cheers
 Tim
 ___
 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] how to stop mouse clicks leaking through the gaps in textFields?

2005-11-29 Thread Yotam Laufer
transparent buttons do the trick well. movieclips with 0 _alpha also work.

On 11/29/05, Kevin Boyd (MMCR) [EMAIL PROTECTED] wrote:

 I am creating dynamic text sprites in a movieClip using createTextField()
 for a bread crumb navigation feature to be used in a Director movie.
 Problem
 is I just want plain text, no background on the text sprites but when you
 try and click on the text and click between letters flash does not pick up
 the click!

 Is there a simple way to turn off the transparency of these text members
 so
 that the clicks do not leak through the gaps?

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


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




--
Yotam Laufer | Flash Developer | mobile +44 (0)7957 253130
-
The preceding e-mail message (including any attachments) contains
information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, please notify the sender by replying to this message and then
delete all copies of it from your computer system. Any use, dissemination,
distribution, or reproduction of this message by unintended recipients is
not authorized and may be unlawful.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Load/export Symbol in ActionScript

2005-11-29 Thread de-hack SWF
Hi Ian, thanks! But I have read such code many times and in many forum.
However, my this piece of stupid code just does now work for me. (But it
runs well, if I manually add a symbol 'RMC', in Flash)

Can someone test on your side and tell me if it is working in your
environment? Big thanks!!  - Juguang

// RMC.as
class RMC extends MovieClip {
public function RMC(){}
public function init(w, h){
this.lineStyle(2, 0xff, 100);
this.moveTo(0, 0);
this.lineTo(100, 100);
}

public static var symbolName:String=RMC;
public static var symbolOwner:Function=RMC;
public static var symbolLinked=Object.registerClass(symbolName,
symbolOwner);
}

// entry

import RMC;
var mc = _root.attachMovie(RMC.symbolName, myname,
_root.getNextHighestDepth());
trace(mc);
var rmc=RMC(mc);
rmc.init(100, 100);

/// the end



On 11/29/05, Ian Thomas [EMAIL PROTECTED] wrote:

 Hi Juguang,

 I posted the following about a week ago - I think it's what you're after:
 --
   Can't remember where I got this solution - definitely not mine - but
 here's how to create a MovieClip-derived class that doesn't need an
 associated library symbol:
 --
 class net.something.MyButton extends MovieClip
 {
 static var symbolName:String = __Packages.net.something.MyButton ;
 static var symbolOwner:Function = MyButton;

 public function MyButton()
 {
 }

 static var symbolLinked=Object.registerClass(symbolName, symbolOwner);
 }
 --
 To create it, use attachMovie:

 import net.something.MyButton;

 var button:MyButton=MyButton(myTimeline.attachMovie(MyButton.symbolName,
 someRandomButton,
 myTimeline.getNextHighestDepth()));

 Where myTimeline is whatever parent movie clip you're trying to attach to.

 HTH,
   Ian

 (I think I'll go away and put this in the FAQ...)


 On 11/29/05, de-hack SWF [EMAIL PROTECTED] wrote:
 
  
  
   Creating a fake named linkage'd run-time symbol is done another way.
   But I don't remember it by hearth. Maybe someone else can feed on this
   one.
 
 
  Yes. Thanks. You identify my problem. This is  the point that I want to
  know. Anyone any ideas? :-)
 
  Juguang
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
Programmable Flash, empowered by open-source projects, the future of web
presentation and interaction.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: zoomable Flash maps

2005-11-29 Thread dave matthews

hi Hans,

like this?  http://2goto.com/maplicator/07-03-05-maplicator.swf
 Double click/hold/slide to zoom, single click/hold/slide to pan.

Dave_Matthews



--original message-
Message: 17
Date: Tue, 29 Nov 2005 11:54:32 +0100
From: Van De Velde Hans [EMAIL PROTECTED]
Subject: [Flashcoders] zoomable Flash maps
To: 'flashcoders@chattyfig.figleaf.com'
flashcoders@chattyfig.figleaf.com
Hi list,

I need to make a geographical map viewer module in Flash with a dynamic
number of hierarchical zoomable depth levels
and with a number of hotspots per level (i.e. the stores of the client in a
certain country, region or city).

And I need to foresee an administration module that allows to drag and drop
hotspots on the maps
and store these hotspots to a database.


Please send me links to examples of Flash maps, howtos or anything that

can help 

Thanks,

--
Message: 18
Date: Tue, 29 Nov 2005 08:10:31 -0300
From: Daniel Cascais [EMAIL PROTECTED]
Subject: Re: [Flashcoders] zoomable Flash maps
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com

Hi Hans,

I've seen this map application being mentioned a few times:

http://www.zoomify.com/


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


Re: [Flashcoders] Load/export Symbol in ActionScript

2005-11-29 Thread Ian Thomas
Hi Juguang,
Try replacing the line:
  public static var symbolName:String=RMC;
with:
  public static var symbolName:String=__Packages.RMC;

HTH,
  Ian

On 11/29/05, de-hack SWF [EMAIL PROTECTED] wrote:

 Hi Ian, thanks! But I have read such code many times and in many forum.
 However, my this piece of stupid code just does now work for me. (But it
 runs well, if I manually add a symbol 'RMC', in Flash)

 Can someone test on your side and tell me if it is working in your
 environment? Big thanks!!  - Juguang

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


Re: [Flashcoders] water ripple

2005-11-29 Thread eric dolecki
very nice, but at the end, there is a shift to the top right of the affected
area (when you stop moving your mouse).

edolecki

On 11/29/05, Adrian Parr [EMAIL PROTECTED] wrote:


 Here's another example...

 http://www.kneib.biz/f8files/water_with_f8.html




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mike
 Mountain
 Sent: 29 November 2005 14:09
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] water ripple

 Yeah I 'figured' it out too

 ;)

 You'll have to buffer your MC off stage then 'draw' it's bitmap data
 into the bitmap the effect is being applied too.

 M

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of eric dolecki
  Sent: 29 November 2005 14:03
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] water ripple
 
  Ok I figured out what Andre Michelle was doing, but he's
  using loadBitmap, and I am after applying the effect to a
  particular movieclip placed on Stage...
 
  On 11/29/05, Andreas Rønning [EMAIL PROTECTED] wrote:
  
   [EMAIL PROTECTED] wrote:
  
 http://andreas.rayon.no/temp/watery.html

 Totally useless. Performance is a big ish.

 - Andreas
   
   
hmmm?
   
http://www.thesundancekid.net/code/water/
   
anyway. not really what eric was looking for.
   
Andreas Rønning wrote:
   
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Hmm what? :P
  
   - 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
 
 ___
 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] Toronto Flash Coders?

2005-11-29 Thread Wade Arnold
I am heading to Toronto for the next three days to meet with a client. 
Because of flight schedules I will spending an extra day wondering the 
city. I was wondering if their are any design or programming companies 
in the toronto area that I could come and visit with. We are always 
looking for components to purchase, applications to outsource, and good 
companies to partner with. Coffee or a beer is always good!


wade
. . .

T8DESIGN
Wade Arnold
Chief Technology Officer
 
1009 Technology Parkway
Cedar Falls, IA 50613
P 877.T8IDEAS
F 888.290.4675

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


[Flashcoders] London, UK - freelance to perm - Actionscripters

2005-11-29 Thread Mil


Hi,

I need freelance Actionscripters ASAP to work on-site in London on a 
variety of high-profile entertainment projects:


Please email your CV, links, rates, and ideally some sample code to:

freelance-flash-AT-mook.co.uk

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


Re: [Flashcoders] Flash8 IDE Crashes when publishing with theProjects panel

2005-11-29 Thread John Grden
I doubt gProject will help, all it's doing is issuing the same command to
Flash IDE to publish the FLA.  Yeah, it's driving me crazy.  All I want to
do is compile FLA's ;(

On 11/29/05, Karina Steffens [EMAIL PROTECTED] wrote:

 Hi John,

 No solution here, but same problem, this time with MX2004. It's been
 driving
 me nuts, and I couldn't find any mention of it in the technotes. It
 wouldn't
 just crash, it would also corrupt one or two of the files being published
 :(
 Uninstalling some resident programmes (such as google bar and picassa)
 helped for a while, but then it started doing it again, on an intermittent
 basis - now it crashes, now it don't ;)

 Would be interesting to see if gProject helps, but even more interesting
 to
 know why on earth it happens in the first place...

 Karina

  -Original Message-
  From: John Grden [mailto:[EMAIL PROTECTED]
  Sent: 28 November 2005 20:49
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Flash8 IDE Crashes when publishing
  with theProjects panel
 
  I gotta try gProject ;)
 
  I'lll let you know if that fixes the issue
 
  On 11/28/05, Ryan Matsikas [EMAIL PROTECTED] wrote:
  
   Another fan of gProject, w00t.
  
   About the network stuff, keep an eye on the blog.. we've
  been working
   on some updates and fixes for gProject ;)
  
   Cheers,
   Ryan
  
   On 11/28/05, Charles Parcell [EMAIL PROTECTED] wrote:
   
No idea because I use gProject. Works like a champ (but not over a
   network
:( )
   
http://www.gskinner.com/products/gProject/
   
Charles P.
   
   
On 11/28/05, John Grden [EMAIL PROTECTED] wrote:

 on certain projects/files, the IDE crashes when I
  publish from the
 Projects panel.  Anyone know if this is a reported bug
  or what the
 resolution
might
 be?

 Thanks,

 --
 John Grden - Blitz
 ___
 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
  
 
 
 
  --
  John Grden - Blitz
  ___
  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




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


Re: [Flashcoders] Toronto Flash Coders?

2005-11-29 Thread Lanny McNie
Grant's in Edmonton.  Only in TO for conferences...

On 11/29/05, Simon Lord [EMAIL PROTECTED] wrote:

 well, off the top of my head, grant skinner, colin moock and brian
 lesser are all in the TO area.

 Of the three, grant is the most likely to sell you a component, colin
 and brian will sell you books. ;)


 On Nov 29, 2005, at 12:13 PM, Wade Arnold wrote:

  I am heading to Toronto for the next three days to meet with a
  client. Because of flight schedules I will spending an extra day
  wondering the city. I was wondering if their are any design or
  programming companies in the toronto area that I could come and
  visit with. We are always looking for components to purchase,
  applications to outsource, and good companies to partner with.
  Coffee or a beer is always good!
 
  wade
  . . .
 
  T8DESIGN
  Wade Arnold
  Chief Technology Officer
 
  1009 Technology Parkway
  Cedar Falls, IA 50613
  P 877.T8IDEAS
  F 888.290.4675
 
  www.t8design.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




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


Re: [Flashcoders] Martian Dataprovider confusion

2005-11-29 Thread Hans Wichman

Hi,
if i do this:
DataProvider.Initialize(Array);
and var layers = new Array();

it works just fine. Don't know if this is the accepted way to go about it 
though ;)).


As for as i know i thought DataProvider was some kind of adapter class for 
arrays not really meant to be instantiated on its own.


greetz
Hans



At 06:56 PM 11/29/2005, Cortlandt Winters wrote:

Hi Folk,

I can't believe I'm having trouble using a dataprovider, but well... I am.
If somebody could lend me a brain I would appreciate it. Mine apparently is
having some problems. Here is the most reduced case. This code is in the
main timeline.

import mx.controls.listclasses.DataProvider;

var layers = new DataProvider();
layers.addItem({guy:a});

var thingtestLength = layers.getItemAt(layers.length);
var thingtestItem0 = layers.getItemAt(0);
var thingtestItem1 = layers.getItemAt(1);

trace(layers.length); // returns undefined
// but this one which uses layers.length to get the item
trace(thingtestLength.guy); // returns a

// these both just return undefined
trace(thingtestItem0.guy); // returns undefined
trace(thingtestItem1.guy); // returns undefined

So the item is being filed with an undefined key.
I thought that maybe we needed to have a label and tried this as well, but
with the same results.
layers.addItem({label:joe, guy:g, data:a});
and
layers.addItem({label:joe2, data:{thing:a2}});
with the same results

Does this make sense to anyone?

By the way I also tried
var thingtestLength = layers.getItemAt(layers.length-1);
as that is what is supposed to be the proper syntax, but that gets us
undefined as well.

And of course I tried getLength() as well and I tried using
DataProviderClass as well in desperation. I also tried dataProvider with a
lower case d as that shows up syntax highlighted but then the compiler says
it cant find the file. It's been years since I've been this bewildered with
something not working. I even uninstalled and reinstalled flash thinking
that my configuration must be broken, but no. It seems to be me.

Thanks for any thoughts.

-Cort
___
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] how to stop mouse clicks leaking through the gaps in textFields?

2005-11-29 Thread Kirk Roberts
If the text is on a solid color background, try using that color 
background for the text field too. This might be the simplest fix.


Otherwise you'll want to create a symbol with a rectangle you can use 
as a hit area (and make invisible). You can create your text field in 
the symbol dynamically if you want to, or just include it in the symbol 
at authoring time and apply properties with ActionScript at runtime.


Or you can dynamically draw a rectangle for the hit area.

I use option #2 all the time and it is simple and effective.

Hope that helps,
Kirk


·

   Kirk Roberts

   Fine Design Group

   (415) 552-9300 ext. 16

   http://www.finedesigngroup.com/

·

On Nov 29, 2005, at 6:57 AM, Yotam Laufer wrote:

transparent buttons do the trick well. movieclips with 0 _alpha also 
work.


On 11/29/05, Kevin Boyd (MMCR) [EMAIL PROTECTED] wrote:


I am creating dynamic text sprites in a movieClip using 
createTextField()

for a bread crumb navigation feature to be used in a Director movie.
Problem
is I just want plain text, no background on the text sprites but when 
you
try and click on the text and click between letters flash does not 
pick up

the click!

Is there a simple way to turn off the transparency of these text 
members

so
that the clicks do not leak through the gaps?

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


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





--
Yotam Laufer | Flash Developer | mobile +44 (0)7957 253130
-
The preceding e-mail message (including any attachments) contains
information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute 
non-public

information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, please notify the sender by replying to this message and then
delete all copies of it from your computer system. Any use, 
dissemination,
distribution, or reproduction of this message by unintended recipients 
is

not authorized and may be unlawful.
___
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] Cross-Browser Get Flash Object Script

2005-11-29 Thread Jeff

David,

I've been able to track the problem down to flash versions.  The problem 
is that on Windows flash versions less than 7, and on Mac versions less 
than 8, the moviename.getVariable function is not working.  The script 
below is actually returning a reference to the object correctly.  I 
added an additional test in my code to see if the getVariable method is 
not undefined, and if it is, I prompt the user to download a newer 
version of flash.  Do you know if there is a list of these type of 
incompatabilities anywhere?


Thanks,
Jeff

David Rorex wrote:


On 11/28/05, Jeff [EMAIL PROTECTED] wrote:
 


I'm have trouble finding a good cross-browser script that gets a
reference to a flash movie object.

Here's what I have right now:

   function thisMovie(movieName) {

   if (typeof(window.document[movieName]) != 'undefined') {
   return window.document[movieName];
   } else if (typeof(document.getElementById(movieName)) != 
'undefined') {
   return document.getElementById(movieName);
   } else if (typeof(window[movieName]) != 'undefined') {
   return window[movieName];
   }
   }

   



What problems are you having with this script exactly? What
browsers/platforms doesn't it work on?

-David R
___
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] how to hide rigth-click mouse menu from flash player??

2005-11-29 Thread Arian Pasquali
how to hide rigth-click mouse menu from flash player??
is it possible???

I use flash activeX and I'd like to hide de rigth-button menu context

thanks

--
by Arian Rodrigo Pasquali
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Martian Dataprovider confusion

2005-11-29 Thread Hans Wichman

Hi,
i guess that the idea behind it was that:
- lots of people know about array's
- implementing a dataprovider interface might be too much for some, if you 
just want to put a few names in a listbox
- macromedia wrote some complex dataproviders for example to provide data 
from a webservice to a component
- good oo principles dictate the use of an abstract feature such as a 
dataprovider to provide data to a consumer
- the only logical thing since Array did not natively implement this 
dataprovider api is to do the mixin thing.


Im not really sure if the Initialize call is needed though, did you try it 
without?
It might be that if you try it on an empty stage, you need to call 
Initialize, but if you put a datagrid or something you don't need to, 
because it already takes care of the dirty details.

Like i said im not sure, i didnt try it out ;)
greetz
Hans

At 07:47 PM 11/29/2005, Cortlandt Winters wrote:

Thanks a lot Hans,

Just after sending that message (and thus having tried everything that
seemed to make sense) I tried new Array() and it did work. Your explaination
makes sense and it is marked as an api in a note of the components language
reference, but then it's also described as a class. I understand the
mechanics of mixins, but it still makes no sense to me as to why something
would want to be like this. I guess the good news is that I still have lots
to learn.

Initialize isn't listed in the documentation, I'll do some searching and
find out if I can learn anything more about that. I think I need to forget
that as1 ever existed if I'm ever going to enjoy as2 in time to forget it
ever existed and enjoy as3.

Thanks again.

On 11/29/05, Hans Wichman [EMAIL PROTECTED] wrote:

 Hi,
 if i do this:
 DataProvider.Initialize(Array);
 and var layers = new Array();

 it works just fine. Don't know if this is the accepted way to go about it
 though ;)).

 As for as i know i thought DataProvider was some kind of adapter class for
 arrays not really meant to be instantiated on its own.

 greetz
 Hans



 At 06:56 PM 11/29/2005, Cortlandt Winters wrote:
 Hi Folk,
 
 I can't believe I'm having trouble using a dataprovider, but well... I
 am.
 If somebody could lend me a brain I would appreciate it. Mine apparently
 is
 having some problems. Here is the most reduced case. This code is in the
 main timeline.
 
 import mx.controls.listclasses.DataProvider;
 
 var layers = new DataProvider();
 layers.addItem({guy:a});
 
 var thingtestLength = layers.getItemAt(layers.length);
 var thingtestItem0 = layers.getItemAt(0);
 var thingtestItem1 = layers.getItemAt(1);
 
 trace(layers.length); // returns undefined
 // but this one which uses layers.length to get the item
 trace(thingtestLength.guy); // returns a
 
 // these both just return undefined
 trace(thingtestItem0.guy); // returns undefined
 trace(thingtestItem1.guy); // returns undefined
 
 So the item is being filed with an undefined key.
 I thought that maybe we needed to have a label and tried this as well,
 but
 with the same results.
 layers.addItem({label:joe, guy:g, data:a});
 and
 layers.addItem({label:joe2, data:{thing:a2}});
 with the same results
 
 Does this make sense to anyone?
 
 By the way I also tried
 var thingtestLength = layers.getItemAt(layers.length-1);
 as that is what is supposed to be the proper syntax, but that gets us
 undefined as well.
 
 And of course I tried getLength() as well and I tried using
 DataProviderClass as well in desperation. I also tried dataProvider
 with a
 lower case d as that shows up syntax highlighted but then the compiler
 says
 it cant find the file. It's been years since I've been this bewildered
 with
 something not working. I even uninstalled and reinstalled flash thinking
 that my configuration must be broken, but no. It seems to be me.
 
 Thanks for any thoughts.
 
 -Cort
 ___
 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] Dynamic runtime class', another example.

2005-11-29 Thread Jos Yule
I've just done some experimenting with dynamic runtime class'. I think
what i've come up with might be interesting to others who are
experimenting in this area. One thing that i think is different from
other methods that i've seen, is the use of Deferreds [1][2], allowing
for asynchronous calls to class' that are not yet loaded, but from
which you want to get back the results of your call. Also the ability
to set wether you want a method to be asynchronous or not (via naming
magic - ie. add '_deferred' to any method call (mymethod_deferred),
and you make that method asynchronous).

The code is not 100% stable good to go into the enterprise or
anything, but i hope that it is an example of (yet another) way to
handle runtime dynamic class'.

You can see my (long) post here:
http://www.theorganization.net/mt/archives/2005/11/29/flash_dynamic_runtime_class.html
tinurl:
http://tinyurl.com/96usc

Check the second update, that's where i have instructions for making
the demo work. Or read the whole rambling thing!

[1]: http://mochikit.com/doc/html/MochiKit/Async.html
[2]: http://twistedmatrix.com/projects/core/documentation/howto/defer.html

--
Jos Yule
Digital Hyakugei
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Google web service problem

2005-11-29 Thread Manuel Saint-Victor
Can someone please point me to any gotchas that might come up with using the
google web service  that would cause an app that deployed fine from the IDE
to fail to work from the web server?

I noticed mention of the cross-domain xml files but am still reading around
to see if I would need to have that to use the google services.

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


Re: [Flashcoders] Dynamic runtime class', another example.

2005-11-29 Thread Hans Wichman

Hi,
first off: cool ;).
Question though, since flash idea of multithreading is that there are no 
real threads for us to create and each method runs synchronized (as in 
public synchronized as in java), what would be a case where i would wanna 
use asynchronous callbacks?
I know that the XML object does this, but i think this object since its 
natively implemented and stuff really does run in a separate thread.


greetz
Hans


At 08:45 PM 11/29/2005, Jos Yule wrote:

I've just done some experimenting with dynamic runtime class'. I think
what i've come up with might be interesting to others who are
experimenting in this area. One thing that i think is different from
other methods that i've seen, is the use of Deferreds [1][2], allowing
for asynchronous calls to class' that are not yet loaded, but from
which you want to get back the results of your call. Also the ability
to set wether you want a method to be asynchronous or not (via naming
magic - ie. add '_deferred' to any method call (mymethod_deferred),
and you make that method asynchronous).

The code is not 100% stable good to go into the enterprise or
anything, but i hope that it is an example of (yet another) way to
handle runtime dynamic class'.

You can see my (long) post here:
http://www.theorganization.net/mt/archives/2005/11/29/flash_dynamic_runtime_class.html
tinurl:
http://tinyurl.com/96usc

Check the second update, that's where i have instructions for making
the demo work. Or read the whole rambling thing!

[1]: http://mochikit.com/doc/html/MochiKit/Async.html
[2]: http://twistedmatrix.com/projects/core/documentation/howto/defer.html

--
Jos Yule
Digital Hyakugei
___
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.0 Alpha property not working with Sprite Objects

2005-11-29 Thread Ralph Caraveo
Holy smokes Francis,

This did not occur to me.  In reading through the macromedia
documentation a few times I did not realize this.
Either it's not very clear in their documentation or I just don't know
the documentation well enough.

Thanks, that's the problem! 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Francis
Cheng
Sent: Tuesday, November 29, 2005 11:57 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] AS3.0 Alpha property not working with Sprite
Objects

Hi Ralph,

Are you using values between 0 and 100, or 0 and 1.0? In ActionScript 3,
the range of alpha values is from 0 to 1, inclusive.

Francis

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders- 
 [EMAIL PROTECTED] On Behalf Of Ralph Caraveo
 Sent: Tuesday, November 29, 2005 11:38 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] AS3.0 Alpha property not working with Sprite 
 Objects
 
 Choice Internet Home Page http://www.choiceinternet.com Choice 
 Internet
 17785 Center Court Dr. Suite 280
 Cerritos, CA 90703
 Tel: 562 865 6886 x112   Fax: 562.865.6889
 M:\emailTemplate\arrowLightBlue.gif www.choiceinternet.com 
 http://www.choiceinternet.com
 
 Hey peeps,
 
 When using FlexBuilder 2 Alpha and writing ActionScript 3 here is my
 question:
 
 When I instantiate a Sprite object and adjust it's alpha property it 
 does not respond accordingly.
 
 mySprite.alpha = 0;   this works by totally hiding the object as
 expected
 but every other value I use does not work it just keeps the alpha at
100
 percent still.
 
 Anybody know if this is a bug or if there is something I'm
overlooking,
 which is probably the case.
 
 -Ralph
 
   Ralph Caraveo, Senior Programmer   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


[Flashcoders] dirty flv player

2005-11-29 Thread Corban Baxter
Ok guys I have 40 flv's that I would like to be able to play though a swf I am 
creating. I am not designing anything incredible nor does it need to be clean. 
What I would like to do is make a simple drop down menu (component if possible) 
that list all of the flv's that I have. And in turn it would load the flv on to 
the stage to be played.

Where do I start?
What's the EASIEST WAY?
Should I create the list with an XML doc? If not need I won't...
Quick and Easy... This is a one time use deal...

Corban Baxter  |  rich media designer  |  www.funimation.com


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


[Flashcoders] Trouble Updating Frame Position Using onEnterFrame

2005-11-29 Thread kelly snyder
I am using the following code in the root movies to attempt to update the 
frame position of a child movieclip using the Flash 6 player with 
Actionscript 1 (compiled on Flash 8):


function onEnterFrame() {

   window.pie.gotoAndStop(x);

   trace(x + , + window.pie._currentframe);

}

As I change the variable x, the output reads something like 54.3,30 
87.6,30. The code is running, but the movieclip position is not changing. 
The code works fine when I run it at initialization, the problem seems to be 
associated with my use of it within the onEnterFrame function. What am I 
doing wrong? Any suggestions?


Kelly

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


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


RE: [Flashcoders] AS3.0 Alpha property not working with Sprite Objects

2005-11-29 Thread Francis Cheng
It looks like the documentation currently posted on Macromedia Labs
incorrectly lists the range as 0 through 100. This is fixed internally,
so the next time we publish the docs it will be correct. Sorry for the
confusion it caused.

Francis

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Ralph Caraveo
 Sent: Tuesday, November 29, 2005 12:06 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] AS3.0 Alpha property not working with
Sprite
 Objects
 
 Holy smokes Francis,
 
 This did not occur to me.  In reading through the macromedia
 documentation a few times I did not realize this.
 Either it's not very clear in their documentation or I just don't know
 the documentation well enough.
 
 Thanks, that's the problem!
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
Francis
 Cheng
 Sent: Tuesday, November 29, 2005 11:57 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] AS3.0 Alpha property not working with
Sprite
 Objects
 
 Hi Ralph,
 
 Are you using values between 0 and 100, or 0 and 1.0? In ActionScript
3,
 the range of alpha values is from 0 to 1, inclusive.
 
 Francis
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of Ralph Caraveo
  Sent: Tuesday, November 29, 2005 11:38 AM
  To: Flashcoders mailing list
  Subject: [Flashcoders] AS3.0 Alpha property not working with Sprite
  Objects
 
  Choice Internet Home Page http://www.choiceinternet.com Choice
  Internet
  17785 Center Court Dr. Suite 280
  Cerritos, CA 90703
  Tel: 562 865 6886 x112   Fax: 562.865.6889
  M:\emailTemplate\arrowLightBlue.gif www.choiceinternet.com
  http://www.choiceinternet.com
 
  Hey peeps,
 
  When using FlexBuilder 2 Alpha and writing ActionScript 3 here is my
  question:
 
  When I instantiate a Sprite object and adjust it's alpha property it
  does not respond accordingly.
 
  mySprite.alpha = 0;   this works by totally hiding the object
as
  expected
  but every other value I use does not work it just keeps the alpha at
 100
  percent still.
 
  Anybody know if this is a bug or if there is something I'm
 overlooking,
  which is probably the case.
 
  -Ralph
 
Ralph Caraveo, Senior Programmer [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 ___
 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] dirty flv player

2005-11-29 Thread Hans Wichman

Hi,
i'd go for local or network streaming in any case (so dont include them in 
the swf ;)).

That said:
-drop a combobox on stage
-create a video object
-fill the combobox directly through code or though xml
-connect the callback from the combobox to attach the correct stream to 
your video object.


Dirty enough? ;)

greetz
Hans

At 09:06 PM 11/29/2005, you wrote:
Ok guys I have 40 flv's that I would like to be able to play though a swf 
I am creating. I am not designing anything incredible nor does it need to 
be clean. What I would like to do is make a simple drop down menu 
(component if possible) that list all of the flv's that I have. And in 
turn it would load the flv on to the stage to be played.


Where do I start?
What's the EASIEST WAY?
Should I create the list with an XML doc? If not need I won't...
Quick and Easy... This is a one time use deal...

Corban Baxter  |  rich media designer  |  www.funimation.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] Dynamic runtime class', another example.

2005-11-29 Thread Jos Yule
 Hi,
 first off: cool ;).
 Question though, since flash idea of multithreading is that there are no
 real threads for us to create and each method runs synchronized (as in
 public synchronized as in java), what would be a case where i would wanna
 use asynchronous callbacks?

They are used here to support the following case:

You wrap a dynamic class. It takes time for that class to load, but
you want to call some methods on that class right away, before its
loaded. By registering callbacks, you can call a method on the class,
and be calledback when the data is ready. So, in this way, you don't
have to worry about waiting for the class to load, you just tell it to
do something, and it will tell you when it is done.

In the example code that i include in the post, you can see that i've
called the 'output' method of the wrapper instance, and its running
it before the class is loaded. Via callbacks, once the class is
loaded, i get the results of calling those methods.

 I know that the XML object does this, but i think this object since its
 natively implemented and stuff really does run in a separate thread.


Please note that i'm not talking about threads. Perhaps i should have
described it as 'queuing' your function calls.

Thanks for the reply!
j

--
Jos Yule
Digital Hyakugei
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Trouble Updating Frame Position Using onEnterFrame

2005-11-29 Thread kelly snyder

Hans,

I can hardly believe it, but #2 worked.  Thanks a bunch.

Kelly


Hi,
im not sure what you want to do, but:
1. change the x position: it should be window.pie._x = x;
2. change the current frame for the pie clip: you should use whole numbers
and not 54.3 and 87.6, so gotoAndStop (Math.floor(x));

greetz
Hans

_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


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


Re: [Flashcoders] dirty flv player

2005-11-29 Thread Jeff Small
http://www.macromedia.com/devnet/flash/articles/prog_download.html

Has everything you need, already built, and even includes a
downloadable sample that you can customize. That should get you up and
running in...oh...about 15 minutes.


On 11/29/05, eric dolecki [EMAIL PROTECTED] wrote:
 write your xml with paths to the FLVs...

 then load the XML, parse it however you'd like, then populate your comboBox.
 With an .change event, load the selected FLV.

 Or are you new to doing that kind of stuff?

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


[Flashcoders] external flv stuttering even though completely loaded.

2005-11-29 Thread Matt Ganz
hi.

i'm loading an external flv into a media display component behind the
scenes. the dimensions are 360x386 and the flv weighs 908kb. the
problem is that the when i tell it to play, it still stutters for the
first frame (on a high-speed connection).

before the user even gets to this part, the flv is already fully
loaded...but it still stutters.

it doesn't happen with any of the other flvs in my app which are
loaded the exact same way. but most of those weigh behind 250-600kb
and their dimensions are approx. 180x274.

this is how i preload my flvs behind the scenes:

mediaDisplay.setMedia( path, FLV );
mediaDisplay.play( 0 );
mediaDisplay.pause();

my assumption is that my video is at a dimension that is too big, it
weighs too much...and the cheesy effect i have at the beginning is too
much. can anyone think of anything else i might check into?

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


Re: [Flashcoders] Martian Dataprovider confusion

2005-11-29 Thread Judah Frangipane

Cort,

I've have often wanted to use the dataprovider on it's own in my 
projects as well. Would you post back to the list your findings. What 
you've got to work. Thanks!


Judah
PS When I was starting out I used the dataprovider in a list component 
and set the list invisible. Then as my project progressed I needed to 
display the dataprovider data. It was funny that when I made the list 
visible all the work was done for me. :)


Cortlandt Winters wrote:


Thanks a lot Hans,

Just after sending that message (and thus having tried everything that
seemed to make sense) I tried new Array() and it did work. Your explaination
makes sense and it is marked as an api in a note of the components language
reference, but then it's also described as a class. I understand the
mechanics of mixins, but it still makes no sense to me as to why something
would want to be like this. I guess the good news is that I still have lots
to learn.

Initialize isn't listed in the documentation, I'll do some searching and
find out if I can learn anything more about that. I think I need to forget
that as1 ever existed if I'm ever going to enjoy as2 in time to forget it
ever existed and enjoy as3.

Thanks again.

 



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


Re: [Flashcoders] Embedded Flash Communicating with PowerPoint

2005-11-29 Thread Manuel Saint-Victor
The best way that I have seen this done(actually the only way is with visual
basic).  I managed to get it to work one time but found it to be too long a
workaround for the number of times that I needed to do it.
This is one 
examplehttp://www.flashgeek.com/cgi-bin/ultimatebb.cgi?/topic/1/477.htmland
this forum does a lot of flash powerpoint integration.



Mani

On 11/28/05, Jason Lutes [EMAIL PROTECTED] wrote:

 Is it possible to communicate between an embedded Flash movie and its
 PowerPoint host (for navigation purposes)?

 If possible, how?


 -
 pixelTwiddler, a.k.a. Jason


 ___
 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] Flash Remoting with ASP.NET

2005-11-29 Thread Judah Frangipane
I had a project setup running Flash Remoting with ASP.NET. We are 
working with another company and they backed up and cleaned the root 
directory of the site. I went into the backup and restored my files and 
now I no longer receive any sort of feedback from Flash Remoting calls. 
Not a onResult or an onFault event are triggered. My aspx pages work fine.


Is there anyway to test Flash Remoting is working? Or does this sound 
familiar to anyone?


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


[Flashcoders] swf crashing inside Director MX 2004

2005-11-29 Thread William Garr

Hello list,
I have an MX 2004 swf running inside of Director MX 2004, and it is 
crashing in an odd way. After it plays a set of mp3's in sequence, 
playback in the current slide of the swf stops (Director does not crash).


The odd thing is, it can play certain sequences and everything is fine. 
It can even play the problem sequences, if they are placed at the head 
of the playlist. Originally, I attached the sounds. Then I tried 
preloading them, using a separate Sound object for each. Now I am 
alternating between two Sound objects, one loading while the other 
plays. The problem remains in each case. It doesn't have anything to do 
with anything else I'm doing in between sounds (I've swapped the actions 
around, and it doesn't impact the problem). It also doesn't seem to be 
related to any specific sound file, or the number of sound files in the 
sequence, or the number of unique sounds that have been loaded (I've 
also swapped the sounds around, and that doesn't impact it, either). 
I've rebuilt the Director movie in case there was some file corruption, 
but no change.


Any ideas would be greatly appreciated.

Cheers,
Bill Garr

--
William Garr
Sr. Educational Multimedia Developer
Center for New Designs in Learning and Scholarship
Georgetown University
Washington, DC 20057
phone: 202-687-9119
email: [EMAIL PROTECTED]

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


[Flashcoders] Help -- can't revert, total mess

2005-11-29 Thread Blake Kritzberg
I just made an awful mistake I never really anticipated. I imported an
AI file that imported a ton of TMP bitmap junk along with it.
Attempting to delete the junk, I accidentally deleted the wrong bitmap
folder, removing absolutely every bitmap from my flash project. Of
course revert does not work in this situation. I am totally at a loss
about what to do. Is there any way to recover my project?

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


Re: [Flashcoders] Help -- can't revert, total mess

2005-11-29 Thread eric dolecki
Did you save it afterwards? If not, quit Flash and re-open.
Do you have an older SWF that you can decompile where your Library was okay?

edolecki

ps - look into Subversion (version control) - even if its just local stuff
that no one else will work on.

On 11/29/05, Blake Kritzberg [EMAIL PROTECTED] wrote:

 I just made an awful mistake I never really anticipated. I imported an
 AI file that imported a ton of TMP bitmap junk along with it.
 Attempting to delete the junk, I accidentally deleted the wrong bitmap
 folder, removing absolutely every bitmap from my flash project. Of
 course revert does not work in this situation. I am totally at a loss
 about what to do. Is there any way to recover my project?

 - blake
 ___
 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 -- can't revert, total mess

2005-11-29 Thread Blake Kritzberg
I did not save it -- and tried your suggestion --  but it didn't
matter, the file was apparently auto-saved when I deleted the folder
containing my bitmaps.

On 11/29/05, eric dolecki [EMAIL PROTECTED] wrote:
 Did you save it afterwards? If not, quit Flash and re-open.
 Do you have an older SWF that you can decompile where your Library was okay?

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


[Flashcoders] Re: external flv stuttering even though completely loaded.

2005-11-29 Thread Matt Ganz
UPDATE:

i've been tracing out the bytesLoaded, bytesTotal, and playheadTime
for my media display components so i can see what is going on. my
scenario is that i have 2 media display components and as 1 plays, the
other one loads in an flv behind the scenes.

whenever an flv gets loaded behind the scenes, i can see the bytes
being loaded and when it's fully loaded, playheadTime=0.

but when i load my first flv, the first time, into my 2nd media
display, i see the bytes loaded but the playhead time is empty...even
when it's fully loaded. the other flvs don't behave like this.

could that be my problem? and why might that happen with my very first flv?

thanks. -- matt.

On 11/29/05, Matt Ganz [EMAIL PROTECTED] wrote:
 hi.

 i'm loading an external flv into a media display component behind the
 scenes. the dimensions are 360x386 and the flv weighs 908kb. the
 problem is that the when i tell it to play, it still stutters for the
 first frame (on a high-speed connection).

 before the user even gets to this part, the flv is already fully
 loaded...but it still stutters.

 it doesn't happen with any of the other flvs in my app which are
 loaded the exact same way. but most of those weigh behind 250-600kb
 and their dimensions are approx. 180x274.

 this is how i preload my flvs behind the scenes:

 mediaDisplay.setMedia( path, FLV );
 mediaDisplay.play( 0 );
 mediaDisplay.pause();

 my assumption is that my video is at a dimension that is too big, it
 weighs too much...and the cheesy effect i have at the beginning is too
 much. can anyone think of anything else i might check into?

 thanks. -- matt.

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


Re: [Flashcoders] zoomable Flash maps

2005-11-29 Thread JesterXL
http://developer.yahoo.net/maps/flash/index.html

- Original Message - 
From: Van De Velde Hans [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 29, 2005 5:54 AM
Subject: [Flashcoders] zoomable Flash maps


Hi list,
 
I need to make a geographical map viewer module in Flash with a dynamic
number of hierarchical zoomable depth levels
and with a number of hotspots per level (i.e. the stores of the client in a
certain country, region or city).
 
And I need to foresee an administration module that allows to drag and drop
hotspots on the maps
and store these hotspots to a database.
 
 Please send me links to examples of Flash maps, howtos or anything that
can help 
 
 
Thanks,
Hans.
 
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Help -- can't revert, total mess

2005-11-29 Thread Campbell Anderson
Did the file size of you fla get smaller?


 I did not save it -- and tried your suggestion --  but it didn't
 matter, the file was apparently auto-saved when I deleted the folder
 containing my bitmaps.
 
 On 11/29/05, eric dolecki [EMAIL PROTECTED] wrote:
  Did you save it afterwards? If not, quit Flash and re-open.
  Do you have an older SWF that you can decompile where your Library
was okay?
 
  edolecki
 ___
 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] Flash8 IDE Crashes when publishing with theProjectspanel

2005-11-29 Thread Muzak
Are you using the 'Test Project' button in the Project Panel?
I always use the keyboard shortcut (CTRL+P) and never had any problems.

Does it crash when using the keyboard shortcut as well?

regards,
Muzak

- Original Message - 
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 29, 2005 6:49 PM
Subject: Re: [Flashcoders] Flash8 IDE Crashes when publishing with 
theProjectspanel


I doubt gProject will help, all it's doing is issuing the same command to
Flash IDE to publish the FLA.  Yeah, it's driving me crazy.  All I want to
do is compile FLA's ;(



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


RE: [Flashcoders] zoomable Flash maps

2005-11-29 Thread Ralph Caraveo
Hey Jester,

Start here:
http://www.experts-exchange.com/Miscellaneous/Math_Science/Q_20853587.ht
ml


I had a project that involved converting lat/long values into x,y
coordinates in Flash based from a U.S. map.  I had to find the formulas
for spherical projection and get a database of zip codes with matching
lat/long and then plot them onto the map in their relative locations.

This was something I did over 2 years ago and I vaguely remember what I
did but you should be able to find what you need starting from that link
alone.

-Ralph 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Tuesday, November 29, 2005 2:44 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] zoomable Flash maps

http://developer.yahoo.net/maps/flash/index.html

- Original Message -
From: Van De Velde Hans [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 29, 2005 5:54 AM
Subject: [Flashcoders] zoomable Flash maps


Hi list,
 
I need to make a geographical map viewer module in Flash with a dynamic
number of hierarchical zoomable depth levels
and with a number of hotspots per level (i.e. the stores of the client
in a
certain country, region or city).
 
And I need to foresee an administration module that allows to drag and
drop
hotspots on the maps
and store these hotspots to a database.
 
 Please send me links to examples of Flash maps, howtos or anything
that
can help 
 
 
Thanks,
Hans.
 
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] Flash8 IDE Crashes when publishing with theProjectspanel

2005-11-29 Thread John Grden
i'll give it a whirl and let you know ;)

On 11/29/05, Muzak [EMAIL PROTECTED] wrote:

 Are you using the 'Test Project' button in the Project Panel?
 I always use the keyboard shortcut (CTRL+P) and never had any problems.

 Does it crash when using the keyboard shortcut as well?

 regards,
 Muzak

 - Original Message -
 From: John Grden [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, November 29, 2005 6:49 PM
 Subject: Re: [Flashcoders] Flash8 IDE Crashes when publishing with
 theProjectspanel


 I doubt gProject will help, all it's doing is issuing the same command to
 Flash IDE to publish the FLA.  Yeah, it's driving me crazy.  All I want to
 do is compile FLA's ;(



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




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


[Flashcoders] Disassemble swf

2005-11-29 Thread Chick Newman
I have been asked to revamp the website here (www.klahanievet.com). The site 
contains a single swf (with numberous embedded movie clips) file in an html 
page. The swf is 1) too small for the page at some screen resolutions...the 
embedded swf's size is not adjustable (hence poorly viewable at high screen 
resolutions)  and 2) the content is out of date and needs updating. The 
original .fla file is lost, so I would like to take the current swf and 
disassemble it then recreate (and modify) the resulting .fla and the swf 
content it creates. Is there software out there that would facilitate this? 
The swf contains, apparently, numberous bitmap images, movie clips, and some 
neat coding for printing a map on the page and for sending email.


Any help or direction would be appreciated.

Thanks,
Chick Newman 


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


Re: [Flashcoders] Disassemble swf

2005-11-29 Thread Eric E. Dolecki

Google this: Actionscript Viewer.

Saved my ass twice already this year due to Eclipse/ASDT eating my  
desktop. :-)


edolecki

On Nov 29, 2005, at 10:19 PM, Chick Newman wrote:

I have been asked to revamp the website here (www.klahanievet.com).  
The site contains a single swf (with numberous embedded movie  
clips) file in an html page. The swf is 1) too small for the page  
at some screen resolutions...the embedded swf's size is not  
adjustable (hence poorly viewable at high screen resolutions)  and  
2) the content is out of date and needs updating. The original .fla  
file is lost, so I would like to take the current swf and  
disassemble it then recreate (and modify) the resulting .fla and  
the swf content it creates. Is there software out there that would  
facilitate this? The swf contains, apparently, numberous bitmap  
images, movie clips, and some neat coding for printing a map on the  
page and for sending email.


Any help or direction would be appreciated.

Thanks,
Chick Newman
___
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] Load/export Symbol in ActionScript

2005-11-29 Thread de-hack SWF
On 11/30/05, Ian Thomas [EMAIL PROTECTED] wrote:

 Hi Juguang,
 Try replacing the line:
   public static var symbolName:String=RMC;
 with:
   public static var symbolName:String=__Packages.RMC;

 HTH,



YTH! (Yes, that helps) My week-lasting exhaust is breezed away. Many thanks.
:-) By the way, where did you get this naming convention?

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


Re: [Flashcoders] .flv video problems on a Mac

2005-11-29 Thread Duncan Reid
Hi Alison,

Maybe this will help:

http://www.macromedia.com/go/3121b301

Dunc

On 11/29/05, Woodage, Alison [EMAIL PROTECTED] wrote:

 Hi,

 I have a file that is loading .flv files dynamically and playing them
 back via a mediaDisplay component.  The swf is packaged for flash player
 7.

 Everything works fine except when run on a mac from a cd drive or
 network drive (it is fine from a local drive, eg desktop) when flash
 player 7 is installed.  If the player is upgraded to flash player 8 the
 problem is resolved.

 Any ideas as to why this might be happening under flash player 7 and not
 8.  And a fix?

 This is the code I'm using to load flv:

 var netConn:NetConnection = new NetConnection();
 netConn.connect(null);
 var netStream:NetStream = new NetStream(netConn);
 netStream.onStatus = function(infoObject) {
 status_txt.text += Status (NetStream):  + newline;
 status_txt.text += Level:  + infoObject.level + newline;
 status_txt.text += Code: + infoObject.code + newline;
 };

 main_movie.attachVideo(netStream);
 netStream.setBufferTime(5);
 videoToLoad = ../video/+videoFileArray[videoNum];
 netStream.play(videoToLoad);

 Thanks,

 Alison Woodage
 Lead Educational Programmer
 Centre for Learning Innovation
 51 Wentworth Ave
 Strathfield 2135
 02 9715 8389

 **
 This message is intended for the addressee named and may contain
 privileged information or confidential information or both. If you
 are not the intended recipient please delete it and notify the sender.
 **
 ___
 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] .flv video problems on a Mac

2005-11-29 Thread Woodage, Alison
Thanks Dunc...i think that will help.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan
Reid
Sent: Wednesday, November 30, 2005 3:30 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] .flv video problems on a Mac

Hi Alison,

Maybe this will help:

http://www.macromedia.com/go/3121b301

Dunc

On 11/29/05, Woodage, Alison [EMAIL PROTECTED] wrote:

 Hi,

 I have a file that is loading .flv files dynamically and playing them
 back via a mediaDisplay component.  The swf is packaged for flash
player
 7.

 Everything works fine except when run on a mac from a cd drive or
 network drive (it is fine from a local drive, eg desktop) when flash
 player 7 is installed.  If the player is upgraded to flash player 8
the
 problem is resolved.

 Any ideas as to why this might be happening under flash player 7 and
not
 8.  And a fix?

 This is the code I'm using to load flv:

 var netConn:NetConnection = new NetConnection();
 netConn.connect(null);
 var netStream:NetStream = new NetStream(netConn);
 netStream.onStatus = function(infoObject) {
 status_txt.text += Status (NetStream):  + newline;
 status_txt.text += Level:  + infoObject.level + newline;
 status_txt.text += Code: + infoObject.code + newline;
 };

 main_movie.attachVideo(netStream);
 netStream.setBufferTime(5);
 videoToLoad = ../video/+videoFileArray[videoNum];
 netStream.play(videoToLoad);

 Thanks,

 Alison Woodage
 Lead Educational Programmer
 Centre for Learning Innovation
 51 Wentworth Ave
 Strathfield 2135
 02 9715 8389

 **
 This message is intended for the addressee named and may contain
 privileged information or confidential information or both. If you
 are not the intended recipient please delete it and notify the sender.
 **
 ___
 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


**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Irregular shaped text

2005-11-29 Thread rishi
Hi

 

I want irregular shaped dynamic text in flash, any hints how can I do
this. 

Somewhat like the below link:

 

http://www.actionscript.org/forums/showthread.php3?t=90242

 

Regards

Rishi

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