Re: Error: Could not find compiled resource bundle 'collections' for locale 'en_US'.

2018-02-28 Thread yishayw
I'm having a similar problem 4 years later. Any pointers?

Error: Could not find compiled resource bundle 'formatters' for locale
'de_DE'.
at
mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as:414]
at
mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as:328]
at
mx.resources::ResourceManagerImpl/processInfo()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as:468]
at
mx.resources::ResourceManagerImpl()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as:148]
at
mx.resources::ResourceManager$/getInstance()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/resources/ResourceManager.as:128]
at
mx.styles::StyleManagerImpl()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as:543]
at _Main_FlexInit$/init()
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/managers/SystemManager.as:2823]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/managers/SystemManager.as:2731]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.preloaders::Preloader/timerHandler()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/preloaders/Preloader.as:572]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()





--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Moonshine 1.6.0 Release

2017-10-15 Thread yishayw
See here [1] for a firefox workaround.

[1]
http://apache-flex-users.246.n4.nabble.com/Firefox-no-longer-running-Flash-debug-version-td15864.html#a15866



--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: [3/4] git commit: [flex-asjs] [refs/heads/develop] - Allow drag and drop item renderers to be more that simpkle labels.

2017-09-27 Thread yishayw
Thanks Piotr, done. Time to get docs in better shape.



--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: [DISCUSS} Fork FlexJS from Apache Flex

2017-09-26 Thread yishayw
The address is ok but tags.json isn't found...





--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: [DISCUSS} Fork FlexJS from Apache Flex

2017-09-26 Thread yishayw
Yes and No. See this [1].

[1]
http://apache-flex-users.246.n4.nabble.com/How-To-Start-Converting-A-Browser-Project-to-FlexJS-td15946.html#a15950



--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: [Discuss] Pros and Cons of Using Royale to Build Websites

2017-09-25 Thread yishayw
Olaf Krueger wrote
> That said, I think you just need a couple of static HTML files to get it
> work. 
> No complex controls or complex logic needed. 
> For this use case I don't see the benefit of using Royale or other complex
> frameworks.

To me it's easier to write in MXML than in HTML, especially if there are
good layouts. If there are recurring sections or pages that can be
abstracted to MXML tags that's an advantage too.


>>I found this [1] an interesting read on the >subject
> 
> Mhhh  maybe I got it wrong but it seems to me that a couple of points
> could be also true for Royale(JS). (If you basically share the ideas that
> are provided within this article)

I was using [1] to get an intro to the challenges one faces when using a
client side framework to create a website. I'm interested to hear opinions
on whether Royale can meet these challenges. SEO, for example, has been
cited as a major disadvantage of using client side rendering. But reading
[2] it looks like there are ways around that.

[1]
https://www.leaseweb.com/labs/2013/07/10-very-good-reasons-to-stop-using-javascript/
[2] https://moz.com/blog/javascript-seo
[2]  



--
Sent from: http://apache-flex-development.247.n4.nabble.com/


RE: Royale website and domain registration

2017-09-24 Thread yishayw
Olaf Krueger wrote
> I think FlexJS/Royale is bloated for building Websites.

I think this could make for an interesting technical discussion. Why is
Royale bloated for building Websites?




--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: FlexJS Bead dilemma

2017-08-07 Thread yishayw
Alex Harui-2 wrote
> A fancier alternative would be a bead that wraps a layout bead and adds
> the visible check.  That might be the best way to apply PAYG.

Can you explain what you mean? How would you wrap a bead?




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Bead-dilemma-tp63681p63726.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: FlexJS Bead dilemma

2017-08-05 Thread yishayw
You might be referring to what we did with Accordion. There, I added
AccordionItemRendererView which does the following:

  override protected function performLayout(event:Event):void
+   {
+   var collapsibleStrand:ICollapsible = _strand as
ICollapsible;
+   if (!collapsibleStrand.collapsed)
+   {
+   super.performLayout(event);
+   } else // skip layout for viewport children
+   {
+   layoutViewBeforeContentLayout();
+   layoutViewAfterContentLayout();
+   }
+   }
:



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Bead-dilemma-tp63681p63698.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [07/13] git commit: [flex-asjs] [refs/heads/release0.8.0] - give up on trying to use FlexBox for full-screen 3-pane views. FlexBox seems more happy stretching to content size instead of clipping a

2017-07-30 Thread yishayw
Here's a test app [1] that demonstrates it.

[1] https://paste.apache.org/i5Ui




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-07-13-git-commit-flex-asjs-refs-heads-release0-8-0-give-up-on-trying-to-use-FlexBox-for-full-scred-tp63598p63599.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2017-07-30 Thread yishayw
Added the stack trace to the bug.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Menu-with-dataProvider-and-itemRenderer-API-tp57637p63597.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] End-of-life of the Flash Player

2017-07-26 Thread yishayw
I don't think there's consensus on flash support in the community. Two things
at least have not changed: we might want AIR support, and we want FlexJS to
be platform agnostic in architecture. SWF support can help in both these
regards.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-End-of-life-of-the-Flash-Player-tp63557p63560.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Debugging package

2017-07-25 Thread yishayw
This sounds like a very useful feature, provided not everyone is using source
map enabled tools. I agree with Alex it's worth implementing outside the
compiler for maintenance and future platforms.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Debugging-package-tp63288p63541.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2017-07-25 Thread yishayw
yishayw wrote
> the example (be051df2bb40fec7d29cf1a934fcbbf19f8d75b7) isn't showing this
> behavior, please have a look

Should be

4eb3eaf38277187919c24b9a6099ec998d4ff627




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Menu-with-dataProvider-and-itemRenderer-API-tp57637p63540.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2017-07-25 Thread yishayw
Piotr,
I changed menu to extend list and am now getting the change event in my test
app [1]. For some reason the example
(be051df2bb40fec7d29cf1a934fcbbf19f8d75b7) isn't showing this behavior,
please have a look if possible.

Peter,
It looks like your change (be051df2bb40fec7d29cf1a934fcbbf19f8d75b7) made it
so Menu no longer implemented IList. Was that by design? If so, please feel
free to fix my latest commit. 

Thanks.

[1] https://paste.apache.org/QssB



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Menu-with-dataProvider-and-itemRenderer-API-tp57637p63538.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2017-07-25 Thread yishayw
'change' isn't dispatched. I'll fix it. Can you explain why it extends
DataContainer and not list (which has selectedItem prop and 'change' event)?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Menu-with-dataProvider-and-itemRenderer-API-tp57637p63531.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2017-07-25 Thread yishayw
I don't see any event being dispatched by menu. Are we supposed to listen to
the model for events?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Menu-with-dataProvider-and-itemRenderer-API-tp57637p63529.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] String.match()

2017-07-20 Thread yishayw
I think there would still be a difference between flash and js because the
flash implementation (counter to AS3 documentation) always returns null when
an invalid regex is passed as a string. So according to your suggested
implementation for

Var s: String = "m?o";
Var a:Array = s.match("?")

a  is null in flash but ["?"] in JS.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-String-match-tp63392p63467.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] stopImmediatePropagation

2017-07-19 Thread yishayw
I don't see what we would lose by making your changes and it would solve the
issue we're facing, so I'd vote yes.

I'm not sure what the purpose of throwing the error was in the first place,
as EventDispatcher catches and ignores it anyway.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-stopImmediatePropagation-tp63418p63421.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] String.match()

2017-07-18 Thread yishayw
Alex Harui-2 wrote
>  By
> calling new utility functions, the developer has control over the
> conversion.

I don't understand that point. Do you mean an app developer?




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-String-match-tp63392p63405.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] String.match()

2017-07-18 Thread yishayw
In flash String.match() can take either a string or a regex. In JS it's
always considered to be a regex. So str.match("?") is valid in flash but
will fail in JS. We ran into that porting our app which includes some code
to test for url params. 

So maybe the compiler should identify that the input is a string and replace
all special chars as suggested here [1]?

[1]
https://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
 



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-String-match-tp63392.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] Falcon AsJS Mismatch?

2017-07-16 Thread yishayw
Looks like falcon is incompatible with TabStopsPropety.as in TLF. When
initializing that file I'm getting the following RTE: 

Uncaught syntax error: Invalid regular expression: missing /

which originates in TabStopsProperty.as:191

private static const _escapeBackslashRegex:RegExp = //g;


which transpiles to TabStopsProperty.js:143

   
org.apache.flex.textLayout.property.TabStopsProperty._escapeBackslashRegex =
/\/g;





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Falcon-AsJS-Mismatch-tp63296.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Moonshine 1.4.0 Release

2017-07-16 Thread yishayw
I see the same problem with 1.5



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Moonshine-1-4-0-Release-tp61632p63293.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Moonshine 1.5.0 Release

2017-07-16 Thread yishayw
I couldn't find the windows installer.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Moonshine-1-5-0-Release-tp63237p63284.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: git commit: [flex-asjs] [refs/heads/develop] - Add FileUploaderWithResponseData

2017-07-13 Thread yishayw
So going back to Piotr's original post, the current approach for adding
functionality to a bead (ControllerForWithoutResponse) is to create a new
bead (ConterollerForWithResponse) that extends the functionality of the
original bead, rather than adding a bead to the original one
(ControllerForResponse + ControllerForWithoutResponse). 

This is what I meant when I said we're being forced out of composition into
inheritance. 



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-git-commit-flex-asjs-refs-heads-develop-Add-FileUploaderWithResponseData-tp63051p63231.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: git commit: [flex-asjs] [refs/heads/develop] - Add FileUploaderWithResponseData

2017-07-12 Thread yishayw
Ideally we wouldn't have to record data that's never read. This may be an
extreme case, but some users will want to know the response on an upload,
while some will just want to make sure the status is ok. I'd rather not
anticipate too many use cases when writing the strand and the model because
I might end up with code that's never used. If the bead was responsible for
both recording the response and exposing it to the user, we wouldn't have to
do that.

Perhaps a better example is permissions. I already have an Upload bead. Now
I want an alert to pop up if the user is not permitted to upload. I'd like
to be able to add a 'CheckPemissionsOnUpload' bead. Right now I don't see
how to do that, instead I would probably have to replace 'UploadBead' with
'UploadButCheckPermissionsBead'. This takes us away from composition and
forces inheritance.

Maybe we don't need to modify class definitions. I think it's enough to
modify the bead instance. In JS we could simply replace the function, and in
flash we could maybe replace the whole original bead with a
flash.utils.Proxy. But this will make things a bit complicated to read and
maintain.





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-git-commit-flex-asjs-refs-heads-develop-Add-FileUploaderWithResponseData-tp63051p63139.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: git commit: [flex-asjs] [refs/heads/develop] - Add FileUploaderWithResponseData

