Actionscript :: Stagewebview Cannot Re-select Text Content In IOS Device - Flex 4.6

Jan 31, 2012

Developing APPs on IOS using Flex 4.6 I am displaying parsed epub files into stagewebview. It works fine on the device. However, when I try to add the annotation tool which (likes the ibook annotation), I can only select one single word!! I tried the "Game of Flex" which it did the same way as loading a web content into a stagewebview component, and it cannot have control to select more word as well. Therefore, I think its the current limitation (correct me if there is actually a way to do that in stagewebview) on the stagewebview. So, do you guys have other good ideas to display content as html without the limitation? like use other components, call JS? or use native object-c?

View 1 Replies


Similar Posts:


Android :: StageWebView Not Working On Samsung Nexus Device

Feb 9, 2012

I have following code And it is working fine in AIR device simulator on my desktop. But when I install it on device(samsung nexus with Android 2.3) it is loading nothing.

Code:
import flash.media.StageWebView;
import flash.events.LocationChangeEvent;
import flash.geom.Rectangle;
var wv:StageWebView = new StageWebView();
wv.viewPort = new Rectangle(0,0.stage.width,stage.height);
wv.stage = stage;
wv.loadURL("[URL]");

View 1 Replies

Iphone :: Flash - AIR - Make The StageWebView Content To Scale?

Jul 20, 2011

I am using Flash Builder 4.5 to build an iPhone app.In order to display ads I plan to use StageWebView and load a webpage containing the ad code.Lets say the ad will be 320x50 pixels.So the Actionscript code would look similar to this:

adView = new StageWebView();
adView.loadURL("http://www.myadishere.com/ad.html");
var top:Number = navigator.actionBar.measuredHeight + 1[code]....

In the application I have set the applicationDPI="160" so the application is displayed properly when run on iPhone3 and iPhone4.However the content of the StageWebView looks tiny on iPhone4.If I do adView.drawViewPortToBitmapData() the bitmap's size is OK.how to make the StageWebView content to scale accordingly, so it looks OK regardless of the screen DPI?

View 4 Replies

Media Server :: Select Audio Device To Play Back Sound?

Jan 8, 2007

flash media server ,provide property Microphone.names that retrieves an array of strings reflecting the names of all available sound capture devices. is there is any property that detect output device attached to system so i can select which one to play back sound. for example:- i need to play back mp3 file in flash. but i have more one output device installed in my pc. the question is:- is there is any way for falsh to list all (or detects) audio output device installed in my pc then let me pick one of them to play back sound by selected output device?

View 7 Replies

Actionscript 3 :: Debugging IOS/AIR Content On The Device

Aug 3, 2011

I've created some flash content in FlashDevelop (v 4.0) that I've turned into an .ipa and put on the device. I would like to debug the content while it is running on the device because it is giving me some unexpected behaviour.

Is debugging AIR content on the physical device possible with FlashDevelop remote debugging?

View 2 Replies

Actionscript 3 :: Select The Viewstack Container Id Based On Select Field In ComboBox In Flex?

Jun 23, 2010

I have a comboBox and values like basic and advanced. And viewstack container conatains 2 grids.When i select the base option in Combobox, the first grid has to be selected. select the advanced value in comboBox, the second grid has to be selected.

<mx:ViewStack id="viewstack1" width="95%" height="85%" x="0" y="63" >
<tables:KeyMetricsBasicTable basicArrayDataProvider="{basicArrayResult1}" width="100%" height="100%"/>
<tables:KeyMetricsAdvTable advArrayDataProvider="{advArrayResult1}" width="100%" height="100%"/>
</mx:ViewStack>

View 1 Replies

Flex :: After Converting A Pdf To Swf - Select Text To Highlight?

Dec 14, 2010

I have used a tool to convert a pdf to a swf but i need to be able to select and hightlight the pdf's contents. How would I do this using flex/action script?

View 1 Replies

Flex :: Simulate A Click In StageWebView?

Jul 16, 2011

I'm working on a flex mobile project now. I've created a StageWebView and call function loadString()[URL]..

It's a simple sample that if you click on the bookmark and you can get access to it.

But I want to put the content in the tag into a spark list. And get the same result when I click the list which needs some kind of simulation of a click in a webView.

View 1 Replies

Flex - Possible To Select Text Between Multiple RichEditableText Objects?

Aug 15, 2011

For example, say I have 3 RichEditableText objects and I want to be able to highlight them all together:

<s:RichEditableText id="obj_one" width="100%" text="Click and start dragging the highlight here..." selectable="true" editable="false" fontSize="9" />
<s:RichEditableText id="obj_two" width="100%" text="Continue dragging the highlight through this one" selectable="true" editable="false" fontSize="9" />
<s:RichEditableText id="obj_three" width="100%" text="and keep going and finish highlighting them all right here" selectable="true" editable="false" fontSize="9" />

Is it even possible to make it so all three could be highlighted that way someone could Copy all three at once then past all the text somewhere? I should clarify, The reason they would be like this is because there they are in an itemRenderer so they would each be their own object in each line on the list. It would be nice though if the text could be highlighted and copied like it was all together though. Just imagine the way an end user would expect to be able to drag an highlight any other text in a standard html document to paste elsewhere.

