Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Re: Extendflash Digest, Vol 10, Issue 8

Re: Extendflash Digest, Vol 10, Issue 8

2004-06-16       - By John Grden

 Back
Reply:     1     2     3  

Yes! What she said! Lol, I typed it all out, then checked for other responses ;) that should do it!

John Grden
Senior Flash Developer
Macromedia Certified Flash MX Designer
Blitz Digital Studios

[e] John@(protected)
[c] 714.326.7211
[b] 818.762.6888 x207
[w] www.BlitzDS.com

[a] Blitz DS
  ? 11336 Camarillo Street
  ? Suite 200
  ? North Hollywood, CA 91602

> -- --Original Message-- --
> From: Extendflash-bounces@(protected) [mailto:Extendflash-
> bounces@(protected)] On Behalf Of Sharon Selden
> Sent: Wednesday, June 16, 2004 7:43 AM
> To: 'Extending Flash '
> Subject: RE: [ExtendFlash] Re: Extendflash Digest, Vol 10, Issue 8
>
> Hi Jay,
> Since the variables are ActionScript variables, they need to be expanded
> before their values are converted to strings. Try using this instead:
>
> var str:String > "fl.runScript(fl.configURI+\ "WindowSwf/labelScript.jsfl\ ",
> \ " "+frmLabelName_as+ "\ ", \ " "+frmLabelType_as+ "\ "); ";
> MMExecute(str);
>
> (I just woke up so hopefully that 's a clear explanation:)
> -
> sharon
>
> > -- --Original Message-- --
> > From: Extendflash-bounces@(protected)
> > [mailto:Extendflash-bounces@(protected)]On Behalf Of Jay Myers
> > Sent: Wednesday, June 16, 2004 6:57 AM
> > To: Extendflash@(protected)
> > Subject: [ExtendFlash] Re: Extendflash Digest, Vol 10, Issue 8
> >
> >
> > Hi John,
> > I will ask one more question and then I will stop and study
> > before I ask
> > again (I have been reading). I took your script and tried to
> > modify it
> > based on the info in Extending M. Flash MX 2004. I am having
> > the problem of
> > getting my variables in order to execute the commands.
> >
> > Here is my code in flash:
> > Stage.align = "TL ";
> > function click() {
> > //Obtain the values from the form
> > if (labelType_cb.value == " ") {
> > var frmLabelType_as = "\ "\ " ";
> > } else {
> > var frmLabelType_as = labelType_cb.value;
> > }
> > if (labelName_ti.value == " ") {
> > var frmLabelName_as = "\ "\ " ";
> > } else {
> > var frmLabelName_as = labelName_ti.text;
> > trace(frmLabelName_as);
> > }
> > var str:String > > "fl.runScript(fl.configURI+\ "WindowSwf/labelScript.jsfl\ ",
> > \ "frmLabelName_as\ ", \ "frmLabelType_as\ "); ";
> > MMExecute(str);
> > }
> > setLabel_btn.addEventListener( "click ", this);
> >
> > In JSFL:
> >
> > var myFrame > > fl.getDocumentDOM().timelines[0].layers[0].frames[0];
> > myFrame.labelType = labelVar;
> > myFrame.name =labelNameVar;
> >
> > Can you or someone assist me in debugging? It keeps telling
> > me that my vars
> > aren 't defined. I can trace them and they work in flash but not to
> > execute???
> >
> > j
> >
> > > From: Extendflash-request@(protected)
> > > Reply-To: Extendflash@(protected)
> > > Date: Wed, 16 Jun 2004 04:08:42 -0400
> > > To: Extendflash@(protected)
> > > Subject: Extendflash Digest, Vol 10, Issue 8
> > >
> > > Ah yes, you can do it with MMExecute:
> > >
> > >
> > >
> > > var selItems:String = MMExecute( "fl.runScript(\ "file:///C|/Program
> > > Files/Macromedia/Flash MX 2004/en/First
> > > Run/Commands/getSoundInfo.jsfl\ ", \ "getIndexes\ ", \ "Sounds\ "); ");
> > >
> > >
> > >
> > > John Grden
> > >
> > > Senior Flash Developer
> > >
> > > Macromedia Certified Flash MX Designer
> > >
> > > Blitz Digital Studios
> >
> >
> > __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> > Extendflash mailing list
> > Extendflash@(protected)
> > http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
> >
> > Courtesy of FlashGuru LTD.
> >
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> Extendflash mailing list
> Extendflash@(protected)
> http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
>
> Courtesy of FlashGuru LTD.



__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Extendflash mailing list
Extendflash@(protected)
http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk

Courtesy of FlashGuru LTD.