2017-07-11 Thread yishayw
See upthread my response to Pitor


> I was thinking the same thing but it’s complicated to make it into a bead.
> It would have to catch the ‘complete’ event and record the response data
> before anyone else does. Since we don’t have event listener priorities I
> don’t know how to do that. I hope to update the wiki Greg wrote when I’m
> done with this. Maybe I can pass on some of my experiences.





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-git-commit-flex-asjs-refs-heads-develop-Add-FileUploaderWithResponseData-tp63051p63136.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: git commit: [flex-asjs] [refs/heads/develop] - Add FileUploaderWithResponseData

2017-07-11 Thread yishayw
Since this type of problem has been bugging me for a while (see also
FileBrowserWithFilter which raises the same question) I started reading
about this. To me it seems that we may need aspects [1]. The JS
implementation is supposed to be easy, but AS3 less so [2], though work has
been done [3] on this.

Any thoughts?

[1] https://en.wikipedia.org/wiki/Aspect-oriented_programming
[2]
https://stackoverflow.com/questions/5440073/re-defining-named-functions-at-runtime
[3] https://www.slideshare.net/jlward4th/planet-of-the-aops



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-git-commit-flex-asjs-refs-heads-develop-Add-FileUploaderWithResponseData-tp63051p63131.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] States Bug?

2017-07-10 Thread yishayw
It looks like the compiler gets confused when we add nested objects using
state. This [1] is a test app that includes a [2] view, to demonstrate.
Should I file a bug?

[1] https://paste.apache.org/gYQ3
[2] https://paste.apache.org/OX9n




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-States-Bug-tp63028.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-10 Thread yishayw
Hi Allen,

As others have pointed out, the project you posted has some syntax errors
and includes flex 3 classes that will not build. Please post a simple
project that demonstrates the problem you are currently having.

Thanks,
Yishay



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p63015.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread yishayw
Can you share the 2 files you're trying to compile?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62981.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread yishayw
I don't see panelview.as in the sources. But anyway, I don't remember it
being part of the demo so you can ignore it for now. Any luck with creating
a TitleWindow equivalent?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62960.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread yishayw
I don't have code to share but as general pointers:

- use Panel instead of TitleWindow
- use UIUtils instead of PopupManager
- user HContainer instead of HBox

Hope this helps.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62886.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread yishayw
allenyyang wrote
> These changes allowed me to build demo_for_presentation. And I now can run
> it by double-clicking index.html in both bin/js-debug and bin/js-release
> folders.
> But I am not sure that it runs correctly because the screen display always
> look like the following:
> 
> boring
> my comp 0
> Button1 Button2
> 
> Clicking Button1 should increment the count, but it doesn't change the
> display at all; and I believe clicking Button2 doesn't do anything
> according to the source code.  Could you help me  to correct the behavior
> of the demo program?

It looks like version 0.8.0 requires you to specify the states
implementation.

I added the line below to main.css and button1 now changes state as
expected.

global {
IStatesImpl:   
ClassReference("org.apache.flex.core.SimpleStatesImpl");
}
 
BTW, clicking on 'my comp 0' is what causes the increment.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62874.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread yishayw
Hi Allen,

It looks like you’ve got VS Code and Maven working, so please don’t waste time 
on this unless you want to work on Flash Builder instead. VS Code and Maven are 
actually preferred by some developers over FB and Ant.

PKumar is correct that you shouldn’t really need Ant if you’re using FB, I was 
suggesting to use Ant as a workaround, but it looks like you have some 
environment variables missing.

I suggest you export your FB project as an fxp (in FB got to file->Export Flash 
Builder Project…) and share the fxp with us. That way we can try  to analyze 
why FB’s default build is failing for you, in an effort to make it smoother for 
future developers.

Thanks,
Yishay



From: allenyyang [via Apache Flex 
Development]<mailto:ml+s247n62853...@n4.nabble.com>
Sent: Thursday, July 6, 2017 2:47 AM
To: yishayw<mailto:yishayj...@hotmail.com>
Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

Hi Yishay,

After trying for quite a while, I found that we might be talking about two 
different things.  I informed Piotr that was able to use Maven and VS Code to 
build and run Piotr's "Hello World" example successfully.  But I was unable to 
successfully run demo_for_presentation using Flash Builder 4.7.  You might be 
thinking that I was talking about being able to use VS Code and Maven to build 
and run demo_for_presentation successfully; which is not the case for me yet.

So I went back to your email on 07/01 and I installed Ant and added it to PATH; 
I also set ANT_HOME to where I installed Ant: C:\apache-ant-1.10.1; and already 
have JAVA_HOME to its installation folder: C:\Program Files\Java\jdk1.8.0_131
At the folder demo_for_presentation where build.xml file resides, I typed 'ant' 
in the cmd window.  I got the following error:
--
Buildfile: C:\Projects\demo_for_presentation\build.xml

clean:

build_example.compilejs:
 [echo] Compiling demo_for_presentation.js
 [echo] FLEX_HOME: ${env.FLEXJS_HOME}
 [echo] FALCONJX_HOME: ${FALCONJX_HOME}
 [echo] env GOOG_HOME: ${env.GOOG_HOME}
 [echo] GOOG_HOME: ${GOOG_HOME}
 [java] Error: Could not find or load main class ${mxmlc.jvm.args}
 [java] Java Result: 1