View 2 Replies

Flex :: Select All And Select None Button With In The Drop Down Of Combobox?

Dec 6, 2011

Flex 4 Combobox is extended with a Text Input that helps in getting to the item that is searched for.I have created a Check Box as an itemrenderer for this Flex 4 Combobox. I would like to Add a Select All and Select None options in the drop down of the Combobox. I know that i could accomplish by editing the dropdownfactory in case of a Flex 3 Combobox. But in Flex 4 the dropdownfactory doesnt exist.

View 2 Replies

Flex :: Load Local Javascript Using Stagewebview?

Jul 24, 2011

I'm currently developing a flex mobile project. I currently need to load local javascript using stagewebview. Like:

var str:String = '<head>'+
'<script src="myLocalJs.js"/>'+
'</head><body>...</body>';
webView:StageWebView = new StageWebView();
webView.loadString(str);

Is there any way to load local javascript using StageWebView? I'm not expecting an answer like 'There is a project called StageWebViewBridge' since it does't have all the features I need.

View 2 Replies

Flex :: StageWebView - Prevent Stretching Of The Bitmap Obtained Through DrawViewPortToBitmapData?

Nov 4, 2011

I am trying to show the page displayed using StageWebView as a bitmap. As per thedocumentation we need to use DrawViewPortToBitMapData. While displaying the bitmap in a
UIComponent, the image is getting stretched. How can I prevent that?

bitmapData = new BitmapData(webView.viewPort.width, webView.viewPort.height, false,
0x000000 );
webView.drawViewPortToBitmapData(bitmapData);

[code].....

View 1 Replies

Flex :: Keep Focus On Spark TextInput After Setting StageWebView Source?

Jan 15, 2012

I have a mobile application that has a Text Input used for searching. Below the search TextInput is a StageWebView. When I set the source of the StageWebView using loadURL() the key input is shifted to the StageWebView. How can I prevent this?

View 2 Replies

ActionScript 2.0 :: Switch The Text To Display In An Arial Device Font Text Field?

Feb 19, 2010

Is there a way to detect if a dynamic text field that has basic english characters embedded can't display some foreign text, japanese for example?

So I can then switch the text to display in an arial device font text field.

Sorry if this has been answered b4, but I can't find it if it has.

View 0 Replies

ActionScript 2.0 :: Select New Content To Load Into Replace It The Movie Simply Vanishes Without Showing The Outro Sequence?

Aug 2, 2007

I have flash movie that I'm loading other movieclips and swfs into.At the moment when I load in a new swf, the timeline plays through the intro sequence, then when I select new content to load into replace it the movie simply vanishes without showing the outro sequence.It's been puzzling me for a while now but i've seen it used on many flash sites so i'm guessing there's definately a way to do it.

View 4 Replies

Professional :: - Sound Has No Valid Device Sound Path Although Exporting Device Sounds Was Requested In The Export Settings?

Jun 30, 2011

I have imported my wav files to my library added them to the down state of my buttons and when I test the file I get (Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored.) I have been surching for an answer but as of yet have found none.

View 3 Replies

ActionScript 3.0 :: Scrollable Text For Device?

Jun 28, 2011

im an designer, not a programmer, but CodeSnippets make me real happy%),but i dont know how to create a scrollable text in AIR for device,someone,

View 1 Replies

Professional :: Scrollable Text For Device?

Jun 28, 2011

how to create a scrollable text in AIR for device,
 
aaand, in code snippets, would all "click" actions work as with taps on device?

View 2 Replies

ActionScript 3.0 :: Send A Text File From One Device To Another?

Feb 28, 2012

I'm working on an Android Air app made in CS5.5 where user data is saved in the app's applicationStorageDirectory as a text file.

Is there a way to send this saved text file to another device's applicationStorageDirectory via Bluetooth/email/text e.g?
 
The idea is that the app "game" is saved on each person's device. When the game is over, I want the users to be able to compare their results. (I'll write some code to compute who the winner is via comparing the two results)

View 3 Replies

ActionScript 2.0 :: Bold Dynamic Text W/ Device Fonts?

Nov 3, 2009

I have an xml-based mp3 player which loads the track titles into dynamic text fields from an external .xml file and I can't get the text to bold. I have "use device fonts" checked. If I select the text field in Flash and change the color or size those attributes will change in the published version, but... when I click the B button, it won't render the text bold in the published version.Do I have to add additional font formatting in the actual ActionScript? Here's the AS for the player. I only want to bold the track title which (I think) is about half-way down -- track_title.text = track_list[current];[code]

View 5 Replies

Flex App Run On A Mobile Device?

Mar 20, 2012

Can a Flex application that was designed for use on a PC be run on an iPad, iPhone, or Android-based mobile device? Seems like a simple enough question.[URL]..yields a picture of a dude running a (presumably) Flex application on an Android. So at first glance, the answer would appear to be "yes." End of story.

