[Flashcoders] RE: rich text box

2006-03-06 Thread Costello, Rob R
Hi Sander,  my need is for the latter 
a text box in which people can create rich text content with a formatting 
toolbar so you can send it so a server-side script 
 
Rob

 
- Original Message - 
Rob,

Is a rich text box a

box you can fill with HTML content easily
or a
box in which people can create rich text content with a formatting 
toolbar so you can send it so a server-side script?

S


On 04 Mar 2006, at 13:00, Costello, Rob R wrote:

 anyone know of rich text box components in flash MX2004 - 
 preferably with source code


Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education  Training.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

[Flashcoders] allowing external content to acces local content

2006-03-06 Thread Tom Versweyveld

I'm trying to allow an swf (loaded from a testing server), to access the
global scope in an swf running in authoring, but I keep getting:

*** Security Sandbox Violation ***
SecurityDomain 'http://192.168.1.1/someflash.swf' tried to access
incompatible context 'file:///C|//iloaded someflash.swf'

I fiddled around with the local playback security-publish settings,
added C:\ in the online Global Security Settings Panel, and also
tried adding System.security.allowInsecureDomain in as, but nada...any
clues anyone? The problem occurs with fp7-8...

Grtz,
Tom


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

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


[Flashcoders] : How to call zooms photo from outside folder.

2006-03-06 Thread Harry

- Original Message - 
From: Bharat Group 
To: flashcoders@chattyfig.figleaf.com 
Cc: Nick Weekes 
Sent: Monday, March 06, 2006 2:08 PM
Subject: How to call zooms photo from outside folder.


HI all,

I am calling the thumbnails from a folder i.e outside the fla. and it's working 
fine but the prob. is I want to call the zoom of the those thumbnails also that 
to  from outside folder. Can any one tell me how to do it? I mean it should be 
, when clicking on thumbnails it should call the zoom of photo from outside. 
The thumbnails are put in project in such a way that on clicking on next button 
it calls another thumbnail and so on. I want that on selecting one thumbnail, 
it should call the corresponding zoom from outside folder.
( Hi Nick, am trying though flashcoder but it's down perhaps, could you advise 
me directly)

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

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


[Flashcoders] calling ext file

2006-03-06 Thread Harry

- Original Message - 
From: Bharat Group 
To: flashcoders@chattyfig.figleaf.com 
Sent: Monday, March 06, 2006 4:01 PM
Subject: calling ext file


HI all,

I am calling the thumbnails from a folder i.e outside the fla. and it's working 
fine but the prob. is I want to call the zoom of the those thumbnails also that 
to  from outside folder. Can any one tell me how to do it? I mean it should be 
, when clicking on thumbnails it should call the zoom of photo from outside. 
The thumbnails are put in project in such a way that on clicking on next button 
it calls another thumbnail and so on. I want that on selecting one thumbnail, 
it should call the corresponding zoom from outside folder.
( Hi Nick, am trying though flashcoder but it's down perhaps, could you advise 
me directly)

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

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


[Flashcoders] [ann] Sydney Developers Study Group 13th March

2006-03-06 Thread Chris Velevitch
On Monday 13th March is the first meeting of the year and it starts
with the new study group weekly meeting format. With the study group
format, members are asked to study some aspect of the Flash Platform
prior to the meeting (see http://www.flashdev.org.au/program). At the
meeting, the moderator will lead discussion and questions about the
topic. The meeting is on at 6:30pm for 7pm start and finishes around
8:30pm.

Details about the group, venue and program are available from
http://www.flashdev.org.au. Please note, whilst the meetings and the
use of the club are free, the club does require us to purchase
beverages and/or snacks in exchange.

Please RSVP at http://www.flashdev.org.au/rsvp.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] calling ext file

2006-03-06 Thread Harry




HI all,

I am calling the thumbnails from a folder i.e outside the fla. and it's 
working fine but the prob. is I want to call the zoom of the those 
thumbnails also that to  from outside folder. Can any one tell me how to do 
it? I mean it should be , when clicking on thumbnails it should call the 
zoom of photo from outside. The thumbnails are put in project in such a way 
that on clicking on next button it calls another thumbnail and so on. I want 
that on selecting one thumbnail, it should call the corresponding zoom from 
outside folder.
( Hi Nick, am trying though flashcoder but it's down perhaps, could you 
advise me directly)


Harry
___

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

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


Re: [Flashcoders] FF Seattle Report

2006-03-06 Thread eugen pflüger

right, andreas.

eugen




Am 05.03.2006 um 23:03 schrieb Andreas Rønning:

Glad you had a ball, but until Adobe stops ass-raping the FlashCom  
community with bizarre licensing practises and the inability to  
make statements with a straight face, i don't see how this merger  
is positive at all.
All i see is further separation of the individual solutions Adobe  
got a hold of with Macromedia, separations that were problematic to  
begin with. Macromedia always had too many onions in the soup, and  
it looks like that's just going to get worse. PDF online is a total  
aberration now as it has always been; it's forte is in print  
content, not online content, and every time i inadvertently hit a  
link that brings up the Acrobat plugin, you can hear my groan  
blocks away. I don't see the Acrobat relevance online tell you the  
truth (someone, please correct me here if i'm totally missing the  
boat on some important topic).


What you just described is precisely what i thought it'd be: Flash  
keeps its footing as an animation platform with an anchor in the  
fast and the frivolous, Flex takes what was getting good about AS  
and implements it in a retardedly expensive solution that is of  
little interest to a whole bunch of us.


What i'd really like to see from an event like that, aside from  
whizbang and promises, is an indication that Macromedia didn't  
completely lose the plot when they were acquired. At the moment,  
they're one of the toughest businesses to like out there, mostly  
because of an inability to say ONE thing and subsequently stand for  
it. Employees are lovely, but whoever makes the big decisions are  
freaking me out.


The idea of an Adobe/MM OS brings such immense and immediate terror  
to my imagination that i'm not going to say anything else about  
that topic. Ever, hopefully.


I feel ever so slightly pistol-whipped by the sudden effort to push  
Flex forward, leaving Flash in the dust. I assume this is some kind  
of intercept vector of Sparkle or the growing interest in AJAX.
In fact, i'm so sore i'm going to rant a little bit. Pardon any  
french in the following psycho-babble:


I am a very hard working man. I put 9 to 12 hours into Flash every  
day of the week. By Flash i mean animation, actionscript, flashcom  
and audio work. I always work with concrete solutions in mind, and  
with concrete budgets and concrete timespans. I have very little  
time for dabbling, exploration or otherwise advancing myself along  
paths my work doesn't naturally take me. FlashCoders, this list,  
was fine and dandy up until Flex2, because i felt as though the  
focus of the list ran in parralel to any problems i might be  
working on. I felt it was worthwhile reading posts i had no idea  
what were on about because i'd learn SOMETHING that might be  
applicable to a problem i'd run into in the future, or alter my  
approach on a current problem. Since AS3 came around, i've been  
hugely confused:
I have no idea how you guys have TIME to explore it. How Darron  
Schall has time to create an AS3 VNC viewer is beyond me, or how  
Grant Skinner can put together gModeler, or how any number of flash  
guru types have time to put together x number of exciting new  
applications of the technology. Where do you find your god damn  
time and still make a living guys?!
I work my ass off just meeting deadlines, and 9 out of 10 times the  
project is etched in stone from the outset with regard to currently  
existing techniques. The focus is on meeting a demand, not on  
creating something dazzling and cool to put on a blog somewhere,  
and when Erik Natzke, who i think does amazing work, manages to  
drop the fresh notion that flash developers need to explore more  
to further themselves in their craft, that pisses me off to no end.  
Where. The. Hell. Does. That. Time. Come. From.


AS3 in Flash right now is a cruel tease. We have no clear  
indication of how it's implementation in Flash 9 will be, what it's  
implications will be on the UI. All we know is that we can somehow  
get a head start by getting into Flex and spend a bunch of time on  
non-deployable projects so that we MIGHT hop aboard the AS3 train  
before it's too late, and it slams into us with Flash 9 and all the  
guys that spent their MAGICALLY APPEARING TIME getting into AS3  
early get the clear upper hand.


So let's talk about motivation and demotivation, and how that whole  
AS3 teaser is a big piece of steaming shit on my doorstep. I want  
to get into it so bad i can taste it. I downloaded Flexbuilder, i  
read tutorials, i tried it out a bit, but the more i touch it the  
more i feel like i'm being derailed, that my attention is being  
removed from what puts food on my table and roof over my head. But  
doubly, i get the sense that when Flash 9 hits, the guys that are  
now unemployed, on the dole, otherwise having the chance to spend  
real time on self-education, are going to be infinitely more  
desirable as Flash 

[Flashcoders] Flex and the Key class

2006-03-06 Thread matti bar zeev
Hi list,
I saw that Adobe decided to remove the Key class from flex and as3.
I can't seem to find the replacement for Key.isDown() in the new class.
does anyone knows where or what it is?
I'm not looking for creating an event for the key but rather track a keys
via an interval.
cheerz.


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

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


RE: [Flashcoders] FF Seattle Report

2006-03-06 Thread David Mendels
Hi,

Lots of stuff in this email, but I will just respond to this:

Flex takes what was getting good about AS and 
 implements it in a retardedly expensive solution that is of little 
 interest to a whole bunch of us. 

The Flex 2 SDK is free.  Hard to call that expensive. Flex Builder 2 is under 
$1000.  Ditto.  And FES 2 starts at free and scales up based on usage, but it 
is *not* required.

-David

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of eugen pflüger
 Sent: Monday, March 06, 2006 6:50 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] FF Seattle Report
 
 right, andreas.
 
 eugen
 
 
 
 
 Am 05.03.2006 um 23:03 schrieb Andreas Rønning:
 
  Glad you had a ball, but until Adobe stops ass-raping the FlashCom 
  community with bizarre licensing practises and the 
 inability to make 
  statements with a straight face, i don't see how this merger is 
  positive at all.
  All i see is further separation of the individual solutions 
 Adobe got 
  a hold of with Macromedia, separations that were 
 problematic to begin 
  with. Macromedia always had too many onions in the soup, 
 and it looks 
  like that's just going to get worse. PDF online is a total 
 aberration 
  now as it has always been; it's forte is in print content, 
 not online 
  content, and every time i inadvertently hit a link that 
 brings up the 
  Acrobat plugin, you can hear my groan blocks away. I don't see the 
  Acrobat relevance online tell you the truth (someone, 
 please correct 
  me here if i'm totally missing the boat on some important topic).
 
  What you just described is precisely what i thought it'd be: Flash 
  keeps its footing as an animation platform with an anchor 
 in the fast 
  and the frivolous, Flex takes what was getting good about AS and 
  implements it in a retardedly expensive solution that is of little 
  interest to a whole bunch of us.
 
  What i'd really like to see from an event like that, aside from 
  whizbang and promises, is an indication that Macromedia didn't 
  completely lose the plot when they were acquired. At the moment, 
  they're one of the toughest businesses to like out there, mostly 
  because of an inability to say ONE thing and subsequently stand for 
  it. Employees are lovely, but whoever makes the big decisions are 
  freaking me out.
 
  The idea of an Adobe/MM OS brings such immense and 
 immediate terror to 
  my imagination that i'm not going to say anything else about that 
  topic. Ever, hopefully.
 
  I feel ever so slightly pistol-whipped by the sudden effort to push 
  Flex forward, leaving Flash in the dust. I assume this is 
 some kind of 
  intercept vector of Sparkle or the growing interest in AJAX.
  In fact, i'm so sore i'm going to rant a little bit. Pardon 
 any french 
  in the following psycho-babble:
 
  I am a very hard working man. I put 9 to 12 hours into 
 Flash every day 
  of the week. By Flash i mean animation, actionscript, flashcom and 
  audio work. I always work with concrete solutions in mind, and with 
  concrete budgets and concrete timespans. I have very little 
 time for 
  dabbling, exploration or otherwise advancing myself along paths my 
  work doesn't naturally take me. FlashCoders, this list, was 
 fine and 
  dandy up until Flex2, because i felt as though the focus of 
 the list 
  ran in parralel to any problems i might be working on. I 
 felt it was 
  worthwhile reading posts i had no idea what were on about 
 because i'd 
  learn SOMETHING that might be applicable to a problem i'd 
 run into in 
  the future, or alter my approach on a current problem. 
 Since AS3 came 
  around, i've been hugely confused:
  I have no idea how you guys have TIME to explore it. How 
 Darron Schall 
  has time to create an AS3 VNC viewer is beyond me, or how Grant 
  Skinner can put together gModeler, or how any number of 
 flash guru 
  types have time to put together x number of exciting new 
 applications 
  of the technology. Where do you find your god damn time and still 
  make a living guys?!
  I work my ass off just meeting deadlines, and 9 out of 10 times the 
  project is etched in stone from the outset with regard to currently 
  existing techniques. The focus is on meeting a demand, not 
 on creating 
  something dazzling and cool to put on a blog somewhere, and 
 when Erik 
  Natzke, who i think does amazing work, manages to drop the fresh 
  notion that flash developers need to explore more to further 
  themselves in their craft, that pisses me off to no end.
  Where. The. Hell. Does. That. Time. Come. From.
 
  AS3 in Flash right now is a cruel tease. We have no clear 
 indication 
  of how it's implementation in Flash 9 will be, what it's 
 implications 
  will be on the UI. All we know is that we can somehow get a 
 head start 
  by getting into Flex and spend a bunch of time on non-deployable 
  projects so that we MIGHT hop aboard the AS3 train before it's too 
  late, and it 

[Flashcoders] Newbiew question AS3

2006-03-06 Thread Forums @ Existanze
Hello all,

This is my first post in this mailing list after reading it for about week,
just to get the feel of thing. I have seen actionscript v3 being mentioned
here. I am a programmer, not so much of a designer, so I would be really
interested to find out more about v3, changes and new functionality in the
language. I went to the formerly macromedia site to look for changes in
flash8 but I saw no mention of as v3? Can anyone point me to a reference to
it?

 

Thank you for reading

Gyftus

 

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

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


Re: [Flashcoders] Newbiew question AS3

2006-03-06 Thread Scott Fanetti

AS3 information

language reference:
http://livedocs.macromedia.com/labs/1/flex/langref/index.html

Adobe labs AS3 site
http://labs.macromedia.com/wiki/index.php/ActionScript_3



Forums @ Existanze wrote:

Hello all,

This is my first post in this mailing list after reading it for about week,
just to get the feel of thing. I have seen actionscript v3 being mentioned
here. I am a programmer, not so much of a designer, so I would be really
interested to find out more about v3, changes and new functionality in the
language. I went to the formerly macromedia site to look for changes in
flash8 but I saw no mention of as v3? Can anyone point me to a reference to
it?

 


Thank you for reading

Gyftus

 


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

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

  



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

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


Re: [Flashcoders] allowing external content to acces local content

2006-03-06 Thread Scott Fanetti

Use system.security.allowDomain(http://192.168.1.1;)

allowinsecuredomain simply lets Flash allow a domain that is insecure to 
be loaded and executed if it is being served from a secure domain.  Put 
system.security.allowDomain into your loader movie.  Make sure your 
loader movie is running locally with filesystem and network access.


Read the Flash security whitepaper for more - if you google it, you will 
find it.


Tom Versweyveld wrote:

I'm trying to allow an swf (loaded from a testing server), to access the
global scope in an swf running in authoring, but I keep getting:

*** Security Sandbox Violation ***
SecurityDomain 'http://192.168.1.1/someflash.swf' tried to access
incompatible context 'file:///C|//iloaded someflash.swf'

I fiddled around with the local playback security-publish settings,
added C:\ in the online Global Security Settings Panel, and also
tried adding System.security.allowInsecureDomain in as, but nada...any
clues anyone? The problem occurs with fp7-8...

Grtz,
Tom


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

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

  



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

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


Re: [Flashcoders] FF Seattle Report

2006-03-06 Thread Andreas Rønning

Haha is that positive or negative? :)

Sorry for the OT outburst everyone. It's been brewing for a while.

- A

eugen pflüger wrote:

right, andreas.

eugen




Am 05.03.2006 um 23:03 schrieb Andreas Rønning:

Glad you had a ball, but until Adobe stops ass-raping the FlashCom  
community with bizarre licensing practises and the inability to  make 
statements with a straight face, i don't see how this merger  is 
positive at all.
All i see is further separation of the individual solutions Adobe  got 
a hold of with Macromedia, separations that were problematic to  begin 
with. Macromedia always had too many onions in the soup, and  it looks 
like that's just going to get worse. PDF online is a total  aberration 
now as it has always been; it's forte is in print  content, not online 
content, and every time i inadvertently hit a  link that brings up the 
Acrobat plugin, you can hear my groan  blocks away. I don't see the 
Acrobat relevance online tell you the  truth (someone, please correct 
me here if i'm totally missing the  boat on some important topic).


What you just described is precisely what i thought it'd be: Flash  
keeps its footing as an animation platform with an anchor in the  fast 
and the frivolous, Flex takes what was getting good about AS  and 
implements it in a retardedly expensive solution that is of  little 
interest to a whole bunch of us.


What i'd really like to see from an event like that, aside from  
whizbang and promises, is an indication that Macromedia didn't  
completely lose the plot when they were acquired. At the moment,  
they're one of the toughest businesses to like out there, mostly  
because of an inability to say ONE thing and subsequently stand for  
it. Employees are lovely, but whoever makes the big decisions are  
freaking me out.


The idea of an Adobe/MM OS brings such immense and immediate terror  
to my imagination that i'm not going to say anything else about  that 
topic. Ever, hopefully.


I feel ever so slightly pistol-whipped by the sudden effort to push  
Flex forward, leaving Flash in the dust. I assume this is some kind  
of intercept vector of Sparkle or the growing interest in AJAX.
In fact, i'm so sore i'm going to rant a little bit. Pardon any  
french in the following psycho-babble:


I am a very hard working man. I put 9 to 12 hours into Flash every  
day of the week. By Flash i mean animation, actionscript, flashcom  
and audio work. I always work with concrete solutions in mind, and  
with concrete budgets and concrete timespans. I have very little  time 
for dabbling, exploration or otherwise advancing myself along  paths 
my work doesn't naturally take me. FlashCoders, this list,  was fine 
and dandy up until Flex2, because i felt as though the  focus of the 
list ran in parralel to any problems i might be  working on. I felt it 
was worthwhile reading posts i had no idea  what were on about because 
i'd learn SOMETHING that might be  applicable to a problem i'd run 
into in the future, or alter my  approach on a current problem. Since 
AS3 came around, i've been  hugely confused:
I have no idea how you guys have TIME to explore it. How Darron  
Schall has time to create an AS3 VNC viewer is beyond me, or how  
Grant Skinner can put together gModeler, or how any number of flash  
guru types have time to put together x number of exciting new  
applications of the technology. Where do you find your god damn  time 
and still make a living guys?!
I work my ass off just meeting deadlines, and 9 out of 10 times the  
project is etched in stone from the outset with regard to currently  
existing techniques. The focus is on meeting a demand, not on  
creating something dazzling and cool to put on a blog somewhere,  and 
when Erik Natzke, who i think does amazing work, manages to  drop the 
fresh notion that flash developers need to explore more  to further 
themselves in their craft, that pisses me off to no end.  Where. The. 
Hell. Does. That. Time. Come. From.


AS3 in Flash right now is a cruel tease. We have no clear  indication 
of how it's implementation in Flash 9 will be, what it's  implications 
will be on the UI. All we know is that we can somehow  get a head 
start by getting into Flex and spend a bunch of time on  
non-deployable projects so that we MIGHT hop aboard the AS3 train  
before it's too late, and it slams into us with Flash 9 and all the  
guys that spent their MAGICALLY APPEARING TIME getting into AS3  early 
get the clear upper hand.


So let's talk about motivation and demotivation, and how that whole  
AS3 teaser is a big piece of steaming shit on my doorstep. I want  to 
get into it so bad i can taste it. I downloaded Flexbuilder, i  read 
tutorials, i tried it out a bit, but the more i touch it the  more i 
feel like i'm being derailed, that my attention is being  removed from 
what puts food on my table and roof over my head. But  doubly, i get 
the sense that when Flash 9 hits, the guys that are  now unemployed, 
on 

Re: [Flashcoders] allowing external content to acces local content

2006-03-06 Thread franto
yes, system.security.allowDomain works,
i just have same problem today, and it's helped me


On 3/6/06, Scott Fanetti [EMAIL PROTECTED] wrote:
 Use system.security.allowDomain(http://192.168.1.1;)

 allowinsecuredomain simply lets Flash allow a domain that is insecure to
 be loaded and executed if it is being served from a secure domain.  Put
 system.security.allowDomain into your loader movie.  Make sure your
 loader movie is running locally with filesystem and network access.

 Read the Flash security whitepaper for more - if you google it, you will
 find it.

 Tom Versweyveld wrote:
  I'm trying to allow an swf (loaded from a testing server), to access the
  global scope in an swf running in authoring, but I keep getting:
 
  *** Security Sandbox Violation ***
  SecurityDomain 'http://192.168.1.1/someflash.swf' tried to access
  incompatible context 'file:///C|//iloaded someflash.swf'
 
  I fiddled around with the local playback security-publish settings,
  added C:\ in the online Global Security Settings Panel, and also
  tried adding System.security.allowInsecureDomain in as, but nada...any
  clues anyone? The problem occurs with fp7-8...
 
  Grtz,
  Tom
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 


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

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



--
-
Franto

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

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


[Flashcoders] Please Help -- No Files in Flash Explorer

2006-03-06 Thread lieven.cardoen
I don't know what I've done (nothing I think and yet...).

 

I restarted Eclipse and suddenly I see no projects anymore in my Flash
Explorer (from FDT). When I open the Java perspective, I do see the
projects. Switching to Flash explorer, everything gone.

Filters are ok, so I don't know why the Flash explorer show nothing at
all.

 

Thx, Lieven Cardoen

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

 

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

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


Re: [Flashcoders] FF Seattle Report

2006-03-06 Thread Andreas Rønning
The point is Flex is a completely separate technology Adobe are actively 
pushing forward, and they're trying to get me in on it by teasing me 
with a preview of AS3 ;P Conspiracy! Aiee!! But seriously. It smacks of 
a form of early brand imprinting. I don't see Flex murdering AJAX or 
sparkle in the same way Flash has murdered SVG for online vector 
dominance, and as such i don't see it's worth my time without going 
full-time.


under $1000 is not necessarily cheap by the way.

- Andreas

David Mendels wrote:

Hi,

Lots of stuff in this email, but I will just respond to this:

Flex takes what was getting good about AS and 

implements it in a retardedly expensive solution that is of little 
interest to a whole bunch of us. 



The Flex 2 SDK is free.  Hard to call that expensive. Flex Builder 2 is under 
$1000.  Ditto.  And FES 2 starts at free and scales up based on usage, but it is 
*not* required.

-David



-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of eugen pflüger

Sent: Monday, March 06, 2006 6:50 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FF Seattle Report

right, andreas.

eugen




Am 05.03.2006 um 23:03 schrieb Andreas Rønning:


Glad you had a ball, but until Adobe stops ass-raping the FlashCom 
community with bizarre licensing practises and the 


inability to make 

statements with a straight face, i don't see how this merger is 
positive at all.
All i see is further separation of the individual solutions 


Adobe got 

a hold of with Macromedia, separations that were 


problematic to begin 

with. Macromedia always had too many onions in the soup, 


and it looks 

like that's just going to get worse. PDF online is a total 


aberration 

now as it has always been; it's forte is in print content, 


not online 

content, and every time i inadvertently hit a link that 


brings up the 

Acrobat plugin, you can hear my groan blocks away. I don't see the 
Acrobat relevance online tell you the truth (someone, 


please correct 


me here if i'm totally missing the boat on some important topic).

What you just described is precisely what i thought it'd be: Flash 
keeps its footing as an animation platform with an anchor 


in the fast 

and the frivolous, Flex takes what was getting good about AS and 
implements it in a retardedly expensive solution that is of little 
interest to a whole bunch of us.


What i'd really like to see from an event like that, aside from 
whizbang and promises, is an indication that Macromedia didn't 
completely lose the plot when they were acquired. At the moment, 
they're one of the toughest businesses to like out there, mostly 
because of an inability to say ONE thing and subsequently stand for 
it. Employees are lovely, but whoever makes the big decisions are 
freaking me out.


The idea of an Adobe/MM OS brings such immense and 


immediate terror to 

my imagination that i'm not going to say anything else about that 
topic. Ever, hopefully.


I feel ever so slightly pistol-whipped by the sudden effort to push 
Flex forward, leaving Flash in the dust. I assume this is 


some kind of 


intercept vector of Sparkle or the growing interest in AJAX.
In fact, i'm so sore i'm going to rant a little bit. Pardon 


any french 


in the following psycho-babble:

I am a very hard working man. I put 9 to 12 hours into 


Flash every day 

of the week. By Flash i mean animation, actionscript, flashcom and 
audio work. I always work with concrete solutions in mind, and with 
concrete budgets and concrete timespans. I have very little 


time for 

dabbling, exploration or otherwise advancing myself along paths my 
work doesn't naturally take me. FlashCoders, this list, was 


fine and 

dandy up until Flex2, because i felt as though the focus of 


the list 

ran in parralel to any problems i might be working on. I 


felt it was 

worthwhile reading posts i had no idea what were on about 


because i'd 

learn SOMETHING that might be applicable to a problem i'd 


run into in 

the future, or alter my approach on a current problem. 


Since AS3 came 


around, i've been hugely confused:
I have no idea how you guys have TIME to explore it. How 


Darron Schall 

has time to create an AS3 VNC viewer is beyond me, or how Grant 
Skinner can put together gModeler, or how any number of 


flash guru 

types have time to put together x number of exciting new 


applications 

of the technology. Where do you find your god damn time and still 
make a living guys?!
I work my ass off just meeting deadlines, and 9 out of 10 times the 
project is etched in stone from the outset with regard to currently 
existing techniques. The focus is on meeting a demand, not 


on creating 

something dazzling and cool to put on a blog somewhere, and 


when Erik 

Natzke, who i think does amazing work, manages to drop the fresh 
notion that flash developers need to explore more to further 
themselves in their craft, that pisses me off 

Re: [Flashcoders] 2D first person shooter

2006-03-06 Thread Samuel Santos
Hi guys!

But Troy, look this amazing tutorial:

http://www.gotoandplay.it/_articles/2004/07/el_maze3d.php

I want just if has some tutorial with more features to base

:)

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

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


RE: [Flashcoders] FF Seattle Report

2006-03-06 Thread Nick Weekes
Sounds like you havent really come across a project that needs a flex
solution rather than a flash solution.  Flex is a great tool for fairly
specific implementations (RIA's, dashboards, etc etc), whereas flash is more
general (but that comes at a price in terms of dev time).

And circa $1000 dollars is a lot less than $15000 per cpu, as per flex 1.5.
that’s why its classed as 'cheap'.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas
Rønning
Sent: 06 March 2006 13:24
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FF Seattle Report

The point is Flex is a completely separate technology Adobe are actively
pushing forward, and they're trying to get me in on it by teasing me with a
preview of AS3 ;P Conspiracy! Aiee!! But seriously. It smacks of a form of
early brand imprinting. I don't see Flex murdering AJAX or sparkle in the
same way Flash has murdered SVG for online vector dominance, and as such i
don't see it's worth my time without going full-time.

under $1000 is not necessarily cheap by the way.

- Andreas

David Mendels wrote:
 Hi,
 
 Lots of stuff in this email, but I will just respond to this:
 
 Flex takes what was getting good about AS and
 
implements it in a retardedly expensive solution that is of little 
interest to a whole bunch of us.
 
 
 The Flex 2 SDK is free.  Hard to call that expensive. Flex Builder 2 is
under $1000.  Ditto.  And FES 2 starts at free and scales up based on
usage, but it is *not* required.
 
 -David
 
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eugen 
pflüger
Sent: Monday, March 06, 2006 6:50 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FF Seattle Report

right, andreas.

eugen




Am 05.03.2006 um 23:03 schrieb Andreas Rønning:


Glad you had a ball, but until Adobe stops ass-raping the FlashCom 
community with bizarre licensing practises and the

inability to make

statements with a straight face, i don't see how this merger is 
positive at all.
All i see is further separation of the individual solutions

Adobe got

a hold of with Macromedia, separations that were

problematic to begin

with. Macromedia always had too many onions in the soup,

and it looks

like that's just going to get worse. PDF online is a total

aberration

now as it has always been; it's forte is in print content,

not online

content, and every time i inadvertently hit a link that

brings up the

Acrobat plugin, you can hear my groan blocks away. I don't see the 
Acrobat relevance online tell you the truth (someone,

please correct

me here if i'm totally missing the boat on some important topic).

What you just described is precisely what i thought it'd be: Flash 
keeps its footing as an animation platform with an anchor

in the fast

and the frivolous, Flex takes what was getting good about AS and 
implements it in a retardedly expensive solution that is of little 
interest to a whole bunch of us.

What i'd really like to see from an event like that, aside from 
whizbang and promises, is an indication that Macromedia didn't 
completely lose the plot when they were acquired. At the moment, 
they're one of the toughest businesses to like out there, mostly 
because of an inability to say ONE thing and subsequently stand for 
it. Employees are lovely, but whoever makes the big decisions are 
freaking me out.

The idea of an Adobe/MM OS brings such immense and

immediate terror to

my imagination that i'm not going to say anything else about that 
topic. Ever, hopefully.

I feel ever so slightly pistol-whipped by the sudden effort to push 
Flex forward, leaving Flash in the dust. I assume this is

some kind of

intercept vector of Sparkle or the growing interest in AJAX.
In fact, i'm so sore i'm going to rant a little bit. Pardon

any french

in the following psycho-babble:

I am a very hard working man. I put 9 to 12 hours into

Flash every day

of the week. By Flash i mean animation, actionscript, flashcom and 
audio work. I always work with concrete solutions in mind, and with 
concrete budgets and concrete timespans. I have very little

time for

dabbling, exploration or otherwise advancing myself along paths my 
work doesn't naturally take me. FlashCoders, this list, was

fine and

dandy up until Flex2, because i felt as though the focus of

the list

ran in parralel to any problems i might be working on. I

felt it was

worthwhile reading posts i had no idea what were on about

because i'd

learn SOMETHING that might be applicable to a problem i'd

run into in

the future, or alter my approach on a current problem. 

Since AS3 came

around, i've been hugely confused:
I have no idea how you guys have TIME to explore it. How

Darron Schall

has time to create an AS3 VNC viewer is beyond me, or how Grant 
Skinner can put together gModeler, or how any number of

flash guru 

types have time to put together x number of exciting new

applications

of the technology. Where do you 

Re: [Flashcoders] Please Help -- No Files in Flash Explorer

2006-03-06 Thread John Giotta
Have you tried contacting PowerFlasher with this problem?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] FF Seattle Report

2006-03-06 Thread Kent Humphrey


On 6 Mar 2006, at 13:33, Nick Weekes wrote:

The point is Flex is a completely separate technology Adobe are  
actively
pushing forward, and they're trying to get me in on it by teasing  
me with a
preview of AS3 ;P Conspiracy! Aiee!! But seriously. It smacks of a  
form of
early brand imprinting. I don't see Flex murdering AJAX or sparkle  
in the
same way Flash has murdered SVG for online vector dominance, and as  
such i

don't see it's worth my time without going full-time.


But you want the benefits of AS3 right? So you wait until the public  
alpha of Flash 9 is on the Labs site, which was announced as  
happening sometime right?


No one is forcing you to learn Flex, you will still get all the fun  
of AS3 in due course while sticking with Flash.



under $1000 is not necessarily cheap by the way.


How much did Flash cost you the first time you bought it?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Strange behaviour from modulus operator

2006-03-06 Thread Paul Steven
Experiencing a strange problem using the modulus operator.

Inside a function I have the following code:

var vValue1 = passed_MC._x - this.Maze_Horizontal_offset;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vValue1 =  + vValue1);
trace (vTheResult =  + Number(vTheResult));

And here are the results I am getting from the trace statements:

vValue1 = 324
vTheResult = 5.6843418860808e-14



Surely it should give me a result of zero as 36 goes into 324 exactly 9
times.

The weird thing is if I just hard code the values as follows, it works

var vValue1 = 324;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vTheResult =  + Number(vTheResult));

-

And here is the result of the trace statement:

vTheResult = 0

I am therefore totally confused!!!

Any help much appreciated. I am publishing for Flash 7 with Actionscript 1.0

Thanks

Paul


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

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


Re: [Flashcoders] Newbiew question AS3

2006-03-06 Thread Sam Thorne
AS3 is not part of Flash 8, which is why you didn't find anything on  
it in the official documentation.



On 6 Mar 2006, at 12:42PM, Forums @ Existanze wrote:


Hello all,

This is my first post in this mailing list after reading it for  
about week,
just to get the feel of thing. I have seen actionscript v3 being  
mentioned
here. I am a programmer, not so much of a designer, so I would be  
really
interested to find out more about v3, changes and new functionality  
in the
language. I went to the formerly macromedia site to look for  
changes in
flash8 but I saw no mention of as v3? Can anyone point me to a  
reference to

it?



Thank you for reading

Gyftus



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

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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


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

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


Re: [Flashcoders] Strange behaviour from modulus operator

2006-03-06 Thread Helen Triolo
Because _x is not necessarily an integer, vValue1 is not guaranteed to 
be an integer either, which it must be for modulo to return the result 
you want.  Force it to be with


var vValue1 = Math.round(passed_MC._x - this.Maze_Horizontal_offset);

and it should work as you expect.

Helen

--
http://flash-creations.com
http://i-technica.com




Paul Steven wrote:


Experiencing a strange problem using the modulus operator.

Inside a function I have the following code:

var vValue1 = passed_MC._x - this.Maze_Horizontal_offset;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vValue1 =  + vValue1);
trace (vTheResult =  + Number(vTheResult));

And here are the results I am getting from the trace statements:

vValue1 = 324
vTheResult = 5.6843418860808e-14



Surely it should give me a result of zero as 36 goes into 324 exactly 9
times.

The weird thing is if I just hard code the values as follows, it works

var vValue1 = 324;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vTheResult =  + Number(vTheResult));