BUILD FAILED
C:\Projects\demo_for_presentation\build_example.xml:124: code: 1

Total time: 0 seconds

Can you help me to see what's wrong?

Thanks and Regards,
Allen
-

-Original Message-
From: yishayw [mailto:[hidden 
email]]
Sent: Wednesday, July 05, 2017 12:54 AM
To: [hidden email]
Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

yishayw wrote
> Now assuming you have pom.xml and build.xml in your project you should
> be able to run Maven like this:

Should read:


Now assuming you have pom.xml and build.xml in your project you should be able 
to run Maven *or ant* like this:




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62835.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



Ce message, ainsi que tous les fichiers joints à ce message, peuvent contenir 
des informations sensibles et/ ou confidentielles ne devant pas être 
divulguées. Si vous n'êtes pas le destinataire de ce message (ou que vous 
recevez ce message par erreur), nous vous remercions de le notifier 
immédiatement à son expéditeur, et de détruire ce message. Toute copie, 
divulgation, modification, utilisation ou diffusion, non autorisée, directe ou 
indirecte, de tout ou partie de ce message, est strictement interdite.


This e-mail, and any document attached hereby, may contain confidential and/or 
privileged information. If you are not the intended recipient (or have received 
this e-mail in error) please notify the sender immediately and destroy this 
e-mail. Any unauthorized, direct or indirect, copying, disclosure, distribution 
or other use of the material or parts thereof is strictly forbidden.


If you reply to this email, your message will be added to the discussion below:
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62853.html
To unsubscribe from [FlexJS] question about porting an Adobe Flex 3 project to 
HTML+JS, click 
here<http://apache-flex-development.247.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=62698=eWlzaGF5am9ic0Bob3RtYWlsLmNvbXw2MjY5OHw4NjEzMzQyNTg=>.
NAML<http://apache-flex-development.247.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.n

Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 Thread yishayw
My AIR_HOME goes to my nightly installation which has Adobe AIR 23.0 SDK.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Mobile-Depends-on-Flash-11-4-tp62811p62846.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 Thread yishayw
I was getting the error when doing ant clean all from flex-asjs. I updated
build.xml under Mobile to include the snippet you provided. Let me know if I
misunderstood, in which case I'll revert. Not sure what, if at all, needs to
change for the Maven build. Thanks.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Mobile-Depends-on-Flash-11-4-tp62811p62840.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread yishayw
yishayw wrote
> Now assuming you have pom.xml and build.xml in your project you should be
> able to run Maven like this:

Should read:


Now assuming you have pom.xml and build.xml in your project you should be
able to run Maven *or ant* like this:




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62835.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread yishayw
Here [1] is how I run Maven an Ant from Flash Builder. To use this do the
following:

1) Download folder to your computer
2) in Flash Builder go to File->Import->Run/Debug->Launch Configurations
3) Select the folder you downloaded
4) Open up Run->External Tools (useful keyboard shortcut:  then 
then )
5) Go to External Tools Configuration
6) Under just_run_ant and just_run_maven adjust the 'Location:' field so it
matches where your installation directories.

Now assuming you have pom.xml and build.xml in your project you should be
able to run Maven like this:

 then  then  then select just_run_maven, or just_run_ant.

Let me know how it goes.



[1] https://1drv.ms/f/s!AgH-0pVQ5zPPshHHf1qtUuu7pIwc



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62834.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread yishayw
Hi Allen,

I'm glad you got around this problem by using Maven. Can you export your
project to fxp and post it somewhere so I can have a look? It would be good
to know what's keeping the Flash Builder build from working.

Thanks,
Yishay




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62830.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread yishayw
BTW, I noticed Camera is declared with a [Mixin] metatag. What is that?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Mobile-Depends-on-Flash-11-4-tp62811p62812.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread yishayw
I was having a problem building the Mobile package. It was complaining about
line 151 in Camera.as which does camera.copyToByteArray(). Looking at the
docs [1], it looks like this method became available in flash 11.4 while the
build is set to look for flash player 11.1 (under build.properties). 

So I changed to flash 25.0 and rebuilt, and Mobile passed. The funny thing
is that after changing back to 11.1, the build now passes.

In short, it looks to me like the flash player requirement should be updated
to 11.4.

What do you guys think?

[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Camera.html#copyToByteArray()




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Mobile-Depends-on-Flash-11-4-tp62811.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] PAYG definitions and guidance, Please participate

2017-07-02 Thread yishayw
To me it's a bit difficult to digest in its current format. I would prefer to
see a list of design patterns with descriptions of concrete problems and
proposed solutions. This doc could be PAYG in itself. You come across a
problem, solve it with PAYG, add an item in the doc, if the idea isn't
already there. 




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-PAYG-definitions-and-guidance-Please-participate-tp62738p62760.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread yishayw
That's assuming you have ant installed and in path.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62740.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread yishayw
Hi Allen,

In my project there's an ant script that you can use. So if you open your
cmd or shell and change directory to where build.xml is, you can type 'ant'
and the project should build.

