i have do it,it is work.
https://github.com/matrix3d/spriteflexjs/commit/76ecd143a3a46b199d162267d3392b47d43b1cd4#diff-c879807e920323f1f8c480753875170eR61
but if it do with the flexjs is good.
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat
On 2/23/16, 9:35 PM, "lizhi" wrote:
>the flexjs just 0.6 beta.
>if the 0.7 have this function is good.
>it is just give my idea.
>thanks your hard work
It is unlikely I will have time to figure out how to do code-flow analysis
any time soon, but maybe someone else will.
BTW, did you try using
the flexjs just 0.6 beta.
if the 0.7 have this function is good.
it is just give my idea.
thanks your hard work
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51695.html
Sent from the Apache Flex Development mailing list
On 2/23/16, 9:18 PM, "lizhi" wrote:
>thanks.
>but i think the flexjs can get the name ,not from the json(server),
>from the as code
Well, sure, we could do some code-flow analysis. But I don't know how to
do that and it wouldn't be a priority of mine at this time because I
haven't seen very
also,change the code to
alert(json["abcdefg"]);
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51693.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51692.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
The @expose/@export needs to be added before the final compiler
optimization pass. Often the JSON is not explicitly included in the
source code since it often comes from a server request, so there is no way
to examine the source and know which properties to protect from renaming.
But you could cer
thanks.but this hard use.
is it the flexjs know the Object type?
if is the Object type.
add /** @expose */ to all var name?
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51690.html
Sent from the Apache Flex Development
Some property names have already been "exported" by other classes which
means they won't be renamed. There might already be a class with a
"children" property, for example.
-Alex
On 2/23/16, 7:25 PM, "lizhi" wrote:
>https://github.com/matrix3d/spriteflexjs/blob/master/test/src/com/hsharma/
>hu
https://github.com/matrix3d/spriteflexjs/blob/master/test/src/com/hsharma/hungryHero/TextureAtlas.as
but why this json class work good.
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51688.html
Sent from the Apache
On 2/23/16, 1:07 AM, "lizhi" wrote:
>thanks .
>but,if the app have a lot a lot of json.i must code all the class?
Well, no, but having class definitions for your data is one of the
benefits of Flex/FlexJS and should save you time by making fewer mistakes
over time.
It might be interesting to
thanks .
but,if the app have a lot a lot of json.i must code all the class?
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51671.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
On 2/17/16, 10:46 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
wrote:
>On Feb 17, 2016 10:38 PM, "Alex Harui" wrote:
>>
>> Hi Lizhi,
>>
>> Your email did not format well, but IMO, you are seeing expected
>>behavior
>> in the Google Closure Compiler optimization. Unless you specify
-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51599.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
On Feb 17, 2016 10:38 PM, "Alex Harui" wrote:
>
> Hi Lizhi,
>
> Your email did not format well, but IMO, you are seeing expected behavior
> in the Google Closure Compiler optimization. Unless you specify
> otherwise, the GCC will rename variables, properties, etc. Using straight
> up JSON can be
Hi Lizhi,
Your email did not format well, but IMO, you are seeing expected behavior
in the Google Closure Compiler optimization. Unless you specify
otherwise, the GCC will rename variables, properties, etc. Using straight
up JSON can be tricky in such situations. You may have to specify and
eve
}
and i can not find "tilesets" in the js-release/
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/flexjs-eat-json-tilesets-tp51581.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
17 matches
Mail list logo