-

And here is the result of the trace statement:

vTheResult = 0

I am therefore totally confused!!!

Any help much appreciated. I am publishing for Flash 7 with Actionscript 1.0

Thanks

Paul
 




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

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


Re: [Flashcoders] Strange behaviour from modulus operator

2006-03-06 Thread Danny Kodicek



Experiencing a strange problem using the modulus operator.

Inside a function I have the following code:

var vValue1 = passed_MC._x - this.Maze_Horizontal_offset;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vValue1 =  + vValue1);
trace (vTheResult =  + Number(vTheResult));

And here are the results I am getting from the trace statements:

vValue1 = 324
vTheResult = 5.6843418860808e-14


It's a result of rounding errors. The _x value is a float, and so there's a 
very small leftover value at the bottom end of the decimal places. Notice 
that your vTheResult is very, very small.


You can avoid the problem by taking Math.round(vValue1) % vValue2.

Danny 


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

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


RE: [Flashcoders] Strange behaviour from modulus operator

2006-03-06 Thread Paul Steven
Thanks a million Helen - I have been sitting for hours trying to figure this
one out - doesnt help being bunged up with the cold so few brain cells
actually functioning!!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Helen
Triolo
Sent: 06 March 2006 14:13
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Strange behaviour from modulus operator


Because _x is not necessarily an integer, vValue1 is not guaranteed to
be an integer either, which it must be for modulo to return the result
you want.  Force it to be with

