Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Director MX Lingo help (frm rew, ff; zoom; duration)

Status
Not open for further replies.

Artemis13

Technical User
Feb 3, 2003
1
AL
There are four Parts I need help with. I know Flash MX(Action Scripts), Director MX as a program but not Director MX Lingo. Please bear with me, since I am new to it and I need the gaps filled in. I do not know for what some things stand for (ex. on Navigation direction...) and need to be replaced with.

Thank you for anyones help in response. It is more than greatly appreciated.
Sanja Hamon @ Weatherford Completions Systems


PART 1
Part of my presentation my animation is called Sequence_1 (Sprite 5). Runs from frame 103-254. I renamed the rew and ff buttons. The REW button is Sprite 11 (-1) and the FF button is Sprite 12 (1). Please is there a way you can help me fill in the gaps I would more then just appreciate it.



> on exitFrame me
> go to the frame
> end
>
> on Navigate direction
> go to the frame + direction
> end
>
> From your buttons use,
>
> on mouseUp me
> SendAllSprites (#Navigate, 1) --for the forward button
> end
>
> or
> on mouseUp me
> SendAllSprites (#Navigate, -1) --for the back button
> emd
>
> You could be tricky and name your forward button "1" and your backward
> button "-1" and use the same handler in each
>
> on mouseUp me
> direction = value (sprite (me.spriteNum).member.name)
> SendAllSprites (#Navigate, direction)
> end


PART 2
2 buttons to speed up and speed down sequence

I created 2 buttons to speed up the animation and speed it down. Now the sequence runs at 30 fps and when I want it to speed up it needs to go about 50fms, then clicked again to150fps, and on the third click it needs to go faster. These are just related speeds not what they might be. Now for the speed down if I press on it will have the original 30fps, and if pressed again to go slower and again slower.

Any suggestions?

PART 3
ZOOM in and out button to adjust to monitor size and res

I have found a forum on Thread Title: Is there a way to make a 2x zoom button for the entire movie window? I have read that but what I need is help on resizing with two buttons the project size which is 1024x768, to 2 times smaller and one bigger. The project is running thru the browser so not everyones screen is huge. How can I create a more versitile viewing space and where it centers on the screen?

Also is it possible to make the browser change the size of the project immediately to fix it to the viewing screen? I got a response from Chuck Neal (mediamacros.com) that for the zoom to work immediately I need to use Java Script. Forget about the automatic setup to screen.

I need a simple way of just using Lingo for Director MX. Where a button is used to zoom in and out in Shockwave and the user can center the animation on screen or just to be placed in the left hand corner.


PART 4 <Problem?>
Problem with other buttons while I press PLAY lingo button

I have created PLAY button in Director Lingo also other buttons like PAUSE, HOME and END, NEXT scene and PREV scene. This is for a presentation sequence. When the PLAY button is pressed the animation is running and if I press on home, end, next or prev the animation goes back and re-starts the animation. Now if I press pause button, then the other buttons work properly.

What is the solution here so when I press PLAY in the middle of it I can press the others and bypass the command?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top