[Flashcoders] Random distribution

2005-11-25 Thread Ronnie Liew
Hi all,

Previously I recalled coming across a blog which talks about using a
different approach in randomizing the location of items (e.g. movieclips).
This approach uses angular (radian) instead of the conventional x and y.
However, I cannot recall which blog, it would be great if someone could
refer me to the url.

Thx!



Privileged/Confidential Information may be 
contained in this message. 
If you are not the addressee indicated in this message (or responsible 
for delivery of the message to such person), you may not copy or deliver 
this message to anyone. In such case, you should destroy this message 
and kindly notify the sender by reply email. Please advise immediately 
if you or your employer does not consent to email or messages of this 
kind. Opinions, conclusions and other information in this message that 
do not relate to the official business of the WPP Group shall be 
understood as neither given nor endorsed by it. 

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


Re: [Flashcoders] enable all movieclips to broadcast their onRelease event

2005-11-25 Thread Alisdair Mills

could you provide more detail on what you want to achieve?

the following would make a Class object receive all MovieClip  
onRelease events. and would do so for a timeline with slightly  
modified code. not sure this is what you mean though?


public function initOnRelease ( Void ) : Void {
var listener = this ;
	MovieClip.prototype.onRelease = function ( ) { listener.sayHello  
( ) ; } ;

}
public function sayHello ( Void ) : Void {
trace ( HELLO ) ;   
}

cheers, Alisdair



On 24 Nov 2005, at 19:25, Aaron Haines wrote:




Is this possible..?

Anyone know how to do it..?



I want to be able to add a listener with an onRelease function to any
movieclip.

The onRelease of the listener would be triggered whenever the  
onRelease of

the movieclip is triggered.



Any help much appreciated.



a.



___
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 variables in as3

2005-11-25 Thread ryanm

for(var i:Number =0;i  acRate; i++){
var ['p'+i]:MovieClip = new MovieClip()
   this['p'+i].x = i*10
   this['p'+i].y = i*10
}

Which doesn't work of course. Does anybody have a work around for this,
or is it no longer possible to create undeclared variables at run time.

   The only reason I can think of that that wouldn't work is that you can't 
declare dynamic variables. So you could do it like this:


for(var i:Number =0;i  acRate; i++){
  this['p'+i] = new MovieClip();
  this['p'+i].x = i*10;
  this['p'+i].y = i*10;
}

   But that's not really good OOP. What you should do instead is build an 
array of references to your movie clips, like this:


var clips:Array = new Array();
for(var i:Number =0;i  acRate; i++){
  clips[i] = new MovieClip();
  clips[i].x = i*10;
  clips[i].y = i*10;
}

ryanm 


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


RE: [Flashcoders] enable all movieclips to broadcast theironRelease event

2005-11-25 Thread Aaron Haines

Hi Alisdair

I want to create a class which would be able to detect which movieclip or
button has been clicked whenever any movieclip or button is clicked.

I want this class to exist independently of any onRelease functions which
have been assigned directly to movieclip instances.

i.e. I don't want to have to include a call to my class in the onRelease
function of every movieclip instance - I just want my class to listen for
any onRelease events, and then do some action depending on which clip was
clicked.

The idea is that I could then include this class in movies which have
already been created without having to go back through and add a call to my
class into every button and movieclip onRelease function.

If I set the MovieClip.prototype.onRelease as you suggest this would
presumably then be overwritten by the direct assignment of the onRelease to
the movieclip instance.

I can make all movieclips broadcasters by using AsBroadcaster on the
MovieClip.prototype, but this doesn't make them automatically broadcast the
onRelease event.

I was wondering if there was a way to do this with EventDispatcher or
something similar..?

Thanks
a.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alisdair
Mills
Sent: 25 November 2005 08:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] enable all movieclips to broadcast theironRelease
event

could you provide more detail on what you want to achieve?

the following would make a Class object receive all MovieClip  
onRelease events. and would do so for a timeline with slightly  
modified code. not sure this is what you mean though?

