-1

I'm trying to create a flex mxml project that contains a starling viewport.

If I create an actionscript project, that I extend Sprite and am able to work with starling.

but if my main project is an MXML File, I can't seem to add the starling viewport to the stage.

so in general what I need is a simple hello world example that uses starling using an mxml main page.

any information regarding the issue would be greatly appreciated.

thanks

ufk
  • 30,912
  • 70
  • 235
  • 386

2 Answers2

1

try s:SpriteVisualElement and add some starling sprite to it.

http://blog.flexexamples.com/2009/11/20/adding-a-sprite-to-the-display-list-in-flex-4/

hope it will help

Angelovich
  • 61
  • 2