Ah, the joy of alpha software... sorry about that. :: goes to fix ::
Remind me to do this again when Flex 2 is released. There is a bug with flash.display.Loader, and Adobe is already aware of it (Tile Loader will load every other image). Additionally, the html-template is not included (Subversion is being a bitch), so when you get the error in Flex Builder 2, just right click on the error and "Rebuild html-template...". Other than that, she actually works a tad faster and uses less RAM with the beta. http://dev.jessewarden.com/flash/diesel/jxl_diesel_battlefield_beta1.zip http://diesel.avlux.net/svn/ u: public p: public ----- Original Message ----- From: "Sascha Balkau" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <[email protected]> Sent: Tuesday, February 14, 2006 10:26 PM Subject: Re: [FlashCoders] scrollRect JesterXL, I'd be interested in see this engine running but the demos on your site seem not to work anymore with the latest Flash 8.5 alpha player. If I import the project into Flex Builder and try to run it , it tells me that some errors exist but it doesn't show me where the errors are. Would be cool to get a hint on this to compile it with the latest Flex beta to make it run. Thanks, Sascha >I oringally wrote this in Flash 8, and ported to Flash 8.5. There is no > reason it couldn't go back. > > http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html > > ----- Original Message ----- > From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, February 14, 2006 4:55 PM > Subject: [FlashCoders] scrollRect > > > Hi all, > > I'm trying to make a very basic prototype to test parallax movement with > Flash 8. > > Is movieclip.scrollRect what I should be using? I tried this: > > var bg:MovieClip = _root.attachMovie("bg", "bg", 2); > var y:Number = 0; > _root.onEnterFrame = function():Void { > bg.scrollRect = {x:0, y:y--, width:635, height:540}; > } > > The movieclip "bg" contains only a jpg 635x540. > The movement is pretty jumpy. Should I be using BitmapData instead? > > I'm a bit lost! I've been searching for code samples online for the past 2 > hours and > I haven't found anything useful. > > Does anyone have a useful link for parallax or tile-based games using > Flash > 8 features? > Performance is the key issue here, since this is going for a very big and > complex game > and I want to optimize it as much as possible. > > Thanks a lot! > > Dimitrios > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

