Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up Staring in FDT 4 flash.display.Stage issue #40

Closed
matthewswallace opened this issue Oct 10, 2011 · 15 comments
Closed

Setting up Staring in FDT 4 flash.display.Stage issue #40

matthewswallace opened this issue Oct 10, 2011 · 15 comments

Comments

@matthewswallace
Copy link

I am wanting to get started with Starling and I use FDT. I have Flex 4.5.1 / AIR 3 / flash 11 player global all setup and working. I am following the examples lee put up on gotoandlearn.com for getting started with starling.

I don't know if this is an issue with FDT or with the way I am setting things up but I get an error in the Starling.as file for passing in Stage in the constructor function witch is typed to flash.display.Stage. http://grab.by/b2dc

Not sure how to get around this issue. Of course Starling.as also references the starling "Stage" so I do understand why typing vars in the class with the full package is needed.

Anyone know how to get around this ?

@alanklement
Copy link

Could you provide a sample project please, I'll look right at it.

@alanklement
Copy link

Ahh so Patrick has provided a bug...

@matthewswallace
Copy link
Author

If you use FDT and want to check out Starling-Framework please vote this up http://bit.ly/pYqVtD

@PrimaryFeather
Copy link
Contributor

Finally, I had a look at this: you can easily turn off the errors and warnings of FDT, at least in the latest version (FDT 5).
The tricky thing is to find the correct settings. ;-)

You can do that either globally for all FDT projects, here:

FDT - Preferences:
  FDT / Problems / AS3 Problems

or only in the settings of the Starling project:

Project Settings:
  FDT Problems / AS3
    Enable project specific problems

Change the following settings to "Disabled":

Type Problems
  Types are not compatible

Unresolvable
  Unresolvable variable reference
  Unresolvable variable reference in E4X
  Unresolvable member reference in dynamic object

Declarations
  Parameter is never used

@matthewswallace
Copy link
Author

Thanks for looking into this. I think the guys at FDT actually fixed this issue in both 4 and 5.

@alanklement
Copy link

Yeah guys, I thought this was fixed. We'll look at it again.

@PrimaryFeather
Copy link
Contributor

Thanks, Alan! I appreciate it!

@e-is-me-squared
Copy link

Just a quick note, You can work around it by:
var st:* = stage;
_starling = new Starling(rootClass, st);

Dirty fix that works.

@matthewswallace
Copy link
Author

@DeepPlateMC ... interesting. That's a good workaround.

@alanklement
Copy link

Is this still an issue for you guys? If you're using FDT 4, then it will persist because we fixed it in FDT 5. Is anyone here still having problems using this framework with FDT 5?

@matthewswallace
Copy link
Author

I am having error issues in FDT 5 and submitted a bug to the FDT team about it. My understanding is they are going to look at this next week as one of there QA people is out on vacation this week.

@alanklement
Copy link

Could you tell me about them. I'm the Product Manager and I've been talking with you on Twitter. I know some of the problems but if you have more, I'd like to learn about them.

Email me ak [at] powerflasher.com

@matthewswallace
Copy link
Author

Alan, sent you an email via m [at] mattwallace.me

@digitaljohn
Copy link

I'm having this issue again... Using the latest version of everything (FDT 5.0.0.1460 Starling 1.0, Flex SDK 4.6.0).

E.g.

Incompatible types Texture and Texture. Found at line 107 column 18. TextureAtlas.as /starling/starling/src/starling/textures

Any ideas?

@alanklement
Copy link

Hey guys,

Check out this ticket in our Jira. You can be kept up to date and learn about a work around.

http://bugs.powerflasher.com/jira/browse/FDT-2356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants