Actionscript 3 :: Make Flex HTML Control UnSelectable?

May 2, 2010

I am displaying some HTML text in an Adobe AIR Application that I do not want the user to be able to cut and paste. How do I make the HTML control disallow highlighting of the HTML without disabling the ScrollBars. mouseChildren=false works but disables the scrollbars which is unacceptable.[code]...

View 1 Replies


Similar Posts:


Html :: Flex - Display HTML Text In A Textarea Control?

Apr 15, 2012

I have created a textArea element but cannot display my HTML content. If I just display regular text it works or if I change the textArea element to a RichEditableText element it works fine. Since this is for a mobile app I would prefer to use the textArea element as recommended by Adobe.Here is the MXML code for the textArea. All I get is the border and no content displayed.

<s:TextArea id="myHelp" editable="false" width="100%" height="100%">
<s:textFlow>
<s:TextFlow>[code]..........

View 1 Replies

Flex :: Use Proxy In It's HTML Control?

Mar 21, 2011

I want to use a proxy on the HTML Control found in Adobe AIR.I have tried looking at the AS3 docs on Adobe but honestly, it didn't explain the usage clearly to me and looking at Adobe's example, I can't seem to make out anything off of it.

View 1 Replies

Html :: Data In A String Make Clickable Html Link Flex?

Jul 1, 2011

I have a scenario that I get an string with html data, this is not just html data it's an email (outlook) saved as an html file and dropped in the string.Now this string needs to be formatted to an html document and should be a clickable link in a datagrid. So when I click on the link, the HTML document should pop-up and should gave me a nice HTML page that is readable for the normal users. I hope it's a bit clear what I want o_0. don't know where to start.

View 3 Replies

Flex :: Air - Reset The HTML Control's History

Aug 26, 2010

I am using the flex HTML component and I would like to clear the history of the control when it is taken off screen, so that when it comes back on again the history is reset.

The only thing I can think of at the moment is to set the HTML control to a new HTML control, although this is a bit of a pain.

View 1 Replies

Flex :: Get Text From A <input> HTML Control In 4?

Sep 29, 2010

I have a BorderContainer that has an HTML element inside of it. The HTML has a control that isn't contained in a form.

It is possible to retrive text from the input element at a given moment?

View 1 Replies

Flex :: HTML Control's Event Won't Fire?

Sep 14, 2011

I'm having trouble firing or capturing the results of an event firing.

Here's the current code...

<s:Panel id="instructionsPanel" left="0" right="0" top="0" bottom="0" title="Register">
<mx:HTML id="htmlViewer" left="10" right="10" top="0" bottom="10"

[Code].....

What's happening is that the user fills out a form in the HTML Viewer, then when they click the submit button I want to be notified of the page change.

If they land on URL A, then they'll be shown one message. If they land on URL B, they'll be shown another.

However, the event isn't firing.

I've also tried COMPLETE and HTML_DOM_INITIALIZE.

View 1 Replies

Actionscript 3 :: Get All Images From HTML Control In Flex?

Feb 16, 2012

I have a HTML control in Flex that succefully loads a page. Is there someway that i can extract or get all the images from that HTML control and show them?

View 2 Replies

Flex :: Mx:HTML Control Won't Display When Added In Code-behind?

Apr 30, 2011

I am building an AIR application and I was planning to include the mx:HTML control but I can't seem to get the control to display. Here is the code:

var tmpHtml:HTML = new HTML();
tmpHtml.htmlText = "<a>This is the sample </a>";
tmpHtml.x = 48;

[code].....

View 1 Replies

Flex :: Fullscreen Option For Working For A VideoDisplay Control Embedded In A HTML Page

Jun 10, 2011

If I have a flex swc emebbed in my html page, and the flex swc contains an flex 4 videoDisplay player, which has an option for fullscreen. How do I make the fullscreen work. Because when I click on fullscreen button for the videaDisplay, I get an error: [code]Connect with the people you need to get the job done. Unlike other tools, Cloud Groups lets you work with anyone, whether they're inside or outside the company firewall. Invite them into Cloud Groups to work together on projects, share files, assign tasks or catch up in real-time.

View 1 Replies

Actionscript 3 :: Flex - Select DOM-element Of HTML-control And Forward Its DOM-path To Method?

Oct 13, 2011

Suppose, that I need to have a HTML control inside my Flex/AIR app. The user should be able to click somewhere into the currently rendered HTML-page and the flex app should know, which DOM element the user clicked. Ideally, the app would be able to retrieve the DOM path of the selected element. Posting back the innermost surrounding DIV-element to some Flex/AIR method would be fine too.

View 1 Replies

ActionScript 1/2 :: Use Flash As Interface For Php Unselectable Text?

Dec 28, 2010

I am developing a test system and want to allow the users to access the questions in the database without the ability to copy them. A php file intermediates the access with the database. There a couple of links to certain sections of questions and then links to certain pages. Is there a possibility to put this php content in a flash frame and deactivate the possibility to select text?

View 5 Replies

Actionscript 3 :: Make An Item In A Flex List Control Not Selectable?

Jan 12, 2010

Is it possible to make an item in a List control not selectable? If so, how would this be accomplished?

I've tried one thing so far. What I did was use a custom item renderer that checks for a value in the data property upon a FlexEvent.DATA_CHANGE event. If that value is not set, I tried setting the item renderer's selectable property to false. This, unfortunately, does not seem to work.

View 4 Replies

Actionscript 3 :: Flex : Make A Generic List Control That Has X Buttons In It

Dec 3, 2010

I am trying to make a generic list control that has x buttons in it so that users can remove items from the list by clicking the x button. However, this list control needs to support item renderers while still standardizing the layout of items placed next to x buttons.

So I figure the best approach would be to extend the list control and use a renderer that draws the x button and combines that with what ever renderer the user supplies. Unfortunately I cannot figure out how to do that.

I tried overriding newInstance method from the IFactory interface and used that to create an HBox that contains my button and inserts the newInstance result from a user supplied renderer, however it wasn't complete. It displayed as I expected, but the mouse over effect only worked on the user supplied renderer portion and not the entire HBox that my custom renderer made.

View 3 Replies

ActionScript 2.0 :: Make A Music / Sound Control And FX Sounds Control

Mar 21, 2011

im trying to make a music/sound control and FX sounds control,so i have my FX volume level as a variable(FX_vol) and also the Music/sound volume level as a diffrent variable(M_vol),so i set them as sounds that i can use trough coding:

[Code]...

View 2 Replies

Html :: Flex - How To Make SWF Fullscreen

Sep 22, 2010

I'm working on a project where I need to make a Flex application that fills the entire browser window (note that I mean that the toolbars should be visible and all that even if I say fullscreen).To develop the SWF I'm using FlashDevelop (for the first time) and I'm stuck. When I build the project it displays no error and a file website.swf is generated.When I browse to this file with Firefox, it displays what I want and in fullscreen. However when I go to the generated index.html I get a white horizontal bar at the top of my screen (again the browser window).I've looked around a bit on the internet and found several people suggesting that the CSS should include stuff like:

<style type="text/css">
html, body { margin:0; height:100%; overflow:hidden; }
body { margin:0; height:100%; width:100%;}

[code].....

View 2 Replies

Windows :: PDF Displaying Correctly In Flex Mx:HTML Control In Windows / Reader X

Oct 28, 2011

I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder

[Code]...

View 1 Replies

Html :: Rendering HTML Text Containing Advanced HTML Tags Like <strong> - <em> - <span> And Advanced HTML Entities In Flex

Aug 4, 2011

I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-

[Code]....

View 3 Replies

Actionscript 3 :: Make Input Text Control Ready For Input On CreationComplete In Flex/MXML?

Mar 19, 2012

I have the following Application tag code in my widget:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*"
width="100%" height="100%" minWidth="200" minHeight="200" layout="absolute"
creationComplete="init()"
defaultButton="{Send_btn}">

[Code]...

View 1 Replies

Flex :: Manipulate Child Control Inside A Panel Control?

Oct 12, 2009

I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you see in the image at http:[url].......

View 2 Replies

Flash :: Control Flex Application From Embedded Control?

Mar 21, 2010

I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.

So when that button in the flash file is clicked, I want to perform an action in the parent flex application.

View 2 Replies

Html :: Make Flash Object Fullscreen In HTML?

Nov 16, 2011

how can I make a flashobject to display in fullscreen in HTML? (without having the flash source)

View 2 Replies

Flash :: IDE - Control Of An Html Div Tag

May 25, 2005

Can Flash control the visibility of a html layer <div>? Example: I am building an eyeblaster style banner and would like flash to turn off the visibility of the div containing this banner, either when they click close or the movie reaches a specific frame on the timeline.

View 2 Replies

ActionScript 1/2 :: Control Flash With HTML?

May 4, 2009

I've done this a long time ago and for the life of me cannot remember how(even found my old post here, where I said fscommand did the trick, but I never wrote exactly how I did it).I have two text links in HTML on my webpage. I have a small flash movie on the same page.
 
I want to have the flash movie jump to a specific frame when one of these HTML text links is clicked. And to another frame when the other is clicked.I did it before with the fscommand, but I can't remember which project it was for so I can't look at my old code.

View 6 Replies

Detect Invalid URL For AIR HTML Control?

Jul 16, 2011

When setting the .location property of an HTML control, it is possible to set it to an invalid URL with no error. How can I determine if the change in location resulted in the loading of some HTML, or if the URL is 404?[code]...

View 1 Replies

ActionScript 2.0 :: Flash Control HTML?

Apr 24, 2010

I have a button in HTML that updates a little Javascript. Instead of the HTML button updating the Javascript, I would like Flash to. Here is my HTML button code:

PHP Code:[code]................

View 8 Replies

ActionScript 2.0 :: Control Separate Swf's In One Html?

Sep 23, 2006

how to control separate swf's in one html. Problem :One swf needs to tell the second swf to go to and stop at a specific frame and they are both in the same HTML. Im having trouble writting the actionscripting that specifies the other swf to gotoAndstop at a certain flag. how do I change this, so it can say what I want it to do?

[Code]....

View 1 Replies

ActionScript 2.0 :: Play Control Through Html?

Aug 18, 2003

I have a question for any seasoned Action scripters. Here's my problem, I have two flash files embedded in different parts of an HTML page and I want one flash file to play the other when it gets done. I would assume that I need to use PHP or javascript to talk with the HTML file that would send the other flash file a command which it was "listening" for. I really don't know however.

View 2 Replies

IDE :: Control Flash From Html Page?

Dec 9, 2004

I want to go to a particular scene of a flash movie when the page refresh on clicking to a button for a particular page. say..I have expandable menu in flash(verticle menu) so when i click products..it should opens products page also show the submenus should not be hidden. So, if html page can tell flash to go to particular scene of a flash movie on refresh, then my problem will be solved.

View 2 Replies

Professional :: Having Flash Control HTML Navigation?

Jul 10, 2010

1. I have a flash movie embedded in an html page. When the user clicks on a button in the movie it should open the new in the SAME or CURRENT window NOT in a new tab (leaving that window open).
 
Here's the code..getURL("imageTest.html", _self);
 
2. I can't get my block navigation to show the CURRENT link.I want the current link or page on the navigation bar to be a different color than the other links.
 
I'm able to get the font to change color but I can't get the background or "block color" to change color.

View 2 Replies







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