flex4.5

Cannot interact with Bing Map on iOS; Android does not show polyline (Flex Mobile App, using Javascript API through StageWebView)

爱⌒轻易说出口 提交于 2019-12-12 18:09:52
问题 After being unable to solve this issue, I decided to try to implement my application using Bing Maps. I am trying to load a StageWebView with the Google Maps Javascript API inside a Flex Mobile application. Everything works perfectly when I view this in a browser (IE, Chrome and Safari) and in the Flash Builder simulators. On the actual devices I get varying results. I am using the StageWebView.loadString() method to load my code in Flex. The iPhone displays the map and the shapes I put on it

cut copy paste with DisplayObject(Group ,UIComponent) in action script 3 flex 4

偶尔善良 提交于 2019-12-12 15:21:30
问题 I am implementing Cut Copy Paste in my application like cacoo. but I face problem during these operation. i'm using idea behind cut copy paste var className:String = getQualifiedClassName(objcut.getItemAt(i)) var klass:Class = getDefinitionByName(className) as Class var cloneObject:* = new klass() so i'm not able to preserve all property of object. There is any other idea to perform these operation in flex 4.how can i copy an Graphical object in Flex 4(as3). Copy an Object and paste multiple

MaxCharLimit on the TextInput according to it's width

旧巷老猫 提交于 2019-12-12 07:04:19
问题 I am using Flex 4.5 and I want to set the maximum characters limit according to the textinput width means if user enter more character then the textinput width it should not accept those extra characters. 回答1: unfortunately, i have no flex in front of me right now. You should know, how many space e.g. 20 characters needed and set this value to your textinput.width. Check out the widthInChars-property for the spark Textinput. Maybe you can work with a litte offset. When it works, you just have

Fill in the blanks questions in flex using action script [closed]

霸气de小男生 提交于 2019-12-12 06:49:34
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I need to create a fill in the blanks component dynamically. Question text will be retrieved from XML. For Example (some text ____________ some text). The Underline portion should have a text input. The question text will be dynamically loaded and the position should be aligned

Spark Datagrid scrolling

不羁岁月 提交于 2019-12-12 05:39:44
问题 I have a data(say for eg. a million rows) to be displayed in a datagrid in a mobile application. I am trying to figure out a way by which as soon as the scroll reaches the end of page ie. the last row on the grid it requests again to the server for next bunch of records. Scroll event in MX datagrid (http://blog.tremend.ro/2009/03/02/flex-live-scroll-datagrid/) does it with ease but it's not there in spark datagrid. I want this to be done with spark datagrid. How can i achieve this. Require

Security sandbox violation cannot load data from box.net

此生再无相见时 提交于 2019-12-12 05:38:39
问题 I have an application which upload/download files to/from box.net. the application works fine when not deployed on server but when I deploy it on Google App Engine the following error is encountered. Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://somexyz.appspot.com/xyzsample.swf cannot load data from http://box.net/api/1.0/download/abcdef/123456. I have included the below lines of code in as3 Security.allowDomain("*"); and placed crossdomain.xml

flex mobile TabbedViewNavigatorApplication back button

故事扮演 提交于 2019-12-12 03:16:36
问题 Why TabbedViewNavigatorApplication don’t have popView() (as in ViewNavigatorApplication I can use popView to go previous view)? How can I do that in TabbedViewNavigatorApplication ? <fx:Script> <![CDATA[ protected function BackBtn(event:MouseEvent):void{ navigator.popView(); //error } ]]> </fx:Script> <s:ViewNavigator label="Page1" width="100%" height="100%" firstView="views.DurationView" > <s:titleContent> <s:Button label="Back" click="BackBtn(event)"/> </s:titleContent> </s:ViewNavigator>

Width of MovieClip is minus 100 million (-1.073741604E8)

北城以北 提交于 2019-12-12 02:18:15
问题 My application works fine, but I have a function, what calculates a minimap based on the width of the original MC, but it doesn't work when the width is negative. So the question is basically, how can width be negative? what does it mean? thanks --edit: sorry, I can't post any code, it's a 30K LOC project. The solution was to include this in another movieClip, where it worked better. 回答1: I expect your MC which width you're measuring is not on stage right now. I'm experiencing the same issue

Problem with scrolling a sparks list with TileLayout in Flex 4.5

喜夏-厌秋 提交于 2019-12-11 20:39:20
问题 I'm experiencing a very strange behavior with a spark list with TileLayout placed inside a scroller. Basically, I want to have a title area above my list that scrolls away when the user scrolls down the list. To do this I put the title and the list inside a Group and wrapped the group inside a scroller with width and height = 100%. I also set the verticalScrollPolicy to off on the list to make sure everything scrolls together. The problem is that if the list has the default VerticalLayout

Flex make image full screen

五迷三道 提交于 2019-12-11 17:26:36
问题 when i run the image, it only appear in center with 2 blank white space in between. <s:Image x="0" y="0" height="100%" width="100%" source="@Embed('assets/d.jpg')"/> How can i make an image goes full screen (covering up the whole screen) with double tap/touch on mobile app? And if possible how to turn it back to non-full screen (back to normal)? thanks. image size: W=1920, H=1200 回答1: To remove the white bars you're going to have set the scaleMode of the Image tag. The default is Letterbox;