var vValue1 = Math.round(passed_MC._x - this.Maze_Horizontal_offset);

and it should work as you expect.

Helen

--
http://flash-creations.com
http://i-technica.com




Paul Steven wrote:

Experiencing a strange problem using the modulus operator.

Inside a function I have the following code:

var vValue1 = passed_MC._x - this.Maze_Horizontal_offset;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vValue1 =  + vValue1);
trace (vTheResult =  + Number(vTheResult));

And here are the results I am getting from the trace statements:

vValue1 = 324
vTheResult = 5.6843418860808e-14



Surely it should give me a result of zero as 36 goes into 324 exactly 9
times.

The weird thing is if I just hard code the values as follows, it works

var vValue1 = 324;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vTheResult =  + Number(vTheResult));

-

And here is the result of the trace statement:

vTheResult = 0

I am therefore totally confused!!!

Any help much appreciated. I am publishing for Flash 7 with Actionscript
1.0

Thanks

Paul




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

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

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

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


Re: [Flashcoders] RE: rich text box

2006-03-06 Thread Mike Britton
This one looks nice:

http://www.flashloaded.com/flashcomponents/flashtexteditor/

Pricey though for a component.

hth,

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

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


Re: [Flashcoders] Strange behaviour from modulus operator

2006-03-06 Thread Ron Wheeler
How much closer to zero where you expecting? 5 to the power of 10 to the 
-14 is zero to the limits of  modern PCs.


If you want to deal with integers make the numbers integers. If you do 
your math in floating point with a mantissa with lots of bits, you are 
going to get some bits left over at the end.
The machine is doing all of its math in binary and some/many decimal 
numbers can not be represented exactly in binary.
Think of 1/3+1/3+1/3 != .33+.33+.33 It is not just machines that have 
the problem.


You can never compare a floating point number to zero and expect your 
code to work reliably. Convert the result of modulus to an integer and 
compare that to 0.



Ron




Paul Steven wrote:

Experiencing a strange problem using the modulus operator.

Inside a function I have the following code:

var vValue1 = passed_MC._x - this.Maze_Horizontal_offset;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vValue1 =  + vValue1);
trace (vTheResult =  + Number(vTheResult));

And here are the results I am getting from the trace statements:

vValue1 = 324
vTheResult = 5.6843418860808e-14



Surely it should give me a result of zero as 36 goes into 324 exactly 9
times.

The weird thing is if I just hard code the values as follows, it works

var vValue1 = 324;
var vValue2 = 36;

var vTheResult =  vValue1 %  vValue2;

trace (vTheResult =  + Number(vTheResult));

-

And here is the result of the trace statement:

vTheResult = 0

I am therefore totally confused!!!

Any help much appreciated. I am publishing for Flash 7 with Actionscript 1.0

Thanks

Paul


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

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


  

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

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


Re: [Flashcoders] RE: rich text box

2006-03-06 Thread Marcelo Volmaro
If you don´t mind in adapting the source to use the MM components (or if  
you want to use it out of the box):

http://osflash.org/flashtextarea


On Mon, 06 Mar 2006 11:21:12 -0300, Mike Britton [EMAIL PROTECTED]  
wrote:



This one looks nice:

http://www.flashloaded.com/flashcomponents/flashtexteditor/

Pricey though for a component.

hth,

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

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




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

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


Re: [Flashcoders] Sound.stop(linkage) problem

2006-03-06 Thread Ramon Miguel M. Tayag
Yup, I basically have a SoundStreamer class that does all the work:

class net.quirkworks.sound.SoundStreamer// extends Sound
{   
function SoundStreamer(mc:MovieClip)//, bAutoPlay:Boolean)
{
if (arguments.length == 0)
{
this._sound = new Sound();
} else if (arguments.length == 1)
{
_mc.createEmptyMovieClip(mcSound + _N_SOUND_COUNT,
_mc.getNextHighestDepth() );
this._sound = new Sound(_mc[mcSound + 
_N_SOUND_COUNT]);
_N_SOUND_COUNT++;
}
}

On 3/2/06, Matt Ganz [EMAIL PROTECTED] wrote:
 have you created a sound object for every sound in your file?

 i believe the minute you want to manipulate sounds independent from
 one another you have to create a sound object for each sound in your
 movie. otherwise, it'll affect all sounds...as that 'sounds' what is
 happening to you.

 On 3/2/06, Anggie Bratadinata [EMAIL PROTECTED] wrote:
  Hi Ramon,
  I think you should invoke stop() to the mc into which the sound is
  loaded / attached.
 
  --
  Anggie Bratadinata
  Web|Graphic|Flash
  Jl. Raya Langsep 21
  Malang - East Java
  I N D O N E S I A
  http://design.ibshastautama.com
 
 
  Ramon Miguel M. Tayag wrote:
   Hi everyone,
  
   I was pulling out my hair a while ago because in my movie, when I
   stopped one sound it stopped all.  After commenting code randomly, I
   found out the anySound.stop() stopped all sounds.
  
   Looking at the documentation, it says you can specify what sound to
   stop using a linkage ID.  I understand that'd work fine if you use
   sound.attachSound (getting a sound from the library), but what if you
   use sound.loadSound(file)?  What is the linkageID now?
  
   Thank you,
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 

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

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




--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Newbiew question AS3

2006-03-06 Thread stefan burt
Will AS3 replace AS2 in flash anytime soon, or is it just a flex
variant of the language?

Cheers

Stefan

On 3/6/06, Sam Thorne [EMAIL PROTECTED] wrote:
 AS3 is not part of Flash 8, which is why you didn't find anything on
 it in the official documentation.


 On 6 Mar 2006, at 12:42PM, Forums @ Existanze wrote:

  Hello all,
 
  This is my first post in this mailing list after reading it for
  about week,
  just to get the feel of thing. I have seen actionscript v3 being
  mentioned
  here. I am a programmer, not so much of a designer, so I would be
  really
  interested to find out more about v3, changes and new functionality
  in the
  language. I went to the formerly macromedia site to look for
  changes in
  flash8 but I saw no mention of as v3? Can anyone point me to a
  reference to
  it?
 
 
 
  Thank you for reading
 
  Gyftus
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com

 Regards,

 Sam Thorne
 Interaction Design

 Web: http://www.native.com/
 Tel: +44 (0)207 588 7970
 Fax: +44 (0)207 588 7971


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

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

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

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


RE: [Flashcoders] Newbiew question AS3

2006-03-06 Thread Merrill, Jason
It's not just a Flex variant of the language

The first product to formally use AS3 will be Flex 2, but will also be a
part of Flash:

http://labs.macromedia.com/technologies/actionscript3/ 
http://labs.macromedia.com/technologies/flashplayer8_5/

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of stefan burt
Sent: Monday, March 06, 2006 10:07 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Newbiew question AS3

Will AS3 replace AS2 in flash anytime soon, or is it just a flex
variant of the language?

Cheers

Stefan

On 3/6/06, Sam Thorne [EMAIL PROTECTED] wrote:
 AS3 is not part of Flash 8, which is why you didn't find anything on
 it in the official documentation.


 On 6 Mar 2006, at 12:42PM, Forums @ Existanze wrote:

  Hello all,
 
