Flash :: File Blocks Underlying Html Links
Jun 25, 2009
We have a Flash swf object embedded in an html page. When the user sees the page it's just a small button, but on the rollover state the area of the object expands and covers more of the page. This is how it was designed. The problem seems to be that the maximum size of the swf object, even though it's transparent and "invisible" unless the user rolls over the button, blocks out all the underlying html so you can't access any of the links. It's as if the object is covering that part of the page even when it's not expanded. I've tried every publish setting I can imagine to compensate and make the item truly transparent so the "hidden" underlying links will still be clickable, but just can't get it.
View 1 Replies
Similar Posts:
Nov 26, 2007
this command
Code:
getURL ("http://www.google.com, "_blank")
will work in Firefox, only if launched onRelease of some button
html links in html enabled textarea like this..
[Code]...
View 2 Replies
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
Feb 22, 2010
I created a mailto link and a hyperlink in my Flash CS4 file. They both work when I test the SWF file. When I test the html file (in any browser) niether work.I get an error saying something about security for the mailto linksHere's the code for both
//MAILTO AND LINKS var contact1_link:String = "mailto:xxx@xxx";var contact2_link:String = "mailto:xxx@xxx"
//ADD EVENT LISTENER FOR EMAIL AND
[code].....
View 1 Replies
Jan 16, 2010
I used Dreamweaver to embed my flash file into an html file, using "Insert-->Media-->Flash".When I preview the file, everything works fine, but when I upload the file to the web, the external links to my blog and e-mail will not work. Before, I just had the flash file up, with no html, and it worked fine.Url...
View 2 Replies
Jan 8, 2010
Many people install an add on to their browser - such as Flashblocker, or FlashOff - in order to stop annoying advertisements from auto-running. Is it possible to detect that this has been done, and then (obviously) use JScript to put up an alternative if this is the case?
If you cannot do this, then there is really no point to using Flash's higher functions, because the majority of users will see them only if they click a gray panel with a hopeful button in the middle of it. Flash becomes merely a decorative bolt on for web applications.
View 3 Replies
Jul 27, 2009
I have a blog that I insert swf video into via an iframe which references a CS4 published html page from my swf file. I would like to put html links into each individual blog post to act like a table of contents that someone could use to move to specific frames in my video.
View 3 Replies
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
Nov 16, 2010
I am trying to create html links from a external xml file to be dynamically added to a text field (im using flash builder)the process i am having trouble is: -Loading an external swf which contains the textfield loading external xml which contains the cdata with links adding the cdata to the htmltext property of the textfield the link is showing correctly, the mouse turns into a hand... but when i click on the link it doesnt work. i have seen a few forum posts similar to this problem but all are using textfield control in flash builder but im trying to add the cdata into an externally loaded swf which holds the textfield.
View 2 Replies
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
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
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
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
Feb 28, 2011
I'm making a flash website, I know the basics of html and AS3, but this is my first time trying to use them together. I need only two interactions between the swf file and the server:
The .swf needs to be able to grab image files from a directory hosted on the server
The .swf file needs to be able to change the URL
View 2 Replies
Feb 26, 2011
I'm trying to make a legal mp3 playlist website using flash.I got the addresses to all the links of the mp3s in my directory stored as text in a mysql database.Now how do you access the links inside flash?I tried making a dynamic text field and then inputting the links as html text with html render text as html on. But they don't show up.
View 4 Replies
Apr 9, 2009
I am calling one flash with transparent bg in an HTML page.. Now the HTML links which are below the flash area are not working. So how can I make them work. I knw though I am calling flash with transparent bg but still the object�s area is same.. n all the links which are there on the HTML page that comes under that area stops working as they no longer remain selectable. To have a clear picture of what I am tryin to do have a look at the following url : [URL]
this is just a sample file you can consider..Have a look at the register now button..It will be in HTML how can I make it work..as flash comes above it.
View 2 Replies
Apr 15, 2009
Using Flash CS3 and created a navbar with AS 3. All links work fine to open html pages, but I'm having trouble targeting the pages to a specific frame.
I've checked and re-checked code in my actions layer and in my html pages.
Code for AS 3 is "navigateToURL(galleries, "_content");" "Galleries" is the variable for the URLRequest and "content" is the name of the target frame in the Index page. All files are local on my computer and the paths are correct.
View 6 Replies
Jul 1, 2009
I have a presentation that I created for a client. The presentation is supposed to work locally on anyone's computer. It works perfect on mine. On the client's three computers, 2 pc and 1 mac the links inside flash do not work. I have a text field with text and a simple link inside like [URL] and it's going to a blank window. These won't even pop up a window for my client on any computer, why? He has the lastest Flash players and we created an html link below the flash movie in the html page just to make sure he could launch a popup that way and the html link below the flash movie worked fine.
View 3 Replies
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
Oct 9, 2009
I'm trying to get my flash movie to pop out of the box, so I have an opaque background of 500 x 400, but the stage size (the total overall size) is 1000 x 800. Then I use a DIV tag to place the flash movie over the rest of my page, making it seem like the flash movie is only 500 x 400 but some items can pop out to anywhere inside the 1000 x 800. Up to here it works fine, but the problem is you can't click the HTML links that are beneath the transparent part of the flash movie. Is there a way to make the links clickable?
View 0 Replies
Jan 3, 2010
Not sure if I'm in the right place, I apologize in advance if so. I'm somewhat proficient with html, but fairly new to flash, using cs4pro, as3.Here's my dilemma. Converting an existing html/css site to flash. Flash is main site now but a few html pages are still linked, a buy page and a form page, a few others. I can get the all the external html pages to link to a frame in the flash movie, and I can get the flash to link with all external urls.My problem comes when I move to a frame outside the main timeline. The movie is lets say 393 frames. All symbols/content are on seperate layers, and so is the action. Once the full movie ends, I have several frames past that where I have basically created frames for additional "pages" and created anchors for those frames, new layes for content, new layers for anchor (labeled) and new layers for a stop(); on each frame, I extended the pertinant graphic frames out to 410 from the original movie.
Now when the movies runs the buttons appear at about frame 115, so in the action layer I coded a keyframe and then added frames of it out to frame 410 or so: I have attached the .fla (not able to attach at this forum .fla here:s say to an external link (button) like members, the html member page opens, and if you click home button, back to flash frame, and all works, all buttons, on the home frame 393. But if you go to any of the external htmls, and then go back to any other frame like frame 401 the about page, and all the rest 402 403, etc, the page appears properly, but then none of the links function.
View 1 Replies
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
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
Jul 23, 2010
How hard is it to use html links to call a video player and send a source video file? I have a bunch of links that need to show a different video in a video player. Im wrestling with just making a new swf for each page that is hard coded or one player that can take an xml file name (containing video path and other text data).
View 3 Replies
Mar 24, 2011
So I'm Bitmaping some heavy stuff to try bring down the [pre-render] and [render] which is quite high according to FlashBuilder's profiling. I thought this was going well until I realised that as soon as you change a MovieClip to a Bitmap, you lose the pixel based accuracy of the mouse move events (Over, Out, Move...), all your left with is the entire bounding box of the Bitmap, something which is less than desirable. I've got a game where many Bitmapped assets would be on top of each other in a scene, on the stage, arranged in various ways and need to have that pixel accuracy moving between each one and have exhausted my efforts as to how to achieve the same mouse move results with the Bitmapped guys as normal.
This, [URL], is a FLA which shows this operation, and you can see how it works here, [URL]. When it loads up, both items on stage are drawn Shapes, encapsulated in MovieClips, both that get a glow, if you hover over them. If you click the stage at all, the purple guy gets turned into a Bitmap and now, his 'hit area', when it comes to MouseEvents is his whole bounding box and you can only get through to the back green item at the edge slivers.
I'm also tracing the pixel which the mouse is over, so I can clearly tell when the mouse is over a transparent area, it's 0, but how can I tell the event to forward itself on down the chain to the green MovieClip?
Below is how it's now pretty much working for me,
var bitmap:Bitmap = this['bitmap'];
var shouldMouseOver:Boolean = bitmap.bitmapData.getPixel(event.localX - bitmap.x, event.localY - bitmap.y);
if(shouldMouseOver)
[Code].....
I shut off mouseEnabled for my item, when I know it's wrong, then I search for another item that properly fits the bill and if there is one, send an Event to that and break. If that one's also wrong, it'll do the same again, but each time taking themselves out of the loop.
This does work exactly how I want it to, but I'd always prefer to keep things like globalToLocal and looping, and reading from arrays for not frequently updated methods like listeners to MOUSE_MOVE. Is there a more efficient way to do this?
View 2 Replies
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
Nov 29, 2010
I'm using jQuery Autocomplete just as in this example: [URL] The problem is, the area where you see the Result box in that example - that's where my flash object is. So, when the autocomplete dropdown appears, most of the text is concealed by the flash object (which I can't move). How can I make the autocomplete text appear over the flash object (concealing its view rather than vice versa)?
View 4 Replies
Jun 18, 2011
I bought a flash template who uses this code for links in the header
onClipEvent (load) {
num = 2;
_parent.ti1.gotoAndStop(num);
_parent.ti2.gotoAndStop(num);
[Code].....
What I want is to be able to modify the page URL from an external file (xml or txt). I want just an external file, and here, on the AS of the button to modify just the line number of where to get the link from external file.
View 1 Replies
Jan 26, 2010
I was wondering if anyone has came up with a way to float html elements, with some content, over .swf without triggering any flash events.
In my case the problem is I have flash map, and drop down menu on top of it.
I simplified this into the following example:
[URL]
If you mouseover any elements in gray box, you will see that stuff behind it, in a flash file, triggers hover effects.
View 2 Replies
Feb 21, 2009
new using flash, is it possible to load an html or htm file in a flash movie clip?
View 1 Replies