Expandable Z-indexed SWF Preventing Clicks On HTML Links
I am trying to figure out whether resizing with javascript is my best bet. I have swf that uses z-index and is wmode=transparent. The SWF which is 300x274 has a visible area of 300x100 on frame1 of an mc that on rollover goes to frame2 where the visible content is 300x274. The bottom 174 pixels overlay HTML links. In IE these links are clickable. In Safari & FF the expandable transparent area of the SWF, prevents clicks on the links, and there is no cursor. I am looking at flash_resize.js but am unsure how to bend it to suit my situation. Also wondering if there is another way to approach this with either jquery or scriptaculous.
Here is my AS
Code:
box_mc.onMouseDown = function():Void
{
getURL("javascript:pageTracker._trackPageview('/flash/click/');");
getURL("http://www.yahoo.com","_blank");
};
box_mc.onRollOver = function():Void
{
getURL("javascript:pageTracker._trackPageview('/flash/rollover/');");
box_mc.gotoAndPlay(2);
};
box_mc.onRollOut = function():Void
{
box_mc.gotoAndStop(1);
};
ActionScript.org Forums > Flash General Questions > Flash 8 General Questions
Posted on: 02-07-2008, 11:51 PM
View Complete Forum Thread with Replies
Sponsored Links:
Preventing Clicks From Bubbling Through Movie
I have a tree menu that serves as a file explorer. Users can click on the icon next to an item's label to call up a context menu for that item. I have a problem in that when the context menu is displayed (on top of the tree) the clicks seem to pass right through the context menu to the tree, firing events.
How can I keep this from happening????
View Replies !
View Related
Preventing Underlying Button Clicks
I have a site i'm working on that has a thumbnailed gallery for images. When you click a thumbnail it brings up a smaller window off to the side that displays the info for the image (name, description and price) When you click the link to view the full size image file, I have it making an empty clip above the site that covers everything. My problem is that the thumbnails and the rest of the links on the site are under this full view and the hand cursor comes up when you roll over them, even tho they are not visible. Is there a way to prevent this? The site is here: http://www.gusfink.com/flash_site/
Thanks in advance for any help you can offer.
Ryan - 7 Year Studios
View Replies !
View Related
Expandable Flash Ad Interferes With Links
I'm running an expandable ad on a page. The expanding part covers the site navigation. So when the page loads, you can't click on the navigation because even though it is not expanded, it is still sitting "over" the navigation links layer.
How is that avoided? Is it possible to ask for the flash file to be created differently so that it doesn't automatically assume that the height of the flash file is the maximum it will be once the ad is expanded?
Thanks!
Yazmin
View Replies !
View Related
Expandable Flash Ad Over HTML
Yes, the cheesy, sometimes annoying and at other times pretty cool flash ads found on sites like Yahoo that float around the screen and expand when your mouse hovers over them.
How do I do that? Making the flash movie and setting the transparency is no prob, getting it over the HTML is the question. Is it just a chromeless window...or something else?
Any ideas?
Thanks.
View Replies !
View Related
Expandable Flash File, Over Some Html Content
I was wondering if someone could help me with this. I would like to have a title bar with a learn more above a couple images and links. I want the images and links below to be html.
The learn more in the title bar would expand when clicked over top of the images and links with diff content. Basically I'm thinking it would be easiest to do this like those ads on ESPN or Yahoo etc(i think they are called Fatboy, at least by Pointroll they are). I'm guessing I'll need to have the flash with transparency and on it's on layer using some css.
Anyone have any links to a tutorial or give me some insite as to the best way to achieve this?
View Replies !
View Related
User Clicks Link To Load FLV Into An HTML Page?
Hello everyone,
I have a bit of a problem that Im hoping some of you more educated Flash users can help me with.
Bascially, I have a Flash movie that displays several FLV movie clips. When a user clicks on one of the movies they are presented with several options such as: play movie, download a transcript, or download into an html file.
What I need to see happen is, when they decide to download into an html file I need the FLV to automatically load itself onto an HTML page.
Is this possible and if so can anyone please give me some advice.
Thanks in advance.
View Replies !
View Related
DynamicText(html) In ScrollBar Two Clicks To Open Link
I have a few dynamic text fields (htmlText) with links, either using the .url property in TextFormat and "<a href>" tags. The text files are then placed in a movie clip that was created dynamically which is then bound the the ScrollBar component.
At first it appeared that everything was working perfect....but after a while I noticed if I left the window containing Flash Movie and came came back, it would then takes two clicks for the links to work again.
Trying to track down this little bugger of a problem, I added a listener to the text field to check the stage.focus
Here is my return:
[object TextField] // clicked on a link that opened a browser window out of the Flash IDE
[object TextField]// clicked on another link that opened in the same window
// went and check out the new window that loaded the link
// when I come back and click on the same or another link I get ScrollPane as the trace on the stage.focus
[object ScrollPane]
//second click works and link opened in the browser window
[object TextField]
I am really at a loss as to what I can do to make it so you only have to click once for the link to download.
Thanks in advance,
D
View Replies !
View Related
Be Indexed On Google ?
hi, i created this website for a friend of me ( http://www.colbys.be ).
Now i want it to be indexed on google but it doesn't seem to work so good. The google-spider allready visited my page twice and i only get a listing in google when i type colbys and look for pages in belgium.
in my indexpage i've put this:
<head>
<title>It's groovy, it's funky, it's classic ... it's COLBY'S</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META NAME="Title" CONTENT="Colby's">
<META NAME="Author" CONTENT="Colby's">
<META NAME="Description" CONTENT="Colby's is the place to be in Bilzen">
<META NAME="Keywords" CONTENT="Colby's, danscafé, brugstraat, bilzen, bilzen by night, terras bilzen, limburg, fuiven, dj, fun, café">
what else do i have to do ? it gets me crazy
View Replies !
View Related
Stop Flash Animation When User Clicks HTML Link
Hi there,
I have a page that contains an SWF. Beneath this SWF are a series of links that open new _blank windows that also contain their own SWFs. What I would like to do is stop the first SWF when a user clicks on a link so that we don't have two SWFs playing at once (as it could get a bit noisy!).
So basically something included in the link that can control the SWF using Javascript would be great. I found some code that looks something like this (see below) but doesn't appear to work.
HTML Code:
<a href='javascript:example.TStopPlay("_level0/InstanceNameOfMC")'>Stop First Movie</a>
Any advice much appreciated
View Replies !
View Related
Scrollable Html Textbox Jumps To The Bottom Of Text When Mouse Clicks? Why?
Ok, I have several scrollable dynamic text boxes throughout this movie. http://www.emtgroup.com/ds My problem is that anytime you use your mouse to click inside of any of the text boxes it selects the text and jumps to the bottom of the text. I can uncheck the selectable text button and this fixes the problem except on the CONTACT US section, in that section when I click any of the top email address it scrolls the page to the bottom and will inadvertantly click the wrong email??? any ideas?
View Replies !
View Related
Unable To Update INDEXED Datasets
Hello all,
I really hope that this can be resolved by someone. I've been coding flash for a few years, and been stuck on this one for a week... I've look at it from every angle... so I think... :-|
By experience, if I can't find an answer online, it's probably because the solution is staring me in the face. I've probably overlooked ONE fundamental principal on DataSets. Here's where the rest of you come in...
The problem I am having is that I can't seem to update fields in Datasets that are Indexed by ANOTHER dataset. The update looks great until I MOVE the iterator from the INDEXING dataset away (then back, of course).
Troubles associated to this are also, the locateById() function is unable to confirm the existance of a dataset item if the "indexing dataset's iterator" has been moved. (get/set Iterators don't work either).
Following is a zip of all the code described here.
Ok, here is how it works.
I have an XML file with THIS schema (only the important elements shown):
SYLLABUS
STAGES
[n]
TOPICS
[n]
UNITS
[n]
Links
So, what the XML file holds is an array of Stages which holds an array of Topics which holds an array of Units... The simplest way I found to parse through elements is to create a DataSet for Every level of Array. Each array being indexed by the
previous.
This works GREAT until I try to modify something in TOPICS (or UNITS).
In the files supplied, this problem is demonstrated as follows.
In the first pass (Round 1), the Output Box displays the contents of Stages and Topics.
Then in "Round 2", the dataset is re-iterated, replacing each value with "Blah"... Output Trace proves that something has been changed.
The "Round 3" checks the properties of the dataset, only to find that nothing has been changed.
To prove this, I've also added a onMouseDown and onMouseUp function to check the sequence.
If you click and HOLD the mouse on the stage, it shows you part of the operation. Then the release will show you the rest... if you click
over and over, you can see that nothing is really happening.
From what I can tell, I'm not "really" updating the dataset. Or the dataset just can't find the element once the iterator has moved in the
"indexing dataset". You can see the difference if you re-publish the movie after commenting the line that states "COMMENT THIS"...
It seems to work if I bind the Dataset.items property instead of the Dataset.dataProvider property... but, it really doesn't.
The file can be found here:
http://serge.linux-dude.com/~serge/UpdateData.zip
Thanks so much for your help...
View Replies !
View Related
Indexed Array Always Beging At Index '0'?
Ok so I'm passing arrays from PHP to AS3 and I one array in PHP starts at index 1,2,3,...,24 (the hours in a day) so the array look like this:
Code:
array('1' => '1:00 AM', '2' => '2:00 AM', '3' => '3:00 AM', '4' => '4:00 AM', '5' => '5:00 AM', .......................)
But it seems that AS3 adds an index at the beginning "0" => "" (its adding an index 0 at the beginning poinint to nothing or null not sure).
Am I crazy? What I am doing is setting the times above in a List component and its a multiselect to select various times. I try to create an array with the key values from the chosen user values to send back to php so if the user selected 1am and 2am above the array I want to return to PHP should look like this:
Code:
array('1' => '1:00 AM', '2' => '2:00 AM')
BUT AS3 adds that index of '0' AGAIN returning the following:
Code:
array('0' => '', '1' => '1:00 AM', '2' => '2:00 AM')
but I know that the loop where I create that array only iterates TWICE. Again, am I going crazy???
Thanks!
View Replies !
View Related
How To Replace Data In An Indexed Array?
How do you replace data with an index of an Array? For example I want the content in index 3 to change, but I don't want it's order in the Array to move.
I thought it was the splice method, but I'm not sure what the first two values in the parameter should be?
Anyone? Thanks in advance!
View Replies !
View Related
Indexed Arrays And Garbage Collection...
Hi everyone,
Im currently trying to put toghether a simple game engine but with enough room in it to be applicable to a fairly complex game.
One of the first issue I have hit is that I have one massive array with all my objects from the world in it. This allows me to easily do per frame processing on them (they all implement a certain interface for this). However, when it comes to removing objects from the world it gets trickier.
The way I have it atm is that new objects are added to the end of the array, unless a slot has been freed up earlier on in the array where an object was destroyed. This give the potential for object references that were good when set up (thingA is shooting at worldArray[25] where worldArray[25] is an enemy), to become bad (thingA is shooting at worldArray[25] where worldArray[25] is now a friendly civilian who was spawned after the tank got blown up and took it's slot in the array... Now I could come up with a complex way of tracking targets and everything but really Id just like to be able to analyse whether some target is dead by saying "if(myTarget == null)" .
So... I need a new solution. My question is as follows:
Can I just keep "push()"ing objects onto the array till the cows come home and keep all the "null" references in place, without taking up an eccessive amount of memory... i.e. when I "null" an object in the middle of an indexed array is its memory space freed up by garbage collection?
Or... do I need another solution? Suggestions and advice welcome.
Edited: 03/16/2008 at 02:53:13 PM by disco-logic
View Replies !
View Related
Handling Double Clicks And Mis-clicks In AS3
Hi
I am making point n clicked based game. From time to time my moving objects stop and I assume this is happening due to me not handling double mouse clicks and mouse mis clicks. I would like to know how I can handle double click and mis clicks in AS3.
Thanks
P.S. To get a better understanding of what I mean, play my game at:
http://freelancer.987mb.com/download/fla/Gool/Gool.html
Its still under development.
View Replies !
View Related
Beginner's Question: How To Access Properties Of Library Symbols With Indexed Names?
Apologies for the simplicity of this qestion (I assume) but I've not been able to find out how to achieve what I want yet and I've done a bit of searching. I reckoned it must be so simple, I'll just ask the question, get an answer and move on - fingers crossed!
I have a library Symbol - it is called "Core" and it is a simple rectangle with a Dynamic Text Field inside it, called "Name". On my scene, I place a number of these "Core" symbols and give them instance names of "Core1", "Core2" and "Core3".
I would like to change the name of each of these - by that I mean I would like to change the text displayed in each rectangle. I can do this quite easily via:
Code:
Core1.Name.text = Name;
Core2.Name.text = Name;
Core3.Name.text = Name;
...but I want to access these in a loop... so I want to access them like:
Code:
[Core + LoopIndex].Name.text = Name;
or something like that... but I can't seem to figure out the syntax. I need something like "FindComponent" that I use in Delphi, if it exists... FindObjectByName or whatever...
Am I missing something obvious here? Any help appreciated.
View Replies !
View Related
Disabling Hand Cursor Over Html Links In Textfields Without Disabling Links
ive created a custom cursor using mouse.hide but have been unable to figure a way to stop the hand cursor from showing up when you roll over a link in the htmltext of a textfield.
i've tried disabling mouseEnabled, usehandcursor, and disabling the parent mc's mouseChildren and buttonMode, but none seem to work without disabling the html links themselves.
has anybody experienced the same problem or possibly solved it?
Thanks in advance.
View Replies !
View Related
Html & Email Links Using Html Fields Example For D/l
Here is a quick example to demo html & email links using html fields I made to help bennettvonbennett who said his HTML text - HREF was not working.
Hopefully, it will be of use to someone else too. Feel free to download it.
[swf width=400 height=200]http://www.developette.com/help/htmlTextExample.swf[/swf]
hope it helps someone...
View Replies !
View Related
HTML Links Clickable In .swf, Not In .html Template
I'm trying to pull in an HTML feed from one of our Web sites and display it in another with Flash CS3. Yes I know it's not ideal, but anyway it seemed to be working fine. When I hit the .swf directly, the content loads and the links are clickable.
However, when I view the .swf through the .html template generated by Flash, the links are dead (both on the site itself and locally). The pointer changes to a hand, but nothing happens when you click them.
Any ideas?
View Replies !
View Related
.htm Links And .html Links Help
I have made around 6 buttons that link to sites that end in ".htm." But the links never work, because instead of doing .htm, flash for some reason changes that to .html. I don't get it either because I have checked the actionscript code and in the code it tells the button to link to a .htm page, yet flash still persists in going to a .html page! Please, someone help!
View Replies !
View Related
Html Links In Xml
ok, so I have a template that loads xml files that are all structred the same (they basically have a title and then some text content). now i need to get a link in the middle of the text, but how would i do this without breaking the xml structure? i can't add a new xml tag, because i want it to show up right in the middle of the text.
View Replies !
View Related
HTML Links In Xml.
HTML Links in xml.
Hi all,
I'm making a news section where the news comes from an xml file, the xml contains a date and a block of news, within the block of news I wanted to have links.
the xml looks like this:
I'm using the CDATA tags around the links
PHP Code:
<?xml version="1.0" ?>
<newsMenu>
<item>
<date>10/12/2007</date>
<news>New book avaiable for download from <![CDATA[ <a href="http://www.newbooks.com">newbooks.com</a> ]]></news>
</item>
<item>
<date>10/13/2007</date>
<news>Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news </news>
……
</newsMenu>
I'm bring the xml into flash using this code:
code:
var gutter = 8;
var newsBlock = 50;
my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success) {
if (success) {
DisplayNews();
} else {
trace("Error XML not loaded");
}
};
my_xml.load("xml/news.xml");
function DisplayNews() {
var start1 = my_xml.firstChild.childNodes;
for (var i = 0; i<start1.length; i++) {
displayNews = news_mc.holder_mc.attachMovie("news_mc", "news_mc"+i, i+1);
displayNews.dates = start1[i].firstChild.childNodes;
displayNews.news = start1[i].firstChild.nextSibling.childNodes;
displayNews.news_txt.html = true;
displayNews.date_txt.width = 155;
displayNews.date_txt.text = displayNews.dates;
dateHeight = displayNews.date_txt._height;
displayNews.news_txt._width = 155;
displayNews.news_txt.text = displayNews.news;
displayNews.news_txt.autoSize = true;
newsHeight = displayNews.news_txt._height;
baseHeight = Math.round(dateHeight+newsHeight+gutter);
displayNews.base_mc._height = baseHeight;
if (i != 0) {
prevClip = news_mc.holder_mc["news_mc"+(i-1)];
displayNews._y = Math.round((prevClip._y+prevClip._height+gutter));
}
}
Nav();
}
The code attaches news_mc from the library which contains two text fields, date_txt and news_txt, the information from the xml is placed into the different fields. The news_txt field is set with html to true. The text field just displays the text
Is it possible to get the these links to work in Flash ?
View Replies !
View Related
Html Links And Swf
is it at all possible to wrap the swf object in a html file with something like an <a> tag, so that the whole swf is linked?
To save a few people answering... the whole idea is that the swf is linked from the html, so the getURL() in flash isnt viable.
Cheers.
View Replies !
View Related
HTML Links
Hi,
Flash CS3
I've got a swf that contains html links. It's text links so I just selected the text and entered the correct anf full URL in the properties panel. The links work fine from the swf files, but when I put the swf file into a website or run the html file flash made, the links do not work.
I sent the files to the client and he has the same problem, so it's not just on my end. When I use IE, nothing happens. When I use firefox, an alert box appears saying the swf is trying to carry out a potentially harmful action by accessing the website.
Any help would be greatly appreciated.
Cheers,
Malcolm
View Replies !
View Related
Html Links In XML
I have a dynamic textfield which loads XML which contains html formatting. When I use <a href='http://www.someurl.com' target='_blank'> to create text links this launches the Firefox pop up blocker. I want to use it to load some pdf pages without having to return to the beginning of the flash by using the back button.
Is there anyway round this?
View Replies !
View Related
Using Html Links In Xml...
I'm creating a flash projector for a CD Rom. For example, I have the companies' literature (titles, description, etc...) stored in a xml file. I also have an html link for it in xml to open a pdf file. The problem is that I have the projector set a Full Screen using the fscommand function. I want to be able to have it minimize so they can see the pdf when they click on the link. I would know how to do that if I had a simple button in flash, but is there anyway to tell it to do that from the xml file? Thanks.
View Replies !
View Related
HTML Links In Xml.
HTML Links in xml.
Hi all,
I'm making a news section where the news comes from an xml file, the xml contains a date and a block of news, within the block of news I wanted to have links.
the xml looks like this:
I'm using the CDATA tags around the links
PHP Code:
<?xml version="1.0" ?>
<newsMenu>
<item>
<date>10/12/2007</date>
<news>New book avaiable for download from <![CDATA[ <a href="http://www.newbooks.com">newbooks.com</a> ]]></news>
</item>
<item>
<date>10/13/2007</date>
<news>Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news </news>
……
</newsMenu>
I'm bring the xml into flash using this code:
ActionScript Code:
var gutter = 8;var newsBlock = 50;my_xml = new XML();my_xml.ignoreWhite = true;my_xml.onLoad = function(success) { if (success) { DisplayNews(); } else { trace("Error XML not loaded"); }};my_xml.load("xml/news.xml");function DisplayNews() { var start1 = my_xml.firstChild.childNodes; for (var i = 0; i<start1.length; i++) { displayNews = news_mc.holder_mc.attachMovie("news_mc", "news_mc"+i, i+1); displayNews.dates = start1[i].firstChild.childNodes; displayNews.news = start1[i].firstChild.nextSibling.childNodes; displayNews.news_txt.html = true; displayNews.date_txt.width = 155; displayNews.date_txt.text = displayNews.dates; dateHeight = displayNews.date_txt._height; displayNews.news_txt._width = 155; displayNews.news_txt.text = displayNews.news; displayNews.news_txt.autoSize = true; newsHeight = displayNews.news_txt._height; baseHeight = Math.round(dateHeight+newsHeight+gutter); displayNews.base_mc._height = baseHeight; if (i != 0) { prevClip = news_mc.holder_mc["news_mc"+(i-1)]; displayNews._y = Math.round((prevClip._y+prevClip._height+gutter)); } } Nav();}
The code attaches news_mc from the library which contains two text fields, date_txt and news_txt, the information from the xml is placed into the different fields. The news_txt field is set with html to true. The text field just displays the text
Is it possible to get the these links to work in Flash ?
View Replies !
View Related
As3 Html Links
Hi, not sure whether to class this as a CS3 or a AS3 problem. As with life, I've inherited a job from a previous developer done in AS3. As most I'm a AS2 dev, slowly (very slowly) trying to learn his way around AS3. Most issues so far I've been able to resolve but this current issue is troubling me.
The project imports xml data and loads it into textboxes, fair enough nothing wrong there. Now they want to have html links inside the xml data. In AS2, simply writing a <a> tag was sufficient. Now in AS3, writing the tag creates a link but the user can't use it without right clicking (as far as my testing has shown). Simply clicking the link does nothing, while right clicking gives the options ,open, open in new window, cancel.
I've tried searching for alternatives but seem to be coming to a dead end. I tried to use <a href="event:someEvent">Words</a> But haven't got much luck getting that working either. Any suggestion or solutions?
View Replies !
View Related
HTML Links In Xml.
HTML Links in xml.
Hi all,
I'm making a news section where the news comes from an xml file, the xml contains a date and a block of news, within the block of news I wanted to have links.
the xml looks like this:
I'm using the CDATA tags around the links
PHP Code:
<?xml version="1.0" ?>
<newsMenu>
<item>
<date>10/12/2007</date>
<news>New book avaiable for download from <![CDATA[ <a href="http://www.newbooks.com">newbooks.com</a> ]]></news>
</item>
<item>
<date>10/13/2007</date>
<news>Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news Second piece of news </news>
……
</newsMenu>
I'm bring the xml into flash using this code:
ActionScript Code:
var gutter = 8;
var newsBlock = 50;
my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success) {
if (success) {
DisplayNews();
} else {
trace("Error XML not loaded");
}
};
my_xml.load("xml/news.xml");
function DisplayNews() {
var start1 = my_xml.firstChild.childNodes;
for (var i = 0; i<start1.length; i++) {
displayNews = news_mc.holder_mc.attachMovie("news_mc", "news_mc"+i, i+1);
displayNews.dates = start1[i].firstChild.childNodes;
displayNews.news = start1[i].firstChild.nextSibling.childNodes;
displayNews.news_txt.html = true;
displayNews.date_txt.width = 155;
displayNews.date_txt.text = displayNews.dates;
dateHeight = displayNews.date_txt._height;
displayNews.news_txt._width = 155;
displayNews.news_txt.text = displayNews.news;
displayNews.news_txt.autoSize = true;
newsHeight = displayNews.news_txt._height;
baseHeight = Math.round(dateHeight+newsHeight+gutter);
displayNews.base_mc._height = baseHeight;
if (i != 0) {
prevClip = news_mc.holder_mc["news_mc"+(i-1)];
displayNews._y = Math.round((prevClip._y+prevClip._height+gutter));
}
}
Nav();
}
The code attaches news_mc from the library which contains two text fields, date_txt and news_txt, the information from the xml is placed into the different fields. The news_txt field is set with html to true. The text field just displays the text
Is it possible to get the these links to work in Flash ?
View Replies !
View Related
HTML Links In Textfields
we all know that a textfield can contain a certain level of formatted text in HTML. simple <p><b><i><a>, etc.
usually when using the <a> tag, you include a "href" with a following URL (eg. http://www.flashkit.com) or a javascript function (javascript:hello() ). My question is:
rather than putting an absolute URL or javascript function in the "href", is it possible to put a function outlined in the flash movie that controls the actual movie ... such as:
function pippo(){
_root.hello.gotoAndPlay(2);
_root.goodbye.gotoAndPlay(5);
}
i have tried in every way possible, but it doesn't work, well at least not in the way i need it to ...
i would be very grateful to anyone that explains this to me.
View Replies !
View Related
E-mail Links And HTML
2 problems.
How do I link text to go straight to e-mail me, on relese?
Harder one: I have a java scripted HTML page that I need to appear in only part of my flash site and dissapear when someone clicks a different link. Any ideas? At least tell me how to bring HTML pages into flash.
Thx in advance.
View Replies !
View Related
Links W/html Frames
I need help,
I want to have an html page with a flash menu as the left frame, i can either put the left frame as the swf itself or put it in its own html for the frame on left, but the problem is either way i do it i cant get the links from my menu to point to new htm pages on the other(right) frame!
HElp me please
View Replies !
View Related
Delete Html-Links
Hi Folks,
It's possible to set a Html-Link but not delete it via 'url = ""' or 'url=null'?:
Code:
this.createTextField("mytext",100,100,100,0,0);
this.mytext.embedFonts = false;
this.mytext.autoSize = true;
this.mytext.multiline = true;
this.mytext.border = false;
this.mytext.html = true;
this.mytext.type = "input";
this.mytext.selectable = true;
this.mytext.wordWrap = false;
this.mytext.htmlText = '<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#990066">1234567890</FONT></P>';
textFormat = new TextFormat();
textFormat.url = "http://xxx.de";
this.mytext.setTextFormat(textFormat);
// or null, in order to delete that link
textFormat.url = "";
this.mytext.setTextFormat(textFormat);
get_format = this.mytext.getTextFormat(0,this.mytext.length);
trace(get_format.url);
greetz
Daniel
and how to disable html in the posts?
View Replies !
View Related
HTML Links Appear Behind PC Projector. HELP?
Hi,
I've been digging though the posts to find an identicical situation and cannot.
I've built a CD-Rom using Flash MX on a MAC.
It includes HTML links to websites.
PC users running XP report the links open browser windows behind the fullscreen projector file (where they can't see them.)
I've seen many posts responded to by ***********, a company that writes 3rd party software correcting this problem, but it's only for users authoring on a PC.
Again, I have a MAC.
I saw a post that described using "_TOP" as target for these links, and I will try this, but cannot test it until I can get on a PC.
Does anyone KNOW "_TOP" will work on a Fullscreen PC (.exe) projector? Is there another solution?
Thanks in advance for ANY help.
View Replies !
View Related
Html Links To Flash
Hello,
I'm a digital art student in Portugal and I my project this year is to makee a node like structure that works almost as a web browser.
The user will input an url than a node will appear, than I have to open that url count how many href (links), and create as many nodes, than the program will chosse one and do the same as for the first, and so on...
The problem is openning an url than getting the links and make flash recognize them...
So I'm asking for help in:
opening an url and getting all the hrefs (links) in it to a list or something so that flash recognizes one by one
Thank you all
Ricardo
View Replies !
View Related
Html Links Problems
Ok heres the problem :
I work with flash MX 2002. Html links works perfectly in .swf but when I publish them in .html they just stop working. I tried the getURL code but its still isnt working. I tried during two weeks but... i mean im not good in actionscript so please just stop by n help me.
View Replies !
View Related
Links From HTML To Flash
I have an html file called “gallery”. I need to link the button “About Artist” to a swf file which is the index file.
On the root of the swf is a movie clip called “copy”. The first 100 frames is the copy for the “home” page. The copy for “about artist” starts on frame 166
How do I tell the HTML “about artist” button to go to the movie clip “copy” on the root of the swf file and go to frame 166?
http://www.mywitchywomen.com/gallery.html
View Replies !
View Related
Html Links In Flash
i would like to have a button in flash that is an html link, after creating a button, how to i make it a link? is there a way to make it open in the same window/ a different window?
View Replies !
View Related
Put Html Links In XML Text
HI,
I am calling in text into a flash file from an external XML file. In the text however, i want to put "click here to view" and i want to make "here" clickable and pop up a new browser page.
does anyone know how to do this? if you add <a href> tags, it just stops showing any text after that last > tag.
thanks.
gc
View Replies !
View Related
Textfield Html Links To AS?
Long shot... but,
I'm creating a textfield dynamically and filling it with some formated text.
I need to link headlines to other parts of the same swf.
I can't use javascript in html to do it (long story).
So is there any way to use an href to target a frame or function in the same swf?
This didn't work...lol.
Code:
<span class='date'>01/14/07</span>
<span class='headline'><a href="actionscript:;" onClick="trace('click');">Blah Blah</a></span>
...
Or do I have to use split, multiple textfields etc.
ANSWER: Yes, there is:
This sends '1' to a function called 'test'
<a href="asfunction:test, 1">
View Replies !
View Related
HTML Links In Flash
Right now I'm trying to create a sized pop-up window for a quicktime VR movie from a button in flash.
heres the actionscript i have for it:
ActionScript Code:
on (press) {
getURL("javascript:openNewWindow('http://www.13thdegree.ent/LMV//srvr.mov','Title','height=344,width=430,toolbar=no,scrollbars=no');");
}
and heres the html code i have for it:
HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>srvr</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<a href="javascript:openNewWindow('http://www.13thdegree.net/LMV/srvr.html','UniversityOfMichigan','height=430,width=330,toolbar=no,scrollbars=no');"></a>
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<embed src="srvr.mov" width="430" height="340" hspace="0" vspace="0" align="absmiddle" name="srvr" />
</body>
</html>
any ideas as to what I'm missing? or why this won't work?
View Replies !
View Related
|