public function initOnRelease ( Void ) : Void {
var listener = this ;
MovieClip.prototype.onRelease = function ( ) { listener.sayHello  
( ) ; } ;
}
public function sayHello ( Void ) : Void {
trace ( HELLO ) ; 
}

cheers, Alisdair



On 24 Nov 2005, at 19:25, Aaron Haines wrote:



 Is this possible..?

 Anyone know how to do it..?



 I want to be able to add a listener with an onRelease function to any
 movieclip.

 The onRelease of the listener would be triggered whenever the  
 onRelease of
 the movieclip is triggered.



 Any help much appreciated.



 a.



 ___
 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] Random distribution

2005-11-25 Thread Danny Kodicek

Previously I recalled coming across a blog which talks about using a
different approach in randomizing the location of items (e.g. movieclips).
This approach uses angular (radian) instead of the conventional x and y.
However, I cannot recall which blog, it would be great if someone could
refer me to the url.


I don't know the blog you're talking about, but it sounds pretty 
straightforward to me. What's the context? What are you trying to achieve?


Danny 


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


[Flashcoders] FP6 can't tell between undefined null?

2005-11-25 Thread Alias
Hi Guys, quick question -

Can anyone confirm whether the flash 6 player can't differentiatate
between a function that returns null and on which returns
undefined? Is there a difference on the bytecode level?

Thanks in advance,
Alias Cummins
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Loading multiple images inside dynamic text field

2005-11-25 Thread Sajid Saiyed
Hi,
Was anyone able to look at this question.

Any feedback is appreciated.

Thanks

On 11/25/05, Sajid Saiyed [EMAIL PROTECTED] wrote:
 Hi,
 I was surprised to see this result.

 I have a Dynamic text field on stage.
 I am loading some XML data which contains HTML formatted text inside CDATA 
 tag.

 The content of CDATA is something like:

 img alt=kp.jpg
 src=http://www.ssdesigninteractive.com/blog/archives/kp.jpg;
 width=450 height=348 /
 p
 img alt=amit.jpg
 src=http://www.ssdesigninteractive.com/blog/archives/amit.jpg;
 width=450 height=348 /

 Now when I run the movie, the two images load BUT the spacing between
 the two images is just a line break given by p.

 Also the images overlap each other.

 I expected the two images to load in line one fter another.

 Anyone faced this problem before?

 *** note: If you want to look at the actual problem, try this URL.
 Scroll down a bit to the post called FRIENDS AT MACROMEDIA .

 http://www.ssdesigninteractive.com/flashblog.html

 This is my flash frontend for Wordpress, The archives and search links
 are not working currently but you can explore otherwise.

 Thanks

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


RE: [Flashcoders] FP6 can't tell between undefined null?

2005-11-25 Thread zwetan

 Can anyone confirm whether the flash 6 player can't differentiatate
 between a function that returns null and on which returns
 undefined? Is there a difference on the bytecode level?


Humm first you could provide the function or at least
a cutdown version of it

and/or

Try to use identity eguality

trace( foobar() === undefined );
trace( foobar() === null );


zwetan



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


RE: [Flashcoders] Flvs fail to stream on an older pc

2005-11-25 Thread Karina Steffens
Thanks to everyone who replied, 
The problem seems to have been solved - at least for now...

I had asked the client yesterday to try and reburn the cd-rom from her mac,
to see if maybe something had gone wrong with the burning process. As I
mentioned, the last cd-rom I sent her was working fine. She hadn't come back
to me about that, and even sent me an annoyed email that had no mention of
it. So I was fairly sure that failed. 

So Just now I called her to get some more info and talk her through a test
that would see if Robin's theory about the swfs was the cause of the problem
(although I do check for initialization, something might have slipped
through on a slower system)... And she says Oh yeah, I reburnt the cd-rom
on the mac and it's working just fine on the pc. 
Grrr... Clients! 

