  | |  | Re: Extendflash Digest, Vol 10, Issue 8 | Re: Extendflash Digest, Vol 10, Issue 8
2004-06-16 - By John Grden
Back 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.
|
|
 |