  This is my first post in this mailing list after reading it for
  about week,
  just to get the feel of thing. I have seen actionscript v3 being
  mentioned
  here. I am a programmer, not so much of a designer, so I would be
  really
  interested to find out more about v3, changes and new
functionality
  in the
  language. I went to the formerly macromedia site to look for
  changes in
  flash8 but I saw no mention of as v3? Can anyone point me to a
  reference to
  it?
 
 
 
  Thank you for reading
 
  Gyftus
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com

 Regards,

 Sam Thorne
 Interaction Design

 Web: http://www.native.com/
 Tel: +44 (0)207 588 7970
 Fax: +44 (0)207 588 7971


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

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

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Newbiew question AS3

2006-03-06 Thread stefan burt
I've heard a lot about flex are there any sites/app's on the net which
offer a good impression of what the platform is capable of?

I have taken the time to watch a few of the video on the
adobe/macromedia site but as there isn't a build of flex for osx I
haven't been able to test drive it to get a better impression, but I
would like to think Adobe might look at resolving this at somepoint
you never know :)

Stefan

On 3/6/06, Merrill, Jason [EMAIL PROTECTED] wrote:
 It's not just a Flex variant of the language

 The first product to formally use AS3 will be Flex 2, but will also be a
 part of Flash:

 http://labs.macromedia.com/technologies/actionscript3/
 http://labs.macromedia.com/technologies/flashplayer8_5/

 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of stefan burt
 Sent: Monday, March 06, 2006 10:07 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Newbiew question AS3
 
 Will AS3 replace AS2 in flash anytime soon, or is it just a flex
 variant of the language?
 
 Cheers
 
 Stefan
 
 On 3/6/06, Sam Thorne [EMAIL PROTECTED] wrote:
  AS3 is not part of Flash 8, which is why you didn't find anything on
  it in the official documentation.
 
 
  On 6 Mar 2006, at 12:42PM, Forums @ Existanze wrote:
 
   Hello all,
  
   This is my first post in this mailing list after reading it for
   about week,
   just to get the feel of thing. I have seen actionscript v3 being
   mentioned
   here. I am a programmer, not so much of a designer, so I would be
   really
   interested to find out more about v3, changes and new
 functionality
   in the
   language. I went to the formerly macromedia site to look for
   changes in
   flash8 but I saw no mention of as v3? Can anyone point me to a
   reference to
   it?
  
  
  
   Thank you for reading
  
   Gyftus
  
  
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
 
  Regards,
 
  Sam Thorne
  Interaction Design
 
  Web: http://www.native.com/
  Tel: +44 (0)207 588 7970
  Fax: +44 (0)207 588 7971
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 NOTICE:
 This message is for the designated recipient only and may contain privileged 
 or confidential information. If you have received it in error, please notify 
 the sender immediately and delete the original. Any other use of this e-mail 
 by you is prohibited.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] Newbiew question AS3

2006-03-06 Thread Mike Britton
Adobe Labs http://labs.macromedia.com/ is the place to go for demos and
examples.

 there isn't a build of flex for osx

It would be consistent with Eclipse's cross-platform standing if one were
eventually made available.  Flex Builder 2 should install on any machine
ColdFusion can install on.

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

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


Re: [Flashcoders] .curveTo question

2006-03-06 Thread Tom Rhodes
curveTo takes 4 args, not 2. have a look in the help for curveTo, you 
need to specify the control points and the anchor points...


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

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Ramon Miguel M. Tayag
Yes, with 3rd party apps like Zinc or SWFStudio.

On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
 Is there anyway we can remove the Setting and About Macromedia ... when
 users do the right click? My client need to use right click in this project

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

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



--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Gaia-Tek

Here's what I've been able to find out:

Disable Flash movie right-click menu

disabling right-clicking on a Flash movie (in IE [on a PC])

so, i've complained for some time on various forums about the inherent 
security flaw of having the About Macromedia Flash Player X open a new 
browser window.


scenario

let's say you're building an intranet app as a HTA (hypertext 
application). You are putting this app into a controlled environment 
(school, library, kiosk) where the user shouldn't have permission to the 
file system (windows explorer, dos prompt, even applications that have a 
File-Open dialog). You've even written your own replacement shell for 
Windows that only shows icons for your apps or select user-installed 
apps (yes, we've done this!). Internet Explorer is one of those 
applications that you'd rather not have them being able to run, as a 
user could type c: into the URL area and tah-dah - instant access to 
the harddrive.


so, you decide that Flash would make a kick-ass front end for your app - 
what with no page refresh needed, remoting to local web services, not to 
mention all the cool visual things you can do...


you build your app, test it, place it in your secure environment and the 
very first day, someone has wiped the system clean. HOW THE #$^@# did 
that happen?


this is where you can thank all those fine folks at MM who insist that 
the best way to tell a user about their product is to take them to a 
WEBSITE... brilliant... so, what happens is of course the user 
right-clicked your interface, selected About Macromedia Flash Player 
X, which opened a new browser window, and then proceeded to have their 
way with the local machine.


/scenario

(note to MM: i appreciate all the other security features in the newer 
players, but i still think this is more of an issue than redirecting 
content is or was...)


anyways, so luckily, after several failed attempts to get around said 
blatent security hazard without writing a custom ocx that just wraps the 
flash player and passes through fscommands, i edited together some 
existing code, added some things that flash needed, and was able to 
completely disable the right-click context menu over a flash movie. 
woot! of course, as i'm focused on making this work in an HTA, this is 
PC IE specific code. i know this won't work as written in 
Netscape/Mozilla, though with the newest players, it just might with 
some slight Javascript manipulation.


so here's the scoop:

there are two things that have to be done within the OBJECT block of 
the Flash movie.


1) the Flash object has to have the WMODE parameter set to OPAQUE:

param name=wmode value=opaque

2) the Flash movie should be given an ID inline with the OBJECT tag:

object id=myFlashMovie classid=... ...

(note that this step is really optional - but we'll discuss that below)

once these are done, a small amount of javascript can be added to the 
HEAD section of the HTML page:


script language=JavaScript

// function to handle right-click anywhere on page
function handleclick() {
 if (event.button==2)
   {
 // right button (2) was pressed
 showAboutBox();
   }
}

// function that shows our custom about box
function showAboutBox() {
 popup_msg = Content Menu Disabled Trick\n\n;
 popup_msg+= This one works even over Flash content.;
 // if the source of the right click was from the Flash movie,
 // we add an about MM note
 // also, note the id tag in the flash object below
 if (event.srcElement.id == myFlashMovie) {
   popup_msg += \n\nThis Flash movie was made with Macromedia FlashMX;
 }
 alert(popup_msg);
}

// set handler function for mouse presses
document.onmousedown=handleclick;

/script

that's it! you'll now have a custom alert popping up when a user 
right-clicks anywhere on the page, including over Flash movies.


now, you might have noticed that in that code, i check the ID of the 
click event to see if we're over a Flash movie, and if so, we give a 
blurb to MM for making the fine product. However, if you have more than 
one movie on the page, you could change the test the classid of the 
srcElement like so:


 if (event.srcElement.classid == 
clsid:D27CDB6E-AE6D-11cf-96B8-44455354) {

   popup_msg += \n\nThis Flash movie was made with Macromedia FlashMX;
 }

That is why i mentioned that step 2 above is optional.

You could also use the over a Flash movie test to decide whether or 
not to show the pop-up. That is, you could only show the custom popup 
screen if they right-clicked on a Flash movie, thus still allowing 
right-clicking on the HTML portion of a page.


At this point, i should note that the popup screen that is displayed is 
a very important part of this whole equation. You simply can't 
cancelBubble, return false, or just set the event to nothing for this 
trick to work. believe me, i've tried. the deal is is that it seems that 
the Flash player will still capture the mouse click and show the context 
menu unless you have some other interaction 

[Flashcoders] random concatenated txt question

2006-03-06 Thread murder design
this fills up my dynamic txt field. then just stops. it should keep
producing a random string of 19 characters (the length of the txt field),
then replace it every frame with a new string of random characters. instead
it just fills up, then stops. ugh!
-



ascii = new Array(a, b, c, d, e, f, g, h, i, j,
  k, l, m, n, o, p, q, r, s, t,
  u, v, w, x, y, z);

function random1() {
 x = ascii[random(ascii.length)];
 return x;
}

function random2() {
 yy = _root.myTxt_txt.length;
 for (x = 0; x  yy; x++) {
  j = random1();
  if (initialTxt == undefined) {
   initialTxt = '';
  }
  initialTxt += j.toString();
 }
 return initialTxt;
}

_root.onEnterFrame = function() {
 myTxt_txt.text = random2();
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] .curveTo question

2006-03-06 Thread Scott Hyndman
I believe the curveTo() method take four arguments. Anchor coords and control 
coords. Just something I noticed offhand. I haven't tested the code.

Scott


-Original Message-
From:   [EMAIL PROTECTED] on behalf of murder design
Sent:   Mon 3/6/2006 12:32 PM
To: Flashcoders mailing list; Flashnewbie Mailing List
Cc: 
Subject:[Flashcoders] .curveTo question
i am trying to draw a rectangle, with only three out of four curves. the
rectangle has only one straight edge, the top right. by my calculations, the
rectangle should be 50 pixels high, and 150 wide. for some reason, this code
produces a weird polygon with no curves. any ideas?

function drawBar(xx, yy) {
 _root.createEmptyMovieClip(bar, 1);
 with(bar) {
  beginFill(myMenuColors[0], 100);
  moveTo(15, 0);
  lineTo(150, 0);
  lineTo(150, 35);
  curveTo(135, 50);
  lineTo(15, 50);
  curveTo(0, 35);
  lineTo(0, 15);
  curveTo(15, 0);
  endFill();
  _x = xx;
  _y = yy;
 }
}

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

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



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

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

RE: [Flashcoders] .curveTo question

2006-03-06 Thread Scott Hyndman
Oops, I should have read this reply first.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Tom Rhodes
Sent:   Mon 3/6/2006 12:41 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] .curveTo question
curveTo takes 4 args, not 2. have a look in the help for curveTo, you 
need to specify the control points and the anchor points...

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

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



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

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

Re: [Flashcoders] random concatenated txt question

2006-03-06 Thread Byron Canfield
I don't see anything there in that code that limits the string length to
19, nor anything to reset the string to a null value upon reaching the 19.

It just keeps on concatenating onto the end of the string, but you can't
see it because of the limited size of the textfield.

Try putting a trace in your onEnterFrame() and you'll see what I mean:

_root.onEnterFrame = function() {
myTxt_txt.text = random2();
trace(myTxt_txt.text: +myTxt_txt.text.length)
};

That said, it seems to me that you're really going about this the hard
way. Each of those single-letter strings is possible to represent with a
numeric ascii value, such that there is no need for the array -- just
convert the chosen numeric value to a character at the time it is
concatenated.

