Canvas won't scroll content, but scrollbar appears?

Hello, i've tried porting this at actionscript.org with no
luck.
I have a class that extends canvas and i populate the object
like so:
for each (var group:XML in dataProvider.group) {
card
= new CardComponent();
card.x = this.x + (offset_x * i);
card
.y = this.y + (offset_y * i);
card.z = z_depth;
this.addChild(card
i++;
the scrollbar will appear when the cards total width exceeds
the boundaries, but the scrollbar doesn't scroll the content (the
cards) when dragged back and forth. Although the scrollbar does
appear to adjust it's size correctly proportionate to the content.
Is there additional code i need to add for the scroll functionality
to move the content? Thank you in advance -b

Thanks kglad
but that didn't seem to help, though to be honest, I'm not absolutely sure how to use the 'invalidate()'
I've attached the code below - hopefully you'll spot this newbies error!
I thought I'd add 2 buttons that simply changed the source between a .swf and a .jpg.  If I load the .swf, no scrollbars, if I load the .jpg, then scrollbars appear??
import flash.events.Event;
stop();
stage.invalidate();
Gigs.verticalLineScrollSize = 10;
Gigs.verticalPageScrollSize = 10;
Gigs.horizontalLineScrollSize= 20;
bGigs.addEventListener(MouseEvent.CLICK,LoadGig);
function LoadGig(evt:Event):void{
      Gigs.source = "Gigs.swf";
bPoster.addEventListener(MouseEvent.CLICK,LoadPoster);
function LoadPoster(evt:Event):void{
      Gigs.source = "SyntronixPoster.jpg";
Many thanks for your help so far

Similar Messages

  • The page won't scroll down to see the all the content. How can I fix it?

    My pages won't scroll to see all of the content. I don't want it to scroll on the home, about, or contact pages, but I do want it to scroll on the pages with image thumbnails.
    Such as this page:
    http://megancampagnolo.com/loves.html
    How can I fix it?

    The Slideshow widget on the page appears to be pinned and pinned elements are not considered as part of the content by the scroll bar.
    So select the Slideshow widget in Design mode and unpin it.
    Thanks,
    Vinayak

  • App store shows no content but when i search those apps appear

    app store shows no content but when i search for a particular app they appear and then returns to a blank screen

    Many people are having this problem for the last couple of days. This is a problem that Apple has to fix. If you look around the forum, you will see many, many discusssions about this and they have been going on for a few days.
    According to Fly150 in another discussion, this is a workaround - for the time being.
    If you want to update the Apps while waiting for Apple to fix Updates:
    1. Go to App Store
    2. Select Purchased
    3. Select All
    4. Scroll down to find the Apps showing update
    5. Select update on the Apps
    This should update the Apps and get rid of the update count in App Store.

  • How do I fix my ichat? My buddy list appears, but whenever I try to click on a buddy to chat, IChat won't let me. Nothing appears. When I try to click on "File" - "New Chat" Also nothing appears. What's wrong?

    My buddy list appears, but whenever I try to click on a buddy to chat, IChat won't let me. Nothing appears. It won't let me chat regularly via text, or by video/audio chat. Even when I click on File -> New Chat, still nothing shows up! But, when I look at how many chats I have open, it says I have "X" amount of chats open! But nothing is there.........
    If somebody tries to video chat me from my buddy list, I can see the request.... and then the video chat will work. But I cannot request anybody and if they send me a regular text ichat, ichat won't deliver it to me.
    Somebody please help me I've tried so many things and nothing is working!!!!! :/

    Hi,
    This sounds like it is about Window positions.
    iChat has Default places for Incoming Invites.
    Video is always top Center of your Screen
    Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
    Secondary invites are sort of Stacked like when you open multiple files from the same App.
    Your outgoing Windows are "Remembered" as to where the last one was when you used it.
    This can be an issue if you use your Mac with a second display and turn Off Mirroring.
    You windows can get "left" on the other screen.
    Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
    If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
    Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
    10:42 PM      Tuesday; April 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why is elements better at photomerge than CC- CC does not appear to automatically fill image based on content but elements does when merging a panorama. Also the stitching is visable in CC but almost perfect in elements- why?

    I took 6 panorama shots of a scene and used CC to Photomerge them as one. Couldn't see where to automatic blend the edges and there was 'stitch' lines when the images were merged. So i did the same in Elements 11 and it was perfect. Am i doing something wrong in CC or perhaps not doing something at all?
    Any help, please?
    Dave

    Hi - Thanks for taking the time to reply and i appreciate the remarks- if a little harsh- we all have to start somewhere and i am fully aware of the limitations of Elements which is why i decided to add CC to my software. I can only say that if an inferior quality software from Adobe does the job well then CC must also be suited to doing the same which is why i can only think, from your comments, that i have not done something simple- however- following tutorials to get to the end result should have sufficed- it didn't so perhaps i will consider posting the difference between the two applications- and, perhaps suffer a few more 'harsh' comments. The learning curve is quite steep and i am a visual learner, but i'm also not totally incompetent:)
    Kind Regards
    Dave Munn
    Original message----
    From : [email protected]
    Date : 02/02/2015 - 06:45 (GMTST)
    To : [email protected]
    Subject :  why is elements better at photomerge than CC- CC does not appear to automatically fill image based on content but elements does when merging a panorama. Also the stitching is visable in CC but almost perfect in elements- why?
        why is elements better at photomerge than CC- CC does not appear to automatically fill image based on content but elements does when merging a panorama. Also the stitching is visable in CC but almost perfect in elements- why?
        created by station_two in Photoshop General Discussion - View the full discussion
    First a clarification: you are not addressing Adobe here in these user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.
    I'll give it my best shot anyway.
    Few folks in this forum are really familiar with Elements, for which there's a dedicated, totally separate forum.
    Different engineering teams, also.
    From this perspective, it will be difficult to give you a direct answer to your "why?" question.
    Personally, I blend very large panorama shots in Photoshop proper since I can't even remember when without any issues whatsoever, up to and including in Photoshop CS6 13.0.6.
    Without being at your computer and without looking at your images, I couldn't even begin to speculate what you are doing wrong in Photoshop, which I suspect you are.  The least you could show is post examples from your panoramas that have gone wrong.
    I can tell you that panorama stitching requires significant overlap between the individual shots, besides common-sdense techniques like a very solid tripod and precision heads.
    The only version of Elements I have ever used for any significant time was Elements 6 for Windows, which I bought in 2008 to use on a PC (I've been an avid Mac user for 30 years).  I found Elements so limited and so bad that I successfully demanded a refund from Adobe.  IU mention this only to emphasize that I can truly only address your question from a Photoshop (proper) and Mac user point of view.  I couldn't care less about Elements, but if you have comparison examples of panoramas processed in both applications, by all means post those two.
    Generally speaking Photoshop is a professional level application that makes no apologies for its very long and steep learning curve, while Photoshop has many hand-holding features for amateurs and beginners.
    Perhaps the bottom line is that you should stick with Elements if you personally manage to get better results there.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7152397#7152397 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7152397#7152397
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • IPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    My daughter's iPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    VoiceOver is an Accessibility feature while Voice Control allows you to control the Music app via voice.
    To turn off VoiceOver triple click the Home button and go to Settings>General>Accessibility and turn it off. Use three fingers to scroll if necessary.
    iPhone: Configuring accessibility features (including VoiceOver and Zoom)
    iOS: Getting started with VoiceOver for accessibility

  • In Numbers, I copied a worksheet and deleted the contents. The sheet I copied from has a header, I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete it?

    In Numbers, I copied a worksheet and deleted the contents. The sheet I copied has a header.  I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete the header?

    Hi Cristina,
    Headers are not shown in normal view.
    Menu > File > Print to open Print View.
    Hover the cursor over the Header to see the outline. Click and delete.
    Regards,
    Ian.

  • Content canvas and  a stacked canvas moving when scroll through the details

    Dear Friends
    I have Mater and Details Block , and I have two canvas content canvas and a stacked canvas, and the a stacked canvas on top of content canvas , and I have set the horizontal and vertical scroll bar for the stacked canvas , my problem is that when I inquire and click on the details block which is on stacked canvas the header content canvas is moved up
    and what I want the header to be stable and not moving when scroll through the details .
    Best regards
    Jamil Alshaibani

    if the canvas is moved during runtime in general the problem is that is does not fit completly in the window. Try to adjust your window-size so that the whole layout fits into it.

  • IPod shows up, but won't show content

    Hi,
    I'm having this problem, when I plug in my iPod, it shows up in iTunes and syncs successfully, but the content on the device does not show up (like "Music" or "Videos" under the iPod section).
    Message was edited by: botboy217

    I have a similar problem. Because space on my hard drive was growing slim, I moved my iTunes music library to an external drive. Since then, iTunes appears to think that the songs are on my iPod, but it appears that only the titles are there, for, in iTunes, when I have my iPod mounted and selected, the titles all appear in the list, but at the bottom of the window, there is hardly any memory used on the iPod (despite what used to be about 26GB).
    I've tried changing the iPod preferences and even restored the iPod, only to find the same thing. The iPod mounted with the same name as previously, and the same thing happened....

  • Magic Mouse won't scroll or swipe in email window, but works perfectly in Safari window.

    My Magic Mouse suddenly won't scroll or swipe in the email window, top or bottom part of the window, but behaves normally in the Safari window.  Replaced the Mouse batteries, 100% power, no difference.  iMac is 2008, pretty old, but was updated to 10.10.3 a month ago.  Bluetooth icon in upper right part of screen indicates Bluetooth is ON, and the Mouse is connected, as evidenced by proper operation in Safari.  No recent upgrades/changes to email that I'm aware of.
    Any suggestions?
    Thanks!

    I set up the new iMac with a time machine back up from a much older iMac, has this caused the problem? iCloud drive works perfectly on my macbook pro. Thanks for any advice.
    Then check, which MacOS X version your new Mac is running. To be able to use iCloud Drive, the system needs to be Yosemite, MacOS X 10.10.x
    To check the system version, click the -menu un the upper left corner of the Display and use the command -About this Mac.
    If you are running an earlier system, use upgrade to Yosemite from the App Store.

  • Scrolling content question

    I have done this multipl times before without a problem. I have a short block of scrolling text that does not align flush left, as it has been created. It scrolls horizontally AND vertically when it should only scroll vertically. Both text boxes are the same width and the scrolling content box is on the pasteboard touching the edge of the page. Any thoughts as to what could cause a minor horizontal scroll like that?

    No. It's just set up as scrollable content. I didn't even know it could scroll in both orientations. Previously, when I've done it, it's just moved in the one direction. Are there things that can affect scrolling text that would cause this, to the best of your knowledge.
    Bob, on an unrelated note, have you seen or heard of multi-state objects being too complex to process? I have an issue where a file animates in the Preview Content Viewer, but then it crashes my InDesign and won't animate correctly on the iPad.
    Thanks for all the help and advice you've been giving out.

  • Slidebar keeps changing sides and won't scroll up/down with my mouse wheel

    Ever since i just turned on my computer today, the slide bar went from the right to the left and the mouse wheel won't scroll up or down but it works on all other browsers just not firefox...

    See http://kb.mozillazine.org/layout.scrollbar.side
    See also http://kb.mozillazine.org/Preferences_not_saved

  • 1.4.5 DocView file list won't scroll

    After 1.4.5 Doc View won't scroll the file list once a file has been opened then closed. I have 20 files and when first launched, DocView will scroll the list. After a file is opened then closed the list no longer scrolls. Strange thing is my swipes to scroll don't seem to be recognized -- the file I happen to touch first is opened when I'm trying to swipe to scroll. I have to close then re-launch DocView.
    Post relates to: Pre Plus p101vzw (Verizon)

    We have tested this here and we were able to reproduce this issue. It is not a matter of it not scrolling, but appears to be a lag issue. If you wait for 10 seconds or so the app will start responding again. We will report this as a bug and hopefully we will have solution in a future update.

  • Can scroller in s:TextArea appear to the left?

    Hi,
    I need to get the scroller of TextArea (in spark) to appear according to the writing language.
    i.e: Scroller to the RIGHT at LTR languages, and scroller to the LEFT in RTL languages.
    Right now it looks the scroller is hardcoded to the be at the right.
    I've done some investigations and found suggestion of how to do similar thing in Sparks Lists (Changing the s:Scroller in the skin class to s:VScrollBar), but this way the scroll is permanent, and I need the regular scroller in textArea behaviour - That scroller is added only when text overFlows the size.
    Any idea how to do it?

    Thanks dzeikei ,
    i think you ar right, and  "add the scrollbar manually to the TextArea skin and hide it as needed" is probably easier than changing the scroller class, but this also seems complicated enough..
    Did you try doing this yourself? Do you have any example of something like it?
    Also I've seen that in Flex 4.1 there is the Mirroring feature. Looks like it can do the works, but I didn't try that yet, cause we are still working with 4.0.
    Did anyoune else try that?
    Thanx.

  • Scroll bars don't appear on Droid or IPad...

    So I have a div on my webpage that has the Positioning -> Overflow set to Auto so that a scroll bar appears when the text overflows...the scroll bars work fine in Mozilla and IE, but when the site is viewed on a Droid or IPad, the scroll bars to not appear and the content in the div is simply cut off. Has anyone dealt with or seen this issue before? And are there any fixes? Thanks for any help in advance!
    Also, is there a way to preview droid and ipad sites in Dreamweaver? Is there a download or add-on that will make those an option in Device Central??

    Hi
    First as I have previously said you never use floats on a page for mobiles.
    The scroll bar you mention does not appear on mobile devices because if it did it would be totally unusable for almost everyone, (this is common on all mobile browsers).
    Designing for mobiles requires a completely different approach than designing for a standard desktop browser, as one must remember that such things as the scroll-bar you mention would not have the required 'area' to be used by touch-screens or any way of getting focus in order to be used by a d-pad.
    Even though media-queries are not recognized by older none smart-phone devices, their use would enable you to 'style' your content in order for viewing and usability on mobiles. Another example is that your main menu, (and entire home page) is virtually unusable without using zoom, (something many will not do) even on the Opera mobile browser, (the most popular browser in use for mobiles).
    People use mobile devices 'on-the-move' even when browsing web sites, this means that in general only one hand is used, and the time taken to navigate is much more important than on a desktop, (were the user can use a mouse) thus the reluctance to use the zoom facility.
    PZ

Maybe you are looking for

  • Question about Game Center games...

    I have a 1st gen ipod so i can get 4.0 but i have 3.1. What im curious about is can i buy games that are from game center but require atleast 3.0 to play? i know if its a game center game and needs 4.0 i cant play it obviously, but if its a game cent

  • HP Color LaserJet 4700dtn. Won't Print from printer queue.Event Code 68 8002

    From the start of using this printer about a year ago I normally just plug in the usb wire from the laptop and it works. For some reason about 3 weeks ago it seems to have stopped receiving data from the computer . A different wire to the printer wil

  • Connect iphone to laptop

    How would I connect my iphone to my laptop using WIFI? I want to be able to access the USB part of it, update my music, etc but over WIFI. Is that possible? So in a way it's like doing what you can do with a USB cable but over WIFI.

  • Prime Infrastructure: Can you export Alarms and Events?

    Hello In Prime 1.4, you had the ability to export the alarms and events you saw being reported, at least according to the PDF manual: http://www.cisco.com/c/en/us/td/docs/wireless/prime_infrastructure/1-4/configuration/guide/pi_14_cg.pdf I want to ex

  • HELP:( Download Error: Press retry to try again or contact customer support.

    after i reinstall it,and I click on Apps, all it says is 'Download Error: Press retry to try again or contact customer support.' what can i do .Please help me .I saw that some of you tell to rename some folder but i can't find the folder.