Click to scroll to a point of the stage on a parallax website using edge commons

Hi Edge community,
I need help to finish a parallax website that I created using the edgecommons library.
this is what I've done up till now:
Le Papillon - Singapore
I'd like to add the possibility to smoothly scroll to a certain point/percentage of the scrollbar by clicking on a link in a (future) fixed navbar instead of using the mouse wheel.
Which is the best way to achive this?
Thank you,
Ettore

lol, I went and tried the getPixel() method for it, but using Stage.getPixel(100,100) or _root.getPixel(100,100) returned undefined.
So I did more research, and I found bitmap.draw(), too bad I could have just checked the forum again. :3
its exactly what I wanted, thanks for your help, kglad.

Similar Messages

  • Geting the color that's on a point on the stage

    I have multiple objects on the stage that are all different
    colors and
    opacities, these objects are also moving around, so the
    colors are changing
    as objects pass through each other. I want to be able to find
    out what
    color is currently at a point on the stage.
    I've tried trace(_level0.getPixel(200, 200).toString(16));
    and all it
    returns is "undefinded".
    Does anyone know how or if this can be done?
    Thanks!

    The Canon-supplied driver is for USB only. Get Gutenprint from here:
    http://www.linux-foundation.org/en/OpenPrinting/macosx

  • I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    It is now confirmed  that iWeb, and iDVD, has been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. However, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    It now appears that the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on. However, the iLife 11 boxed version that is still available at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD. Those two apps were listed in small, gray text on the iLife 11 box that I bought.
    Personally, if I didn't already have a copy I would purchase one to have it for reinstallation purposes if ever needed.
    This might be of some interest to you at this time: Life After MobileMe.
    OT

  • Rotate an image after clicking two times on reference points on the picture

    Hello Community!
    I am looking for a solution to rotate an image by clicking on two reference points on the image. The two coordinate pairs of the mouse clicking can give me the rotation angle with simple geometry. After that I will rotate the image with the calculated angle.
    My problem is: How can I get those two coordinate pairs? I wanted to do it with an easy MatlabScript "input: path ... imread(path) ... imshow ... ginput(2) ... calculation ...output: angle". Apparently imshow doesnt work in Labview
    I already have the Mouse Down event but I dont know how I can make Labview let me click EXACTLY and ONLY two times on my picture and store the coordinates.
    Does anyone of you have a glue/ hint how to do that? 
    Best,
    Annki
    (Started LabView 2 weeks ago)
    Solved!
    Go to Solution.

    Hi Annkitranky,
    welcome to the forum!
    Here is one that works well: http://en.wikipedia.org/wiki/Cyanoacrylate  (Sorry, I couldn't resist...)
    Check this out: http://forums.ni.com/t5/LabVIEW/Using-mouse-click-to-return-image-coordinates/m-p/890731 and http://forums.ni.com/t5/LabVIEW/How-to-find-cursor-position-on-an-image-in-LabVIEW/m-p/1862495 There is a suggestion not marked as a solution, but I think it is: see last posts there; User Event Structure with the position reported implicitly. Further, I would put the Event Structure in the While Loop, where I wait for user input, collect the user inputs and finish (execute rotation on a two-element array).
    If you have a code or something, post it.
    Cheers

  • My IPhone stopped working right after I did the most current update, yesterday.  The screen has a picture of the usb cord, pointing towards the ITunes logo. I cannot use the phone at all.  I have tried turning it off and on.ITunes won't recognize device

    Hi there,
    Can someone please help.  My IPhoneS stopped working right after I did the latest update which was yesterday.  Now, the phone does not work at all.  When turned on, the screen shows a picture of USB cable pointing to the ITunes logo.  I have tried just about everything, and cannot get it working. It's like it is frozon.  My ITunes does not recognize my device.  Cannot dial out either. I desperately need to get it working.  Can someone please help me. 
    Thanking you in advance for your help.  :-)

    The update did not do anything.
    AT&T cannot and will not do anything, they do not provide support for iPhones, Apple does.
    The issue is not with the iPhone or iOS if you've reset network settings and tried forgetting the Wi-Fi Network, it is specific to the network.
    Check the settings on the router, try disabling the security settings first... that will clarify the issue is not with the device but rather the Network.

  • I only have audio for the videos on apple's website using Safari?

    I can only hear the audio on apple's website to their videos.  I have the newest quicktime update and I'm not sure why it won't play.  Any thoughts or suggestions?

    Try another browser.  If that works, then you'll know for sure it's a Safari issue. 

  • I do a search. I click on one of the results. Upromise open up with a "Continue" or "Log In". I click on "Continue" and it goes to the Upromise logon page. It used to take me to the site I selected.

    It's been doing this for the last month or so. I just discovered that I don't have to hit the "Continue" button. After a couple of seconds it pops over to a weird Upromise log on page. It's the below info and it's all in the upper left corner of the page.
    Sign in
    Username:
    Password:
    I forgot my username
    I forgot my password
    I forgot my username and password

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Could not use the clone stamp because the area to clone has not been defined (option-click to define a source point

    Why is this not working??!

    Presumable because you have not followed the instruction implicit in the error message:
    …option-click to define a source point…
    Read the Help file if you do not know how to do that.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, such as total installed RAM, scratch file HDs, video card specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Scrolling to a point whislt being able to change direction

    Hi people, I need to build a scrolling page where there are
    some static buttons on one side, when clicked the buttons scroll to
    a certain point on a picture. I can do this with some simple
    buttons and simple actionscript, however what I want to achieve is
    whilst scrolling to one point on the picture the user can click on
    another button and the scroller changes direction to where the user
    has just clicked to go. For an example see
    http://ourtype.be. Click on the
    bottom button then on the top before it reaches it's destination
    and it neatly scrolls to the top, How is this done??????
    Any help would be very much appreciated. Thanks all. you'll
    be saving my hide.

    You should also look at the CornerEffects sample script which allows you t apply an effect to selected corners. It was designed to run on a rectangle, so you should remove the exisiting corner effects before running it to get predictable results. Runiing it more than once or on a non-rectangular object can produce some very wild shapes, though, so go ahead and play.
    And of course there's always the Pen Tool and the Direct Select tool that can be used to modify the existing corner points.

  • Using mouse event for right click or scroll

    I would like someone to guide me that if there is any events which can be used for right click of the mouse or the scroll of the mouse(specially the scroll). Until now all the mouse event i have been using is based on the left mouse click, release......  So could anyone guide me how to use the right click and scroll of the mouse using actionscript.
    Thank you!

    You should try searching the forums using the key terms related to what you are after.  I don't think you'll find much help for the right click though... appears to not be supported by Flash.  Below is a link to one result for the mouse scroll from just the other day... you can probably find more if it does not help.
    http://forums.adobe.com/message/3511047#3511047

  • How do I connect a user account to a server's share points when the user is on the same Mac as the Lion Server?

    I've installed and configured Lion Server on an old iMac that suddenly became available when I upgraded to a new iMac. I've got a share point on there. It was easy. Love it.
    My bookkeeper comes into my office once a week and works on that iMac. He already has a regular user account set up there. He needs to access the sharepoint that is on that iMac he's using, and which is now running Lion Server. But I can't see the server from his account, and I can't manually connect to it - I get an error to connect locally on the Mac instead.
    But I can't navigate to the point in the user account that I'm using as a file serving account to get him access to the directory I'm sharing.
    So, in short, how does a local user on an iMac running Lion Server connect to the server's sharepoints?

    All drives are now listed under volumes both local and remote.
    I would try the fullpath using /Volumes/....
    or post the file paths your trying
    are you trying the goto menu?

  • [iPad] How can I get the popoverController pointer in the viewController

    UIViewController* viewController = [[UIViewController alloc] init];
    UINavigationController* navcontroller = [[UINavigationController alloc] initWithRootViewController:viewController];
    UIPopoverController* aPopover = [[UIPopoverController alloc] initWithContentViewController:navcontroller];
    [aPopover presentPopoverFromBarButtonItem:buttonID permittedArrowDirections:arrowDirections animated:YES]; // popup the popoverView
    precondition:I can't pass the popoverController point to the viewController directly.
    How can I get the popoverController pointer in the viewController?
    I try to use the following function, but it can't get the popoverController:
    self.navigationController.parentViewController
    Message was edited by: MarginD

    There is no "book box in preferences' general".
    There is a new iBooks application that appears on Mavericks' dock.  It looks like this:
    Go there to add books from your Mac to your iPad.

  • Position of the pointer of the mouse

    as I can obtain the position of the pointer of the mouse in an applet
    I use "MouseEvent e" and then I use "e.getX () and e.getY ()" and it compiles well
    but when I execute the program they make errors.
    A piece of the program:
    "public class ticker2 extends Applet implements Runnable {
    MouseEvent e;
    public void paint(Graphics g) {
    if(activo && (m.getX ()> origen[indice])
    also use a "addMouseMotionListener" in the function "init" that I don't believe that it causes conflicts
    Somebody knows where this the error or how should make it well.

    Try this,
    addMouseListener(
    new MouseAdapter() {  
      public void mousePressed(MouseEvent e) {
        if(isSelected)
         System.out.println( e.getX()+e.getY() );
    });      If it works I would be happy to relieve you of your dukeDollars :-)

  • JSON content - click to show another symbol on the stage

    Hi,
    Thanks to Zaxist I have a working code like the one below:
    $.getJSON("content.json",
              function(data){
                        for(var i=0; i<data.length; i++){
                        var s = sym.createChildSymbol("template","content");
                        s.$("title").html(data[i].title);
                        s.$("description").html(data[i].description);
                        s.$("seira").html(data[i].seira);
                        s.$("imageholder").css({"background-image":"url('"+data[i]. image+"')"});
                        s.$("imageholder").data('Large', data[i].largeimage);
                        s.$("imageholder").click("click", function(e){
                                                                sym.getComposition().getStage().$("finte").css({"background-image":"url("+$(this).data('L arge')+")"});
    Now, I am trying on the click function to show specific symbol on the stage, for example when click on the first item the symbol red will appear, if cliked the second item the (previous symbols that was appeared will be hided) and the new symbol blue will appear. An so on with all the other ellements that JSON files has.
    I tried this on the code, but nothing:
    $.getJSON("content.json",
              function(data){
                        for(var i=0; i<data.length; i++){
                        var s = sym.createChildSymbol("template","content");
                        s.$("title").html(data[i].title);
                        s.$("description").html(data[i].description);
                        s.$("seira").html(data[i].seira);
                        s.$("imageholder").css({"background-image":"url('"+data[i]. image+"')"});
                        s.$("imageholder").data('Large', data[i].largeimage);
                        s.$("imageholder").click("click", function(e){
                                                                sym.getComposition().getStage().$("finte").css({"background-image":"url("+$(this).data('L arge')+")"});
                                                                if (data[i]=3) {
                                                                                                                                                                                                                                                                sym.getComposition().getStage().$("red").show();
                                                                else {
                                                                sym.getComposition().getStage().$("red").hide();
                                                                if (data[i]=5) {
                                                                                                                                                                                                                                                                                                                             sym.getComposition().getStage().$("blue").show();
                                                                else {
                                                                sym.getComposition().getStage().$("blue").hide();
    Could you help me?
    Thanks in advanced!

    Zaxist please I need your help again.
    I have this:
    $.getJSON("images1.json",
              function(data){
                        for(var i=0; i<data.length; i++){
                        var s = sym.getSymbol("base").createChildSymbol("template", "content");
                        s.element.attr('id', 'basara'+i)
                                            s.getSymbolElement().css({"background-size":"contain",
                                               "float": "left",
    "margin": "100 125px 125px 100",
    "clearboth":"{ clear: both; }"
                        s.$("description").html(data[i].description);
                        s.$("code").html(data[i].code);
                        s.$("imageholder").css({"background-image":"url('"+data[i]. image+"')",
                                                                                                                                                                     "background-size":"cover"
                        s.$("imageholder").data('myIndex', i);
                                                                          s.$("imageholder").data('Large', data[i].image);
                         s.$("imageholder").click("click", function(e){
                                                                     if ($(this).data("myIndex") == 0){
    sym.getComposition().getStage().getSymbol('holders').$("holder1").css({"background-image": "url("+$(this).data('Large')+")"});
                            else if ($(this).data("myIndex") == 1) {
    sym.getComposition().getStage().getSymbol('holders').$("holder1").css({"background-image": "url("+$(this).data('Large')+")"});
                            else if ($(this).data("myIndex") == 2) {
    sym.getComposition().getStage().getSymbol('holders').$("holder1").css({"background-image": "url("+$(this).data('Large')+")"});
    $.getJSON("images2.json",
              function(data){
                        for(var i=0; i<data.length; i++){
                       var s = sym.getSymbol("podia").createChildSymbol("template", "contentpodia");
                                           s.getSymbolElement().css({"background-size":"contain",
                                               "float": "left"});
                        s.$("description").html(data[i].description);
                        s.$("code").html(data[i].code);
                        s.$("imageholder").css({"background-image":"url('"+data[i]. image+"')",
                                                                                                                                                                     "background-size":"cover"
                        s.$("imageholder").data('myIndex', i);
                                                                          s.$("imageholder").data('Large', data[i].image);
                         s.$("imageholder").click("click", function(e){
                                                                     if ($(this).data("myIndex") == 0){
    sym.getComposition().getStage().getSymbol('holders').$("holder2").css({"background-image": "url("+$(this).data('Large')+")"});
                            else if ($(this).data("myIndex") == 1) {
    sym.getComposition().getStage().getSymbol('holders').$("holder2").css({"background-image": "url("+$(this).data('Large')+")"});
                            else if ($(this).data("myIndex") == 2) {
    sym.getComposition().getStage().getSymbol('holders').$("holder2").css({"background-image": "url("+$(this).data('Large')+")"});
    I want to import symbol podia inside to base to handle it by content2.
    I am writing this:
    var basewithpodia = sym.getSymbol("base").createChildSymbol("podia", "content2");
    it places the symbol inside, without the data of the JSON file.
    How can I make it to work?

  • Hiding the Stage Titlebar in Director 11

    I just spent about an hour searching the Director forums to find out how to hide/unhide the titlebar while the published projector is running.
    There were two suggestions.
         window("stage").titlebarOptions.visible = false
         _movie.displayTemplate.titlebarOptions.visible = false
    Neither works for me. The projector always defaults to whatever was originally set in Properties.
    Once the projector is running, is there a way to hide/unhide the titlebar?
    C.J

    This is one of those bugs that I am certain has a very simple answer — yet it eludes me.
    I have Windows XP Professional and am creating a projector in Director 11. The screen size is 800 x 600 with a visible titlebar and a field for displaying text. The code is shown below.
    I publish the projector and then run that projector. When I click the screen, the text 0, 1, 0, 1, 0, 1, 0, 1 appears in the field, indicating that the value of window("stage").titlebarOptions.visible is changing, but the window titlebar itself remains visible throughout.
    Do I need to refresh the window somehow? Or perhaps I am missing an Xtra? (I'm using a stub projector with the Xtras in a separate Xtras folder.)
    Even worse, even in runtime, when I use --- put window("stage").titlebarOptions --- what I get is this.
    [#icon: (member 0 of castLib 0), #visible: 0, #closebox: 0, #minimizebox: 0, #maximizebox: 0, #sideTitlebar: 0]
    Which does not reflect the currect window at all, for I do have a closebox, minimizebox, minimizebox
    It is like --- window("stage") --- is not pointing at the stage window at all.
    I am humbled.
    C.J.
    on enterFrame
    end
    on exitFrame
      _movie.go(_movie.frame)
    end
    on keyDown
      display("DONE")
      halt()
    end
    on mouseDown
      if window("stage").titlebarOptions.visible = true then
        window("stage").titlebarOptions.visible = false
        display(window("stage").titlebarOptions.visible)
      else
        window("stage").titlebarOptions.visible = true
        display(window("stage").titlebarOptions.visible)
      end if
    end
    on display(S)
      member("comments").text = S & numToChar(13) & member("comments").text.line[1..20]
    end

Maybe you are looking for

  • Preview: why slow with nothing edited?

    I'm running a trial of After Effects, to see what the product can mean for my business. I run an Intel Quad core with 8GB of RAM. I have an empty 1280x720 29.7fps composition and no matter which 1280x720 video I import with different codecs, the prev

  • Enter instead of Tab

    Hi. Tell me, please, I need to replace pressing Enter on pressing TAB. How best to do this using the ADF? (I need to move between the components by pressing the enter key) Thanks.

  • Preventing caching of pages

    Hi, I'm having a problem preventing my jsp pages from caching. On my jsp page I have an ordimage object in a table, the source of which is the url of a servlet which serves up an image. If I navigate to a new page and on this page change the image of

  • SAP SCRIPT Barcode Printing Issues

    Hi , I'm printing 3of9 , barcode in sap script, which has width of 1CM and height of 1CM, the problem is once it's printed, barcode is being printed at higher position than it's supposed to be and creating alignment issues and also introduces blank l

  • How to get Logic Pro to relocate plug in folders?

    I have downloaded a plug in months ago. (a folder that contains: component file vst bank file (.fxb) a folder with all the samples/instrument files for importing individually instead of using the premade vst bank above Months ago, I created a project