Toon posts:

Onrelease knop in flash... hoe?

Pagina: 1
Acties:
  • 81 views sinds 30-01-2008

Verwijderd

Topicstarter
Ola,

Ik zie vaker dat er in Flash buttons zijn dat op 't moment dat de muiscursor de button released er dan meestal een nieuwe movie ofzo volgt.. dus zegmaar een knop HOME licht op op het moment dat de muis erover komt, licht wordt vastgehouden zolang hij er nog opstaat en op 't moment dat je je muiscursor er af keilt fade het licht weer rustig terug. Hoe doe je dat onrelease effectje?

Alvast ontzettend bedankt!

Verwijderd

zo;n geanimeerde button moet je maken mbv een movieclip,

Verwijderd

Topicstarter
ja maar hoe gebruik ik zo'n movieclip bij een onrelease event?

Verwijderd

pff.... het niveau wordt er ook niet hoger op hier op W&G :(...

Verwijderd

Setting mouse event options

Assigning an action to a button also automatically assigns a Mouse Event action to the button to handle, or manage, the action.

Each handler begins with the word on, followed by the event to which the handler responds.

For example:

on (release)
on (keyPress "<Space>")
on (rollOver)
The release parameter indicates that the user pressed and released the mouse button.

You can specify which mouse events trigger a button action using the Actions panel.

To set mouse event options:

1 Select the button to which you'll assign an action.
2 In the Toolbox list on the left side of the Actions panel, click the Basic Actions category to display the basic actions.
3 Choose from the following options:
Select the On Mouse Event action.
Select an action in the Basic Actions category.
4 In the Parameters pane, for Event, select a keyboard or mouse event that will trigger the action:
Press triggers the action when the mouse button is pressed while the pointer is over the button.
Release (the default) triggers the action when the mouse button is released while the pointer is over the button. This sets up standard clicking behavior.
Release Outside triggers the action when the mouse button is released while the pointer is not over the button.
Key Press triggers the action when the specified key is pressed. If you select this option, enter the key in the text box.
Roll Over triggers the action when the pointer rolls over the button.
Roll Out triggers the action when the pointer rolls outside the button.
Drag Over triggers the action when the mouse button is pressed while the pointer is over the button, the pointer is rolled off the button, and then the pointer is rolled back over the button.
Drag Out triggers the action when the mouse button is pressed over the button and the pointer then rolls off the button.
5 Assign any additional actions to the button.

For more information on mouse events, see ActionScript Help.

Verwijderd

ef een

  • Blaise
  • Registratie: Juni 2001
  • Niet online
GoT als helpdesk... Het antwoord op deze vraag staat op zo ongeveer elke flash tutorial site. Bijv. hier

  • oh,when?
  • Registratie: April 2000
  • Niet online

oh,when?

...

Op maandag 12 november 2001 18:12 schreef Lotte het volgende:
ef een
bingo!! *D

"You're only as good, as what you did last week."


Verwijderd

Op maandag 12 november 2001 18:57 schreef oh,when? het volgende:

[..]

bingo!! *D
jaja.
vragen waar zelfs ik hier het antwoord op weet krijgen de F1 tip :)

Verwijderd

Topicstarter
Waar mijn vraag op neer komt (mits het anders kan) is hoe ik een aparte movieclip moet starten binnen een button op een bepaalde event, in dit geval een onrelease event. Dus niet zozeer de event die nodig is maar welke action er (het beste) op getriggered kan worden. Misschien is dat wat duidelijker?

Verwijderd

niveau begint errug laag te worden....te lui om zelf op F1 te drukken?

b-top

Verwijderd

slotje?

Verwijderd

Op maandag 12 november 2001 19:25 schreef Moonstorm het volgende:
Waar mijn vraag op neer komt (mits het anders kan) is hoe ik een aparte movieclip moet starten binnen een button op een bepaalde event, in dit geval een onrelease event. Dus niet zozeer de event die nodig is maar welke action er (het beste) op getriggered kan worden. Misschien is dat wat duidelijker?
f1 f1 f1 f1.
www.google.com
www.ikhebgeenideehoeflashwerktenhebookgeenzinhetuittezoekendusvertelhetaubevengelijk.nl

  • OzBoz
  • Registratie: Maart 2000
  • Laatst online: 09-09 19:36

OzBoz

.:.H.:.I.:.P.:.

Ben het er helemaal mee eens dat iemand zelf eerst op F1 kan drukken, langs Google kan wandelen etc. Alleen is het absoluut slecht voor de sfeer binnen GoT als iedereen dat dan ook continu als een stel papagaaien gaat roepen. Mocht je een probleem hebben met iemands luiheid in deze dan kun je aan mijn ICQ-bel trekken of je post een berichtje in SU. Maar laat je niet meeslepen door stemmingmakerij, is weer wat heel anders dan leuk/gevat reageren op de soms wat simpele vragen.

Topicstarter, reden voor het slot is dus het feit dat je zoiets zelf erg makkelijk kan uitzoeken.

My Fizion | My 3D prints | LinkedIn

Pagina: 1

Dit topic is gesloten.