Jump to content
Search Community

BirdInTheCity

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by BirdInTheCity

  1. Thanks OSUblake!  This helps so much.  With your code, I discovered that I should have put made the parent element Draggable, which eliminated the z-index issue.  Definitely going to use this demo as a template for the code I hope to write.

     

    Cheers!

  2. I'm trying to use the amazing Draggable plugin to create a re-orderable list of items in AngularJS.

     

    The implementation was easy to set up on static data, but when I switched to dynamic data using ng-repeat, there are z-order issues for any items dragged down the list. [see codepen]  I attempted to manually set the z-order of the element, but that didn't change anything.

     

    I realize this is more of an 'angular' thing than a 'draggable' thing, but I was wondering if anyone has any potential solutions?

    See the Pen ByGReg?editors=101 by BirdInTheCity (@BirdInTheCity) on CodePen

  3. I think that I am experiencing this bug...though this was my first weekend using HTML5 and EaselJS, so it might just be a coding bug. Though I have a bunch of experience with AS3 and Greensock integration.

     

    Anyway, the sample is here: http://www.birdinthecity.com/html5

     

    The vending machine display panel on the right of the screen is supposed to rotate in new messages every second (sped up for testing purposes). But on iOS, TweenLite.delayedCall doesn't seem to get triggered at all and thus the first message remains. It works correctly across desktop browsers.

     

    Any thoughts?

  4. When checking out the activity panel in Safari, I noticed that the LoaderMax.append() functions seems to cause the browser to attempt to load things twice. Below is the test code that I'm using.

     

     

    As you can see in the image, things appear to be loading, canceled and loaded again. Is the correct? I ask because I have more complex code that seems to load things fine in Safari and Firefox... but in Chrome the images are not loading correctly and I'm trying to figure out why this is occurring.

     

    SafariBar.png

     

    package  {
    
    import flash.display.*;
    import com.greensock.loading.*;
    import com.greensock.loading.display.*;
    import com.greensock.events.LoaderEvent;
    import flash.events.*;
    
    public class Test2 extends Sprite {
    
    	var queue:LoaderMax;
    	var queue2:LoaderMax;
    
    	public function Test2() {
    
    		LoaderMax.activate([imageLoader, SWFLoader, DataLoader, VideoLoader]);
    
    		queue = new LoaderMax({name:"mainQueue", onComplete:loadOthers});
    		queue.append( new XMLLoader("webAssets.xml", {name:"xmlDoc"}) );
    
    		queue.load();			
    
    	}
    
    	public function loadOthers(e){
    		trace("loading others");
    		queue.getLoader("ingels_gallery").load();
    	}
    }
    }

×
×
  • Create New...