A Btn, A Mc and Hit States.. Plz Hlp! (link incl.)
Hey ok so I have this file I'm working on (
http://www.geocities.com/zflategraff/index.swf)and
I have 3 objects here. I have the dock_Mc that is the dock
animation, I have the dock_Btn which is essentially just a hit
state to activate the dock_Mc to animate (redundant I know, but not
sure where i was going with that at the moment, im fried) and the
buttons within the dock that grow and shrink. I want the buttons
and the dock to animate at the same time when the rollOver events
are triggered and for them to work together. Right now I am only
able to have one or the other work. If you could help me out in any
way I would really appreciate it!!
Thank you!!
are you trying to achieve something like
This
Similar Messages
-
Difference between jre 1.5 and 1.6 ,plz provide links
friends
please share your knowledge on jre1.5 and jre1.6.Please provide any website link regarding this.
I want to install jre 1.6 in my system.
sujithRead the documentation (especially Release Notes) available at the 1.6 download site. Differences are listed.
-
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,
Coykein your library panel, you double click on your button symbol and your see what? nothing? the button "timeline"? something else?
-
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 -
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. -
Losing Keychain, WiFi, clock, and last state on battery drain
Recently sent my MacBook Pro (MBP) into the shop to get a new shell put on it. When it was returned, it appears I no longer have Safe Sleep functionality.
Historically:
Prior to sending the MBP into the shop, if the battery ran low on power, I would receive the standard issue "plug-in to a power source" message. I would save my documents and continue to use the MBP unless, of course, power was readily available. If the battery drained to the point of entering "Safe Sleep" mode, the screen would immediately go black. When I finally plugged into a power source and hit the power button, the "restoring state" progress indicator would come on screen, and eventually I would be returned to the point I left off...consistent with:
http://docs.info.apple.com/article.html?path=Mac/10.5/en/10328.html
http://support.apple.com/kb/HT1757
*After New Shell:*
Since receiving the MBP back, if I let the battery drain to the point at which it should enter "Safe Sleep" mode, and plug in to a power source I lose the following:
1. State does not pick up where it left off. Essentially, the computer just shuts down - not enter safe sleep mode.
+After completing reboot (I have Mail, iCal, Safari, and iTunes launch automatically):+
1. Error message regarding clock, stating that the clock is incorrectly set and to correct: I have to open date & time preferences -> uncheck set date and time automatically -> set the correct time manually (as it seems to be set to the Unix time floor ca. 1969) -> save -> check set date and time automatically.
2. WiFi password lost: My home WiFi (AirPort Express) does not automatically sign in, I can either re-enter the password and have it save in Keychain again; or, if I can't remember the password, open keychain -> find the network -> display password -> enter admin password -> enter WiFi password into connection dialog - therefore, the password is still stored in keychain, just not being used.
3. Mail loses keychain passwords as well: When Mail launches it begins asking me for passwords to my email accounts (appears to be based on emails in my inbox) - after entering the passwords multiple times and check "remember password" every time -> force quit (or just quit if the password dialogs stop coming up) -> restart Mail.
4. Restart iCal and iTunes after connecting to WiFi.
5. Should be obvious, but want to make sure it is, any other applications I was using or documents I was editing are lost (no previous state information) - similar to shutting down completely (or hard reset).
Today when I tested the workflow again, I did receive the "battery maintenance" warning; however, that has since gone away.
Is this just me? Can anyone duplicate this problem?
Cheers,
Josh
Message was edited by: amidknightMaybe resetting your SMC
http://support.apple.com/kb/HT3964?viewlocale=en_US -
Diff b/w IF/ENDIF and CASE statement?
Hi all,
Plz let me know the difference between IF and CASE statements.Which one is better to be used in general...and are there any specific situations where we have to go for CASE insted of IF.
Rgds,
Reddy.Hi,
Case statement is good for performance wise because here we declare cases
and according to these cases program will be executed.
When we use if statement then the cursur goes to in the loop, when ever
the loop is not complete till then the programme will not execute.
Thats by in performance basis the case statement is good.
Let me try and explain using an example...
1) For IF statement...
Suppost you have a variable color..and you are checking it against color names.
then your code will be
IF COLOR == 'BLUE'.
statements
ELSEIF COLOR == 'BLACK'.
statements.
...and so on....
ENDIF.
But if you use CASE Statement
CASE COLOR.
when 'BLUE'.
statements.
when 'BLACK'.
statements.
so follows that CASE is easy to use and performance wise is also better.
Regards,
Priyanka. -
Active and inactive states for a button
Is there a way to assign a button action only when the playbacket is on:
i.e. lable "play3"on timeline instead of placing a hotspot over each button with code?
Basically an active and inactive state.
button1 exists on entire 30 seconds then only active when playbacket hits and stops on "play1", "play2", "play3" etc..Hey there-
Yes, you can do this with a little bit of code. Take a look at the "state management" section in this blog post, which will describe how to set variables, get variables, and use an if statement to code some logic in.
http://blogs.adobe.com/edge/2012/07/18/tutorial-leveraging-independent-symbol-timelines/
Hope this helps,
-Elaine -
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> -
Hit/Stat/Visitor Counter
I’m looking for a page/hit/stat counter that I can
embed into my index.html page, (or my AS2 index.swf) file that will
track page hits, referring urls, etc.
This is for a template site for my clients, and because I do
not have time to edit each individual template to update
codes/etc., I need to be able to embed this into the index files
and have it work for every new site I set up.
I realize there are free trackers out there, but for all that
I have found (ie. statcounter.com) you have to setup new accounts
for each template and embed new code into each index.html
file…which is what I want to avoid.
Any ideas or products or designers out there that can come up
with something?
Thanks"ccdesigner" <[email protected]> wrote in
message
news:elkja4$ft5$[email protected]..
> bregent,
>
> My web provider (IX Hosting) only provides a counter
that counts the total
> number of hits to a site and not by the page hits.
>
hits are irrelevant. a single page with 10 graphics would
generate 11
"hits". Using a "counter" is ineffective because that counts
how many times
that graphic has been loaded, not how many visitors one may
have had. And if
someone visits with javascript turned off and/or images
turned off, your
"counter" would not register the visit.
the only way to get reliable info is to take your log files
and parse them
through an analyzer. -
Flash Player 9 / Firefox Hit State bug
The hit states in flash files lose their position
registration when a scroll bar is invoked on the browser.
For an example see navigate to:
http://www.getloadedonline.com
Upon entering site with a fully maximized browser, after
skipping the intro, the menu loads in and the rollover effects
initiate properly.
If you vertically resize the browser window invoking the
scroll bar, and scroll to the top of the page so that the
navigation area is visible, the hit states are no longer
registering properly where they are supposed to be.
Resizing the browser window so that the scroll bar goes away
brings the hit states of the navigational buttons back to where
they're supposed to be.
--edit--
just wanted to add that as far as i can tell this is only
going on in Firefox 1.5.0.3 for PC.This could have something to do with the JavaScript you are
using to create the object embed tag.
Have you duplicated this issue with a basic HTML page?
-Ken -
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. -
My macbook pro no longer connects to my TV with the mini dvi to hdmi adapter. A while ago the computer fell down and hit the cable. How can I tell if the computer is working ok. Doesn't show mirroring any more. Was working while watching a movie but when I pulled it out from the computer and put it back in the system would no longer mirrorr the screen on the TV.
The best option is an appointment at an Apple store genius bar. The evaluation will be for FREE!
Ciao. -
Get "no bootable device- insert boot disc and hit any key" error
Hp G72 Laptop, Windows 7 64 bit,
"no bootable device-insert boot disc and hit any key" (I have no boot disc.)
I was in the process of replacing the hard drive and the computer was starting the final phase after copying all files. When it restarted the first time, I got the message. I was getting this message randomly prior to replacing the hard drive and if I turned it off for 2 or 3 hours and turned back on I would not get the message. The reason for replacing the hard drive was a "Smart Disc " imminent failure error message.Yes and yes. The final recovery disc had completed and it was moving to the next phase. It said the computer would restart several times during this phase and when it went to the first restart, the error message came up and I could proceed no further. I ctrl/alt/del and restarted, pressed escape to get the start-up menu but was lost at all the options. The information screen looked like the old hard drive info.
Maybe you are looking for
-
Need Help Removing XML Photo Gallery on Button Click
Hi, I'm new to flash so this might seem like a dumb question, but I'm right in the middle of designing a photography site and need some help. I have 4 buttons in my timeline that go to the corresponding frame labels when clicked, above each frame la
-
I can purchase apps but whenever i'm trying to make in app purchase its failing again and again
i can purchase apps but whenever i'm trying to make in app purchase its failing again and again
-
Dbms_xmldom package results in ORA-31020
Hi, I have the following procedure which compiles correct: CREATE OR REPLACE procedure vbk_selproc_doc is queryctx dbms_xmlquery.ctxtype; result varchar2(30000); header varchar2(1000); footer varchar2(1000); body varchar2(20000); line VARCHAR2(2000);
-
How do I undo locking myself out of Lightroom 4?
I was trying to figure out how to export pictures to a flashdrive and not disturb Lightroom 4. Now I'm locked out. Computer shows: Lightroom 4 Catalog.Ircat-journal and Lightroom 4 Catalog,Ircat.lock. Lightroom 4 shows files as offline or missin
-
Resolution question/observation
HI all, I have my ATV paired with a Sony Bravia, which natively displays 1080p signals. Until recently, I was using component video cables to connect. Yesterday, I hooked the TV up via HDMI, and the difference in picture quality was detectable, but s