Let me know how it goes.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62739.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread yishayw
allenyyang wrote
> However, the source code texts on YouTube video are a bit blurred when
> Yishay went through the example MXML code (Unlike Josh's VS Code video on
> which the texts are clear most of the time)

I uploaded [1] the example project to my OneDrive. It doesn't contain the
example framework bead, but that will be more relevant for when (and if) you
start developing the framework itself.

[1]
https://onedrive.live.com/?authkey=%21AISXR8DhFELsS0E=CF33E75095D2FE01=CF33E75095D2FE01%216416=root=locate




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62726.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread yishayw
allenyyang wrote
> (b)If I convert to Flex 4 first, then I am trying to prepare my
> browsers for debugging in a Flash environment. My most frequently used
> browser is Google Chrome.  I found that there is no easy way to replace
> Chrome's flash player, starting Chrome version 57, by the debug version
> downloadable from Adobe.  Could anyone advise me how to set that up for
> debugging?

I gave up on Chrome's flash debugger. It just seems to be simpler to debug
flash with Firefox. If, like me, you're using Flash Builder, there's an
option to set the default browser so your apps are debugged in your browser
of preference. I'm not sure how that would work in VS Code, but others on
this list will be able to help you with that.

As others have indicated, the transition to FlexJS won't be all smooth, but
at this stage it shouldn't be too complicated either. Any questions that you
have, even if they seem dumb, I would suggest to post on the Users list.
That would give the community a good sense of what it feels like for a new
user to start using FlexJS. In my opinion, that would be very valuable.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62702.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS,TLF] Tlf branch and Maven build

2017-06-28 Thread yishayw
Yes, that worked.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-TLF-Tlf-branch-and-Maven-build-tp62452p62659.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS,TLF] Tlf branch and Maven build

2017-06-28 Thread yishayw
I'll try switching falcon to tlf branch. I was using release up to now.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-TLF-Tlf-branch-and-Maven-build-tp62452p62657.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS,TLF] Tlf branch and Maven build

2017-06-28 Thread yishayw
I'm getting this problem with ant clean all as well. Before running ant clean
all I tried running "ant wipe" in flex-typedefs and "ant wipe-all" in 
flex-falcon, and "ant super-clean" in flex-asjs.

 [java]
C:\dev\flexjs\flex-asjs\frameworks\projects\Basic\src\main\config\compile-swf-config.xml(47):
col: 0 unknown configuration variable 'compiler.fxg-base-class'.
 [java]
C:\dev\flexjs\flex-asjs\frameworks\projects\Basic\src\main\config\compile-swf-config.xml
(line: 47)
 [java]
 [java] flash.display.Sprite
 [java]
 [java]
 [java] Java Result: 4




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-TLF-Tlf-branch-and-Maven-build-tp62452p62656.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] TileLayout

2017-06-22 Thread yishayw
Adding margins adds a gutter on the right side of the host. This is probably
because each child's width is calculated according to the parent's width
divided by the number of children, disregarding the margins. I'm using
padding instead, but that has the drawback that in a tiled list, for
example, there are no non-selectable gaps.

I think the fix is to take margins into account, but there might be
performance implications.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-TileLayout-tp62568p62570.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] TileLayout

2017-06-22 Thread yishayw
What is the preferred way to set gaps between columns and between rows?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-TileLayout-tp62568.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [VOTE] Release Apache FlexJS 0.8.0 RC2

2017-06-21 Thread yishayw
+1
Package
https://dist.apache.org/repos/dist/dev/flex/flexjs/0.8.0/rc2/apache-flex-flexjs-0.8.0-src.zip
Java 1.8
OS: Windows 10 amd64 10.0
Source kit signatures match: y
Source kit builds: y
README is ok: y
RELEASE_NOTES is ok: y
NOTICE is ok: y
LICENSE is ok: y
No unapproved licenses or archives: y
No unapproved binaries: y

Package
https://dist.apache.org/repos/dist/dev/flex/flexjs/0.8.0/rc2/binaries/apache-flex-flexjs-0.8.0-bin.zip
Binary kit signatures match: y
NOTICE is ok: y
LICENSE is ok: y
No unapproved licenses or archives in binary package: y
No unapproved binaries in binary package: y



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/VOTE-Release-Apache-FlexJS-0-8-0-RC2-tp62497p62514.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [DISCUSS] Discuss Release Apache FlexJS 0.8.0 RC2

2017-06-21 Thread yishayw
I noticed the MIT license says: 2013-2016. Shouldn't it be 2013-2017?

The MIT License (MIT)
Copyright (c) 2013-2016 Designmodo



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Release-Apache-FlexJS-0-8-0-RC2-tp62498p62512.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] How Binding works?

2017-06-20 Thread yishayw
In this [1] app, referencing the interface [2] results in a warning, but
referencing the implementer [3] does not.

So it looks like the problem is with bindable interfaces only.

Thanks.

[1] https://paste.apache.org/JmIV
[2] https://paste.apache.org/zxSB
[3] https://paste.apache.org/Qko2



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-How-Binding-works-tp57096p62492.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] How Binding works?

2017-06-20 Thread yishayw
It looks like changing the definitions of the interface and the class to 

[Bindable]function get PURCHASED():String;
and
[Bindable]public function get PURCHASED():String { return
"PURCHASED"; }

worked.

So is it a bug that declaring the class and the interface as bindable was
not enough?





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-How-Binding-works-tp57096p62485.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] How Binding works?

