AS3.0 -  Button has a problem ?

I found a weird problem with the button component. You may
see the problem on the website right bellow, where you´ll find
2 programs; (Actually it´s really one program, there´s no
code at all, I´ve just compiled the same .fla both to ACS 2.0
and ACS 3.0).
http://rrgames.sites.uol.com.br/
The first one, activated by the button labeled "Button AS
2.0", and compiled with the AS 2.0 publish option set, works
nicely.
Now, the second one, activated by the button labeled "Button
AS 3.0", and compiled with the AS 3.0 publish option enabled, has
some serious flaws in it:
Try left-clicking several times inside the main black
rectangle. You´ll notice that it really doesn´t matter
where you´re clicking, the red image which denotes the UP
state keeps partially popping up !
As for the sound, it gets even messier. On AS 2.0, there are
2 distinct sounds: One for the OVER state and one for the DOWN
STATE, and that´s the correct behavior.
In the AS 3.0 compiled version, when you click the button,
you´ll get BOTH sounds at the same time.
Any help would be appreciated,
Regards,
RogerUP

I am quite aware that WHAT I AM DESCRIBING doesn´t make
a lot of sense. And you´re quite right when you state: "your
buttons would do nothing except display rollover, rollout press and
release behaviors. ". And that´s what they should do in a
coherent fashion, both in AS2.0 and 3.0. And what I´m saying
is that EVEN those basic 3 states do not behave as expected under
AS3.0 publishing option. At least the very basic ROLLOVER and PRESS
don´t.
(I´no newby to programming environments, I´ve got
some 12 years daily working experience with assembly, c and c++
languages, and flash actionscript)
and by the way, did you notice the sound behavior differences
between the AS 2.0 and 3.0 versions ??
and it should be noted that these examples have just an
illustrative goal. My actual code has several actions inside the
buttons, but the same problem remains under AS3.0 (Obviously, under
the coded version, my program abides by the AS 2.0 and AS 3.0
methods and coding conventions, respectively).

Similar Messages

  • Hi I have a MacBook Pro 2011 i7 and it stays on for about 4 hours then the screen go's fuzzy and I have to turn it off by the power button has anyone had this problem thanks mike

    I Have a MacBook Pro i7 2011 it stays on for about 4 hours then the screen go's all fuzzy and I have to turn it off by the power button has any body else had this problem thanks mike

    My guess would also be a failling connection between your logicboard and your GPU. See 2011 MacBook Pro and Discrete Graphics Card
    For most users it starts with some random crashes and freezes like you describe it. And then it just gets worse and worse. There are still no "good" solutions, sadly. This is a hardware problem from the production.

  • Home button not working after installed ios5! Anyone has such problem?

    Just installed ios5 and found home button doesn't work. Anyone has such problem and resolution?

    1.Unlock it, open an application and hold down the Lock / Power slider appears on the screen until the closing device.
    2.Take a handful of Lock button, lightly press the Home button and hold it down for 5-10 seconds until the menu disappears and the display shows that the Springboard.
    3.This technique is a recalibration of the Home button and after they make everything should work normally without problems.

  • The home button has stopped working on my iphone 5c. Did the same a few months ago and recovered 24hrs later. Can anyone explain this problem. Phone still in warranty. Had steam issue recently but this was after last home button episode.

    Have an iphone 5c 8g. The home button has stopped working. Did the same a few months ago and recovered 24hrs later. Can anyone explain this problem. Phone still in warranty. Had steam issue recently but this was after last home button episode and no evidence of damage.

    If you are playing in hockey arenas a lot or if you are bringing it into bathroom same time as shower it may not seem like much but overtime the steam can acquire and build up in the phones usb dock flex cable swell as the home button flex cable. Bring again into apple store and should be covered under warranty again. could also be a delay in a 8gb 5c software may just be very lag.

  • My iPone 5 has broken the lock button has stopped working and there are many other software problems, I was wondering would I go about in getting this repaired by apple?

    I have my phone since november and it has slowly start to bug out, the brightness will just adjust itself, it won't repond to my touch. The lock button has completely stopped working. What do I do? I've never had to deal with apple ever before so I'm not aware of their producer and how long do I have to wait to recieve my product? Hoping you could answer my question. Many

    I should have seen that coming
    Start here
    https://expresslane.apple.com/Issues.action
    assuming you are in US
    Following on from excellent advice above you pick the  "Genius Bar" from top menu of particular store

  • AS3 load external swf problem, please help...

    Hey guys, I am really in need of an answer here. I would tremendously grateful if someone has the answer. I'll keep it simple and right to the point:
    1. I have created "index.swf" in AS3. Has it's own "MainClass" class.
    2. I created "holder.swf" which is the main landing page. Has 2 buttons, for the viewer to load the site in fullscreen or standard.
    3. In the timeline of "holder.swf" I have created 2 frames, 1st frame containing the buttons, second frame containing the AS3 external swf loader script.
    It does not seem to want to load my "index.swf".
    I have tested a million different ways, it load other swf's just fine, AS2 and AS3, but for some strange reason it just will NOT load "index.swf".
    This is driving me crazy, I have a feeling it has something to do with a class conflict. I have tried (import MainClass;) in the first frame of "holder.swf" and no luck.
    PLEASE GUYS, LET ME KNOW IF YOU KNOW THE ANSWER!
    THANK YOU SO MUCHO.
    Michael

    Hey kglad,
    Thanks for the quick reply!
    Well here is the problem... With the exception of a few things I need to update, as well as implementing some better preloaders etc... the site is running alright...
    About a week ago I decided that I wanted to site to start with the above landing page. A simple "holder.swf" which would give the viewer something to look at before entering the site... (ideally I want to find a script that will begin loading "index.swf" while the viewer is still on "holder.swf", but I'll figure that out later).
    Anyhow, I created "holder.swf" as I have many times before, and for some reason it does not seem to want to load "index.swf" into the second frame when instructed to do so... does that make sense?
    So... ideally I would like the site to start on the above graphic, then once the button is clicked, "index.swf" opens up...
    It's driving me crazy, because my code works on other swf's I've tested it with, just not with index.swf, which leads me to believe there is something in the MainClass.as file which is causing it not to load...
    What are your thoughts?
    Oh, and many thanks again!!!
    M

  • Confused about AS3 buttons (did read David Stiller's blog)

    I'm trying to convert an AS2 file over to AS3 and I can't get
    the buttons to work. They do not want to gotoAndStop at certain
    frames in specific scenes. In the following code, if you click on a
    button it works fine, but when you attemp to change to a new Scene,
    it breaks and both buttons won't work thereafter. I've tried
    everything for almost a day now and cannot get this to work and
    cannot find any reference to the problem. Is AS3 buttons not able
    to go to a new scene as it suggests in the Help files?:

    Laura,
    > Old patterns, old habits...time to change.
    Well, not necessarily! The old ways still work. :) Just
    configure
    your publish settings for AS2 or AS1, and bingo. It all
    depends on what
    you're trying to accomplish. If your aim is to output to TV,
    then by all
    means, use scenes! If you're not using code -- or using very
    little code --
    then it basically doesn't matter what version of ActionScript
    you use.
    > Now the flash animation drawing tools are so lame it's
    just
    > embarrassing. It's all about interactivity and coding is
    essential.
    I can hear that you're frustrated, and it probably helps to
    vent (it
    often helps me), but for the sake of others who might be
    reading this
    thread, I'm respectfully asking you for specifics. What new
    animation
    and/or drawing tools do you mean? How are they embarrasingly
    bad?
    The 3D and inverse kinematics (IK) tools, new to CS4, are
    hardly
    something I'd call embarrassing. On the contrary, they're
    cool all hell!
    True, the 3D tools require the FLA to be configured for AS3,
    but no
    scripting is required to use 3D or IK (though you *can*
    script them if you
    want to).
    The blend modes and filter effects introduced in Flash 8
    were a welcome
    edition. They didn't hinder anyone's workflow, as far as I
    know. If you
    wanted to use them, great! If not, great! Improved text
    rendering has been
    a joy ... and again, use it or not -- the choice has always
    been up to the
    designer's whim.
    > Ok, scenes are kinda old school. I can see why.
    They're only problematic (speaking historically) in cahoots
    with
    ActionScript. Unlike some, I actually do endorse the use of
    scenes ;) --
    just not in the context of programming. Keep using old school
    if that's
    what works for you. If you like, experiment with the new
    stuff as your
    schedule allows.
    > Why do anything in the timeline if you can do it in the
    code?
    I can't tell if you're being sarcastic in this line, but
    either which
    way, the answer (at least, from my perspective) is a
    pragmatic one. Use the
    timeline when doing so takes the least amount of work; the
    reverse holds
    true for code. There are plenty of animations --
    specifically, character
    animations, including lipsynch -- that, for me, are easier to
    do by hand, by
    direct manipulation of the symbols with my mouse and/or
    graphics tablet.
    I find it easier to design complex gradients using the
    drawing tools. I
    often find it easier to design complex tween eases by hand.
    When I'm
    working on animation, I tend not to code as often; when I'm
    building a
    Flash-based website, it's likely to be a combination of
    timeline techniques
    and code; when I'm writing applications, it's obviously a
    case of
    mostly-code.
    > [code gives you] more control. It can be more dynamic
    and
    > flexable. It is easier to edit. Next I need to do more
    external
    > .as doc scripting.
    Writing custom classes is another layer of technique.
    Depending on your
    workflow, it may or may not be useful. For what it's worth, I
    wrote a
    tutorial series for Community MX not so very long ago that
    might help
    illustrate this point ...
    http://www.communitymx.com/abstract.cfm?cid=ECBF0
    ... the first article is free, and demonstrates a technique
    (using code) for
    causing letters to wiggle into place. Over the course of
    several
    installments, this series works toward moving the code from
    the timeline to
    a class file, which shows how custom classes can provide a
    workflow boost,
    even for a movie that doesn't necessarily need to be
    übercoded in other
    respects. I hasten to add, I'm not one who relishes the role
    of a "Here,
    the first one is free" salesman, so be aware that you can
    also read the
    remaining articles free if you sign up for a trial
    membership, which you can
    cancel without obligation in a week's time.
    > My working file is now all on a single timeline with no
    scenes.
    > Who needs scenes. Yipee!
    Under the hood (meaning, in the SWF) all those scenes are
    ultimately
    converted to one big timeline anyway. Granted, the use of
    scenes is a
    convenient organizational tool during authoring, and I don't
    deny that
    scenes-with-ActionScript would be equally convenient, but
    again ... scenes
    have been "broken" in ActionScript for a long time. It looked
    like Flash
    CS3's AS3 finally resurrected the workflow, and -- for the
    time being -- it
    looks like CS4 might somehow be missing the mark. If so, as
    kglad proposes,
    the AS3 gotoAndPlay() issue is a bug in CS4, and we can hope
    for a fix from
    Adobe.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Hi please help! After setting up a new mail account my wifi button has greyed out. I've tried rebooting it ie turning off and on but no joy. I'm a complete technophobe and have no idea what to do next. I can receive emails but am unable to reply. HELP PLS

    Please can someone help a total technophobe?!!! I have recently set up a new mail account and since I've done that my wifi button has greyed out. Not sure what happened as I had help from my daughter. She doesn't think that she did anything wrong as has been an iPhone user since day one!! She's at work now so I'm totally lost. Please help. Many thanks.

    it's' an issue on 4S..... here same problem, even after restore the firmware.... wifi and bt are lost....

  • With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    This isn't an issue. Notice the screen prior to the one that shows usage has an iCloud section and a Manage Storage button. For this button to activate ios needs to download a few kb from icloud. Switching back to this screen forces ios to download those few kb.

  • Can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    I have same problem.
    However, I am unable to turn on Assistive Touch.
    At one time I was able to activate it, but it went away and now I cant reactivate.
    What is the solution?

  • I bought a new MacBook Pro several months ago.  I keep losing my wireless connection (my wife, sitting several feet from me has no problem with her iPad2).  I find the quickest fix ix to turn Airport off and back on.  Very annoying.   Suggestions please?

    I bought a new MacBook Pro several months ago.  I keep losing my wireless connection (my wife, sitting several feet from me has no problem with her iPad2).  I find the quickest fix ix to turn Airport off and back on.  Very annoying.   Suggestions please?

    What kind of wireless router are you using? more importantly which protocol are you connecting with? Are you and wife connecting using the 2.4Ghz band? or do you have a dual band router that offers the 5GHZ band?  Are you both connecting vie 802.11 a/b/g or n?
    The best thing to do is to go into SYSTEM PREFERENCES and select NETWORK, then select AIRPORT and click on the ADVANCED button.
    Under the AirPort tab you should delete all the preferred networks and only add back in your network with the proper security settings and passwords.
    If you hold down the option key on your keyboard while clicking on the airport icon at the top on your macbook pro. you'll seesome data that will tell you what band and mode you're connecting at, as well as in an indication of signal strength (RSSI) if you write down and post back that information it'll tell us what's going on.

  • G4 mini has a problem with its volume structure

    My G4 mini has a problem with its volume structure according to Tech Tools Deluxe. One that the application can't seem to repair. Ran it 3 times and it always hangs before it completes the fix. Never hangs in exactly the same place in the repair routine, but always hangs.
    Ran these tests because for the longest time the mini would accelerate (panic) and shut down. Installation on a new system hangs before it completes the install of all the upgrades. Any help would be appreciated.

    I realize it was not clear from the original post whether or not DiskUtility had been tried yet to fix the hard drive.
    To use DiskUtility to repair the drive, you have to boot from the original install disc that shipped with your Mini.
    1) Insert the Install disc and the shutdown the Mini.
    2) Restart the Mini and hold down the C key as soon as the startup chime or beep is heard. Hold it down until you see the "gear" spinning on the screen.
    3) Select your language, but don't proceed any farther with installation. Use the Utilities menu at the top of the screen to run DiskUtility.
    4) In DiskUtility, click once on the hard drive in the left panel, then click on the Repair Disk button in the right panel.

  • My daughter has a macbook pro and on occasion has difficulty hooking on to a home WIFI. She has no problem in most locations.

    my daughter has a macbook pro and on occasion has difficulty hooking on to a home WIFI. She has no problem in most locations this is a particular problem at the moment as she is in a house in france for the next 2 months.
    help.........!

    Change your router channel.  Sometimes this is all you will have to do.
    Power cycling the router. Read the router's user manual if using one of Apple's or contact the tech support department for instructions if using a 3rd party router.
    System Preferences/Internet & Network/Network
    Unlock the padlock
    Locations:  Automatic
    Highlight Airport
    Click the "Assist Me" button
    In the popup window click the Diagnostic button.
    System Preferences/Network- Unlock padlock.  Highlight Airport.  Network Name-select your name.  Click on the Advanced button.  Airport/Preferred Networks-delete all that is not your network.
    Place a check mark next to "Remember networks this computer has joined." Click the OK button and lock the padlock.  Restart your computer.
    http://support.apple.com/kb/TS1920 Mac OS: How to release and renew a DHCP lease
    No internet connection (wireless)
    Check to see if an extra entry is present in the DNS Tab for your wireless connection (System Preferences/Network/Airport/Advanced/DNS).
    Delete all extra entries that you find.
    Place a check mark next to "Remember networks this computer has joined."
    Other resources to check into:
    Troubleshooting Wi-Fi issues in OS X Lion and Mac OS X v10.6
    Configuring 802.1X in Mac OS X Lion and Later
    Non-responsive DNS server or invalid DNS configuration can cause long delay before webpages load Netspot
    How to diagnose and resolve Wi-Fi slow-downs
    Pv6 troubleshooting
    Mac OS X 10.6 Help:  Solving problems with connecting to the Internet
    What Affects Wireless Internet?
    Solutions for connecting to the Internet, setting up a small network, and troubleshooting

  • 'A' button has stopped working?

    Hey guys, the 'a' button has mysteriously stopped working on my keyboard which is a real hindrance. In case it was a software issue I tried to restore factory settings, but I have to enter the word 'blackberry' to do so, and I obviously can't type that!
    Any ideas?

    It sounds like what I have seen multiple times on a device with moisture damage.
    Even sitting on a bathroom counter during a hot steamy shower or bath can cause keyboard and trackball problems UNTIL properly dried out. It really is more common than you think.
    1. Remove the battery immediately!! Do not attempt to turn on your BlackBerry.
    2. Let the device dry in a warm, dry place for 3 to 5 days* (see below)
    3. DO NOT "check it each day" by placing the battery in. Leave it be to dry completely. This takes time. Replacing the battery to check it can only damage it more (moisture + electrical current = disaster).
    4. If the device is warm after the drying period, allow it to cool to room temperature before placing the battery back in.
    Suggestions on drying your BlackBerry in a warm place (open, with the battery out):
    *Place the BB in a container of dry UNcooked rice, and then you might also place it in any of the locations mentioned below.
    *On top of any dry heat emitting electronic component: TV cabinet or CRT, LCD, cable TV/Satellite converter box or plasma monitor
    *On the dashboard of your car on a sunny day
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have a 13.5 month old Ipad2, wifi only that has had problems with wifi com from the beginning. I am learning that this is not unusual for apple. Any suggestions?

    I have a 13.5 month old Ipad2, wifi only that has had problems with wifi com from the beginning. I am learning that this is not unusual for apple. Any suggestions?
    ronald1094

    Try #5.
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

Maybe you are looking for

  • Ipod will no longer sync to Itunes ??

    My Ipod which Ive had for about 6 months has recently decided it will no longer sync to my Itunes so I cannot update the music. It recognises it is there and says it is syncing then comes up with the message 'The Ipod cannot be synced. An unknown err

  • Network printing causes application crash

    I have a iMac G5 with a HP Deskjet 3930 printer hanging off of it. It's networked with my MacBook Pro via a 802.11b Linksys router. Whenever I attempt to print off of my Macbook Pro, there's a 50% chance that whichever application I'm running will im

  • Export/Import User Page custimizations in V2

    This is a common question customers have about Portal V2. If we have 2 portal environments with same user base and want to export a page group and or page from 1 to the other, how can we bring over user customizations of the page as well? thanks

  • How to Make Multiplayer TCP Flash Game?

    I have a game in the works, and though I got the UDP to work perfectly, I sadly later found out that that is simply just a lossy protocol. There's apparently (as far as my knowledge goes) nothing you can do to make it resend data if the data was not

  • Report Builder Profiler Statistics

    I ran these statistics a few times and found that my SQL time was 12 seconds, while my Reports time averaged around 683.75 seconds. Initially the report ran pretty quickly, but after making a correction in my SQL the report began to run unacceptalby