Thanks!
Karina




 -Original Message-
 From: Robin Burrer [mailto:[EMAIL PROTECTED] 
 Sent: 24 November 2005 23:39
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flvs fail to stream on an older pc
 
 Hi Karina
 
 Yes there's always will be a system which will cause problems.
 (It's just a bit annoying though when it happens on your 
 client's commuter)
 
 The CD-ROM should however run even on very slow system. 
 
  application loads various swfs into a base swf file, and 
 the flvs are 
  loaded
 
 If you use multiple swf in your CD-ROM make sure that all 
 swfs are initialized before you use them. For example I once 
 was working on a CD where loaded a swf with a nested swf/flv 
 player in my root swf. 
 
 After loading the swf file I sent the video url to the loaded 
 swf file so that the nested component in the swf could play it.
 
 This all worked fine when I tested it on my computer and on 
 another computer. However it didn't work on some computers 
 even if they had fast processors. 
 
 Eventually I found out that it was the CD-ROM drive. Some 
 drives were just  a bit too slow. So the swf file which 
 contained the video player component was not loaded fast enough. 
 
 As a result the url send from the main movie did never reach 
 the player in the loaded swf. The solution is quite easy 
 though. Whenever you use multiple swf files in your CD-ROM 
 project and you want them to communicate between each other 
 make sure that loaded swf file is initialized properly before 
 you send anything. 
 
 A bulletproof way to do this is to have interval function in 
 your main movie which checks the value of a variable in your 
 loaded swf.
 
 e.g:
 
 
 // load the swf
 swfHolderMc.loadMovie(someSwf.swf);
 
 intervalId = setInterval(this, executeCallback, 200);
 
 function executeCallback()
 {
   If (swfHolderMc.getInicialized())// obviously you need 
 a //getInicialized function in the swf 
 file which is loaded
   
   {
   // do something in the loaded swf
   clearInterval(intervalId);
   }
 
 }
 
  
 
 Hope this helps
 
 
 Robin
 
 
 
 
 
 
 
 
 
 
 
 
 
 However 
 
 
 
 Most of the times it is a faulty driver or some wired configuration.
 
 I think these days it is not really necessary 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Søren Christensen
 Sent: Friday, 25 November 2005 9:54 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flvs fail to stream on an older pc
 
 
 Hi Karina
 
 I have had similar problems like you.
 
 My cd-rom in question had 2 videos (both external flvs to 
 profit f7's smaller memory footprint advantage over f6 
 regarding videos) Both videos was rather big in pixel size 
 and approx 3 mins length (about 30 megabytes each). So i knew 
 they would demand a bit of 'juice'.
 
 When testing with a 'raw' video test both a mac g4 500mhz 
 (os9 and osx) and a p3 600mhz (both win2k + win 98) worked 
 fine with no performance  problems playing from a cd.
 
 But my version with the final design was demanding quite alot 
 more cpu to perform well.
 What i found out was that the pure presence of bitmap 
 graphics with alpha information was decreasing the 
 performance (demanding more cpu) - even though the bitmap 
 wasn't moving or something was moving over or under it.
 
 I still couldn't optimize it fully to fit my 'raw' tests - 
 but it put down the performance needs to a acceptable level.
 My minimum specs ended up at mac: g4 800mhz pc: p3 800mhz 
 (both 64mb ram)
 
 I had other strange problems like sound issues with some pcs 
 - some dell configurations with sound blaster live soundcards 
 and a certain motherboards and cd-rom drive for some reason 
 distorted the sound. (similar to the sound issues with flash 
 5 and soundblaster pci 64 and 128) but thing like this is out 
 of your hands.
 But well with cd-rom productions there always are some odd hw 
 configurations that just give problems (although in theory it 
 shouldn't).
 Using director would just giver other issues (and make the 
 production a lot more expensive due to the lack of cross 
 

RE: [Flashcoders] Flvs fail to stream on an older pc

2005-11-25 Thread Hans Wichman

Let's just hope your client is not on this list as well ;)

At 02:24 PM 11/25/2005, you wrote:

Thanks to everyone who replied,
The problem seems to have been solved - at least for now...

I had asked the client yesterday to try and reburn the cd-rom from her mac,
to see if maybe something had gone wrong with the burning process. As I
mentioned, the last cd-rom I sent her was working fine. She hadn't come back
to me about that, and even sent me an annoyed email that had no mention of
it. So I was fairly sure that failed.

So Just now I called her to get some more info and talk her through a test
that would see if Robin's theory about the swfs was the cause of the problem
(although I do check for initialization, something might have slipped
through on a slower system)... And she says Oh yeah, I reburnt the cd-rom
on the mac and it's working just fine on the pc.
Grrr... Clients!

Thanks!
Karina




 -Original Message-
 From: Robin Burrer [mailto:[EMAIL PROTECTED]
 Sent: 24 November 2005 23:39
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flvs fail to stream on an older pc

 Hi Karina

 Yes there's always will be a system which will cause problems.
 (It's just a bit annoying though when it happens on your
 client's commuter)

 The CD-ROM should however run even on very slow system.

  application loads various swfs into a base swf file, and
 the flvs are
  loaded

 If you use multiple swf in your CD-ROM make sure that all
 swfs are initialized before you use them. For example I once
 was working on a CD where loaded a swf with a nested swf/flv
 player in my root swf.

 After loading the swf file I sent the video url to the loaded
 swf file so that the nested component in the swf could play it.

 This all worked fine when I tested it on my computer and on
 another computer. However it didn't work on some computers
 even if they had fast processors.

 Eventually I found out that it was the CD-ROM drive. Some
 drives were just  a bit too slow. So the swf file which
 contained the video player component was not loaded fast enough.

 As a result the url send from the main movie did never reach
 the player in the loaded swf. The solution is quite easy
 though. Whenever you use multiple swf files in your CD-ROM
 project and you want them to communicate between each other
 make sure that loaded swf file is initialized properly before
 you send anything.

 A bulletproof way to do this is to have interval function in
 your main movie which checks the value of a variable in your
 loaded swf.

 e.g:


 // load the swf
 swfHolderMc.loadMovie(someSwf.swf);

 intervalId = setInterval(this, executeCallback, 200);

 function executeCallback()
 {
   If (swfHolderMc.getInicialized())// obviously you need
 a //getInicialized function in the swf
 file which is loaded

   {
   // do something in the loaded swf
   clearInterval(intervalId);
   }

 }



 Hope this helps


 Robin













 However



 Most of the times it is a faulty driver or some wired configuration.

 I think these days it is not really necessary



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Søren Christensen
 Sent: Friday, 25 November 2005 9:54 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flvs fail to stream on an older pc


 Hi Karina

 I have had similar problems like you.

 My cd-rom in question had 2 videos (both external flvs to
 profit f7's smaller memory footprint advantage over f6
 regarding videos) Both videos was rather big in pixel size
 and approx 3 mins length (about 30 megabytes each). So i knew
 they would demand a bit of 'juice'.

 When testing with a 'raw' video test both a mac g4 500mhz
 (os9 and osx) and a p3 600mhz (both win2k + win 98) worked
 fine with no performance  problems playing from a cd.

 But my version with the final design was demanding quite alot
 more cpu to perform well.
 What i found out was that the pure presence of bitmap
 graphics with alpha information was decreasing the
 performance (demanding more cpu) - even though the bitmap
 wasn't moving or something was moving over or under it.

 I still couldn't optimize it fully to fit my 'raw' tests -
 but it put down the performance needs to a acceptable level.
 My minimum specs ended up at mac: g4 800mhz pc: p3 800mhz
 (both 64mb ram)

 I had other strange problems like sound issues with some pcs
 - some dell configurations with sound blaster live soundcards
 and a certain motherboards and cd-rom drive for some reason
 distorted the sound. (similar to the sound issues with flash
 5 and soundblaster pci 64 and 128) but thing like this is out
 of your hands.
 But well with cd-rom productions there always are some odd hw
 configurations that just give problems (although in theory it
 shouldn't).
 Using director would just giver other issues (and make the
 production a lot more expensive due to the lack of cross
 platform projector 

RE: [Flashcoders] Flvs fail to stream on an older pc

2005-11-25 Thread Karina Steffens
Ha! Not a chance, she's not very technically minded :)

 -Original Message-
 From: Hans Wichman [mailto:[EMAIL PROTECTED] 
 Sent: 25 November 2005 13:41
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flvs fail to stream on an older pc
 
 Let's just hope your client is not on this list as well ;)
 
 At 02:24 PM 11/25/2005, you wrote:
 Thanks to everyone who replied,
 The problem seems to have been solved - at least for now...
 
 I had asked the client yesterday to try and reburn the 
 cd-rom from her 
 mac, to see if maybe something had gone wrong with the 
 burning process. 
 As I mentioned, the last cd-rom I sent her was working fine. 
 She hadn't 
 come back to me about that, and even sent me an annoyed 
 email that had 
 no mention of it. So I was fairly sure that failed.
 
 So Just now I called her to get some more info and talk her 
 through a 
 test that would see if Robin's theory about the swfs was the 
 cause of 
 the problem (although I do check for initialization, something might 
 have slipped through on a slower system)... And she says Oh yeah, I 
 reburnt the cd-rom on the mac and it's working just fine on the pc.
 Grrr... Clients!
 
 Thanks!
 Karina
 
 
 
 
   -Original Message-
   From: Robin Burrer [mailto:[EMAIL PROTECTED]
   Sent: 24 November 2005 23:39
   To: Flashcoders mailing list
   Subject: RE: [Flashcoders] Flvs fail to stream on an older pc
  
   Hi Karina
  
   Yes there's always will be a system which will cause problems.
   (It's just a bit annoying though when it happens on your client's 
   commuter)
  
   The CD-ROM should however run even on very slow system.
  
application loads various swfs into a base swf file, and
   the flvs are
loaded
  
   If you use multiple swf in your CD-ROM make sure that all 
 swfs are 
   initialized before you use them. For example I once was 
 working on a 
   CD where loaded a swf with a nested swf/flv player in my root swf.
  
   After loading the swf file I sent the video url to the loaded swf 
   file so that the nested component in the swf could play it.
  
   This all worked fine when I tested it on my computer and 
 on another 
   computer. However it didn't work on some computers even 
 if they had 
   fast processors.
  
   Eventually I found out that it was the CD-ROM drive. Some drives 
   were just  a bit too slow. So the swf file which 
 contained the video 
   player component was not loaded fast enough.
  
   As a result the url send from the main movie did never reach the 
   player in the loaded swf. The solution is quite easy though. 
   Whenever you use multiple swf files in your CD-ROM 
 project and you 
   want them to communicate between each other make sure that loaded 
   swf file is initialized properly before you send anything.
  
   A bulletproof way to do this is to have interval function in your 
   main movie which checks the value of a variable in your 
 loaded swf.
  
   e.g:
  
  
   // load the swf
   swfHolderMc.loadMovie(someSwf.swf);
  
   intervalId = setInterval(this, executeCallback, 200);
  
   function executeCallback()
   {
 If (swfHolderMc.getInicialized())// obviously you need
   a //getInicialized function in the swf
   file which is loaded
  
 {
 // do something in the loaded swf
 clearInterval(intervalId);
 }
  
   }
  
  
  
   Hope this helps
  
  
   Robin
  
  
  
  
  
  
  
  
  
  
  
  
  
   However
  
  
  
   Most of the times it is a faulty driver or some wired 
 configuration.
  
   I think these days it is not really necessary
  
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of 
   Søren Christensen
   Sent: Friday, 25 November 2005 9:54 AM
   To: Flashcoders mailing list
   Subject: Re: [Flashcoders] Flvs fail to stream on an older pc
  
  
   Hi Karina
  
   I have had similar problems like you.
  
   My cd-rom in question had 2 videos (both external flvs to profit 
   f7's smaller memory footprint advantage over f6 regarding videos) 
   Both videos was rather big in pixel size and approx 3 mins length 
   (about 30 megabytes each). So i knew they would demand a bit of 
   'juice'.
  
   When testing with a 'raw' video test both a mac g4 500mhz
   (os9 and osx) and a p3 600mhz (both win2k + win 98) 
 worked fine with 
   no performance  problems playing from a cd.
  
   But my version with the final design was demanding quite 
 alot more 
   cpu to perform well.
   What i found out was that the pure presence of bitmap 
 graphics with 
   alpha information was decreasing the performance (demanding more 
   cpu) - even though the bitmap wasn't moving or something 
 was moving 
   over or under it.
  
   I still couldn't optimize it fully to fit my 'raw' tests - but it 
   put down the performance needs to a acceptable level.
   My minimum specs ended up at mac: g4 800mhz pc: p3 800mhz 
 (both 64mb 
   ram)
  
   I 

[Flashcoders] Subversion eol-style for as files ?

2005-11-25 Thread Flapflap

Hi there,

I'm configuring subversion... What's the best eol-style for .as files ?
Thanks

--
Flapflap[at]sans-facon.net --
DevBlog : http://www.kilooctet.net

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


Re: [Flashcoders] FP6 can't tell between undefined null?

2005-11-25 Thread Alias
I've never seen the === operator before - do you mean ==?

Alias

On 11/25/05, zwetan [EMAIL PROTECTED] wrote:
 
  Can anyone confirm whether the flash 6 player can't differentiatate
  between a function that returns null and on which returns
  undefined? Is there a difference on the bytecode level?
 

 Humm first you could provide the function or at least
 a cutdown version of it

 and/or

 Try to use identity eguality

 trace( foobar() === undefined );
 trace( foobar() === null );


 zwetan



 ___
 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] Yet more ComboBox woes (MX04)

2005-11-25 Thread Ian Thomas
This component is really rubbish - I've previously had all sorts of problems
with it,
mostly to do with the dropdown not appearing.
This I fixed with _lockroot and putting a ComboBox on the stage of my
loading movie.
That works, and has been fine for ages.

Now I've had to move my ComboBox, and annoyingly the dropdown now goes
_behind_ a
bunch of tickboxes. The ComboBox has a lower depth than the tickboxes. Has
anyone any
pointers for me to sort it out..?

(I briefly looked at MX04 components and thought they'd make my life easier.
Then I tried the
ComboBox. Since then I haven't touched them. Bleagh. They really are
terribly badly tested.
Oh well - another reason to look at Flex...)

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


Re: [Flashcoders] Syntax HELP: Passing Variable to GetURL

2005-11-25 Thread Johannes Nel
getURL(http://www.domain.com/; +
someVariablehttp://www.domain.com/*VARIABLETO
,_self);

On 11/25/06, Dominic Fee [EMAIL PROTECTED] wrote:

 Hi there guys I'm having trouble with a simple variable issue, due to lack
 of syntax knowledge, on my behalf



 I have a variable which does the following:



 Dom=test.asp



 Now all I want to do is pass that variable through to the geturl command
 to
 that it looks like this





 getURL(http://www.domain.com/*VARIABLETO GO HERE*,_self);



 so that it would like like:



 getURL(http://www.domain.com/test.asp,_self;);



 Thanks,

 Have a good weekend

 Dom







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




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


RE: [Flashcoders] Syntax HELP: Passing Variable to GetURL

2005-11-25 Thread Adam Robertson
That wont work because your missing speech marks (unless you have an
object called 'test' with a string property of 'asp' :) 

Dom='test.asp';

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Steven
Sent: 25 November 2005 16:51
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Syntax HELP: Passing Variable to GetURL

Think this may work off the top of my head

var vPrefix = http://www.domain.com/;;
Dom=test.asp;
var vFull_Path = vPrefix + Dom;
getURL(vFull_Path,_self);




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dominic
Fee
Sent: 25 November 2006 16:35
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Syntax HELP: Passing Variable to GetURL


Hi there guys I'm having trouble with a simple variable issue, due to
lack of syntax knowledge, on my behalf

 

I have a variable which does the following:

 

Dom=test.asp

 

Now all I want to do is pass that variable through to the geturl command
to that it looks like this

 

 

getURL(http://www.domain.com/*VARIABLETO GO HERE*,_self);

 

so that it would like like:

 

getURL(http://www.domain.com/test.asp,_self;);

 

Thanks,

Have a good weekend

Dom

 

 

 

___
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] Syntax HELP: Passing Variable to GetURL

2005-11-25 Thread Paul Steven
oops yes, that was a wee mistake:)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adam
Robertson
Sent: 25 November 2005 17:08
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Syntax HELP: Passing Variable to GetURL


That wont work because your missing speech marks (unless you have an
object called 'test' with a string property of 'asp' :) 

Dom='test.asp';

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Steven
Sent: 25 November 2005 16:51
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Syntax HELP: Passing Variable to GetURL

Think this may work off the top of my head

var vPrefix = http://www.domain.com/;;
Dom=test.asp;
var vFull_Path = vPrefix + Dom;
getURL(vFull_Path,_self);




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dominic
Fee
Sent: 25 November 2006 16:35
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Syntax HELP: Passing Variable to GetURL


Hi there guys I'm having trouble with a simple variable issue, due to
lack of syntax knowledge, on my behalf

 

I have a variable which does the following:

 

Dom=test.asp

 

Now all I want to do is pass that variable through to the geturl command
to that it looks like this

 

 

getURL(http://www.domain.com/*VARIABLETO GO HERE*,_self);

 

so that it would like like:

 

getURL(http://www.domain.com/test.asp,_self;);

 

Thanks,

Have a good weekend

Dom

 

 

 

___
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] Re: Loading multiple images inside dynamic text field

2005-11-25 Thread Sajid Saiyed
still noone?

--Sajid

On 11/25/05, Sajid Saiyed [EMAIL PROTECTED] wrote:
 Hi,
 Was anyone able to look at this question.

 Any feedback is appreciated.

 Thanks

 On 11/25/05, Sajid Saiyed [EMAIL PROTECTED] wrote:
  Hi,
  I was surprised to see this result.
 
  I have a Dynamic text field on stage.
  I am loading some XML data which contains HTML formatted text inside CDATA 
  tag.
 
  The content of CDATA is something like:
 
  img alt=kp.jpg
  src=http://www.ssdesigninteractive.com/blog/archives/kp.jpg;
  width=450 height=348 /
  p
  img alt=amit.jpg
  src=http://www.ssdesigninteractive.com/blog/archives/amit.jpg;
  width=450 height=348 /
 
  Now when I run the movie, the two images load BUT the spacing between
  the two images is just a line break given by p.
 
  Also the images overlap each other.
 
  I expected the two images to load in line one fter another.
 
  Anyone faced this problem before?
 
  *** note: If you want to look at the actual problem, try this URL.
  Scroll down a bit to the post called FRIENDS AT MACROMEDIA .
 
  http://www.ssdesigninteractive.com/flashblog.html
 
  This is my flash frontend for Wordpress, The archives and search links
  are not working currently but you can explore otherwise.
 
  Thanks
 

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


RE: [Flashcoders] How to use the same MC instance in a tweenedanimation?

2005-11-25 Thread Steven Sacks
Instead of setting dynamic text values, set variables and assign the
variables to the textfields.

Textfield.variable = thevariablename;

 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Kevin Boyd (MMCR)
 Sent: Friday, November 25, 2005 11:15 AM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] How to use the same MC instance in a 
 tweenedanimation?
 
 Need help on a simple animation problem. I have a  flash 7 file which
 contains two channels each containing MC's that I am setting 
 the dynamic
 text values from Director and once set with the correct 
 values I wish for
 them to animate onto the flash stage. Thing is, if I create a 
 new key frame
 to do a tween with, that means a new instance of the MCs are 
 created, hence
 loosing all the data set dynamically from within Director! 
 Can't figure out
 how I should be doing this to keep the same instance 
 throughout a tweened
 animation???
 
 Thanks in advance.
 
 Kevin
 
 
 
 ___
 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