-- 
Byron Barn Canfield


 this fills up my dynamic txt field. then just stops. it should keep
 producing a random string of 19 characters (the length of the txt field),
 then replace it every frame with a new string of random characters.
 instead
 it just fills up, then stops. ugh!
 -



 ascii = new Array(a, b, c, d, e, f, g, h, i, j,
   k, l, m, n, o, p, q, r, s, t,
   u, v, w, x, y, z);

 function random1() {
  x = ascii[random(ascii.length)];
  return x;
 }

 function random2() {
  yy = _root.myTxt_txt.length;
  for (x = 0; x  yy; x++) {
   j = random1();
   if (initialTxt == undefined) {
initialTxt = '';
   }
   initialTxt += j.toString();
  }
  return initialTxt;
 }

 _root.onEnterFrame = function() {
  myTxt_txt.text = random2();
 }
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Dominico Savio
I want to use this online, so can Zinc and SWFStudio do that? or I have to
export swf out as EXE?

On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:

 Yes, with 3rd party apps like Zinc or SWFStudio.

 On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
  Is there anyway we can remove the Setting and About Macromedia ...
 when
  users do the right click? My client need to use right click in this
 project
 
  Dominic
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 


 --
 Ramon Miguel M. Tayag
 Managing Director
 Quirkworks
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] random concatenated txt question

2006-03-06 Thread michael . bordner
you might have an issue with using x as a global variable?   try defining 
x with var in the for loop.. or somewhere in the function.   if you do 
not use var, it should become a global variable.


-mike




