Ask a Question related to Macromedia Director Basics, Design and Development.
-
Trentent #1
Simple go to frame (contents of field) script
Hi,
I'm having a problem with one of my scripts and I can't figure it out.
I have it set so that the I have a object on stage that, when
clicked, puts it's current frame into a field. On the frame that this
action goes to, is another objected, that when clicked, needs to go
back to the previous frame. The thing is, the frame it is going to is
one, so it's easy enough to use "go to frame X" but when going back,
there are many frames that it could go to. My plan was to put the
contents of the frame into the field and to go back, simply have the
script read the field and go to the proper frame.
Here is my script:
-- Script that goes to the prespecified frame
on mouseUp me
put the frame into field 243
go to frame "serviceproperties"
end
--Script that goes back to the previous frame
property theString
on mouseUp me
set theString = (line 1 of field 243)
go to frame theString
end
Does anyone know where I'm going wrong?
Trentent Guest
-
Text Frame Contents keep disappearing
Whenever I change the size of a text frame, the content keeps disappearing. HELP!!!! Windows ID CS -
Problem editing frame contents
Hi, We're using Contribute for one of our sites and it seems that Contribute 3 tries to outsmart the user invoking javascripts normaly ment for... -
CS: Can we scale a frame, independent of contents?
I swear I used to be able to type absolute dimensions for picture frames, so long as the frame was selected with the Direct Select tool. No longer.... -
Verifying Case of field contents
Hi All, A colleague wants a script for a quiz which takes the content of a field and checks it against the given answers. Pretty... -
simple php question: mysql_fetch_row display array contents
I am trying to do something in PHP that I thought would be fairly easy but has become rather troublesome. I'm trying to retrieve a list of... -
Trentent #2
Re: Simple go to frame (contents of field) script
I guess I should put that the script errors out on "go to frame
theString", but I do not know why. Can anyone help me out?>
> -- Script that goes to the prespecified frame
> on mouseUp me
> put the frame into field 243
> go to frame "serviceproperties"
> end
>
> --Script that goes back to the previous frame
> property theString
>
> on mouseUp me
> set theString = (line 1 of field 243)
> go to frame theString
> end
>
> Does anyone know where I'm going wrong?Trentent Guest



Reply With Quote

