Up-Over-Down-Hit states of button gone?
Hey there,
Well I've got some problems changing the Up, Over, Down and Hit state of my button. For example when I have created 4 of those states, and I just normally save my flash file, the next time I open it my states are gone but when I play my animation the button still works with the correct states (the created Up, Down, etc. states). But then again when I enter my editor to create those Up, Over, Down, and Hit states they're just missing?
Might there be a problem in the saving part or so?
Greetings,
Coyke
in your library panel, you double click on your button symbol and your see what? nothing? the button "timeline"? something else?
Similar Messages
-
Ihave flash cs4 where is the Up, Over, Down, hit button things
I have flash cs4 and cant find the Up, Over, Down, hit button things
please tell me where they are or what they were replaced with.
thanks.i cant find it
is it suposed to be here
or here -
Flash Buttons (Up, Over, Down, Hit)
Recently I am feeling like an idiot in Flash with buttons! I think perhaps I am forgetting something about the up, over, down, and hit states.
What I am trying to do is to have the button color change to a different color when it is on the page. The color only changes when I roll over it or hit it.
Once I am on the page it changes back to the color it is on the up state.
Example: http://www.somethingfab.me/ (When you are on the home page the button is red, but when on the about page the home button changes to white to show hierarchy.)Chances are those are movieclip symbols, not button symbols. You cannot force a button to stay in the over state when it is not in that state interactively. AS3 allows one to change the different state's appearances such that you could turn the up state into looking like the over state, but you end up having to juggle things and need to have a normal up state visual at the ready to restore it when the time comes... easier to just use movieclips.
-
I have searched and searched and I can't find a solution.
In Flash CC, creating in an Actionscript 3.0 canvas, buttons work as expected. Up, Over, Down and Hit states produce desired results.
I am creating an HTML5 animated webpage and none of the buttons work as expected. Here are the flaws:
1 - There is no hand when a button is scrolled over. This is an issue because there are multiple objects on stage, only half of which are buttons. The user needs to be able to know which are clickable.
2 - When I have an image on the Up state, all is well. But when I add an image on the Over state, it causes a loop. Up and over just loop in the preview and after I publish regardless of the cursor position and regardless of the browser type (FF, Chrome, IE).
I have searched the web. A lot of people have this problem but no answers have surfaced. I don't particularly want to spend another 100 hours recreating in Edge Animate--which I am not as familiar with. Is there some code that might stop all the madness?You can program using java script in flash.
use the code
exportRoot.stop();
inside the button frame
if not working and all becomes gray as described above then target your button from the main timeline like
exportRoot.someClip.subClip.stop();
But remember to change .someClip & .subClip with their correct names. -
Hi,
I'm trying to make a simple a button with a movie clip as the
Up state, the same movie clip with a colour tint as the Over state,
the same again but nudged down and to the right as the Down state
and then movie clip broken apart so it is just the shape as the Hit
state.
I've done this loads of times before with Flash 8 which I was
previously using and no problem, but for some reason now, the
button is not affected unless the Hit state exceeds the size of the
original button and then the only bits that react are the part
outside of the main Up state. It's almost as though the Hit state
is at the bottom of the stacking order...
Has anyone come across this before or am I doing something
wrong and don't know?
Cheerschange your hit-state to a simple solid shape that covers
your up movieclip. -
I have made buttons like this hundreds of times, and today it
does not work.
Only part of the button works, as if the hit state is
undersized, but it is not.
Totally puzzled and seeking advice please.
It's the home button that only has a part hit state.
Enable simple buttons works.
Putting the button elswhere on the page works, just not
there.
Any tips are greatly appreciated, thanks.
flash 7 osx.4.8
http://www.stevez.biz/foto_fun/early_years/morefunnav.html
http://www.stevez.biz/foto_fun/early_years/morefunnav.swf
http://www.stevez.biz/foto_fun/early_years/morefunnav.flaSteve Zavodny wrote:
> I have made buttons like this hundreds of times, and
today it does not work.
> Only part of the button works, as if the hit state is
undersized, but it is
> not.
> Totally puzzled and seeking advice please.
> It's the home button that only has a part hit state.
> Enable simple buttons works.
> Putting the button elswhere on the page works, just not
there.
> Any tips are greatly appreciated, thanks.
"Enable simple buttons" never reflect actual functionality so
don't use it
if you want to make accurate testing. It's more for authoring
convenience like
you would make a map of different shape buttons and like to
see how the
OVER states align to each other. It will make button works
even if it is not
made properly.
Your problem is that the HOME button comes on top of the
invisible button
and in flash HIT states can't collide or they will cancel
each other.
If you extend that invisible button down you will see the sub
menu will
work just fine.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Hi, I made a few buttons for my .fla and all the states are working but the hit state.
So just to see what the problem was I made a new button, which is only text at each stage, so for up i wrote up, down down etc,
all the states work but hit, what gives???
hit is after someone clicks it it should be at the hit state correct?Nope. Hit is the shape that will trigger a rollover/click area.
Normally the hit state is determined by the artwork in the up state and then the over state once you've rolled over, but sometimes you need to override that with an area different area. That is the hit state. But you don't need to put anything there.
Test it out. Make a circle on the other states and then put a larger square in the hit. Then check out how it works. -
AS Button / hit state HELP!
I have a clip with a hit state that I want to target frame 1
of another clip on mouseover. (thumbnail effect) There is a stop
command on frame one of that secondary clip. On click , I want the
secondary clip to play from frame 2, till the end.
My problem is that Im not experienced with actionscript
button behaviors and determining which script commands to use is
confusing.
Can anyone link me or outline what needs to be done here?
ThanksI prefer to work with mc's on this. The following are the
error codes that were generated.
**Error** Symbol=gallery shots, layer=g1 hit, frame=1:Line 1:
Statement must appear within on/onClipEvent handler
g1.onRelease = function(){
**Error** Symbol=gallery shots, layer=g1 hit, frame=1:Line 5:
Statement must appear within on/onClipEvent handler
g1.onRollOver = function(){
Total ActionScript Errors: 2 Reported Errors: 2
in this example I placed the btn graphic over the gallery
thumb on a separate layer.
Perhaps this requires a different approach because I'm not
seeing something here. (the following is not on the main timeline)
If I create a movie clip named gallery_mc from scratch and
place a thumb on layer 1, convert the thumb to an mc, open the
thumb mc and set the timline as follows: layer1 frame 1 (stop
action), layer 1 frame 10 (stop action), layer 2 frame 1 (static
image), layer 2 frame 2 (image begins tween), layer 2, frame 10
(image ends tween). being this is the thumb effect mc, the symbol
that i created with alpha 0% (is this refered to as the handler?)
should be placed on the thumb on the gallery clip stage. I believe
thats where is should be (on a different layer than the thumb pic
itself). the action should be placed on this symbol.
So there are two mc's in the example , the gallery mc
containing the thumb pic, and the thumb mc.
If this is false, then what would the layout be?
note : the main timeline already has a button link to the
gallery mc and works. I dont want to revert to button symbols to do
this. I prefer this new challenge with btn_mc's.
Thanks -
I got my new phone in Dec and just now had the time to sync it. I was given the option of using as a new iphone or restoring to a previous and I hit restore and now everything i dwn loaded over the last few months is gone along w all sms and photos. What can I do?
Well, unless you made a backup BEFORE you hit the restore button, your data is gone.
-
MovieClip buttons using e.target method "Under" transparent hit states?
Hello guys, this is kind of the finale to a line of questions I have been pestering with for about a week. I have multiple buttons that scale up / scale down on rollover (mc btns actually). So, after a lot of help from all of you, I have everything functioning really well.
My remaining hang up, is how to apply e.target (to abridge my code somewhat) when the movieclip button is now actually below the transparent hit states. (hit states are on the main timeline, buttons under them). Below is some sample code for two of these buttons, and like i said – they work fine, but now that I am trying to use external hit states to get rid of my bugginess, i notice the e.target functions are not being read, since I assume the button is under the hit states.
the //berenson// below is the code that is speakin to the hit state and the //amylin// still has the previous coding applied to it (when the hit states were not being used quite yet.
function rollover (e:Event){
e.currentTarget.gotoAndPlay ("btnOver");
function rollout (e:Event){
e.currentTarget.gotoAndPlay ("btnOut");
function select (e:Event){
e.currentTarget.gotoAndPlay ("btnClick");
//amylin//
btn_amyCase.buttonMode = true
btn_amyCase.addEventListener (MouseEvent.MOUSE_OVER, rollover);
btn_amyCase.addEventListener (MouseEvent.MOUSE_OUT, rollout);
btn_amyCase.addEventListener (MouseEvent.CLICK, select);
//berenson//
btn_berHit.buttonMode = true
btn_berHit.addEventListener (MouseEvent.MOUSE_OVER, rollover);
btn_berHit.addEventListener (MouseEvent.MOUSE_OUT, rollout);
btn_berHit.addEventListener (MouseEvent.CLICK, select);
thanks!yup, i was hoping that. However, my buttons were working flawlessly, then i applied the hit state layer, and i am losing the communication.
But you are saying, that if the buttons work on their own, hit states with the same code applied to them (that was on the buttons) with some tweaks of course, should still function using target?
so, to sum up: i have mc buttons, and am trying to access "their" timelines. I added the hit state layer (on the main timeline) and made their mouseEvents = the button effects, but my functionality went away. -
Button Skin: How to add button properties (over, down,up)
Hi all,
I made a custom button "skin" because I want my buttons to be images with NO box or border around it and it works great, but I don't know how to add the button functionality. ex. In "over" state buttons tend to light up and in "down" state they tend to get darker. Anyone know how to apply this to an image??? below is my code. Thanks guys!!
<?xml version="1.0" encoding="utf-8"?>
<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="64" height="64">
<fx:Metadata>
[HostComponent("spark.components.Button")]
</fx:Metadata>
<s:states>
<s:State name="over" />
<s:State name="down" />
<s:State name="up" />
<s:State name="disabled" />
</s:states>
<mx:Image source="@Embed(source='assets/images/lightbulb.png')"/>
</s:SparkSkin>You could try something like this:
<?xml version="1.0" encoding="utf-8"?>
<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="64" height="64">
<fx:Metadata>
[HostComponent("spark.components.Button")]
</fx:Metadata>
<s:states>
<s:State name="over" />
<s:State name="down" />
<s:State name="up" />
<s:State name="disabled" />
</s:states>
<mx:Image source="@Embed('assets/images/lightbulb.png')"
source.over="@Embed('assets/images/lightbulb_lit.png')"
source.down="@Embed('assets/images/lightbulb_dark.png')"
source.disabled="@Embed('assets/images/candle.png')" />
</s:SparkSkin>
Peter -
I was having trouble with synching my iphone 5 since the new operating system was installed. But I was waiting for my 6+ and figured it would be solved with my dandy new phone. No such luck. I downloaded a great deal of music and then added to it and synched again. Music gone, except paid for stuff bought on the phone. So I added more and tried to load it again, and it did. But now, I was afraid to add anything, backup, and synch for any reason as it takes 12 hours + to load my music.
So, I went back to basics and looked up the procedure. It does say that if you make a change, " you should hit the apple button before you synch." Which one?
No info on what they mean. And clearly this is a change. I'm feeling stupid, but lately, Apple makes changes and expects you to intuitively figure them out. I usually do but was stumped here. It might be nice to get a heads up when changes occur.
Please help !
Oh and also, I can't seem to download ringtones I have created.I am syncing my iphone to my iTunes account and then I do a backup and also making sure all updates are current. Then by going to the my phone and then going to the right and selecting the restore my iphone.
Here is a picture of what I get -
Hello,
Here is the problematic:
1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
- I've many button in a doc im creating
- the color of the buttons is white with black stoke & black text
- in roll over state i want them to inverse the color coding (the text white & bottom black)
- currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
- i would just like to know if there is a function made for this?
My other questions:
2° Ive a presentation on which Ive created buttons which tigger pop-up animations
- i have 5 buttons which trigger animations
- the viewer can chose to Click on any of the buttons randomly
- the problem is once the animation is open how can it be close... either:
a) by it self after "40" seconds
b) when ther viewer clicks another button
3° Ive created buttons linking pages..
- "go to page xxx"
- when i do a preview and click on the buttons the links dont take me to the right pages
- is that normal? (maybe in preview its suppose to be like that)
4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'
- what should i do?
5° Once i export it into Swf. how how can i visualize it? or put it online?
Thank you for your time.stlbbl4u wrote:
Hello,
Here is the problematic:
1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
- I've many button in a doc im creating
- the color of the buttons is white with black stoke & black text
- in roll over state i want them to inverse the color coding (the text white & bottom black)
- currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
- i would just like to know if there is a function made for this?
You should setup Object Styles - these can also include Paragarph Styles that can be triggered when the Style is selected.
http://help.adobe.com/en_US/indesign/cs/using/WS5CEDB81A-0011-4dc9-9DE8-AC7AD4C80076a.html
My other questions:
2° Ive a presentation on which Ive created buttons which tigger pop-up animations
- i have 5 buttons which trigger animations
- the viewer can chose to Click on any of the buttons randomly
- the problem is once the animation is open how can it be close... either:
a) by it self after "40" seconds
b) when ther viewer clicks another button
I'm not sure what you mean - I don't do files with Animations
3° Ive created buttons linking pages..- "go to page xxx"
- when i do a preview and click on the buttons the links dont take me to the right pages
- is that normal? (maybe in preview its suppose to be like that)
Does it work properly when you export it to the finished file?
4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'- what should i do?
InDesign won't link directly to youtube videos. I think your best bet would be to use Downloader to download the video and embed them directly in Indesign.
5° Once i export it into Swf. how how can i visualize it? or put it online?
Thank you for your time.
You can look up how to embed a SWF file into your HTML - but it depends what you mean by "online" there's a dozen ways to get a file "online". -
I'm having problem with text boxes. Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line. Instead i get this little red + sign in the box.
You are absolutely right. Thought Enter meant Enter. I was wrong. Thank you for the help.
Rod Rogers, Broker
Accredited Land Consultant (ALC)
Metcalf Land Company, Inc.
Office: 864-585-0444
Mobile: 864-316-0297
Fax: 864-583-6000
<http://www.metcalfland.com> www.metcalfland.com -
Hello I shut my iMac down to move it to the next room when I plug it back into the wall, hit the power button nothing happens. I tried holding the power button nothing when't back to the first room plug it in where it was 2 mins ago nothing?
Do you know which iMac model family you have? There are four families dating back to 1998. Troubleshooting depends on that. This forum covers the first three families made from 1998 to 2005. iMacs newer than that get a separate forum.
Do you have the system disks that came with the computer? If so, and depending on model, you may be able to start from the CD/DVD and then make the jump to booting normally.
All computers has a little battery on the logic board that holds date, time, and some important startup parameters when the compuer is taken off wall power for a short time. If your battery was very old and died, then the settings the computer needs to start may have been lost when you unplugged it. For some Mac modles, booting from a CD or DVD gets around this temporarily, but ultimately the battery needs to be replaced. The internal batteries are cheap but can be hard to access on some iMacs like the G4 "desklamp" model
Maybe you are looking for
-
my Z10 apps are not responding, and when I discover that I tried the security wipe, I mean wiping the device, I try to but the phone couldn't and I was told to go to bberror/10. But I couldn't and decided to take the phone to an engineer, so the pho
-
Reader X - Right Click & Print not keeping defaulted "Fit" option.
Using Adobe Reader X (version 10.1.2) I have a number of PDF files to print and would simply like to right-click and print. However, the pages are cut off on the sides. If I open each document individually and click print (with a default Size Options
-
[SOLVED] System clock / Timezone issues
Hey everyone, The issue, as it appears to me, is that arch is assuming that my timezone is +00:00, or UTC. I don't really understand why (it should be +10:00) but here is the output to the frequently requested information for this issue $ cat /etc/ad
-
Setting the content type inside the ABAP mapping.
Hello All, Can any one help me by telling me how to set the content-type inside ABAP mapping. I have searched a large no of blogs and help.sap.com for the same. My requirement is I want to change the MIME type of the Main Document in side SXMB_MONI s
-
I have no home icon in my safari with maverick. how do I get it?
I don't get a HOME icon in Safari after installing Maverick Sunday. Is there a trick to getting it to show?