2017-06-20 Thread yishayw
We have an mxml component where

[Bindable]public var locStrings:IUIStrings = 
LocaleManager.localeStrings;
...

   

...


LocaleManager is declared thus:

[Bindable]
public class LocaleManager

and it has:
public static function get
localeStrings():IUIStrings

where IUIString is declared thus:

[Bindable]public interface IUIStrings

and its implementation is declares like this:

   [Bindable]public class DefaultStrings implements
IUIStrings

Can anyone explain why I'm seeing this?

   Data binding will not be able to detect assignments
to 'PURCHASED'.





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-How-Binding-works-tp57096p62481.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-13 Thread yishayw
+1
Package
https://dist.apache.org/repos/dist/dev/flex/flexjs/0.8.0/rc1/apache-flex-flexjs-0.8.0-src.zip
Java 1.8
OS: Windows 10 amd64 10.0
Source kit signatures match: y
Source kit builds: y
README is ok: y
RELEASE_NOTES is ok: y
NOTICE is ok: y
LICENSE is ok: y
No unapproved licenses or archives: y
No unapproved binaries: y

Package
https://dist.apache.org/repos/dist/dev/flex/flexjs/0.8.0/rc1/binaries/apache-flex-flexjs-0.8.0-bin.zip
Binary kit signatures match: y
NOTICE is ok: y
LICENSE is ok: y
No unapproved licenses or archives in binary package: y
No unapproved binaries in binary package: y



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/VOTE-Release-Apache-FlexJS-0-8-0-RC1-tp62273p62381.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Unit Tests Not Running

2017-06-13 Thread yishayw
As suggested [1] here I was able to get around the problem by associating swc
files with the flash player projector content debugger, so I can finally run
tests now. 

It says there [1] that

> On Windows we use rundll32 to launch the associated player for the SWF
> mimetype and on the Mac we use the "open" command

[1] https://forums.adobe.com/thread/505090



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Unit-Tests-Not-Running-tp62371p62380.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Unit Tests Not Running

2017-06-13 Thread yishayw
https://paste.apache.org/TLwu



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Unit-Tests-Not-Running-tp62371p62379.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] Unit Tests Not Running

2017-06-13 Thread yishayw
I have a batch file with the following contents:

%FLASHPLAYER_DEBUGGER%

It opens up the Flash Player projector content debugger. The unit tests for
Basic, don't open it up however, and the build fails.

Any ideas?
Thanks.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Unit-Tests-Not-Running-tp62371.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread yishayw
>Is it set to C:\dev\flashflashplayer_25_sa_debug.exe

Yes.

>Does the player open up and try to run the flex unit test? 

No.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/VOTE-Release-Apache-FlexJS-0-8-0-RC1-tp62273p62359.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread yishayw
Actually, it's set to C:\dev\flash\flashplayer_25_sa_debug.exe which exists.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/VOTE-Release-Apache-FlexJS-0-8-0-RC1-tp62273p62357.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread yishayw
It's set to C:\dev\flash where flashplayer_25_sa_debug.exe exists.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/VOTE-Release-Apache-FlexJS-0-8-0-RC1-tp62273p62356.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread yishayw
I can, I guess there was a network glitch. The recurring problem is that unit
tests don't run and I get a socket timeout:

C:\dev\flexjs\flex-asjs\frameworks\projects\Basic\src\test\flex\build.xml:154:
java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit
report
at java.util.concurrent.FutureTask.report(FutureTask.java:122)

I've got PLAYERGLOBAL_HOME set to C:\dev\flashplayer and
C:\dev\flashplayer\25.0\playerglobal.swc and
C:\dev\flashplayer\11.1\playerglobal.swc both exist.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/VOTE-Release-Apache-FlexJS-0-8-0-RC1-tp62273p62353.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [DISCUSS] Discuss Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread yishayw
Doesn't this logic mean that all the releases up to now have been invalid? 

It seems to me there is some interest in the extended community to see a
release out. Looking at the RELEASE_NOTES I see lots of nice new features
and bug fixes, which would be beneficial to people who want to start using
FlexJS.



Carlos Rovira wrote
> Total agree since the main purpose of this process is in fact to make a
> "release" and if that release can't go to Maven-Central...is not valid at
> all...





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Release-Apache-FlexJS-0-8-0-RC1-tp62274p62349.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread yishayw
I keep getting the below message when running the approval script. I closed
all browsers prior to running the script. Any tips?

BUILD FAILED
C:\dev\release\ApproveFlexJS.xml:742: java.net.UnknownHostException:
archive.apache.org
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
at
sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at
sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/VOTE-Release-Apache-FlexJS-0-8-0-RC1-tp62273p62347.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Is it possible to Convert Flex Application to HTML5

2017-06-07 Thread yishayw
If you plan to write your app in JS and only need FalconJX for the initial
conversion that's a possibility too, though it might not be the optimal one.
You might want to watch [1] Harbs' talk on how to get it to compile. You can
then use the created sources to build your own architecture on that.

Good luck!

[1] https://www.youtube.com/watch?v=-FcLs0O-BWQ



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Is-it-possible-to-Convert-Flex-Application-to-HTML5-tp62212p62227.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Is it possible to Convert Flex Application to HTML5

2017-06-07 Thread yishayw
It is possible,  we've been doing it.

Unless you want to modify the framework you don't need the developer setup.

This [1] should get you started.

[1]
https://cwiki.apache.org/confluence/display/FLEX/Getting+Started+With+FlexJS



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Is-it-possible-to-Convert-Flex-Application-to-HTML5-tp62212p62217.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Beads and DRY (was Re: [FlexJS] Removing PasswordInputBead has no effect)

2017-06-06 Thread yishayw
OmPrakash Muppirala wrote
> Bead A supports feature X
> Bead B needs to support feature X and Y

Theoretically Bead B could support just feature Y, and the strand would
choose to add both A and B or just A.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Beads-and-DRY-was-Re-FlexJS-Removing-PasswordInputBead-has-no-effect-tp62177p62199.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] DataBinding Problem

2017-06-06 Thread yishayw
It's actually MXMLBeadViewDataBinding. The simplest solution may be to avoid
using binding in TitleBarView and explicitly listen to TitleBar's
"modelChanged" event and TitleBarModel's "titleChange" event. But any other
solution is fine by me.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073p62133.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Accordion broken

2017-06-06 Thread yishayw
Not sure I understand. Is release Accordion working with the example I posted
[1]?

I just fetched and logged flex-asjs and couldn't see any accordion related
changes. Can you send a commit id? 

Thanks.

[1] https://paste.apache.org/QUj1



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Accordion-broken-tp61937p62132.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] DataBinding Problem

2017-06-04 Thread yishayw
You got it [1]. Thanks Piotr.

[1] https://issues.apache.org/jira/browse/FLEX-35320



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073p62083.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Accordion broken

2017-06-04 Thread yishayw
Here's [1] an example app.

The 2 problems I see:

1) DataBinding problems [2] cause titles to be undefined. I hacked a fix on
TLF branch, but this should probably addressed differently.
2) TitleBar.height returns 0, even though the measured height is 30. I think
this is a bug, am I wrong?

Thanks.

[1] https://paste.apache.org/QUj1
[2]
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-td62073.html




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Accordion-broken-tp61937p62080.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] DataBinding Problem

2017-06-04 Thread yishayw
Example app [1]

[1] https://paste.apache.org/hdOl



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073p62078.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] DataBinding Problem

2017-06-04 Thread yishayw
Trying to debug accordion I ran into a data binding issue. 

TitleBarView.mxml has this line:

 

But if I change the model to a tbModel where tbModel.title == "hi" I will
not the label text is empty instead of it being 'hi'. 

In other words, data binding only works if the host stays the same.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Release Branch Not Building

2017-06-04 Thread yishayw
False alarm, I wasn't using the latest falcon. Apologize for the noise.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Release-Branch-Not-Building-tp62057p62061.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] Release Branch Not Building

2017-06-04 Thread yishayw
When doing ant clean all I get

compile:
 [echo] Compiling libs/Language.swc
 [echo] FLEX_HOME: C:\dev\flexjs\flex-asjs
 [echo] FALCON_HOME: C:\dev\flexjs\flex-asjs/../flex-falcon/compiler
 [echo] FALCONJX_HOME:
C:\dev\flexjs\flex-asjs/../flex-falcon/compiler-jx
 [java] Exception in thread "main"
java.lang.UnsupportedOperationException
 [java] at
org.apache.flex.compiler.internal.driver.as.ASBackend.getSourceFileHandlerInstance(ASBackend.java:72)
 [java] at
org.apache.flex.compiler.clients.MXMLJSC.(MXMLJSC.java:260)
 [java] at
org.apache.flex.compiler.clients.COMPJSC.(COMPJSC.java:167)
 [java] at
org.apache.flex.compiler.clients.COMPJSC.staticMainNoExit(COMPJSC.java:155)
 [java] at
org.apache.flex.compiler.clients.COMPJSC.main(COMPJSC.java:109)
 [java] Java Result: 1



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Release-Branch-Not-Building-tp62057.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Accordion broken

2017-06-01 Thread yishayw
Harbs wrote
> \2. The Collapse bead can only infer that it’s collapsed by the fact that
> the size is the collapsed size — which only makes sense if the size is
> set.

Shouldn't .height return the measured height, regardless of whether it was
explicitly set?




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Accordion-broken-tp61937p62008.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Is TLF Branch Building

2017-05-29 Thread yishayw
I'll let Harbs answer this but I think we're not working on the latest tlf
anyway. 



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-TLF-Branch-Building-tp61739p61934.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Is TLF Branch Building

2017-05-23 Thread yishayw
I'm not sure what to do here. I checked out
7137de6b19cd11630ee1ef29f7a9164166e35b10 for falcon, built falcon and copied
jars to FLEXJS_HOME/js/lib.

Now when building TLF branch everything builds, but not the TLF project.
What is the suggested workaround? Our app currently only runs using TLF.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-TLF-Branch-Building-tp61739p61812.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] hard coded event names

2017-05-23 Thread yishayw
I think the idea is to optimize the number of different event classes. Event
and ValueEvent should take care of a lot of cases. If you add a bunch of
constants to those 2, you end up bloating them. App developers should get
code hinting in mxml via metadata so typos are mitigated.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-hard-coded-event-names-tp61769p61770.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] Is TLF Branch Building

2017-05-22 Thread yishayw
I pulled all the latest changes and did 'ant clean all' with the following
result:

C:\dev\flexjs\flex-asjs\build.xml:499: The following error occurred while
executing this line:
C:\dev\flexjs\flex-asjs\frameworks\build.xml:79: The following error
occurred while executing this line:
C:\dev\flexjs\flex-asjs\frameworks\build.xml:246: The following error
occurred while executing this line:
C:\dev\flexjs\flex-asjs\frameworks\projects\Language\build.xml:79: Problem:
failed to create task or type compc





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-TLF-Branch-Building-tp61739.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-22 Thread yishayw
You're right, changes are indeed reflected. I couldn't see my new bead in the
project, but that was because I didn't add it via FB. If I had, FB would
have added an entry under .flexLibProperties such as 

  

  

and Test would have been visible to my test app.

You still need to add org.apache.flex.html.beads.Test to project manifest
file, and copy that file to FLEXJS_HOME in order to see that file in MXML.
FB won't do that for you.

I made the changes we discussed to flex-config-template.xml and
air-config-template.xml.






--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61733.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: FlexJS MXML ids and classNames

2017-05-21 Thread yishayw
I like the idea. Sencha follows a similar pattern as far as I remember. I
don't like mxmlID. Everything in MXML is MXML. I would go with 'localId',
for the one that doesn't translate to HTML, and 'id' for the one that does.
Also, there's nothing preventing an AS3 class from accessing the so called
'mxmlID'.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MXML-ids-and-classNames-tp54361p61710.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-20 Thread yishayw
I just pulled the changes and tried to build using FB. I'm getting this

1319: unknown configuration variable 'compiler.targets'.
C:\dev\flexjs\flex-asjs\frameworks\projects\Core\src\main\config\compile-swf-config.xml
(line: 25)

So Core doesn't build.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61704.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-20 Thread yishayw
Items 1-9 were considered musts.

Fontkit library port (item 7) made it to the list because it was blocking
Maven builds. I think Chris has found a workaround, so maybe we can strike
that off.

Post meeting there was some agreement that a better looking default theme
was also a must. Leonidas said he would provide us with the graphics. That
would be very helpful in my opinion.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/ApacheCon-FlexJS-Summit-FlexJS-1-0-Discussion-Round-Summary-tp61700p61703.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [ApacheCon/FlexJSSummit] Just registered...

2017-05-19 Thread yishayw
Kudos to Chris for organizing a successful event. We had few outsiders as
audience but it was good to meet, sync, and hopefully revitalize the
project. Well done.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/ApacheCon-FlexJSSummit-Just-registered-tp61516p61695.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-17 Thread yishayw
I tried 

-compiler.targets=SWF



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61682.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-17 Thread yishayw
Alex Harui-2 wrote
> You can use -compiler.targets=SWF or -compiler.targets=JSFlex to only
> compile one side or the other.

Adding those options in FB, under Flex Compiler view of the test app,
results in no code hinting. Not adding the options makes build time much
slower.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61681.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-17 Thread yishayw
Alex Harui-2 wrote
> That's good news.  Does that mean you are all set for your demo?

I hope so, thanks for the help. Hopefully we've made our tooling stronger in
the process.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61679.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: [FlexJS] flex-asjs build failing

2017-05-17 Thread yishayw
Chris fixed it on my machine by commenting out of
framework/frameworks/pom.xml the fontsrc element.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61674.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [ApacheCon/FlexJSSummit] Just registered...

2017-05-17 Thread yishayw
They will be videoed, so we should be able to upload them at some point.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/ApacheCon-FlexJSSummit-Just-registered-tp61516p61673.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-17 Thread yishayw
It's actually working. I just needed to clean the test project, as well as
the framework where I made changes.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61672.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-17 Thread yishayw
I did.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61671.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-16 Thread yishayw
I added a bead [1] to Basic, and changed the line thickness.

[1] https://paste.apache.org/W1AD



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61669.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-16 Thread yishayw
Code completion is working, but FB build does not change framework code as
far as the test app is concerned. Alex, this [1] is what I'm doing and it
used to work as you can see here [2]. Can you see if it works in your setup?

[1]
http://apache-flex-development.247.n4.nabble.com/FlexJS-Developer-Setup-tp53729p53733.html
[2]
http://apache-flex-development.247.n4.nabble.com/FlexJS-Developer-Setup-tp53729p53788.html



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61667.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-16 Thread yishayw
Tweaking flex-config.xml worked for me as well. It sounds like a good idea to
link to JS instead of swf. I'll see if I can do that later.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61656.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Moonshine 1.4.0 Release

2017-05-16 Thread yishayw
It's difficult for me to find the problems view in the current state. Piotrz
will be here later so I'll see if he has insights. Full screen view isn't
working (mouse pointer events are off). Thanks.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Moonshine-1-4-0-Release-tp61632p61655.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-16 Thread yishayw
My app [1]
.actionScriptProperties [2]
.flexProperties [3] 

So Core is merged to code, and the rest is taken from the framework.

AS3 files are fine.

Also, when I edit TitleBarView.mxml in Basic, I get code completion as
usual, both in xml and in scrip tag.

There are no references to -swf-library-path that I can see.
 
[1] https://paste.apache.org/dVyY
[2] https://paste.apache.org/n1Lj
[3] https://paste.apache.org/qQSu






--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/LAST-CALL-Release-FlexJS-FalconJX-0-8-0-tp61275p61651.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


  1   2   3   4   >