Code Monkey home page Code Monkey logo

Comments (7)

gsynuh avatar gsynuh commented on June 11, 2024

@hewenyuann19930327 what version of citrus engine are you using? and when does this happen?

from citrus-engine.

IvanChen008 avatar IvanChen008 commented on June 11, 2024

the lastest version(3.2 CitrusEngine) when i was trying those examples , starling.contentScaleFactor seems to be a private property is invisible so I can't access it.(in the Starling 2.1 version);

from citrus-engine.

gsynuh avatar gsynuh commented on June 11, 2024

I have no recollection of contentScaleFactor ever being private

here it is :
https://github.com/Gamua/Starling-Framework/blob/62834683211b7928448e75c6ac6d02cac220e183/starling/src/starling/core/Starling.as#L806

And it's always been public since it's been introduced in StarlingCitrusEngine.as

So either there's something wrong with the starling 2.1 swc you're using, or something in your setup, or something even more obscure (probably that), but to be sure can you try using the latest starling source code (that's what I'm using right now and everything's ok) and tell me if it still happens?

from citrus-engine.

IvanChen008 avatar IvanChen008 commented on June 11, 2024

Thanks for your help.i ‘ll try the lastest version of the starling. then i'll tell you the result

from citrus-engine.

IvanChen008 avatar IvanChen008 commented on June 11, 2024

the starling should be modified to _starling, my IDE read to the starling package is not a Starling instance, so can not access to the contentScaleFactor property。

from citrus-engine.

IvanChen008 avatar IvanChen008 commented on June 11, 2024

Sorry my flashBuilder4.6 bug, this starling conflict with the starling package, and he thinks starling is a package can not detect starling getter. I changed the IDE to solve this problem.

from citrus-engine.

gsynuh avatar gsynuh commented on June 11, 2024

you're right, it should be _starling though. I'll change that. oh and thanks for your pull requests, I removed "name" from the arguments since now we want a one argument constructor with only params --- simply because really a name is not interesting to have in most cases and when it is, it can be passed in params anyway.

from citrus-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.