Re: Getting source working in Flash Builder
Okay. There's too much about the process that's kind of black magic to me. I guess after I finish getting this working I'll understand how everything ties together better. That's a good thing I guess… ;-) I was under the impression that you could link to the source files instead of the swcs. Why is the SDK libs different than regular libs? On Feb 21, 2013, at 2:27 AM, Justin Mclean wrote: Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
Re: Getting source working in Flash Builder
I think theoricaly, that's could be possible, first the flex-config.xml shouldn't contain any declarations to the librairies except playerglobal, the lib folder should be emptied, you would have to create a project for each lib in your IDE, the build configuration of each one should take care of the dependecies,, may keeping an ant target for the locales... I should give a try to that at time to see if I miss something. -Fred -Message d'origine- From: Harbs Sent: Thursday, February 21, 2013 9:03 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Okay. There's too much about the process that's kind of black magic to me. I guess after I finish getting this working I'll understand how everything ties together better. That's a good thing I guess… ;-) I was under the impression that you could link to the source files instead of the swcs. Why is the SDK libs different than regular libs? On Feb 21, 2013, at 2:27 AM, Justin Mclean wrote: Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
Re: Getting source working in Flash Builder
Weird, because I remember I mavenized the SDK 4.9 and been able to use them, I can't see how you couldn't use them. -Fred -Message d'origine- From: Harbs Sent: Thursday, February 21, 2013 9:31 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Yes. I'm talking about experimental. I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. I'm using the en_US locale. Not sure what to say here… This is all clear as mud to me. I'll play around a bit trying to wrap my head around this. I'll probably come back with more questions later… On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: Harbs, 2) I need the Alert and ColorPicker components that's not in the 4.9 release. If you're talking about the ones in the experimental.swc, there are in the 4.9 but you can use them with en_US only, I re-worked them in the develop branch, so if you want to use them and even to have an SDK you can use with IntelliJ, constantly updated, chekout the develop branch, do a first build, a release, use the makeApacheFlexForFlashBuilder on the released develop branch itself, not the resulting binaries. Like that you can set this fresh SDK as the SDK you use if you want to make change in the SDK, you'll have only to run the ant target corresponding to the lib you modified (and the other.locales too) and you'll be able to test it right away on your sample projects. Ask me if I haven't been completly clear. -Fred -Message d'origine- From: Justin Mclean Sent: Thursday, February 21, 2013 1:27 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
[jira] [Created] (FLEX-33409) TLF crashes when hypens are shown in a multi span textFlow
Woodwing Developer created FLEX-33409: - Summary: TLF crashes when hypens are shown in a multi span textFlow Key: FLEX-33409 URL: https://issues.apache.org/jira/browse/FLEX-33409 Project: Apache Flex Issue Type: Bug Affects Versions: Adobe Flex SDK 4.6 (Release) Environment: TLF editing Reporter: Woodwing Developer When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes when typing. Import the underlying text flow xml. Resize the text area until the hyphen is visible. Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes. Sample textFLow: TextFlow color=#00 fontSize=12 lineHeight=14 paddingBottom=0 paddingLeft=10 paddingRight=10 paddingTop=0 whiteSpaceCollapse=preserve version=2.0.0 xmlns=http://ns.adobe.com/textLayout/2008; p span backgroundColor=#ff textDecoration=underlineFirst Span/span span backgroundColor=#ff textDecoration=none Second span. This text has a hypen in the next long word LongWordWithAHyphen. Make sure the hypen is shown! Then start typing and pressing enter till TLF crashes (should happen fast enough)/span /p /TextFlow It seems that the textLine is damaged but the text engine fails to recompose the line properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FLEX-33409) TLF crashes when hypens are shown in a multi span textFlow
[ https://issues.apache.org/jira/browse/FLEX-33409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Woodwing Developer updated FLEX-33409: -- Priority: Blocker (was: Major) TLF crashes when hypens are shown in a multi span textFlow -- Key: FLEX-33409 URL: https://issues.apache.org/jira/browse/FLEX-33409 Project: Apache Flex Issue Type: Bug Affects Versions: Adobe Flex SDK 4.6 (Release) Environment: TLF editing Reporter: Woodwing Developer Priority: Blocker Labels: TLF, crash, editing, hyphen, span, textflow When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes when typing. Import the underlying text flow xml. Resize the text area until the hyphen is visible. Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes. Sample textFLow: TextFlow color=#00 fontSize=12 lineHeight=14 paddingBottom=0 paddingLeft=10 paddingRight=10 paddingTop=0 whiteSpaceCollapse=preserve version=2.0.0 xmlns=http://ns.adobe.com/textLayout/2008; p span backgroundColor=#ff textDecoration=underlineFirst Span/span span backgroundColor=#ff textDecoration=none Second span. This text has a hypen in the next long word LongWordWithAHyphen. Make sure the hypen is shown! Then start typing and pressing enter till TLF crashes (should happen fast enough)/span /p /TextFlow It seems that the textLine is damaged but the text engine fails to recompose the line properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FLEX-33409) TLF crashes when hypens are shown in a multi span textFlow
[ https://issues.apache.org/jira/browse/FLEX-33409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Woodwing Developer updated FLEX-33409: -- Description: When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes when typing. Import the underlying text flow xml. Resize the text area until the hyphen is visible. Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes. Sample textFLow (if the soft hyphen is not show, insert a new one in the appropriate word): TextFlow color=#00 fontSize=12 lineHeight=14 paddingBottom=0 paddingLeft=10 paddingRight=10 paddingTop=0 whiteSpaceCollapse=preserve version=2.0.0 xmlns=http://ns.adobe.com/textLayout/2008; p span backgroundColor=#ff textDecoration=underlineFirst Span/span span backgroundColor=#ff textDecoration=none Second span. This text has a hypen in the next long word LongWordWithAHyphen. Make sure the hypen is shown! Then start typing and pressing enter till TLF crashes (should happen fast enough)/span /p /TextFlow It seems that the textLine is damaged but the text engine fails to recompose the line properly. was: When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes when typing. Import the underlying text flow xml. Resize the text area until the hyphen is visible. Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes. Sample textFLow: TextFlow color=#00 fontSize=12 lineHeight=14 paddingBottom=0 paddingLeft=10 paddingRight=10 paddingTop=0 whiteSpaceCollapse=preserve version=2.0.0 xmlns=http://ns.adobe.com/textLayout/2008; p span backgroundColor=#ff textDecoration=underlineFirst Span/span span backgroundColor=#ff textDecoration=none Second span. This text has a hypen in the next long word LongWordWithAHyphen. Make sure the hypen is shown! Then start typing and pressing enter till TLF crashes (should happen fast enough)/span /p /TextFlow It seems that the textLine is damaged but the text engine fails to recompose the line properly. TLF crashes when hypens are shown in a multi span textFlow -- Key: FLEX-33409 URL: https://issues.apache.org/jira/browse/FLEX-33409 Project: Apache Flex Issue Type: Bug Affects Versions: Adobe Flex SDK 4.6 (Release) Environment: TLF editing Reporter: Woodwing Developer Priority: Blocker Labels: TLF, crash, editing, hyphen, span, textflow When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes when typing. Import the underlying text flow xml. Resize the text area until the hyphen is visible. Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes. Sample textFLow (if the soft hyphen is not show, insert a new one in the appropriate word): TextFlow color=#00 fontSize=12 lineHeight=14 paddingBottom=0 paddingLeft=10 paddingRight=10 paddingTop=0 whiteSpaceCollapse=preserve version=2.0.0 xmlns=http://ns.adobe.com/textLayout/2008; p span backgroundColor=#ff textDecoration=underlineFirst Span/span span backgroundColor=#ff textDecoration=none Second span. This text has a hypen in the next long word LongWordWithAHyphen. Make sure the hypen is shown! Then start typing and pressing enter till TLF crashes (should happen fast enough)/span /p /TextFlow It seems that the textLine is damaged but the text engine fails to recompose the line properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (FLEX-33410) NetStream jumps when playing on Android devices
Gaius Coffey created FLEX-33410: --- Summary: NetStream jumps when playing on Android devices Key: FLEX-33410 URL: https://issues.apache.org/jira/browse/FLEX-33410 Project: Apache Flex Issue Type: Bug Components: Spark: VideoPlayer Environment: Android mobile Reporter: Gaius Coffey Priority: Blocker When playing videos using OSMF on Android devices, NetStream will skip the final few seconds. This makes it impossible to use video commercially. Steps to reproduce: 1. Create a Mobile project similar to the below 2. Run it on an Android device and watch the traces as the video gets to the end Replicated on all of Motorola Xoom, Nexus 7, HTC Desire... package { import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import flash.events.NetDataEvent; import flash.events.NetStatusEvent; import flash.net.NetStream; import flash.text.TextField; import flash.utils.Dictionary; import flash.utils.getTimer; import org.osmf.elements.ProxyElement; import org.osmf.elements.SerialElement; import org.osmf.elements.VideoElement; import org.osmf.events.MediaErrorEvent; import org.osmf.events.MediaPlayerStateChangeEvent; import org.osmf.media.MediaElement; import org.osmf.media.MediaPlayerSprite; import org.osmf.media.URLResource; import org.osmf.net.NetStreamLoadTrait; import org.osmf.net.NetStreamSwitchManagerBase; import org.osmf.traits.MediaTraitType; import org.osmf.traits.TimeTrait; [SWF(backgroundColor=#272727)] public class DebugAdvert extends Sprite { public function DebugAdvert() { super(); // support autoOrients stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; stage.addEventListener(Event.RESIZE,doResize); // Textfield for logging tf = new TextField; tf.backgroundColor = 0xff; tf.multiline = true; tf.background = true; addChild(tf); // MediaPlayerSprite for video display mp = new MediaPlayerSprite(); addChild(mp); // Position everything for the first time. doResize(null); // Add OEF listener to update traces addEventListener(Event.ENTER_FRAME,everyFrame); // Start the process going by adding a video var ur:URLResource = new URLResource(TEST_VIDEO_CONTENT); var me:MediaElement = mp.mediaFactory.createMediaElement(ur); mp.media = me; } public const TEST_VIDEO_CONTENT:String = videos/TOYOTA_YARIS_MORE_VER2_30_TV.mp4; /** * The threshold for a step between frames that will be logged as an error. * This should ideally be the same as frame interval, but will * vary with device performance. However, even allowing for that, * it should NEVER be as high as half a second, let alone the * three or more seconds seen on many Android devices. */ public const ERROR_THRESHOLD:Number = 0.5; /** * Number of log records to maintain for display in the textfield */ public const NUM_ERROR_RECORDS:uint = 10; /** * On resize, keep the textfield visible and media player sized. */ protected function doResize(event:Event):void { var w:Number = Math.min(stage.fullScreenWidth,stage.fullScreenHeight); var h:Number = w; if(stage.widthstage.height) { mp.width = w; mp.height = h; tf.x = w; tf.y = 0; } else { mp.width = w; mp.height = h; tf.x = 0; tf.y = h; } tf.height =
Re: Getting source working in Flash Builder
Yes. Very weird. I did a search, and experimental.swc is there. I tried copying it to my project libs folder, and that did not help either. When I copied the source code to my src folder, I was able to address the components in ActionScript, but not mxml. I tried creating a new Flex 4.9 project, and still nothing. I'm using FB 4.5. Could that be making a difference? On Feb 21, 2013, at 10:40 AM, Frédéric THOMAS wrote: Weird, because I remember I mavenized the SDK 4.9 and been able to use them, I can't see how you couldn't use them. -Fred -Message d'origine- From: Harbs Sent: Thursday, February 21, 2013 9:31 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Yes. I'm talking about experimental. I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. I'm using the en_US locale. Not sure what to say here… This is all clear as mud to me. I'll play around a bit trying to wrap my head around this. I'll probably come back with more questions later… On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: Harbs, 2) I need the Alert and ColorPicker components that's not in the 4.9 release. If you're talking about the ones in the experimental.swc, there are in the 4.9 but you can use them with en_US only, I re-worked them in the develop branch, so if you want to use them and even to have an SDK you can use with IntelliJ, constantly updated, chekout the develop branch, do a first build, a release, use the makeApacheFlexForFlashBuilder on the released develop branch itself, not the resulting binaries. Like that you can set this fresh SDK as the SDK you use if you want to make change in the SDK, you'll have only to run the ant target corresponding to the lib you modified (and the other.locales too) and you'll be able to test it right away on your sample projects. Ask me if I haven't been completly clear. -Fred -Message d'origine- From: Justin Mclean Sent: Thursday, February 21, 2013 1:27 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
[jira] [Commented] (FLEX-33410) NetStream jumps when playing on Android devices
[ https://issues.apache.org/jira/browse/FLEX-33410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13583147#comment-13583147 ] Gaius Coffey commented on FLEX-33410: - Sorry, I have found a better place to post this. I have created a bug report here: https://bugbase.adobe.com/index.cfm?event=bugid=3504086 G NetStream jumps when playing on Android devices --- Key: FLEX-33410 URL: https://issues.apache.org/jira/browse/FLEX-33410 Project: Apache Flex Issue Type: Bug Components: Spark: VideoPlayer Environment: Android mobile Reporter: Gaius Coffey Priority: Blocker Labels: netstream, osmf, video When playing videos using OSMF on Android devices, NetStream will skip the final few seconds. This makes it impossible to use video commercially. Steps to reproduce: 1. Create a Mobile project similar to the below 2. Run it on an Android device and watch the traces as the video gets to the end Replicated on all of Motorola Xoom, Nexus 7, HTC Desire... package { import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import flash.events.NetDataEvent; import flash.events.NetStatusEvent; import flash.net.NetStream; import flash.text.TextField; import flash.utils.Dictionary; import flash.utils.getTimer; import org.osmf.elements.ProxyElement; import org.osmf.elements.SerialElement; import org.osmf.elements.VideoElement; import org.osmf.events.MediaErrorEvent; import org.osmf.events.MediaPlayerStateChangeEvent; import org.osmf.media.MediaElement; import org.osmf.media.MediaPlayerSprite; import org.osmf.media.URLResource; import org.osmf.net.NetStreamLoadTrait; import org.osmf.net.NetStreamSwitchManagerBase; import org.osmf.traits.MediaTraitType; import org.osmf.traits.TimeTrait; [SWF(backgroundColor=#272727)] public class DebugAdvert extends Sprite { public function DebugAdvert() { super(); // support autoOrients stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; stage.addEventListener(Event.RESIZE,doResize); // Textfield for logging tf = new TextField; tf.backgroundColor = 0xff; tf.multiline = true; tf.background = true; addChild(tf); // MediaPlayerSprite for video display mp = new MediaPlayerSprite(); addChild(mp); // Position everything for the first time. doResize(null); // Add OEF listener to update traces addEventListener(Event.ENTER_FRAME,everyFrame); // Start the process going by adding a video var ur:URLResource = new URLResource(TEST_VIDEO_CONTENT); var me:MediaElement = mp.mediaFactory.createMediaElement(ur); mp.media = me; } public const TEST_VIDEO_CONTENT:String = videos/TOYOTA_YARIS_MORE_VER2_30_TV.mp4; /** * The threshold for a step between frames that will be logged as an error. * This should ideally be the same as frame interval, but will * vary with device performance. However, even allowing for that, * it should NEVER be as high as half a second, let alone the * three or more seconds seen on many Android devices. */ public const ERROR_THRESHOLD:Number = 0.5; /** * Number of log records to maintain for display in the textfield */ public const NUM_ERROR_RECORDS:uint = 10; /** * On resize, keep the textfield visible and media player sized. */ protected function doResize(event:Event):void { var w:Number = Math.min(stage.fullScreenWidth,stage.fullScreenHeight); var h:Number = w; if(stage.widthstage.height) { mp.width = w; mp.height = h;
Re: Getting source working in Flash Builder
From what I understand, the experimental swc had a different namespace... I don't think it was in spark yet -Nick On Thu, Feb 21, 2013 at 3:31 AM, Harbs harbs.li...@gmail.com wrote: Yes. I'm talking about experimental. I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. I'm using the en_US locale. Not sure what to say here… This is all clear as mud to me. I'll play around a bit trying to wrap my head around this. I'll probably come back with more questions later… On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: Harbs, 2) I need the Alert and ColorPicker components that's not in the 4.9 release. If you're talking about the ones in the experimental.swc, there are in the 4.9 but you can use them with en_US only, I re-worked them in the develop branch, so if you want to use them and even to have an SDK you can use with IntelliJ, constantly updated, chekout the develop branch, do a first build, a release, use the makeApacheFlexForFlashBuilder on the released develop branch itself, not the resulting binaries. Like that you can set this fresh SDK as the SDK you use if you want to make change in the SDK, you'll have only to run the ant target corresponding to the lib you modified (and the other.locales too) and you'll be able to test it right away on your sample projects. Ask me if I haven't been completly clear. -Fred -Message d'origine- From: Justin Mclean Sent: Thursday, February 21, 2013 1:27 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
[jira] [Commented] (FLEX-33409) TLF crashes when hypens are shown in a multi span textFlow
[ https://issues.apache.org/jira/browse/FLEX-33409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13583162#comment-13583162 ] Justin Mclean commented on FLEX-33409: -- Have you tried with Apache Flex 4.9 it uses a newer version of TLF? TLF crashes when hypens are shown in a multi span textFlow -- Key: FLEX-33409 URL: https://issues.apache.org/jira/browse/FLEX-33409 Project: Apache Flex Issue Type: Bug Affects Versions: Adobe Flex SDK 4.6 (Release) Environment: TLF editing Reporter: Woodwing Developer Priority: Blocker Labels: TLF, crash, editing, hyphen, span, textflow When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes when typing. Import the underlying text flow xml. Resize the text area until the hyphen is visible. Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes. Sample textFLow (if the soft hyphen is not show, insert a new one in the appropriate word): TextFlow color=#00 fontSize=12 lineHeight=14 paddingBottom=0 paddingLeft=10 paddingRight=10 paddingTop=0 whiteSpaceCollapse=preserve version=2.0.0 xmlns=http://ns.adobe.com/textLayout/2008; p span backgroundColor=#ff textDecoration=underlineFirst Span/span span backgroundColor=#ff textDecoration=none Second span. This text has a hypen in the next long word LongWordWithAHyphen. Make sure the hypen is shown! Then start typing and pressing enter till TLF crashes (should happen fast enough)/span /p /TextFlow It seems that the textLine is damaged but the text engine fails to recompose the line properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Getting source working in Flash Builder
Something is odd here. Here's the symptoms that I'm seeing: Using either Flex 4.9 or putting experimental.swc in my libs, I do not get the components in either mxml hints or ActionScript hints. If I copy the source into my source folder I get hints for spark.compenents.ColorPicker, but I don't get anything in mxml. I see this in the css file, but I'm not sure where the namespace is assigned. (I never quite understood how this stuff works) @namespace http://flex.apache.org/experimental/ns;; On Feb 21, 2013, at 2:50 PM, Bogdan DINU wrote: Indeed, it's not in the spark namespace yet. Try using direct namespaces. On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski nicho...@spoon.aswrote: From what I understand, the experimental swc had a different namespace... I don't think it was in spark yet -Nick On Thu, Feb 21, 2013 at 3:31 AM, Harbs harbs.li...@gmail.com wrote: Yes. I'm talking about experimental. I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. I'm using the en_US locale. Not sure what to say here… This is all clear as mud to me. I'll play around a bit trying to wrap my head around this. I'll probably come back with more questions later… On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: Harbs, 2) I need the Alert and ColorPicker components that's not in the 4.9 release. If you're talking about the ones in the experimental.swc, there are in the 4.9 but you can use them with en_US only, I re-worked them in the develop branch, so if you want to use them and even to have an SDK you can use with IntelliJ, constantly updated, chekout the develop branch, do a first build, a release, use the makeApacheFlexForFlashBuilder on the released develop branch itself, not the resulting binaries. Like that you can set this fresh SDK as the SDK you use if you want to make change in the SDK, you'll have only to run the ant target corresponding to the lib you modified (and the other.locales too) and you'll be able to test it right away on your sample projects. Ask me if I haven't been completly clear. -Fred -Message d'origine- From: Justin Mclean Sent: Thursday, February 21, 2013 1:27 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin -- http://www.badu.ro
[jira] [Commented] (FLEX-33409) TLF crashes when hypens are shown in a multi span textFlow
[ https://issues.apache.org/jira/browse/FLEX-33409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13583172#comment-13583172 ] Woodwing Developer commented on FLEX-33409: --- Hi Justin. Yes, I've installed the latest flex SDK en TLF (today) from the apache website with the latest (2.0.2) SDK installer. The issue is still reproducible. TLF crashes when hypens are shown in a multi span textFlow -- Key: FLEX-33409 URL: https://issues.apache.org/jira/browse/FLEX-33409 Project: Apache Flex Issue Type: Bug Affects Versions: Adobe Flex SDK 4.6 (Release) Environment: TLF editing Reporter: Woodwing Developer Priority: Blocker Labels: TLF, crash, editing, hyphen, span, textflow When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes when typing. Import the underlying text flow xml. Resize the text area until the hyphen is visible. Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes. Sample textFLow (if the soft hyphen is not show, insert a new one in the appropriate word): TextFlow color=#00 fontSize=12 lineHeight=14 paddingBottom=0 paddingLeft=10 paddingRight=10 paddingTop=0 whiteSpaceCollapse=preserve version=2.0.0 xmlns=http://ns.adobe.com/textLayout/2008; p span backgroundColor=#ff textDecoration=underlineFirst Span/span span backgroundColor=#ff textDecoration=none Second span. This text has a hypen in the next long word LongWordWithAHyphen. Make sure the hypen is shown! Then start typing and pressing enter till TLF crashes (should happen fast enough)/span /p /TextFlow It seems that the textLine is damaged but the text engine fails to recompose the line properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [VOTE] Apache Flex 4.9.1 RC3
Do you think it is a bug in the tests or in the release source? You can also run against earlier release if you want to know if it is an inject. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Frédéric THOMAS webdoubl...@hotmail.com wrote: Hi, I just committed a fix for the DateChooser test header issue, unfortunately, -createImages refused to do its job, that means only 1 image has been regenerated instead of 2. So, the remaining failed tests on windows are: LangPacks/Japanese/tests/dateFieldTests JA_DateField_Dropdown_Japanese_Layout LangPacks/Japanese/tests/phoneNumberValidatorTests JA_PhoneNumberValidator_wrongLengthError components/Charts/Bubble/Properties/BubbleProperties BubbleSeries_multipleAxes_disabledDays Those tests failed are only few pixels comparation differences, that's not a blocker to me, at least not revelant enough for delaying the release again, otherwize, it would mean we delay the release to next week, what do you think guys ? -Fred -Message d'origine- From: Frédéric THOMAS Sent: Thursday, February 21, 2013 8:18 AM To: dev@flex.apache.org Subject: Re: [VOTE] Apache Flex 4.9.1 RC3 Hi Alex, I have a bit of time this morning to take care of the 2 issues relative to the DateChooser header style but that's it. Unfortunatly, I think I have neither the time nor the knowledge to deal with the other 2 remaining problems on windows. Are you still going to keep your vote at -1 until I have time to solve all of your mustella issues? If WE tolerate having 99.999% of tests passed and because those failed tests are only a few pixels differences, so, no stopper, I would go for a +1, for myself, I think, we can go for a release. -Fred -Message d'origine- From: Alex Harui Sent: Thursday, February 21, 2013 8:01 AM To: dev@flex.apache.org Subject: Re: [VOTE] Apache Flex 4.9.1 RC3 On 2/20/13 8:20 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: It still happens besause of the headerStyleName of the DateChooser, I guess I should re-generate the images with that, what do you think ? Hmm, I'm not sure how that happened. I guess I must have hit undo and some point. I called the style noBold... but didn't set the fontWeight. Feel free to make the changes. If you don't, I will on Friday. Are you still going to keep your vote at -1 until I have time to solve all of your mustella issues? -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[jira] [Assigned] (FLEX-33155) Uncaught exception in compiler, when JRE 1.7 is used
[ https://issues.apache.org/jira/browse/FLEX-33155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carol Frampton reassigned FLEX-33155: - Assignee: Carol Frampton Uncaught exception in compiler, when JRE 1.7 is used Key: FLEX-33155 URL: https://issues.apache.org/jira/browse/FLEX-33155 Project: Apache Flex Issue Type: Bug Components: Compiler API Affects Versions: Apache Flex 4.8 (parity release) Environment: JRE version 1.7.0_05 , FlashBuilder 4.6 , Apache Flex 4.8(parity release) Reporter: Sudhir Assignee: Carol Frampton Labels: Compiler, java_1.7 Fix For: Apache Flex 4.9.0 Attachments: UncaughtException_Compiler.log Steps to Reproduce: 1. Download the Apache SDK using AIR tool (available at http://people.apache.org/~bigosmallm/installapacheflex/ ) which also packages the SDK to use with Flash builder. 2. Download JRE 1.7 3. Install Flash Builder 4.6 4. Go to the installed FB location and delete the JRE folder already present in the FB installed location 5. Copy the JRE 1.7 folder into the installed location. (jre folder should be renamed from jre7 to jre) FB will now use JRE 1.7 instead of using the bundled 1.6 6. Configure FB to use Apache SDK which was downloaded in step 1. 7. Create a Flex project using Apache SDK 8. Now create a new AS class inside the new project Actual result: Internal build error in problems view. The error log says that there was an uncaught exception in the compiler. Expected result: There should be no such errors Workaround: Add a line -Djava.util.Arrays.useLegacyMergeSort=true in the FlashBuilder.ini Note: This issue is specific to Apache SDK. It is working fine with the released version of Flex SDK 4.6 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLEX-33389) The width of the last column header on a horizontally scrolling datagrid
[ https://issues.apache.org/jira/browse/FLEX-33389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13583436#comment-13583436 ] Carol Frampton commented on FLEX-33389: --- I don't think your workaround will work since isLastColumn is the last visible column which changes as you scroll. The if-clause is taking care of the case where there is a vertical scrollbar. The last column header should not spill into the small area on top of the vertical scrollbar. Perhaps the rendererWidth should only be adjusted if it is the last visible column AND there is a vertical scroll bar. The width of the last column header on a horizontally scrolling datagrid - Key: FLEX-33389 URL: https://issues.apache.org/jira/browse/FLEX-33389 Project: Apache Flex Issue Type: Bug Components: Spark: DataGrid Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.9.0 Environment: Windows 7 64bit Reporter: Mikko Torniainen Priority: Minor Labels: column, datagrid, header Fix For: Apache Flex 4.9.0 Attachments: Flex-33389.air, FLEX33389.mxml, lastcolumn.png, shot-20130213T115939.png, src.7z To reproduce: Create a spark datagrid with more columns than fit in the width of the datagrid. A horizontal scrollbar is shown. You'll see the last column header will wrap when it's scolled in and out of view. It's width changes based on how much of it is visible all the way down to zero. The other columns do not do that. Setting minwidth does not change it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Getting source working in Flash Builder
I got things to work -- sort of, by copying the source and sub-classing ColorPicker to use it in mxml. Now things are totally wonky with my setup. I get the following error (5 times -- I have a main app and six modules. I have no idea which modules cause the problem.) Unable to resolve resource bundle alert for locale en_US. This happens even when I go back to targeting 4.5. On Feb 21, 2013, at 3:13 PM, Harbs wrote: Something is odd here. Here's the symptoms that I'm seeing: Using either Flex 4.9 or putting experimental.swc in my libs, I do not get the components in either mxml hints or ActionScript hints. If I copy the source into my source folder I get hints for spark.compenents.ColorPicker, but I don't get anything in mxml. I see this in the css file, but I'm not sure where the namespace is assigned. (I never quite understood how this stuff works) @namespace http://flex.apache.org/experimental/ns;; On Feb 21, 2013, at 2:50 PM, Bogdan DINU wrote: Indeed, it's not in the spark namespace yet. Try using direct namespaces. On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski nicho...@spoon.aswrote: From what I understand, the experimental swc had a different namespace... I don't think it was in spark yet -Nick On Thu, Feb 21, 2013 at 3:31 AM, Harbs harbs.li...@gmail.com wrote: Yes. I'm talking about experimental. I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. I'm using the en_US locale. Not sure what to say here… This is all clear as mud to me. I'll play around a bit trying to wrap my head around this. I'll probably come back with more questions later… On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: Harbs, 2) I need the Alert and ColorPicker components that's not in the 4.9 release. If you're talking about the ones in the experimental.swc, there are in the 4.9 but you can use them with en_US only, I re-worked them in the develop branch, so if you want to use them and even to have an SDK you can use with IntelliJ, constantly updated, chekout the develop branch, do a first build, a release, use the makeApacheFlexForFlashBuilder on the released develop branch itself, not the resulting binaries. Like that you can set this fresh SDK as the SDK you use if you want to make change in the SDK, you'll have only to run the ant target corresponding to the lib you modified (and the other.locales too) and you'll be able to test it right away on your sample projects. Ask me if I haven't been completly clear. -Fred -Message d'origine- From: Justin Mclean Sent: Thursday, February 21, 2013 1:27 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin -- http://www.badu.ro
[jira] [Commented] (FLEX-33389) The width of the last column header on a horizontally scrolling datagrid
[ https://issues.apache.org/jira/browse/FLEX-33389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13583516#comment-13583516 ] Carol Frampton commented on FLEX-33389: --- I think your workaround is to define your own headerRenderer (for each column are in the skin) which has maxDisplayLines=0 and the style lineBreak set to explicit so the text in the header doesn't wrap unless there are explicit newlines in the text. The width of the last column header on a horizontally scrolling datagrid - Key: FLEX-33389 URL: https://issues.apache.org/jira/browse/FLEX-33389 Project: Apache Flex Issue Type: Bug Components: Spark: DataGrid Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.9.0 Environment: Windows 7 64bit Reporter: Mikko Torniainen Priority: Minor Labels: column, datagrid, header Fix For: Apache Flex 4.9.0 Attachments: Flex-33389.air, FLEX33389.mxml, lastcolumn.png, shot-20130213T115939.png, src.7z To reproduce: Create a spark datagrid with more columns than fit in the width of the datagrid. A horizontal scrollbar is shown. You'll see the last column header will wrap when it's scolled in and out of view. It's width changes based on how much of it is visible all the way down to zero. The other columns do not do that. Setting minwidth does not change it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Linux support for Apache Flex - it works!
I apologize, I should rephrase it to state that there is not a currently maintained debug player for linux, causing us to miss out on any new runtime features if we choose to develop on Linux. Also, there is not a recent AIR build for Linux either, which for me makes it a total deal-breaker. To me, for it to really be supported, there needs to be full parity. Now, I'm hoping that with Ubuntu breaking into the phone and tablet market, if they have any reasonable degree of success, Adobe will revive their Linux runtime efforts so that we can develop for those devices as well. On Wed, Feb 20, 2013 at 6:31 AM, Justin Mclean jus...@classsoftware.comwrote: Hi, I'm glad that the SDK supports Linux, but sucks for development without a debug runtime available for linux. Can you expand on this as far as I know there's a debug player available here for FP 11.2: http://www.adobe.com/support/flashplayer/downloads.html Thanks, Justin
Re: Getting source working in Flash Builder
HI, Using either Flex 4.9 or putting experimental.swc in my libs, I do not get the components in either mxml hints or ActionScript hints. FB is gets this info from the fat swcs, swcs with ASDoc XML info in them, do you have the experimental_rb.swc file in frameworks/locale/en_US? It may be that FB is only looking at a named set of swc's in this location rather than any swc. There was some dicussion about this way back but I can't recall what FB actually does. Thanks, Justin
Re: [OT] Whiteboard
I just checked out my whiteboard project, scratched it and committed it, not very nice but with svn, it's not the first time I do that. -Message d'origine- From: Nicholas Kwiatkowski Sent: Thursday, February 21, 2013 1:35 PM To: dev@flex.apache.org Subject: Re: [OT] Whiteboard Yeah... I had to dink around with mine for about a half hour to get it to work. Good Luck! On Wed, Feb 20, 2013 at 11:22 PM, Frédéric THOMAS webdoubl...@hotmail.comwrote: Hi Nick, Well, I didn't try to relocate because I was able to update and thought it was good, because I've got modifications, I think I'll checkout again though. Thanks, -Fred -Message d'origine- From: Nicholas Kwiatkowski Sent: Thursday, February 21, 2013 4:44 AM To: dev@flex.apache.org Subject: Re: [OT] Whiteboard Did you do a relocate on your local copy? Sometimes it is easier to delete the .svn directory and recheck it out. On Feb 20, 2013 8:07 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: Hi, Since we are TLP, I can’t commit in my whiteboard (error 403), did I miss something I have to do ? -Fred
Fw: [VOTE] Apache Flex 4.9.1 RC3
oups ! -Message d'origine- From: Frédéric THOMAS Sent: Friday, February 22, 2013 7:21 AM To: Alex Harui Subject: Re: [VOTE] Apache Flex 4.9.1 RC3 Do you think it is a bug in the tests or in the release source? AFAIK, that's just tests, nothing relative to the framework. You can also run against earlier release if you want to know if it is an inject. The bubble failed test was recurent over the releases, the others not, I hope I answered -Fred -Message d'origine- From: Alex Harui Sent: Thursday, February 21, 2013 5:32 PM To: dev@flex.apache.org ; Frédéric THOMAS Subject: Re: [VOTE] Apache Flex 4.9.1 RC3 Do you think it is a bug in the tests or in the release source? You can also run against earlier release if you want to know if it is an inject. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Frédéric THOMAS webdoubl...@hotmail.com wrote: Hi, I just committed a fix for the DateChooser test header issue, unfortunately, -createImages refused to do its job, that means only 1 image has been regenerated instead of 2. So, the remaining failed tests on windows are: LangPacks/Japanese/tests/dateFieldTests JA_DateField_Dropdown_Japanese_Layout LangPacks/Japanese/tests/phoneNumberValidatorTests JA_PhoneNumberValidator_wrongLengthError components/Charts/Bubble/Properties/BubbleProperties BubbleSeries_multipleAxes_disabledDays Those tests failed are only few pixels comparation differences, that's not a blocker to me, at least not revelant enough for delaying the release again, otherwize, it would mean we delay the release to next week, what do you think guys ? -Fred -Message d'origine- From: Frédéric THOMAS Sent: Thursday, February 21, 2013 8:18 AM To: dev@flex.apache.org Subject: Re: [VOTE] Apache Flex 4.9.1 RC3 Hi Alex, I have a bit of time this morning to take care of the 2 issues relative to the DateChooser header style but that's it. Unfortunatly, I think I have neither the time nor the knowledge to deal with the other 2 remaining problems on windows. Are you still going to keep your vote at -1 until I have time to solve all of your mustella issues? If WE tolerate having 99.999% of tests passed and because those failed tests are only a few pixels differences, so, no stopper, I would go for a +1, for myself, I think, we can go for a release. -Fred -Message d'origine- From: Alex Harui Sent: Thursday, February 21, 2013 8:01 AM To: dev@flex.apache.org Subject: Re: [VOTE] Apache Flex 4.9.1 RC3 On 2/20/13 8:20 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: It still happens besause of the headerStyleName of the DateChooser, I guess I should re-generate the images with that, what do you think ? Hmm, I'm not sure how that happened. I guess I must have hit undo and some point. I called the style noBold... but didn't set the fontWeight. Feel free to make the changes. If you don't, I will on Friday. Are you still going to keep your vote at -1 until I have time to solve all of your mustella issues? -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui