Scrolling Flash Content With Mouse Scroll Bar

I created a custom scroll bar in AS2.0 and it works great.
But now I would like the content to scroll with the mouse scroll
wheel. Any ideas?

Anyone know how to fix this on Mac Osx, it works in preview
but not in safari. Any pointers?
var mouseListener:Object = new Object ();
mouseListener.onMouseWheel = function (delta)
//contentMain._y += delta;
scrollFace._y -= delta;
if (scrollFace._y >= bottom)
scrollFace._y = bottom;
if (scrollFace._y <= top)
scrollFace._y = top;
updateContentPos ();
Mouse.addListener (mouseListener);
function updateContentPos ()
var onePercent = (bottom - top) / 100;
var scrollPerc = Math.floor ((scrollFace._y / onePercent) -
37);
var contentNewY = (contentMain._height * scrollPerc) / 100;
//trace (scrollPerc + " " + contentNewY)
contentMain._y = -contentNewY;
}

Similar Messages

  • I tell her that I'm developing a flash content with as2 and I have a very simple problem, I hope you

    Hello, how are you?
    I tell her that I'm developing a flash content with as2 and I have a very simple problem, I hope you can help me
    I happened to create a movie clip and inside to create a scroll that is two isntancias,
    I mean:
    in the first frame create a button in the 6 to 5 buttons and an action to melleve the sixth frame and another to return. (Elemental truth)
    Now I have a problem. In creating a movie clip instance name to each button and in the average place the next fram as2,
    boton.onRollOver name = function () {
           gotoAndStop ("Scene 1", "eqtiqueta");
    because what I want is that from inside the movie clip, go to the scene proncipal to a frame that is three in the label name.
    however, does not work.
    appreciate your cooperation.
    Escuchar
    Leer fonéticamente
    Diccionario - Ver diccionario detallado

    Hello, I think you need to start a discussion on the Action Script forum. This is the Flash Player forum, the browser plugin.
    Thanks,
    eidnolb

  • Replace flash content with jpg or gif

    Hi
    Can anyone point me towards the correct code to insert that
    will replace a SWF with a static image (either GIF of JPG) if the
    user does not have Flash installed?
    Thanks

    .oO(Stefan83)
    >Can anyone point me towards the correct code to insert
    that will replace
    >a SWF with a static image (either GIF of JPG) if the user
    does not have
    >Flash installed?
    Pure HTML:
    <object type="application/x-shockwave-flash"
    data="example.swf" width="200" height="150">
    <param name="movie" value="example.swf">
    Alternative non-Flash content
    </object>
    Might not work in older browsers, though.
    Micha

  • Highlighting field content with mouse

    All
    when I want to copy the contents of a field , I select the content with the mouse(it goes blue) and then I can copy (ctrl+c). But in my R/3 system, if I copy the content with the mouse, it turns  blue all right but on releasing the mouse, the highlighted content defaults back to the original. (Meaning it's not highlighted anymore and can't be thus copied).
    Which suitable setting inside the R/3 will enable me to achieve this ?
    Thanks in advance
    **I have the workaround of using (shift+ keybd. arrows) to highlight and copy, but I would like to achieve this with help of the mouse.

    Shovon,
    Quick copy paste ir very helpful.
    The moment you highlight it, the contentis copied onto the clipboard.. and if you wnat to paste it in any SAP related input field, right click the mouse .. the content gets copied.. and if you wish to paste it in any other application like Word or excel you have to use Ctrl+V
    Hope this helps

  • Blocking all flash content with Opera

    Hi!
    How can I block all flash content except Youtube with Opera?
    Do you know any system wide methods to block flash (except youtube)?
    cheers

    Press F12 (or "Tools > Quick Preferences") and disable plug-ins. Then go to youtube.com, right-click and choose "Edit Site preferences". Add youtube.com (delete the www.) and enable plug-ins on the Content tab.
    Not all flash content on Youtube comes from youtube.com, so you probably have to create more exceptions over time.
    Last edited by byte (2008-10-03 16:25:52)

  • Overlay Flash content with HTML

    I have been working to fix a layout that uses DHTML menus and
    has Flash in the middle of the page... Like many others I am having
    some issues with the DHTML menu not overlaying the Flash content.
    I have read this post :
    Fixing
    Safari's wmode flicker that looked to be the solution but in
    this case it did not work all together...
    Here is a
    link to the site...
    I had tried using an class on the <li> tags that gave
    it a background image. This worked in IE 6 & 7 and FF on Mac
    but it did not work on FF on Windows... I thought that might be as
    close as I could get for the moment so I added in SWFobject for my
    Flash detection and Alt display and now none of the above works at
    all...
    So my question is... What is the "Best Standard" for
    accomplishing this overlay of Flash with HTML content?
    If you can provide relative links to the topic for reference
    that would be helpful too... I've only been able to locate a few
    with one being here in the CSS Advisor beta.

    Correction: This class with on the <li> tag corrected
    this in all browsers except Safari... When I added the SWFobject
    for detection / alt content it caused the overlay to no longer
    function.

  • Flash content with n8

    I tried one of Finnish daily news papers web content(iltalehti.fi-> web tv) but it didnt work at all even tho i think n8 should support it. It says in the requirements that you should have flash player 8 or higher and n8 specs says it supports most of 10.1 content ??.Can you adjust the browser setting somehow to see the content ?

    No you cannot change your settings for Flash, the version of Flash lite 4 does support most flash content, but not all !
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Downloading flash content with Safari?

    Now that the Activity Window has gone away, I'm looking for a way to simply download flash video from within Safari (not interested in a standalone application).
    I know about Click To Flash, but I would like a way to simply get the .flv file - I'm not looking to convert (Click To Flash does not appear to have this option, unless I'm missing something).
    Any suggestions?

    I have noticed that some videos on YouTube allow a right mouse button or trackpad click that pops up a menu with a download entry. This will download a .mp4 copy of the current video. You might also google Mactubes. Latest version is 3.1.4 and works on ML. Can you live with the mp4 format or do you still want the .flv format?

  • Unable to view flash content with Flash 10,0,22,87 as an Non Admin

    We currently have an issue with in our Citrix farm with Windows 2003 Servers (x64, R2, SP1) Where Flash Flash 10,0,22,87 is installed and working fine when logged in as a Domain administrator but will not work as a normal (non administrative user) to confirm I've given a user who it did not work for Domain admin rights and it started working straight away. I'm using (and published within Citrix) the 32bit version on IE for compadibility reasons and have also tired this on a Window 2003 Server (x86 R2 SP1) and am getting the same results so I have to assume the issue is with Flash and not with my setup.
    I've tried the following recommendations:
    Remove with Adobe Flash removal tool and Reinstalling via website with an Domain admin login using the change user /install command
    Remove with Adobe Flash removal tool and Reinstalling via install_flash_player_ax.exe installer with a domain admin account using the change user /install command
    Allowing Domain users Modify Premissions (to both the Directories and Files) to the M:\WINDOWS\system32\Macromed\Flash\swflash.ocx & M:\WINDOWS\SysWOW64\Macromed\Flash\Flash10b.ocx
    Following KB article http://kb2.adobe.com/cps/624/624850b5.html and applying the premission changes recommended
    Following KB article http://kb2.adobe.com/cps/191/tn_19148.html and checking the registry premissions on these items
    I've enabled all ActiveX and Java related IE options in Group Policy to allow the to run for the Internet Zone
    When going to http://www.adobe.com/software/flash/about/ either as a Domain admin or a Regular user it confirms that "You have version 10,0,22,87 installed"
    Still I cant seem to get flash components of websites to load when logged in as a non Administrative User.

    this is what fixed the issuefor me:
    Be sure to try this on a test machine and back it up if needed.
    In the system registry
    For each of the following registry keys:
    HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}
    HKEY_CLASSES_ROOT\CLSID\{D27CDB70-AE6D-11cf-96B8-444553540000}
    HKEY_CLASSES_ROOT\CLSID\{1171A62F-05D2-11D1-83FC-00A0C9089C5A}
    HKEY_CLASSES_ROOT\TypeLib\{D27CDB6B-AE6D-11CF-96B8-444553540000}
    Right-click the key, select "Permissions"
    In the Permissions Dialog click the "Advanced" button Click "Add"
    Enter "Everyone" and click "OK" to accept Select "Allow" for the "Query Value", "Enumerate Subkeys", "Notify" and "Read Control" permissions. Do not change any existing permissions.
    Source -  http://www.adobe.com/go/624850b5

  • High CPU usage on sites with flash content

    I have a 2.8GHz, 2GB RAM, Windows XP Pro SP2 machine.
    When I visit sites with alot of flash content with Firefox 3
    or IE or Chrome my CPU goes to 80-90% and stays there.
    I uninstalled flash player and reinstalled the latest
    version, but with no fix to the problem. Don't seem to have any
    virus/spyware on my system.
    Uninstalling Flash player on each of the different browsers
    seems to fix the problem - visiting the same sites, I don't get
    huge CPU usage.
    Any ideas what underlying thing might be causing excessive
    CPU usage in all my browsers when visiting flash sites?

    To make clarifications for my previous post (some people emailed me saying that the link says nothing about cpu hogging or excessive cpu usage), you may not visit the LINK previously provided and instead follow the steps given below.
    I would also like to point out my kind of problem that these steps successfully solved. The problem was this:
    The first time I start up a browser (IE, FF, Opera, or Chrome) and visits a website with flash player files running on it, the performance of my
    computer is smooth and fast for the first 2 or 3 minutes. But afterwards, the CPU usage meter just suddenly shoots up from below 10% to a shocking
    100%! And there was not other program opened, except the browser; and I was only visiting one website ( e.g., Youtube).
    It then clearly indicates that flash player is the culprit, since I have already run windows updating, spyware and antivirus scanning, defragmenting,
    browser cookies and cache clearing, junk cleaning, and drive checking. I have also tried uninstalling and reinstalling flash players, which was actually
    a good thing except that during that time I have not yet known about the next 4 steps (given below).
    If you have the same problem, you might try th following:
    NOTE: Close your browsers and any other running programs and opened windows first.
    STEP 1: Navigate your way to this folder: Computer > C: Drive > Windows > System32 > Macromed > Flash
    STEP 2: Right-click over the file ‘Flash10a.ocx’ and choose ‘PROPERTIES’.
    STEP 3: In PROPERTIES, choose the ’SECURITY’ tab > Click on the ‘EVERYONE’ account or your own Windows account profile, and the button called 'EDIT’ and then tick the box called ‘ALLOW FULL CONTROL’ and also choose your own Windows local account name to have full control.
    STEP 4: Repeat this process for the file ‘FlashUtil10a’.
    Open a browser and check the performance of your CPU.
    PS:
    The example here indicates that the flash player version is 10; however, you can still use the steps for lower versions. For instance,
    if the version of your flash player is 9, look for all files named FlashUtil9a (disregard the extensions).
    Also, the Folder Directory is applicable for Vista users. The file directory structure of your drive C:\ may be different if you are using other windows OS version. You just have to search the location of your Flashplayer.
    To:
    montian and franky --- i'm so glad this procedure helps you with your prob!

  • Quicktime logo with question mark appears instead of flash content

    since updating my system yesterday to OS x 10.4.11 i have been unable to view flash content with _all browsers_. *Quicktime logo with question mark* appears instead. Spent 4 hours trying every fix suggested by Mac forums worldwide - with no result. Took the computer to the apple store where they actually took 60 euros off me for NOT fixing the problem. Still cannot view any flash content. Any help would be appreciated
    Mac book Pro 2 Ghz Intel Core Duo

    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    It is known to work in the great majority of cases with Safari 3.0.4, QT 7.3 and OS 10.4.11.
    Assuming you already run Tiger versions OS 10.4.9 or above (this has not yet been verified with Leopard) and have Quicktime 7.2 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 10 for Mac from http://forms.real.com/real/player/blackjack.html?platform2=Mac%20OS%20X&product= RealPlayer%2010&proc=g3&lang=&show_list=0&src=macjack
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    Adobe FlashPlayer from http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS.)
    In Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them).
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them).
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz.
    Important: Now repair permissions and restart.
    The world should now be your oyster!

  • Can't View Flash Content in Opera 9

    Hello,
    I'm having viewing Flash content with Opera 9. I have downloaded and installed the latest version of Flash (9.0.18), and my other browsers have no problem showing the Flash content.
    Am I missing something here with getting Opera 9 to display Flash movies, etc.? I can't figure out how to instruct the browser to display it.
    Many thanks,
    sarah

    Sheeesh, fixed it.
    Open Opera 9 Preferences
    Click the Advanced Tab at the top
    Select Downloads in the left column, you will get a Mime type window
    Scroll and find .swf extension then click Edit
    At the bottom of the window that opens it should be checked "Use plug-in" and show Shockwave Flash
    Select Shockwave Flash and you will see another one listed as well, swap to it and restart Opera.
    Somehow, even though I did uninstall all older components, it's found and used the wrong one.
    Now Flash works fine in Opera 9, Safari and Firefox.

  • Loading Flash content using loadMedia??? Or else??? Has to be XHTML 1.0 Strict and WAG valid

    I have a new project into which i have to insert SWF into an HTML page using other way that the standard Abobe way to do it.
    I know about Flash Satay but i have 300s Flash files to insert and dont want to reopen each of them.
    My HTML pages have to W3C comply and as you know, the <classic id> or <embed> tag isnt valid regarding XHTML 1.0 Strict.
    Client, who insists that his media be accessible to EVERYBODY, suggested using
    "javascript:loadMedia('flashContainer','flv/v01.flv', '', '', 'fra', '','','', 'false');"><img src="images/flashFr.jpg" alt="" /></a></p>
    where loadMedia is a function with these parameters
    <!-- Parameters for loadMedia function
    loadMedia('mediacontainer', '<file>', '<caption>', '<image>', '<lang>', '<playId>', '<height>', '<width>', '<autostart>' )
    - mediacontainer - /* container that holds the player */
    - file - /* Specifies the location of the file to play. */ (.flv)
    - caption - /* Specifies the location of the xml-based captions file using the SMIL Timed Text format. */
    - image - /* Specifies the image to display when playing MP3 or FLV files. This FlashVar can also be used to display a preview image for other formats. Supported formats are JPG, SWF, PNG, and GIF. */
    - lang - /* Specifies the language of the player. */
    - playId - /* Element id of the player control */
    - height - /* Specifies the window height of the control. */
    - width - /* Specifies the window width of the control. */
    - autostart - /* AutoStart the loaded clip */
    -->
    Do you know about that? Can you help? Do you know any other way to insert Flash content with respect to:
    - Javascript on/off valid
    - XHTML 1.0 Strict valid
    - WAG valid.

    I am VERY concerned with the fact that my pages are not being properly validated and displayed.
    I have created two different sites using iWeb '08 and while I am satisfied with the ease of use, I am concerned that my sites are not being displayed correctly... in fact, the other day my friend who is a Mac whiz and who hosts my business website on his server... tried to visit the site that I created using iWeb '08 and had published to my .Mac account... it caused his browser to flat out crash! He said he hasn't seen anything like that in years!
    Here is the site I have begun to build http://www.mcleanmonowheel.com
    If you paste this url into http://validator.w3.org/ a slew of errors pop up.
    Is this the norm with iWeb or have I done something wrong on my end???
    -Patrick

  • I get different result when I paste with mouse and shift+ins

    Sometimes I get different result when I paste the clipboard content with mouse and shift+insert key combination. Why? What can I do to stop this annoyance?

    Just to add a little to the above, there really is no universally applied standard (not even close) for how the primary, secondary, and clipboard buffers should be used.  Any X program can use them however they wish.  But there are some common patterns: selected text should be placed in the primary buffer, and X pastes from the primary buffer with either middle click or shift-ins by default.
    This default can (and unfortunately often is) overriden by clipboard managers - I don't know why they don't stay true to their name and just manage the clipboard buffer, but they often don't.
    <mini rant>with no clipboard tools installed, selected text in any program I have is in the primary selection, and shift+ins or middle click paste from this primary selection.  Ctrl-C/Ctrl-V post to/from the clipboard buffer.  No need for extra tools.  If I install any clipboard manager, this default sanity of X11 goes strait to s(&*Y.  I don't like clipboard managers </mini rant>  <mini praise> X11 is great without any of that cruft added </mini praise>
    Last edited by Trilby (2013-06-15 03:12:39)

  • When I open certain emails the scroll bars at the side and bottom flash and jump back and forth along with the email content

    I recently upgraded to the latest version of Yahoo mail. Ever since then when I open certain emails the scroll bars jump back and forth and flash. This happens when I open my AT&T bill or something from Amazon for instance. A message appears at the bottom such as "Transferring data from mail.yimg.com", or "us.bc.yahoo.com". This doesn't happen when I use Safari.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    You may have switched on caret browsing.
    *http://kb.mozillazine.org/accessibility.browsewithcaret
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    *Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    *http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

Maybe you are looking for