There is so much (mis)information out there on various tech sites that suggest Flash-based technologies simply won't run on iOS or other mobile platforms. Why is this? Perhaps they mean to say that Flex won't run "out of the box" and requires a plugin? Or do they mean it won't run at all?

Every time I think I've reached a definitive conclusion, some post on SlashDot or CNET directly contradicts it. So what's the scoop? Can one take an existing Flex application and run it on iOS/Android? (I realize there are screen size issues to consider so the app might not run effectively. I just want to know if the runtimes are available on the mobile devices to allow the Flex app to launch at all.)

View 5 Replies

Actionscript 3 :: Use Device-fonts To Show Multilingual Text In The Same Flash App

Jan 30, 2012

I'm having a really hard time properly using device-fonts for multiple languages displayed in the same app (at the same time).I must use device-fonts (cannot use the .embedFonts = true property) and I won't be masking, scaling or rotating or animating the text anyways. I'm not worried about the disappearing issues side-effects. I'm noticing that English characters are showing up correctly, BUT other characters aren't.[code]What I'm trying to do is display single words (or short sentences) from various sources and various languages. In other words.... many TextFields will be scattered near eachother, but each TextField will use one language independant from the other Textfields. One may be in Mandarin, another in Spanish, another in French, in English.What do I need to do to get the Font "_sans" (or any supported device fonts) to show up correctly in various languages?

View 2 Replies

Flex :: Right Method For Modifying Text Content In Component Lifecycle?

Aug 25, 2010

I have custom components which must adjust their text content based on space constraints. For example a component adds labels until there is no space, and then the content of the last label becomes "(x more)"
I do not have access to size of child controls before adding them. When in updateDisplayList, I make changes to the layout of the component, but for labels, lblInstance.text property fires events, which lead to updateDisplayList being called again. I know that updateDisplayList may be called more than once, but if there is a way to modify text without triggering events, that'd be really useful. For example, setActualSize method in UIComponent allows this kind of modification. Anything similar for text controls? Or do you have best practices for laying out and managing text content, in the context of custom Flex components?

View 1 Replies

ActionScript 3.0 :: Text Arc - Select A Font Then Click Create Text Item?

Nov 19, 2009

I have a project that needs to take dynamic text and arc it. Similar to this: http:[url]...In this example, select a font then click create text item.At this point you can slide the meter to change the arc of the text. This is exactly what I need to do.My understanding of what needs to be done is I need to first break the letters of the text field into separate text fields, loop thru them then position and rotate each char to the desired arc. The problem is my trigonometry really bites. I have tried many tutorials and I have gotten similar results, mainly arcing text into a complete circle at different radiuses. But all I need to do is whats in the example, which is allowing the user to gradually arch the text.

View 0 Replies

Actionscript 3 :: Flex, Get USB Id Of Plugged USB Device?

May 18, 2011

I'm developping an Adobe Flex application.

I need to detect gps devices when plugged. Currently, it is a bad heuristic-based detection that is used (it tries to find specific files/directories). It uses the StorageVolumeInfo to discover plugged devices.

'd like to know if there's a way to get the USB id with Flex.

View 2 Replies

Flex :: Check The Device Type?

Jun 18, 2011

how ( if it is ) to check the device type with flex ?

with device type i mean : PC, laptop, tablet, phone ..

View 1 Replies

ActionScript 2.0 :: Select The Text Copy And Paste The Text In To Clipboard?

Feb 7, 2011

I need to select the text copy and paste the text in to clipboard.. i am able to select the text and on right click i have provided the menu for copying the text... after selecting the text, i am clicking the copy text option in the menu.. but it is not pasting the text..

I am using the syntax:

System.setClipboard(text).

View 0 Replies

Flex :: Air LocalHost Error (The Device Is Not Ready)?

May 27, 2011

I am trying to compile an air app, and I keep getting this error: D:Tomcatwebappspublic-htmladmMain.swf (The device is not ready) It seems that someone who worked before me, had worked from a local server. I searched Flex for all known variations, I couldn't find where it is looking for this. I googled as well, which didn't get me anywhere. Does anyone know how to remove this compiling error?

View 2 Replies

Flex :: What Device Font Flash Player Uses

Sep 17, 2011

I have a Flex 3 application in which embedded fonts were being used. However, due to licensing restrictions, I have to remove the embedded fonts. Not a big problem, but now legal wants to know which device font is being used? Seems like I can only provide them a list of "suggested" fonts from my css file, and not the actual font that will be used at runtime.

[URL]

"If the client's system does not have the first font in the list, Flash Player attempts to find the second, and so on, until it finds a font that matches. If no fonts match, Flash Player makes a best guess to determine which font the client uses."How can I determine what is the font that the Flash Player ultimately ends up using?

View 1 Replies

Actionscript :: Select Text In A Text Or Label Or TextArea?

Apr 14, 2010

When you select text in a Text or Label or TextArea (or other) control in a Flex application, the selection is shown in white text on a black background. Always.

I have a request to change that — and it seems to be a simple enough thing to want — but I can't find a style (or property) anywhere that permits that. Any ideas out there about how to do this, or reasons why it definitively can't be done?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved