Jump to content
Search Community

Search the Community

Showing results for tags 'content loading problem'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Hi, Firstly I need to say I really love the BlitMask and FlexBlitMask components and have used them in the past to build swipe scrolling into some of my apps and it has usually worked a treat, particularly for smooth scrolling of small images and text. Unfortunately I have a problem however with a Flex project which contains a tilelist component within a canvas. Basically I am trying to use FlexBlitMask to sit on top of my tilelist and allow me to smoothly scroll to a new part within that list once a button is pressed. I know you are not the biggest fan of Flex but I'm really stuck in a bind with this so I have to try and get this to work as best I can and thought maybe someone could check if I am doing something wrong? My tilelist contains about 10,000 pictures laid out in grid format 5 x 4 loaded from an SQLite database. The problem I seem to be having is that the BlitMask component does not seem to be updating as I scroll down my list, it instead just loads white space below the first 5 x 4 grid of pictures. I have tried to implement the update(null, true) function spoken about in many other posts but unfortunately it does not fix the problem. I recently discovered that it appears no new data is being loaded into the BlitMask because when I set the BlitMask's wrap variable to true it loads the same images over and over in rotation. I don't know if this is going beyond the limits of the FlexBlitMask but I have read on the Adobe forums that several others have successfully used it with list components to give even better performing scroll behaviour so I thought this would meet my needs pretty well. I have included a small snippet of how I set up my BlitMask and how the scroll function for when the button is pressed. Any advice you can give me would be hugely appreciated. private function initBlitMask():void { bm = new FlexBlitMask(tileList, tileList.x, tileList.y, tileList.width, tileList.height, true, true, 0x000000, false); bitmapModeLabel.text = "bitmapMode = " + bm.bitmapMode.valueOf().toString(); } private function handleScrollDownButtonClick():void { TweenLite.to(bm, 2, {scrollY:5, ease:Back.easeOut}); bm.update(null, true); } <mx:Canvas x="0" y="70" width="1004" height="896" backgroundColor="#01EAF9" id="tileListCanvas" verticalScrollPolicy="on" horizontalScrollPolicy="off" scroll="setIsScrollingValue(event)"> <mx:TileList id="tileList" x="35.5" y="-10" width="933" height="100%" columnWidth="180" rowHeight="250" dataProvider="{allTracksTrackDataArayCollection}" itemRenderer="Thumbnail" liveScrolling="true" itemClick="handleItemSelect()" useRollOver="false" borderStyle="none" themeColor="#9543D2" maxRows="2" verticalScrollPosition="20" alpha="1.0" cornerRadius="13" borderThickness="4" borderColor="#000000" verticalScrollPolicy="off" verticalScrollBarStyleName="vScrollBarThumbnails" alternatingItemColors="[#000000, #000000]" selectionColor="#000000" backgroundColor="#000000"></mx:TileList> </mx:Canvas> <mx:Button x="1032" y="464" label="Up" click="{handleScrollUpButtonClick()}"/>
×
×
  • Create New...