Actionscript :: Dropshadowfilter On Textfield Disables Html-links Inside

Aug 13, 2009

When i put a dropshadowfilter on a dynamic textfield with html-content, the links (a href) stop working.The textfields rotate in flash 3D space so they have a transformmatrix applied to them. Could this be the reason? Anybody had problems with html-links and dropshadowfilter applied to the textfield? it makes no difference if you put the filter on the textfield itself or the movieclip container around it.

View 2 Replies


Similar Posts:


Actionscript 3 :: Flash - Links Inside A Non-HTML Textfield?

Jul 29, 2011

Is there any way to create links inside large textfields without setting the textfield as an HTML textfield? I don't want to set the link to all the text in the textfield, only to some words in the text.

View 1 Replies

ActionScript 3.0 :: Control/unload Swf Inside Html Textfield?

Jul 27, 2011

In a CS3/As3 project I have xml files with html content loaded in a texfiled inside a mc. In some cases I have swf files embedded with img tag in the xml. The problem is that when a swf is loaded this way It keeps 'living', playing with sounds in the background when other xml files and swf are loaded in the texfiled. Then, every time it is loaded, a new instance of the swf is created and played.I have found out you can refer to the loader object with getImageReference method giving an id to img tag and, for example, adding an Event.COMPLETE listener to the loader. But I don't know how to access to the loaded swf to unload it or at least stop it (mc_name.texfiled_name.swf_id doesn't seem to work in AS3)Does anybody know if it is possible?

View 7 Replies

ActionScript 3.0 :: Control / Unload Swf Inside Html Textfield?

Jul 27, 2011

In a CS3/AS3 project I have xml files with html content loaded in a texfiled inside a mc. In some cases I have swf files embedded with img tag. The problem is that when a swf is loaded this way It keeps 'living', playing with sounds in the background when other xml files and swf are loaded in the texfiled.

Then, every time it is loaded again, a new instance of the swf is created and played while the previous is still running.

I have found out you can refer to the loader object with getImageReference method giving an id to img tag and, for example, adding an Event.COMPLETE listener to the loader.

But I don't know how to access to the loaded swf to unload it or at least stop it (mc_name.texfiled_name.swf_id doesn't seem to work in AS3)

View 4 Replies

ActionScript 3.0 :: Get The Position Of The Last Element In A TextField With HTML Text Inside?

Jul 3, 2009

I need to get the position (x,y) of the last char in a textField with html text inside. I try with numlines and getLineMetrics, but that only work for non-html text. If I have a text like

Code:
<p>text one</p><p>This is the other text</p><br><br>

I need to have the position on the stage of the last "t".

View 4 Replies

Actionscript 2 :: Clickable Links In A Scrolling HTML Enabled Dynamic Textfield In Flash Movie - Works In Flash Pro Not In Browser?

Dec 13, 2010

I have developed a rolling credits style movieclip in Flash using Actionscript 2. Text is loaded from an XML file and parsed into a dynamic textfield. This text includes hyperlinks to webpages defined by a url node in the xml so Flash can add the appropriate a href to the dynamic text field and make the link clickable.

In my first attempts to do this the textfield stayed still and all the links worked fine both testing locally and when I run it in a browser on my website.Then I wanted to make things move ... which I achieved easily enough and tested locally (from within Flash Professional) and the links remained clickable, a browser window opened and the webpage i was expecting to see opened... great

However, when I export the swf, upload it and run it from my website suddenly the links are not working. So I tried to test the movie in a browser from Flash Pro - same problem, it must be something to do with Flash Player and the moving dynamic textfield.

a couple of observations - the cursor will change to a hand icon when over the links as you would expect, and if I right click on the link and click open in a new window the link works ok, just not when I left click. If I stop the scrolling then the links become clickable again, it is only when the textfield is moving... actually its not technically scrolling, im moving the whole textfield.

View 1 Replies

ActionScript 2.0 :: HTML Links From An XML Document - Links Not Working

Apr 21, 2011

I've got a PHP script that searches for links in a block of text and converts them to HTML values. The $message variable is then entered into my database using a simple INSERT. So far, so good. Then I have Flash parse the message using XML:

ActionScript Code:
function messStyling() {
messCSS = new TextField.StyleSheet();
var messCSSURL = "include/links.css";

[Code].....

The problem, however, is that my links don't work. The rollover works from the CSS styling, but the links don't actually go anywhere. When I rollover the links, the hand cursor doesn't appear, and clicking only serves to change the color back to the non-hover value.

View 9 Replies

Actionscript 3.0 :: Trial Links To Html Links?

Apr 14, 2011

I want to add links to 3 different external html pages in the place of th 3 my trial links(which are on the timeline) Here is code, this creates the three buttons listed in var catBtmmenu_label Array:

Code: Select all// Catalogue Bottom Button
//stop();
//hide button on the stage[code]..........

I dont know how to assign links to dynamic created buttons.

View 1 Replies

Html :: Expanding Flash In HTML Covering Text Links In Firefox, Chrome, Opera?

Jun 30, 2010

I have a piece of Flash on an HTML page that when you hover over it, it expands out to reveal more information.There are text links that it expands over, however in everything but IE, when it's not expanded those links are still covered by the Flash making them unclickable.I have the Flash piece in a separate DIV wmode set to transparent.

View 1 Replies

Html :: Parsing HTML Structure In Order To Obtain Some Links?

Nov 7, 2011

I need to parse an html source in order to obtain some links...Let's assume we have:

<html>
<head>....</head>
<body>[code]...

I only want the link1 which is a child of a div with class class1

View 3 Replies

Html :: Flex/AIR: Loaded HTML Links Don't Work?

Jul 14, 2009

I have an <mx:HTML/> component in my flex air app that shows a web page. The problem is, if the web page has a link on it and they click it, it does not take them to that page. Is there a way to allow this, or a work around? is there a way for the loaded webpage to send Flex info about events that occur in it?Here is my code:

<mx:HTML
id="html"
width="100%"

[code].......

View 1 Replies

ActionScript 3.0 :: Disable Links In A Textfield?

Jun 16, 2010

Is there a way to disable links in a textfield(i.e. you press on a text with a link and nothing happens)?

View 3 Replies

Professional :: Tabbing To Links In TextField?

Nov 16, 2011

Is it not possible to tab to links in a TextField?

View 1 Replies

ActionScript 3.0 :: Dynamic Links In Textfield?

Dec 17, 2009

I'm building a website which includes a news section that is updated via a CMS by my client.Each news article basically consists of a textfield made up of several paragraphs. was wondering if anyone knows of a way of "auto-detecting" any links within the textfield. Basically what I want to do is whenever the client enters a string within the textfield that starts with "http://" I want to dynamically add an eventlistener to that string and make it function as a hyperlink.I have tried several ways but as far as my knowledge goes one can only add a listener to a display object and a string within a textfield is not a display object, and even if I would change the url string to display object of its own, aligning it within the original textfield will be a nightmare.

View 4 Replies

ActionScript 2.0 :: WYSIWYG Html Editor Using Only Html Tags Supported By Textfield?

Feb 4, 2009

I am looking for a very basic html editor (similar to the one being used in this forum to make entries - only more basic)...which ONLY uses html tags supported by the AS2 textfield....

View 1 Replies

Html :: Styling HTML Links Within A Flash File Without Using An External CSS File?

Mar 6, 2011

I am having a nightmare using CSS to style HTML within a dynamic textfield in my flash doc. From what i now understand after much trial and error and reading online, CSS doesn't even work properly in flash even for the tags that it does understand (which are few and far between anyway). For some reason my layout is getting completely screwed up in certain scenarios (predominantly when there are images present too) when i hover over links (which are styled in an external CSS file). If i remove the external CSS styling (which only contains the following simple code):

a:link {text-decoration: none;}
a:active {text-decoration: none;}
a:visited {text-decoration: none;}[code]....

Then everything works fine (but no links are underlined as standard or on hover). Does anyone know of any way to style the links without using an external CSS file (all i want to do is have no underline as standard and then underline them on hover). As this is from user input into a text editor I cannot place these links manually on the page in flash as they could be anywhere, I need a way of parsing the HTML and then displaying it accordingly.

View 1 Replies

ActionScript 2.0 :: Make TextField Clickable Links To _blank Instead Of _self?

Feb 7, 2007

When a user clicks on a URL, I want the new page to open up in a new window (or tab),instead of always in _self, which of course replaces the movie. I've trace'd the htmlText contents, and see TARGET="" where it's building the clickable links, which I assume the browsers interpret as the same thing as _self. Is there some better way to change the target for any URLs, short of doing a search and replace of the htmlText field

View 9 Replies

ActionScript 1/2 :: DropShadowFilter Not Rendering?

Aug 5, 2009

I scripted a DropShadowFilter to render on my Movie Clip. The MC just consists of static text and its using the Tween class to move on the screen. Can't figure out why its not showing up. I'm using the same method on another movie clip that is just images, and works fine. Not generating any errors either.

Code:
import flash.filters.*;
var tds:DropShadowFilter = new DropShadowFilter(3,90,0x000000,40,3,3,1,3,false,false,false);

[code]....

View 4 Replies

ActionScript 3.0 :: DropShadowFilter Null?

Jun 18, 2009

I am working on a rollover mapping like page for an instructional demo. Basically, the user rollovers clickable areas and a dynamic text box popups explaining what the link's utility is.

I have all the text dynamically set, there are styles for the text box (ie borders and padding) and then a drop shadow filter applied. However, upon viewing the SWF file the drop shadow does not seem to work consistently. OnRollOut it doesn't always do so and upon OnRollOver a different hotspot the dropshadow will duplicate. The duplicating of the dropshadow will either continue to do so or the OnRollOut will remove the dropshadow and reset the text box as it should.

[Code]...

View 0 Replies

ActionScript 2.0 :: HTML Links In XML

Aug 22, 2011

I can't figure out how to get an html link to show up in Flash. I know that I need to use a CDATA function but It will not show up as a link in my Flash file. I have selected the dynamic text field called "d_desc" and clicked the box "render text as html".[code]

View 1 Replies

Flex :: Dropshadow - Is A DropShadowFilter Mutable?

Jun 24, 2010

I have a dropfilter defined using some bindable variables as parameters.

<mx:filters>
<mx:DropShadowFilter id="torinofilter" distance="0" color="{dropShadowColor}"
blurX="{dropBlur}" blurY="{dropBlur}" strength="8" quality="2"

[code].....

View 1 Replies

ActionScript 3.0 :: Exclude DropShadowFilter From Children?

Nov 20, 2009

I'm working with a Sprite that has multiple children. I want to apply a DropShadow filter to the main sprite, but not it's children. Is there a way to exclude filter effects from children?[code]...

View 2 Replies

ActionScript 2.0 :: Html & External Swf Links?

Jul 11, 2008

I have a main file,which loads some external swf files.These external swf files load some html text in dynamic textfields.These html texts also contain links.Is it possible, to link in one of the external swfs,using html?

View 4 Replies

ActionScript 2.0 :: Buttons/links Inside Of Movie Clips?

Jul 27, 2006

but i'm actionscript challenged and it's been a LONG day...

i have a button inside of a movie clip, and when you click the button, it's supposed to go to another scene. i tried using the gotoAndPlay (scene, frame) option, but it didn't work for obvious reasons.

is there something i'm supposed to put infront of gotoAndPlay?

View 4 Replies

Actionscript :: Applying DropShadowFilter To Text Within Mx.controls?

Nov 22, 2011

Is there a way to apply, say, a DropShadowFilter to the text within a TextInput component in Flex 3 without affecting the component itself?

View 1 Replies

ActionScript 3.0 :: Flash MP3 Player Using Html Links?

Jul 14, 2009

I'm trying to create a flash player similar to the way Amazon's is set up, where the user can click an HTML link and the player would play that specific song.

[URL]

I'm just not sure how I would go about using the onClick event in the anchor to return a value to the flash player.

View 2 Replies

Professional :: Flash Links Not Working In HTML

Aug 28, 2010

I am building a website through flash. For the past couple of weeks all of the links have been working fine up until now. I have no idea what I could have possibly done to make this happen. In HTML none of the links work. They are all linked up fine, I even re-linked some of them. Nothing happens. The buttons do nothing.

View 7 Replies

ActionScript 3.0 :: Adding Links To Html Pages?

Apr 13, 2011

Here is my code for buttons(working)is there a way to add links to html pages to the buttons.// Catalogue Bottom Button//stop();//hide button on the stage
 
catBtmBut.visible = false;
var catBtmmenu_label:Array = new Array("Visit: The Grange Kitchen","Visit: The Bergerie","Visit: Badens ");var catBtmtotal:Number = catBtmmenu_label.length;var catBtmpage:Number;var catBtmmain_menu:MovieClip = new MovieClip();catBtmmain_menu.x = 35;catBtmmain_menu.y = 231;stage.addChild(catBtmmain_menu);for (var catBtmi:int = 0; catBtmi < catBtmtotal; catBtmi++){    var

[code]....

View 2 Replies

Professional :: Audio Track And At The End A Set Of Html Links?

May 23, 2011

I had to create a flash file which has animations, an audio track and at the end a set of html links.
 
The flash file to have stop and play buttons. Correct me if I'm wrong but to do this I would have to render the flash file as an mov, convert that to an flv and import the flv into a new flash file and use THAT swf which will contain the playback component of my choice.
 
If so Now, the problem is how can I get the links at the end of the file to work as when I convert to mov the actionscript is no longer working.

View 2 Replies

ActionScript 1/2 :: HTML Links Won't Work On Webpage

Aug 4, 2011

I made these Flash movies( the 4 at the top of the page). The links don't work live, but did work as a stand alone while making.

View 7 Replies







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