Been at this all day... :(
Hey everyone,
I've been really struggling with this for most the day now and haven't gotten anywhere. I've got a background behind the text that changes colour once the mouse is rolled over. However I'm trying to get the text to change colour at the same time.
The text box is slightly smaller than the background box for the time being. When I put my most over the box it changes colou rto red as expected. However, when I roll my mouse over the text box, it turns completely white. This again is expected, but not what I want. This is happening because the text is turning white as its supposed to, and the background is as well when the mouse is taken off. The about text is a button, and its default rollover state is making the background turn white as it rolls over the text layer. Is there some way prioritize the background? What needs to be changed in the code? Also the drop shadow turns off when I put my mouse over them the first time and I’m not quite sure why...
Here's my AS code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
about_bg.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver);
about_bg.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
function manageMouseOver(event:MouseEvent):void
var btn:SimpleButton = event.target as SimpleButton; //just assume that it is a MovieClip, change to whatever it is i.e. Button
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0xbf3a3a;
btn.transform.colorTransform=color_transform;
var fadeIn:Tween = new Tween(btn, "tint", Strong.easeOut,0,1,1,true);
function manageMouseOut(event:MouseEvent):void
var btn:SimpleButton = event.target as SimpleButton; //just assume that it is a MovieClip, change to whatever it is i.e. Button
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0xFFFFFF;
btn.transform.colorTransform=color_transform;
var fadeOut:Tween = new Tween(btn, "tint", Strong.easeOut,1,0,1,true);
about_txt.addEventListener(MouseEvent.MOUSE_OVER, txtcolourMouseOver);
about_txt.addEventListener(MouseEvent.MOUSE_OUT, txtcolourMouseOut);
function txtcolourMouseOver(event:MouseEvent):void
var btn:SimpleButton = event.target as SimpleButton; //just assume that it is a MovieClip, change to whatever it is i.e. Button
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0xFFFFFF;
btn.transform.colorTransform=color_transform;
var fadeIn:Tween = new Tween(btn, "tint", Strong.easeOut,0,1,1,true);
function txtcolourMouseOut(event:MouseEvent):void
var btn:SimpleButton = event.target as SimpleButton; //just assume that it is a MovieClip, change to whatever it is i.e. Button
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0x000000;
btn.transform.colorTransform=color_transform;
var fadeIn:Tween = new Tween(btn, "tint", Strong.easeOut,0,1,1,true);
A pre-thanks for any help, I really, really need it. This is just so annoying!
Thanks! Okay, so I still haven't got it working but I know what you mean/where you're coming from. I've converted both the background and text into a single MovieClip symbol and named it 'abouttest_mc' but...argh...I'm not quite sure what to do differently in the code. I tried the mouseChildren false but it just comes up with an error. Here's my updated code, it hasn't changed much:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.text.TextField;
abouttest_mc.addEventListener(MouseEvent.ROLL_OVER, manageRollOver);
abouttest_mc.addEventListener(MouseEvent.ROLL_OUT, manageRollOut);
function manageRollOver(event:MouseEvent):void
var btn:MovieClip = event.target as MovieClip;
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0xbf3a3a;
btn.transform.colorTransform=color_transform;
var fadeIn:Tween = new Tween(btn, "tint", Strong.easeOut,0,1,1,true);
function manageRollOut(event:MouseEvent):void
var btn:MovieClip = event.target as MovieClip;
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0xFFFFFF;
btn.transform.colorTransform=color_transform;
var fadeOut:Tween = new Tween(btn, "tint", Strong.easeOut,1,0,1,true);
about_txt.addEventListener(MouseEvent.ROLL_OVER, txtcolourRollOver);
about_txt.addEventListener(MouseEvent.ROLL_OUT, txtcolourRollOut);
function txtcolourRollOver(event:MouseEvent):void
var btn:MovieClip = event.target as MovieClip;
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0xFFFFFF;
btn.transform.colorTransform=color_transform;
var fadeIn:Tween = new Tween(btn, "tint", Strong.easeOut,0,1,1,true);
function txtcolourRollOut(event:MouseEvent):void
var btn:MovieClip = event.target as MovieClip;
var color_transform:ColorTransform=btn.transform.colorTransform;
color_transform.color=0x000000;
btn.transform.colorTransform=color_transform;
var fadeIn:Tween = new Tween(btn, "tint", Strong.easeOut,0,1,1,true);
The 'about_txt.addEventListener(MouseEvent.ROLL_OUT, txtcolourRollOut);' is now an undefined property. Its inside the MovieClip...
Can anyone PLEASE help me with changing the code? I've been stuck on this for too long and its part of my final major project. It would be great if I could just send someone the file if they wanted to do it that way, what I'm wanting to do is fairly simple I'd imagine...
Similar Messages
-
When turning on my mac book pro it displays a screen with apple logo and begins loading a loading bar, after this continues to show loading circle however has been like this all day still no different. Tried turning it on and off however still same!
... then run Disk Utility, Repair Disk.
Also:
Resolve startup issues and perform disk maintenance with Disk ...
Mac troubleshooting FAQ: start-up woes
How To Fix Common Mac Startup Problems
Mac Stalls on Gray Screen at Startup - Troubleshooting Mac Startup ... -
I have an iPod touch 4th gen. and the screen went yellow. The battery wasnt low when it happened. It has been like this all day. What can I do to fix this?? PLEASE HELP!
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
This is so frustrating because i can't read my emails. The app just opens and then 5 seconds later it closes.
All of them or 1 in particular? If you can, go check your e mail from a computer. Look for a message with a large attachment, or from a source you do not know. I think the mail program might be running into something in one of your messages that it does not want to deal with.
-
I've been asking everyone I can think and no one seems to know the answer - very frustrating but my god, it's only a gmail account - why can't i send mail from the laptop? someone told me I would have to pay $90 for an application that's missing on my macbook air, I say gmail is free, why do I have to pay for it and they hang up on me - guy at apple store doesn't know what the problem is, it guys at work are being snobby about the type of phone i have - i only want to send mail from my gmail account and i am unable to do so from the laptop - i don't know why i'm bothering to put this here because no one has an answer
Have you tried contacting Gmail tech support?
-
Last night Chrome and Google 1+ locked down my pc because I disconnected plus one. I could not even get to Norton. This morning I talked to Norton and they moved my system to FF, I have two accounts Donnie p grant and Donnell Grant. I play Mafia Wars and a browser must be compatible with Client Addon. I am a gamer and had always used FF but was having trouble and switched to Chrome. When Norton moved my files back to FF she downloaded them but I can't get everything back to where it should be and I do not understand so much of it. Please help me set my FF account back up. Thank you
''donngra [[#answer-685379|said]]''
<blockquote>
''FredMcD [[#answer-685331|said]]''
<blockquote>
Your System Details shows;
Installed Plug-ins
Shockwave Flash 15.0 r0
Shockwave Flash 11.5 r502
Having more than one version of a program may cause issues.
Grab the uninstaller from here:
'''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html Uninstall Flash Player | Windows]'''
'''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html Uninstall Flash Player | Mac]'''
Then reinstall the latest version.
Flash Player '''v16.0.0.296<br>https://www.adobe.com/products/flashplayer/distribution3.html'''
Shockwave Director '''v12.1.6.156 http://get.adobe.com/shockwave/'''
</blockquote>
</blockquote> -
Tried as wel PRAM. CMD +S. Tried D key and it blocks when testing... I' going mad!!!
Guess your harddrive is busted. You'll have to get it repaired.
-
It just *****...
- See:
iPod touch: Hardware troubleshooting
- Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
- Try another charging source
- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
I'm really sorry to bother you guys, but this is all new to me! i'm trying to put my face on another persons photo as a gag! i have been struggling with this all day! can anyone explain to me how this is done in language i can understand??? thanks in advance!
What software do you own? Give details, please.
Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
It's not something you can learn in a forum, question by question. Teaching someone Photoshop from scratch exceeds the scope of this or any other forum.
The process involves isolating your face, by selecting it and deleting the unwanted parts around your face or with layer masks, then placing it as a new layer on top of your target image, making sure it's the right size, color, lighting, etc. Google for tutorials on any of those elements you are unfamiliar with, -
My iphone 4 s has been losing service all day and freezing is anybody else having this prob its even to the point i cant hold a phone conversation without it cutting off
I had major issues with the iPhone 4s battery, however it’s resolved.
The tech who set the phone up at the Apple store did so with little training.
if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
turning of locator and the push notifications from facebook--they have a lot! -
I have been using itunes all day and then it wanted me to install a newer version. When I did it said I can't because it's missing mdsvr80 or something so i downloaded that now it has another error. How do I get itunes back the way it was or to work?
See this User Tip by turingtest2
https://discussions.apple.com/docs/DOC-6562 -
The update for Pages says it is installing however it has been like this for days. Cannot open the app. What can I do?
Double tap the Home button to bring up the multi-tasking bar...tap & hold any app until they all start to wiggle...tap the red minus sign to remove every app shown. Tap the Home button when finished. Try to delete the app now.
-
Does anypne know how to fix the missing MSCVR80.dll file? Ive reinstalled itunes several timessysystem restores. Ive tried everything I can think of . Been sitting here all day and nightHELP!!!!!!!!!!!!!!!!!!!
Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (if this won't uninstall move on to the next item)
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
Please note:
Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
HT1925: Removing and Reinstalling iTunes for Windows XP
HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
tt2 -
I am part of a friends AT&T package for iPhone. 4s and we started having a problem when a message I sent to another friend ended up on his iPad and this other friend messages me and the person whose phone package I am on also got this message. The friend whose phone I am linked to has sent messages to himself that have come to me. Seems like something is mixed up here and it is out of the blue because I have been on his phone plan for years without any mix ups? Any idea as we worked on this all day and can't get it fixed?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
Cheers, Tom -
My ipad2 won't charge, it's been on 1% all day now. It's plugged in and keeps shutting off. The cord works fine, it's charging my husbands iPad. Any suggestions?
Is this with the power adaptor that was included with your iPad 2 purchase?
The same power adaptor and USB dock connector cable charges your husband's iPad?
If so, sounds like a hardware problem with the battery or something else. Have you tried powering the iPad off and on and/or a reset which is similar to a computer restart?
If so with no change, make an appointment at an Apple store if there is one nearby.
Maybe you are looking for
-
I'm using Windows 7 Professional. I installed FireFox version 6.0.2 few days ago. Now I have problem with this. When I close the browser, it was normal .But when I open it again, nothing happens! I open Task Manger of windows, move to processes tab a
-
DW8 file - TMP9yo6jdha0c.htm
DW has created a "TMP9yo6jdha0c.htm" file in my site files tree which will not open, nor can I delete it. Anyone know what this is? Do I need to be concerned about it?
-
I am trying to add home movies to my Ipad. They are in .MOV format and have been added to Itunes library. I have tried both syncing and adding manually. Nothing is working.
-
Hyperlink (weblinks and UNC-links to files)
Think of links (Hyperlinks - active one's!) in Business partners to their web pages (not just the filed available with the need to 'copy and paste' to the browser - to me this seems like going to use a typewriter to write letters). Think of links in
-
CC14 Copying and Pasting to Photoshop
Since upgrading to CC14, I am finding that copying and pasting linework and graphics doesn't work as normal. Usually the copied material comes into to Photoshop at the correct size, even if there are large linked graphics that are contained and cropp