Byron Canfield [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
03/06/2006 01:55 PM
Please respond to
Flashcoders mailing list flashcoders@chattyfig.figleaf.com


To
flashcoders@chattyfig.figleaf.com
cc

Subject
Re: [Flashcoders] random concatenated txt question






I don't see anything there in that code that limits the string length to
19, nor anything to reset the string to a null value upon reaching the 19.

It just keeps on concatenating onto the end of the string, but you can't
see it because of the limited size of the textfield.

Try putting a trace in your onEnterFrame() and you'll see what I mean:

_root.onEnterFrame = function() {
 myTxt_txt.text = random2();
 trace(myTxt_txt.text: +myTxt_txt.text.length)
};

That said, it seems to me that you're really going about this the hard
way. Each of those single-letter strings is possible to represent with a
numeric ascii value, such that there is no need for the array -- just
convert the chosen numeric value to a character at the time it is
concatenated.

-- 
Byron Barn Canfield


 this fills up my dynamic txt field. then just stops. it should keep
 producing a random string of 19 characters (the length of the txt 
field),
 then replace it every frame with a new string of random characters.
 instead
 it just fills up, then stops. ugh!
 -



 ascii = new Array(a, b, c, d, e, f, g, h, i, j,
   k, l, m, n, o, p, q, r, s, t,
   u, v, w, x, y, z);

 function random1() {
  x = ascii[random(ascii.length)];
  return x;
 }

 function random2() {
  yy = _root.myTxt_txt.length;
  for (x = 0; x  yy; x++) {
   j = random1();
   if (initialTxt == undefined) {
initialTxt = '';
   }
   initialTxt += j.toString();
  }
  return initialTxt;
 }

 _root.onEnterFrame = function() {
  myTxt_txt.text = random2();
 }
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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

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

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


Re: [Flashcoders] random concatenated txt question

2006-03-06 Thread murder design
well, i have localized x in the for loop, and changed the value in the
single number generator from x to singleLetter. that seems to have been a
giant part of the problem. however now, the code produces one solid string.
blinks out. no text, then freezes up.




ascii = new Array(a, b, c, d, e, f, g, h, i, j,
  k, l, m, n, o, p, q, r, s, t,
  u, v, w, x, y, z);

function random1() {
 singleLetter = ascii[random(ascii.length)];
 return singleLetter;
}

function random2() {
 yy = _root.myTxt_txt.length;
 for (var x:Number = 0; x  yy; x++) {
  j = random1();
  if (initialTxt == undefined) {
   initialTxt = '';
  }
  initialTxt += j.toString();
 }
 return initialTxt;
}

_root.onEnterFrame = function() {
 uu = random2();
 myTxt_txt.text = uu;
  trace(myTxt_txt.text: +myTxt_txt.text.length)
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] secure server communication

2006-03-06 Thread lars
hi all. i know this question has been asked a few times, but never
theless i have to ask it again: i have to do a multi-level game where
each level when done reveals a secret word and all words together
result in a end-level solution-word. the players have to register
first, dont have to play all levels in one go (means can log on and
log off and all solved level-words are stored on server side) and the
first player that makes all levels will win a price.

problem/question: are there any known problems at https connections
between server-side (php) and flash (v7)? what are the best ways to
ensure a hacker proof solution? will https and md5 stored information
inside the swf do? is there a better/safer way than a post request
between flash and server side?

sorry if this might be off-topic to some one. thanks, best: lars


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

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


RE: [Flashcoders] random concatenated txt question

2006-03-06 Thread Hairy Dog Digital

You're first populating myTxt_txt with a string of 19 spaces or other
character, correct?

Are you certain that random2() is not appending a new string to the end of
the existing one? What if trimmed it down and changed it to...

function random2() {
  yy = _root.myTxt_txt.length;
  initialTxt = ;
  for (x = 0; x  yy; x++) {
j = random1();
initialTxt = j.toString();
  }
  return initialTxt;
} 

Sorry, if these are basic questions, just covering the bases :p



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

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


Re: [Flashcoders] random concatenated txt question

2006-03-06 Thread murder design
great fix! thx guys(or gals):



ascii = new Array(a, b, c, d, e, f, g, h, i, j,
  k, l, m, n, o, p, q, r, s, t,
  u, v, w, x, y, z, !, @, #, $,
  %, ^, );

function random1() {
 singleLetter = ascii[random(ascii.length)];
 return singleLetter;
}

function random2() {
 yy = _root.myTxt_txt.length;
 initialTxt = ;
 for (var x:Number = 0; x  yy; x++) {
  j = random1();
  initialTxt += j.toString();
 }
 return initialTxt;
}

_root.onEnterFrame = function() {
 uu = random2();
 myTxt_txt.text = uu;
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] referencing movieclips in an array ..

2006-03-06 Thread murder design
i am trying to dynamically create 20 movieclips. i want to name them
dynamically, and reference the clip within an array. is this the best way to
go about it? will this even work?...




// array to hold dynamically created movieclips within
myItems = new Array();

// add a movie clip
function addMenuElement(myName:String) {
 var myName:MovieClip = _root.createEmptyMovieClip(myName, 0);
 myItems.push(myName);
};

// all movieclips are named according myMC and a number
myName = myMC;

// create 20 movieclips
for(var x:Number = 0; x  20; x++) {
 y = menu + x.toString() + _mc;
 myName = y;
 trace(myName);
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Load external bitmap into bitmapdata?

2006-03-06 Thread Marcelo Volmaro

Hi list!,

It´s possible to load an external bitmap (jpg, png, gif) into a bitmapData?

Or..

It´s possible to load an external bitmap into an MC and then render that  
mc into a bitmapData?


All what i tried didn´t work...

Thanks in advance!,


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

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


Re: [Flashcoders] random concatenated txt question

2006-03-06 Thread Byron Canfield
I think I would take the simpler route:

ascii = new Array(a, b, c, d, e, f, g, h, i,
j, k, l, m, n, o, p, q, r, s, t, u,
v, w, x, y, z);

function fncShuffle() {
return Math.floor(Math.random()*3)-1;
}

_root.onEnterFrame = function() {
myTxt_txt.text = ascii.sort(fncShuffle).join().substr(0, 19);
};


-- 
Byron Barn Canfield


 great fix! thx guys(or gals):



 ascii = new Array(a, b, c, d, e, f, g, h, i, j,
   k, l, m, n, o, p, q, r, s, t,
   u, v, w, x, y, z, !, @, #, $,
   %, ^, );

 function random1() {
  singleLetter = ascii[random(ascii.length)];
  return singleLetter;
 }

 function random2() {
  yy = _root.myTxt_txt.length;
  initialTxt = ;
  for (var x:Number = 0; x  yy; x++) {
   j = random1();
   initialTxt += j.toString();
  }
  return initialTxt;
 }

 _root.onEnterFrame = function() {
  uu = random2();
  myTxt_txt.text = uu;
 }
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


[Flashcoders] Q:Tween Class..detect tween in progress

2006-03-06 Thread bitstreams
Hi
using the built in tween class and not able to figure out how to detect a tween 
in progress.
There's 'OnMotionFinished' and 'OnMotionStarted'

With fuse you can simply do a boolean check (if (tween)).

Any Tween Class experts out there?
Thanks in advance
Jim Bachalo


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] random concatenated txt question

2006-03-06 Thread Ron Wheeler

Does this need to be inside the loop?

if (initialTxt == undefined) {
  initialTxt = '';
 }


Why not clean up the code by typing it fully to reduce or eliminate the 
possibility of silly errors.

initialTxt is never declared.

Why is this myTxt not on _root with the other one.

_root.onEnterFrame = function() {
uu = random2();
myTxt_txt.text = uu;
 trace(myTxt_txt.text: +myTxt_txt.text.length)


I have a feeling that if you clean up the code, it will suddenly start 
to work.


Ron

murder design wrote:

well, i have localized x in the for loop, and changed the value in the
single number generator from x to singleLetter. that seems to have been a
giant part of the problem. however now, the code produces one solid string.
blinks out. no text, then freezes up.




ascii = new Array(a, b, c, d, e, f, g, h, i, j,
  k, l, m, n, o, p, q, r, s, t,
  u, v, w, x, y, z);

function random1() {
 singleLetter = ascii[random(ascii.length)];
 return singleLetter;
}

function random2() {
 yy = _root.myTxt_txt.length;
 for (var x:Number = 0; x  yy; x++) {
  j = random1();
  if (initialTxt == undefined) {
   initialTxt = '';
  }
  initialTxt += j.toString();
 }
 return initialTxt;
}

_root.onEnterFrame = function() {
 uu = random2();
 myTxt_txt.text = uu;
  trace(myTxt_txt.text: +myTxt_txt.text.length)
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



  

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

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


[Flashcoders] Shape tweens through AS?

2006-03-06 Thread Roy Pardi
I haven't dug very deeply into the tween class. Anyone know if it is
possible to do shape tweens with it (or has someone written a custom class
to do this)?

thanks!

--Roy
-- 
-
Studio Blog: http://www.roypardi.com/studio/

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

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


Re: [Flashcoders] Q:Tween Class..detect tween in progress

2006-03-06 Thread eric dolecki
onTweenUpdate I believe

On 3/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi
 using the built in tween class and not able to figure out how to detect a
 tween in progress.
 There's 'OnMotionFinished' and 'OnMotionStarted'

 With fuse you can simply do a boolean check (if (tween)).

 Any Tween Class experts out there?
 Thanks in advance
 Jim Bachalo


 [e] jbach at bitstream.ca
 [c] 416.668.0034
 [w] www.bitstream.ca
 
 ...all improvisation is life in search of a style.
  - Bruce Mau,'LifeStyle'
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] Load external bitmap into bitmapdata?

2006-03-06 Thread Adrian Park
Hey Marcelo,

I've been playing with BitmapData for the first time this past weekend so I
stand to be corrected on what I'm about to say!

My understanding is that you can only load BitmapData from an existing image
which is already in your library and has a linkage ID. For this reason, I
don't think you can load an image and get its BitmapData. I was thinking
there might be a workaround though...

I was going to try embedding the jpg/png/gif in an swf and giving it a
linkage id in the library, then load that swf into your master movie and
attach the BitmapData from the loaded swf's library.

Possible issues? I know you can't attach library assets from a loaded swf
into another swf so the same limitation may apply with BitmapData. Again, I
thought a workaround for this might be to attach the BitmapData into the swf
you've just loaded and then clone it to a BitmapData object elsewhere?

As you can see, I've been doing a lot of thinking and not a lot of doing so
I'm not sure if this is of any help at all!

I'd be very interested to know if any of this works.

Cheers, Adrian P

On 3/6/06, Marcelo Volmaro [EMAIL PROTECTED] wrote:

 Hi list!,

 It´s possible to load an external bitmap (jpg, png, gif) into a
 bitmapData?

 Or..

 It´s possible to load an external bitmap into an MC and then render that
 mc into a bitmapData?

 All what i tried didn´t work...

 Thanks in advance!,


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

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

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

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


Re: [Flashcoders] 2D first person shooter

2006-03-06 Thread Samuel Santos
Well... It can be and today it's more usual be in 3D

but in the begin like the others friends of the list said, Doom and
Wolfenstein are not made in 3D
Both are 2D simulate 3D with sprites.

and there is a recriation of Wolfenstein 3D in flash 8 in this link:

http://www.symphonyplanet.com/glenrhodes/wolf/myRay.html

but there is no source
and it was I'm looking for... to learn :)

ah, and thanks for the links guys

Samuel

p.s.: just to notice: sorry for my bad english...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Shape tweens through AS?

2006-03-06 Thread Zeh Fernando

I haven't dug very deeply into the tween class. Anyone know if it is
possible to do shape tweens with it (or has someone written a custom class
to do this)?


Well, short answer: you can't do it. It isn't a matter of building classes 
for it; you can't just modify an existing drawing.



There are two things you can do though, depending on what you actually want 
to build:


1. build a normal shape tween using the timeline, then use any tween 
class/code to control the playhead on that timeline, so you can go back and 
forth on the animation, use different times, etc.


2. build objects by code (using the drawing API). Then you'll be fully able 
to animate each of their points separately. This is overkill though and 
probably not what you want, since you will not only have to draw all your 
objects by code, but also need to create code to properly translate the 
points of one drawing to the other.



- Zeh 


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

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


[Flashcoders] Accesing Deltapacket

2006-03-06 Thread Felipe Fernandez
Hi, I'm in trouble with DeltaPacket, Deltas and so on.
I have a DataSet bind to a DataGrid. This datagrid is editable and
it's allowed add and remove items.I know changes are stored in DataSet
Deltapacket, but I want to access that changes in order to send to
server using remoting. I know about resolvers but I dont wanna use
them.
All I need to know is how access to data in deltapacket.
By example, How can I know what item (row) was added or remove?

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

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


Re: [Flashcoders] Shape tweens through AS?

2006-03-06 Thread Roy Pardi
At 6:08 PM -0300 3/6/06, Zeh Fernando wrote:
Well, short answer: you can't do it. It isn't a matter of building classes
for it; you can't just modify an existing drawing.


thanks for the succinct answer!

I'm coming to AS from the Director/Lingo side of the street. In Director,
the Vector Shape data type (which uses the Flash xtra/player code)
exposes all the data points so they can be manipulated through code. I
guess I assumed this was a feature in Flash that was carried over. Guess
not...

--Roy
-- 
-
Studio Blog: http://www.roypardi.com/studio/

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

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


Re: [Flashcoders] Load external bitmap into bitmapdata?

2006-03-06 Thread Marcelo Volmaro

Indeed, it works!,
Also, trying this i´ve found a method to attach loaded movies as  
bitmaps... now i can create libraries of MCs!!


Thanks!

On Mon, 06 Mar 2006 19:50:24 -0300, JesterXL [EMAIL PROTECTED]  
wrote:



I started to eat a cup, but it really didn't taste so good.  Suddenly, my
mouth really hurt trying to voraciously chew on ceramics, thus I gave up
upon realising cups don't taste so good.

...however, this code in fact works:

import flash.display.BitmapData;
import flash.geom.Rectangle;
import flash.geom.Matrix;
import flash.geom.ColorTransform;

function init()
{
 Stage.align = TL;
 Stage.scaleMode = noScale;

 createEmptyMovieClip(image_mc, 0);

 var mcl:MovieClipLoader = new MovieClipLoader();
 mcl.addListener(this);
 mcl.loadClip(test.jpg, image_mc);
}

function onLoadInit(target)
{
 var width:Number = image_mc._width;
 var height:Number = image_mc._height;
 var transparent:Boolean = false;
 var fillColor:Number = 0x;

 var myBitmapData:BitmapData = new BitmapData(width, height, transparent,
fillColor);
 myBitmapData.draw(image_mc, new Matrix(), new ColorTransform());

 createEmptyMovieClip(copy_mc, 1);
 copy_mc._x = 20;
 copy_mc._y = 20;
 copy_mc.attachBitmap(myBitmapData, 0);

 image_mc._alpha = 20;
}

init()

- Original Message -
From: Marcelo Volmaro [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, March 06, 2006 5:38 PM
Subject: Re: [Flashcoders] Load external bitmap into bitmapdata?


The problem is: I need to load a bitmap. I can´t embed the bitmap inside  
a

swf, because i have no control over the bitmaps.
Any other ideas?

On Mon, 06 Mar 2006 17:36:46 -0300, Adrian Park [EMAIL PROTECTED] wrote:


Hey Marcelo,

I've been playing with BitmapData for the first time this past weekend
so I
stand to be corrected on what I'm about to say!

My understanding is that you can only load BitmapData from an existing
image
which is already in your library and has a linkage ID. For this reason,  
I

don't think you can load an image and get its BitmapData. I was thinking
there might be a workaround though...

I was going to try embedding the jpg/png/gif in an swf and giving it a
linkage id in the library, then load that swf into your master movie and
attach the BitmapData from the loaded swf's library.

Possible issues? I know you can't attach library assets from a loaded  
swf

into another swf so the same limitation may apply with BitmapData.
Again, I
thought a workaround for this might be to attach the BitmapData into the
swf
you've just loaded and then clone it to a BitmapData object elsewhere?

As you can see, I've been doing a lot of thinking and not a lot of doing
so
I'm not sure if this is of any help at all!

I'd be very interested to know if any of this works.

Cheers, Adrian P

On 3/6/06, Marcelo Volmaro [EMAIL PROTECTED] wrote:


Hi list!,

It´s possible to load an external bitmap (jpg, png, gif) into a
bitmapData?

Or..

It´s possible to load an external bitmap into an MC and then render  
that

mc into a bitmapData?

All what i tried didn´t work...

Thanks in advance!,


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

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


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

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








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

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


[Flashcoders] LoadSound from shoutcast server

2006-03-06 Thread flashcoders flashcoders
 Hi,

I have try to make a radio mp3 player who play mp3 stream coming from
server.
All works fine in the Flash Api or when y test locally the swf.
code
ur = http://193.201.103.19:9100; http://193.201.103.19:9100/;
mySnd = new Sound();
mySnd.loadSound( ur,true);
/code

But when i tried to build a desktop application using mprojector or
Screenweaver Os the stream don't load.
This is not a security issue, so i tried to put my swf on a web server...
doesn't work anymore.

For FireFox i find a trick by adding a /; just after the url and that
work:
code
ur = http://193.201.103.19:9100; http://193.201.103.19:9100/;
mySnd = new Sound();
mySnd.loadSound( ur+ /;,true);
/code

But it doesn't works in IE and in mprojector generated files.

So i have a look a the httpheader and see that for the radio who use
shoutcast send nothing after HTTP/1.x 200 OK and other radio send
something like :
HTTP/1.x 200 OK
Content-Type: audio/mpeg
icy-br: 128
icy-genre: rock
icy-name: ouifm - la radio rock - relais 128 kbps
icy-notice1: BRThis stream requires a
href=http://www.winamp.com/;http://www.winamp.com/
Winamp/aBR
icy-notice2: SHOUTcast Distributed Network Audio Server/win32 v1.9.2BR
icy-pub: 0
icy-url: http://www.ouirock.com
Server: Icecast 2.2.0

So what can be the differences in a Flash swf file or an flash exe file AND
a file generated by mprojector or online swf ?


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

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


[Flashcoders] String problems?

2006-03-06 Thread Flash Mel
I am writing this wrong:


controller_mc.attachMovie(gallery_mc, gallery_mc, 50);
theGallery = controller_mc.gallery_mc;
gallery_contains = 4;

for (i = 0; igallery_contains; i++){
num = img_+i;
theGallery.num._alpha  = 0;
trace(num);
}

gallery_mc has _mc's in it named, img_0, img_1, img_2, img_3.

What am I doing wrong here?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] String problems?

2006-03-06 Thread Robert Leisle

What is it you're trying to do?
Your code is written correctly to get the result you described.
Is that not the result you were after?



Flash Mel wrote:


I am writing this wrong:


controller_mc.attachMovie(gallery_mc, gallery_mc, 50);
theGallery = controller_mc.gallery_mc;
gallery_contains = 4;

for (i = 0; igallery_contains; i++){
   num = img_+i;
   theGallery.num._alpha  = 0;
   trace(num);
}

gallery_mc has _mc's in it named, img_0, img_1, img_2, img_3.

What am I doing wrong here?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

 



--
~
Bob Leisle 
Headsprout Software  Engineering

http://www.headsprout.com
Where kids learn to read!


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

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


RE: [Flashcoders] String problems?

2006-03-06 Thread Geoffrey Williams
Need to 'eval' num. use array notation.

controller_mc.attachMovie(gallery_mc, gallery_mc, 50);
theGallery = controller_mc.gallery_mc;
gallery_contains = 4;

for (i = 0; igallery_contains; i++){
num = img_+i;
theGallery[num]._alpha  = 0;
trace(num);
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flash Mel
Sent: Monday, March 06, 2006 6:31 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] String problems?

I am writing this wrong:


controller_mc.attachMovie(gallery_mc, gallery_mc, 50);
theGallery = controller_mc.gallery_mc;
gallery_contains = 4;

for (i = 0; igallery_contains; i++){
num = img_+i;
theGallery.num._alpha  = 0;
trace(num);
}

gallery_mc has _mc's in it named, img_0, img_1, img_2, img_3.

What am I doing wrong here?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] Shape tweens through AS?

2006-03-06 Thread elibol
Why doesn't flash have this feature? That sounds like an excellent way to
control vectors...

I will go ahead and argue that the MovieClip has too much functionality, the
API is too big now. There should be a Vector class which with the MovieClip
class composes vector graphic interactivity, like the MovieClip/bitmapData
class composition. This way, the MovieClip class would handle the complex of
time, and the Vector class the complex of space. I would even argue that the
interactivity should be assigned to a seperate class. You could then use the
interactivity class (basically, Mouse/Key class) with the vector class to
compose static, vector based websites, or bitmap based websites using Flash.
If you decide to incorporate MovieClips into your composition, then you
could incorporate animations. This would even give more meaning to
components.

This would seem to complicate things, but given the proper categorization, I
find that it would simplify through complexity.

Ok enough of my rambling.

M.

On 3/6/06, Roy Pardi [EMAIL PROTECTED] wrote:

 At 6:08 PM -0300 3/6/06, Zeh Fernando wrote:
 Well, short answer: you can't do it. It isn't a matter of building
 classes
 for it; you can't just modify an existing drawing.
 

 thanks for the succinct answer!

 I'm coming to AS from the Director/Lingo side of the street. In Director,
 the Vector Shape data type (which uses the Flash xtra/player code)
 exposes all the data points so they can be manipulated through code. I
 guess I assumed this was a feature in Flash that was carried over. Guess
 not...

 --Roy
 --
 -
 Studio Blog: http://www.roypardi.com/studio/

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

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

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

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Ramon Miguel M. Tayag
Ah, Zinc and SWFStudio are only for standalone apps.  You'll be better
of w/ Gaia's advice.

On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
 I want to use this online, so can Zinc and SWFStudio do that? or I have to
 export swf out as EXE?

 On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:
 
  Yes, with 3rd party apps like Zinc or SWFStudio.
 
  On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
   Is there anyway we can remove the Setting and About Macromedia ...
  when
   users do the right click? My client need to use right click in this
  project
  
   Dominic
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
  --
  Ramon Miguel M. Tayag
  Managing Director
  Quirkworks
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Frame accurate FLV Dynamic Playlist??

2006-03-06 Thread Mike Connell
Anyone know if the following scenario is possible. 
Say we have two or more Flash FLV or SWF video files on our server. Each was
encoded at the same frame, aspect, and data rate. Let's call these clips
Clip A and Clip B.
Clip A is 1800 frames long or 60 seconds. 
Clip B is 5442 frames long or 3 minutes and 1 second, and 12 frames 
Question...Can we dynamically instruct the clients web browser with the
Flash plug ins to do the following task? 
FRAME accuratly play from frame 134 to frame 1433 of clip A, THEN
IMMEDIATELY cut to and play frame 23-786 in Clip B, THEN IMMEDIATELY cut to
and play frame 154-1799 in Clip A, and so on and so on
This function must appear to happen in the SAME flash window with the cuts
being frame accurate. 
My idea is to put all of the clip editing preview AND the client viewing
tasks in the client browser. This way we do not have to conform the low
resolution material.
There may be a clever way place two playback flash windows in a browser. At
the cut marks you change the priority between the two windows to reveal the
active window. You then cue up the next clip in the back window.
Any thoughts?? 

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

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

Re: [Flashcoders] Frame accurate FLV Dynamic Playlist??

2006-03-06 Thread Ramon Miguel M. Tayag
Hi Mike,

I might be wrong, but there isn't any way to tell a flv file to play a
certain frame.  The closest you can get would be to play at the
converted (and estimated, which might defeat the whole purpose)
millisecond time of the video.

I'd like to be wrong though... because I may have use for this as well.
--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Frame accurate FLV Dynamic Playlist??

2006-03-06 Thread Mike Connell

So far the best I can do is to seek to a key frame  I need to seek to and
immediatly play to a specific frame without setting a key frame.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ramon
Miguel M. Tayag
Sent: Monday, March 06, 2006 11:50 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Frame accurate FLV Dynamic Playlist??


Hi Mike,

I might be wrong, but there isn't any way to tell a flv file to play a
certain frame.  The closest you can get would be to play at the
converted (and estimated, which might defeat the whole purpose)
millisecond time of the video.

I'd like to be wrong though... because I may have use for this as well.
--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Dominico Savio
:( can't use the solution from Gaia-Tek :( because we not allowed to have
any message window popping up at all. I am trying to make an application
which stimulates MS offices using Flash, and as you know MS Office uses a
lot right click to do a lot of things, that's why having alert windows like
that is not allowed

On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:

 Ah, Zinc and SWFStudio are only for standalone apps.  You'll be better
 of w/ Gaia's advice.

 On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
  I want to use this online, so can Zinc and SWFStudio do that? or I have
 to
  export swf out as EXE?
 
  On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:
  
   Yes, with 3rd party apps like Zinc or SWFStudio.
  
   On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
Is there anyway we can remove the Setting and About Macromedia ...
   when
users do the right click? My client need to use right click in this
   project
   
Dominic
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
  
  
   --
   Ramon Miguel M. Tayag
   Managing Director
   Quirkworks
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 


 --
 Ramon Miguel M. Tayag
 Managing Director
 Quirkworks
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


RE: [Flashcoders] Shape tweens through AS?

2006-03-06 Thread Andreas Weber
Actually there are many very interesting uses for code-based Shape
Tweening, one of them is to dynamically morph any shape into any other
shape.

As for finding the coordinates of the points that define the shape: one
option is a custom, AS based shape editor / drawing tool. Another one is
to draw in the Flash IDE and then extract the drawing data with ASV
(using some code by Peter Hall) or Robin Dubreuil's brilliant JSFL
script sel2Draw (part of an old SDK).

For translating the points of one drawing to the points of the other one
- we'd need something analogous to the 'shape-hints' in the IDE. 
Another, much easier approach, is to just use shapes that have an equal
number of defining points, thus making it easy to map each point to a
point of the new shape.  

In this sample
http://www.motiondraw.com/md/as_samples/t/cards/2006/FlashCard.php
each shape is defined by 60 points - it is then quite straight-forward
to morph each shape into a randomly chosen other shape.

To make a shape with only 60 defining points look good (smooth) a fast
Catmull-Rom spline was helpful:
http://www.motiondraw.com/md/as_samples/t/CatmullRomSpline/tween.html

Shape tweens through AS - not as straight-forward as it would be if we
could access the drawing data at runtime, but still possible.

hth
--
Andreas Weber
motiondraw.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh
Fernando
Sent: Montag, 6. März 2006 22:08
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Shape tweens through AS?


I haven't dug very deeply into the tween class. Anyone know if it is  
possible to do shape tweens with it (or has someone written a custom 
class  to do this)?

Well, short answer: you can't do it. It isn't a matter of building
classes 
for it; you can't just modify an existing drawing.


There are two things you can do though, depending on what you actually
want 
to build:

1. build a normal shape tween using the timeline, then use any tween 
class/code to control the playhead on that timeline, so you can go back
and 
forth on the animation, use different times, etc.

2. build objects by code (using the drawing API). Then you'll be fully
able 
to animate each of their points separately. This is overkill though and 
probably not what you want, since you will not only have to draw all
your 
objects by code, but also need to create code to properly translate the 
points of one drawing to the other.


- Zeh 

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

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


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

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Michael Bedar
Doesn't office show a contextual menu on r-click? If so you can  
customize the contextual menu instead of hiding it...


var newMenu:ContextMenu = new ContextMenu();
newMenu.hideBuiltInItems();




On Mar 7, 2006, at 12:18 AM, Dominico Savio wrote:

:( can't use the solution from Gaia-Tek :( because we not allowed  
to have
any message window popping up at all. I am trying to make an  
application
which stimulates MS offices using Flash, and as you know MS Office  
uses a
lot right click to do a lot of things, that's why having alert  
windows like

that is not allowed

On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:


Ah, Zinc and SWFStudio are only for standalone apps.  You'll be  
better

of w/ Gaia's advice.

On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
I want to use this online, so can Zinc and SWFStudio do that? or  
I have

to

export swf out as EXE?

On 3/6/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:


Yes, with 3rd party apps like Zinc or SWFStudio.

On 3/7/06, Dominico Savio [EMAIL PROTECTED] wrote:
Is there anyway we can remove the Setting and About  
Macromedia ...

when
users do the right click? My client need to use right click in  
this

project


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

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




--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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




--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


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

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Dennis Roche
why not try director? drop the flash movie inside director and then on
export disable the context menu option. there shouldn't be a huge
performance hit. you could also dynamically load the swf file into director
and simply use the dcr as a stub movie.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Remove right click menu

2006-03-06 Thread Ramon Miguel M. Tayag
True, it would work a lot like www.goowy.com does (without FireFox,
because for some reason [probably the superimposed HTML], right
clicking the Flash window doesn't work in FireFox).

You'll still see the Settings and About or something like that...

On 3/7/06, Michael Bedar [EMAIL PROTECTED] wrote:
 Doesn't office show a contextual menu on r-click? If so you can
 customize the contextual menu instead of hiding it...

 var newMenu:ContextMenu = new ContextMenu();
 newMenu.hideBuiltInItems();


--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] referencing movieclips in an array ..

2006-03-06 Thread Dennis Roche
try this.

var _menuArray:Array = new Array();
var _baseName:String = mc_menu;

for (var i:Number = 0; i  20; i++) {
   _menuArray.push( this.createEmptyMovieClip( _baseName+i,
this.getNextHighestDepth()) );
}

that will do it... but you may want to create an instance of a mc and not an
empty one. look up attachMovie()

also your code wouldn't work... why you ask?
- you have a function that creates your mc's that is not even called!
- if you actually did call you would only get mc as you are constantly
setting the new mc at the same depth






On 07/03/06, murder design [EMAIL PROTECTED] wrote:

 i am trying to dynamically create 20 movieclips. i want to name them
 dynamically, and reference the clip within an array. is this the best way
 to
 go about it? will this even work?...

 // array to hold dynamically created movieclips within
 myItems = new Array();

 // add a movie clip
 function addMenuElement(myName:String) {
 var myName:MovieClip = _root.createEmptyMovieClip(myName, 0);
 myItems.push(myName);
 };

 // all movieclips are named according myMC and a number
 myName = myMC;

 // create 20 movieclips
 for(var x:Number = 0; x  20; x++) {
 y = menu + x.toString() + _mc;
 myName = y;
 trace(myName);
 }
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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