Comments on: From Foxhole to Feathers https://joshblog.net/2012/09/19/from-foxhole-to-feathers/ Archive of older blog posts written by Josh Tynjala about Flash, Flex, and ActionScript Wed, 26 Jun 2013 02:52:46 +0000 hourly 1 https://wordpress.org/?v=4.9.9 By: Loc Luu https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50383 Tue, 23 Oct 2012 06:03:32 +0000 http://joshblog.net/?p=1396#comment-50383 yes, thank you very much 😀

]]>
By: Josh Tynjala https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50382 Tue, 23 Oct 2012 05:44:27 +0000 http://joshblog.net/?p=1396#comment-50382 Are you using a theme? If so, and you want to customize a specific button, then yes, you need to extend the theme.

If you’re not using a theme, then no, you shouldn’t need to use setInitializerForClass().

]]>
By: Loc Luu https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50381 Tue, 23 Oct 2012 05:09:54 +0000 http://joshblog.net/?p=1396#comment-50381 Maybe i have not used setInitializerForClass() function.
Is it always need to use this function for customize skins?

]]>
By: Josh Tynjala https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50379 Mon, 22 Oct 2012 19:19:53 +0000 http://joshblog.net/?p=1396#comment-50379 Yes, you can use Images for a button’s skin states. defaultSkin, upSkin, downSkin, etc. are what you should use, as you guessed. I’m not sure what you could have done wrong, though. Take a look at the Getting Started with Feathers tutorial. Maybe you can figure it out from reading that one.

]]>
By: Loc Luu https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50378 Mon, 22 Oct 2012 18:09:46 +0000 http://joshblog.net/?p=1396#comment-50378 Hi Josh,
Can i set the button’s states with new Image like doing with the Starling default button?
I have tried to change skins (defaultSkin, upSkin…) but unsuccessful.

]]>
By: Michael Schmalle https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50362 Thu, 11 Oct 2012 19:33:22 +0000 http://joshblog.net/?p=1396#comment-50362 Yeah, well I’m out of the commercial components for the most part, haven’t really switched my site over.

Basically I’m partial to open-source now as well since last November. 🙂

I just got the component explorer running in the FlashBuilder beta and on my tablet, very impressive!

I really have decided to grab onto this framework and see what I can do. Besides, the audio framework I’m working on with the developer of Caustic is very fun if your into sequencers and synths.

Plus the fact that Flash is so artistic, I figure that allowing this on AIR first would be fun and I might get some interest From the Flash community. All my stuff will be opensource with this (Android).

The only component I need to make right now is a dial/knob implementation.

]]>
By: Josh Tynjala https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50361 Thu, 11 Oct 2012 16:49:37 +0000 http://joshblog.net/?p=1396#comment-50361 Thanks, Mike. I remember meeting you at the component dev summit, and I check in on your components from time to time to see what’s new. I always admired the fact that you went commercial with them. I’m partial to open source, but the thought was always in the back of my mind that it would be interesting to try some commercial components. Anyway, looking forward to seeing what you come up with.

]]>
By: Michael Schmalle https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50360 Thu, 11 Oct 2012 13:49:14 +0000 http://joshblog.net/?p=1396#comment-50360 Hey Josh,

We met back in 2005 at the Adobe component dev summit, I have followed you doing yahoo and all that component stuff. It’s great to see you doing this component framework.

I had to laugh at your statement of;


It’s been so long since I was excited about my work like this, and I love that I’m returning to component development with such enthusiasm.

I to fell off the train last year with component dev, but I have an Android mobile project I’m working on that I was considering doing all the UI in Java Android. I have been stalling by investigating all the new stuff that might becoming out of the Flash genre since I love ActionScript.

Long story short, I think you have convinced me to put my effort here with the Android Caustic Audio framework and it’s UI.

See; http://blog.teotigraphix.com/2012/08/23/caustic-toolkit-android-apache-flex-audio-synth-sequencer-framework/

Flex was just getting to heavy for what I wanted to do. I’ll let you know what I come up with.

Thanks for your components!

Mike

]]>
By: Florian https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50354 Tue, 09 Oct 2012 05:51:21 +0000 http://joshblog.net/?p=1396#comment-50354 starling = new Starling( App, stage, new Rectangle( 0, 0, stage.fullScreenWidth, stage.fullScreenHeight ), null, "auto", "baseline" ); starling.stage.stageWidth = 320; starling.stage.stageHeight = 480; starling.simulateMultitouch = true; starling.enableErrorChecking = false; starling.start();
_resultContainer = new ScrollContainer();
_resultContainer.layout = new VerticalLayout();
_resultContainer.scrollerProperties.verticalScrollPolicy = Scroller.SCROLL_POLICY_ON;
_resultContainer.scrollerProperties.snapScrollPositionsToPixels = true;
_resultContainer.maxHeight = 560;
_resultContainer.onScroll.add( onContainerScroll );
_resultContainer.addEventListener( TouchEvent.TOUCH, resultContainerTouchHandler );	
_resultContainer.scrollerProperties.verticalScrollBarFactory = function():SimpleScrollBar
{
	var scrollBar:SimpleScrollBar = new SimpleScrollBar();
	scrollBar.thumbProperties.defaultSkin = new Image( TextureFactory.getTexture( TexturesList.COM_LISTSCROLLBAR ) );
	return scrollBar;
}
]]>
By: Josh Tynjala https://joshblog.net/2012/09/19/from-foxhole-to-feathers/#comment-50353 Mon, 08 Oct 2012 18:15:13 +0000 http://joshblog.net/?p=1396#comment-50353 What does your code look like? I don’t know why the scroll bar would appear as a 1 pixel line.

]]>