Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Link Not Working



Could anyone explain to me why the links contained in this bit of my AS don't work when I open the swf through an html page in IE? They work fine on the swf alone and work on the html page if I publish it as flash 6, but not as flash 7 or 8. The swf accesses a xml file.
Code:
DisplayNodes = function(nodes, field_txt){ field_txt.htmlText = ""; var entry; var separator = "<br>___________________________________________<br><br>"; for (var i=0; i<nodes.length; i++){ entry = ""; entry += "<b>"+ nodes[i].childNodes[0].firstChild.nodeValue +"</b>"; entry += " : "+ nodes[i].childNodes[1].firstChild.nodeValue; entry += "<br>"+ nodes[i].childNodes[2].firstChild.nodeValue; if (nodes[i].attributes.url.length){ entry += "<br><a href='" + nodes[i].attributes.url, "_blank"; entry += "'target='_blank'><font color='#0000FF'>For more information visit the site...</font></a>"; } field_txt.htmlText += entry + separator; }}
Thank you for any help provided.



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 06-02-2007, 09:36 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Link To .swf Not Working
Greetings!

I have a couple of applications in flash. Some swf link to another (they don´t link to the htm, direct to the swf) I had some complains of people that this link doesnt work, they get a white page.

I thought there was no problem with this. Does anyoe know about this?

Is there another way to pass variables from one swf to another if I link to the html? Right know I do my links like this:

page.swf?code=1

I´ll apreciate any comment.

Thanks!

Link Is Not Working...HELP
Hi,

I am trying to creat a link in a flash file. I have pasted the link in the "URL Link" in the properties menu. I've checked the link to see if it accurate and it is. The link is posted on the "text" not the button. If that makes sense. If you could help, you'd save the day.

Thanks.

[MX] Link Not Working
Hello I am using Flash MX 2004
Everything works fine in my timer.. But when the sec reaches 0, my gotoAndStop wont work..

Here is the countdown timer...

Code:
onClipEvent (load) {
mins = 0;
sec = 15;
counter = 0;
}
onClipEvent (enterFrame) {
counter++;
if (counter == 12) {
counter = 0;
sec--;
}
if (sec == -1) {
sec = 59;
mins--;
}
if (sec<10) {
_root.timer = (mins+":0"+sec);
} else {
_root.timer = (mins+":"+sec);
}
if (sec == 0) {
_root.timer = ("0:00");
counter = 1;
gotoAndStop(3);


}

}


Help please. Thanks

(This goes with a dynamic text named "timer")

XML Link ( Not Working)
Hi
Im working on a portfolio system and I want users to click on a "lauch" button
and so they could go to the projects site or another site.

I have a dynamic text field that shows the links name,
and a layer above a button who should link it to the site.
So my xml is

<url src="http://www.truemedia.be">www.truemedia.be</url>
the link name of link

So launch1 is the var that should bring me to the site, I locate it with flash with this actionscript code:

Code:
launch1 = menuXML.firstChild.childNodes[0].childNode[4].attributes.src;
Here is my full XML:

Code:
<?xml version="1.0" encoding="utf-8"?>
<photoview>
<content>
<date>05.07.06</date>
<title>Clouds</title>
<content>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce porttitor lacinia sem. Duis est justo, ultricies at, congue ac, eleifend vel, felis. Fusce vestibulum sapien non dolor. Fusce sed diam. Cras posuere. Maecenas rhoncus pede ut neque. Aliquam erat volutpat. Pellentesque non tellus. Quisque velit lectus, commodo ut, sodales quis, faucibus eu, lorem. In hac habitasse platea dictumst. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce hendrerit nulla id est. Nunc varius, elit consequat tempus molestie, neque nulla viverra nisl, in sodales lorem orci ut mi. Aenean nec nunc. Mauris massa.
</content>
<img>photo1.jpg</img>
<url src="nieuw.html">www.truemedia.be</url>
</content>
<content>
<date>23.06.06</date>
<title>Trees</title>
<content>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce porttitor lacinia sem. Duis est justo, ultricies at, congue ac, eleifend vel, felis. Fusce vestibulum sapien non dolor. Fusce sed diam. Cras posuere. Maecenas rhoncus pede ut neque. Aliquam erat volutpat. Pellentesque non tellus. Quisque velit lectus, commodo ut, sodales quis, faucibus eu, lorem. In hac habitasse platea dictumst. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce hendrerit nulla id est. Nunc varius, elit consequat tempus molestie, neque nulla viverra nisl, in sodales lorem orci ut mi. Aenean nec nunc. Mauris massa.
</content>
<img>photo2.jpg</img>
<url src="http://www.truemedia.be">www.truemedia.be</url>
</content>
</photoview>

Here is my actionscript.


Code:
var launch1:String;
/*************************/
var menuXML:XML = new XML();
menuXML.ignoreWhite = true;
menuXML.load('content.xml');
bt._visible = false;
menuXML.onLoad = function() {
var childs:XMLNode = menuXML.firstChild;
launch1 = menuXML.firstChild.childNodes[0].childNode[4].attributes.src;
launch.url = menu[_URL];
// het aantal
var childTotal:Number = childs.childNodes.length;
_global.fcn = function() {
for (var i = 0; i<childTotal; i++) {
if (i != selection) {
_parent.button['bt'+i].enabled = true;
_parent.button['bt'+i].fd_txt.colorTo(0xFFFFFF, 1);
}
}
};
for (var i = 0; i<childTotal; i++) {
bt.duplicateMovieClip('bt'+i, _parent.button.getNextHighestDepth());
/*************************/
_parent.button.bt0.enabled = false;
_parent.button.bt0.useHandCursor = false;
_parent.button.bt0.fd_txt.colorTo(0xFF2A45, 1);
/*************************/
var ndate = (childs.childNodes[i].childNodes[0].firstChild.nodeValue);
var ntitle = (childs.childNodes[i].childNodes[1].firstChild.nodeValue);
var ncontent = (childs.childNodes[i].childNodes[2].firstChild.nodeValue);
var nimage = (childs.childNodes[i].childNodes[3].firstChild.nodeValue);
var nurl = (childs.childNodes[i].childNodes[4].firstChild.nodeValue);
/*************************/
_parent.button['bt'+i].content_txt.autoSize = true;
_parent.button['bt'+i].content_txt.html = true;
_parent.button['bt'+i].content_txt.htmlText = "<font color='#000000'>"+ntitle+"</font>";
/*************************/
_parent.button['bt'+i].date_txt.autoSize = true;
_parent.button['bt'+i].date_txt.html = true;
_parent.button['bt'+i].date_txt.htmlText = ndate;
/*************************/
_parent.button['bt'+i].i = i;
var first1date = childs.childNodes[0].childNodes[0].firstChild.nodeValue;
var first2title = childs.childNodes[0].childNodes[1].firstChild.nodeValue;
var first1content = childs.childNodes[0].childNodes[2].firstChild.nodeValue;
var first1image = childs.childNodes[0].childNodes[3].firstChild.nodeValue;
var first1url = childs.childNodes[0].childNodes[4].firstChild.nodeValue;
_parent.imgplaceholder.loadMovie(first1image);
_parent.note.html = true;
_parent.note.htmlText = first1date+" - <font color='#000000'>"+first2title+"<br /><br />"+first1content+"</font>";
_parent.url_txt.htmlText = first1url;
/*************************/
_parent.button['bt'+i].ndate = ndate;
_parent.button['bt'+i].ntitle = ntitle;
_parent.button['bt'+i].ncontent = ncontent;
_parent.button['bt'+i].nimage = nimage;
_parent.button['bt'+i].nurl = nurl;
/*************************/
_parent.button['bt'+i].fd_txt._height = _parent.button['bt'+i].content_txt._height+4;
_parent.button['bt'+i]._y = _parent.button['bt'+(i-1)]._y+_parent.button['bt'+(i-1)]._height+2;
/*************************/
_parent.button['bt'+i].onRollOver = function() {
this.fd_txt.colorTo(0xFF2A45, 1);
};
_parent.button['bt'+i].onRollOut = function() {
this.fd_txt.colorTo(0xFFFFFF, 2);
};
_parent.button['bt'+i].onRelease = function() {
_global.selection = this.i;
this.enabled = false;
this.useHandCursor = false;
fcn();
//
this._parent._parent.imgplaceholder.loadMovie(this.nimage);
this._parent._parent.note.htmlText = this.ndate+" - <font color='#000000'>"+this.ntitle+"<br /><br />"+this.ncontent+"</font>";
this._parent._parent.url_txt.htmlText = this.nurl;
};
}
};

You can see an example on www.truemedia.be/photoview/

Note: my button that launches the link isn't on in the same movieclip as the AS code, but this hasn't to do anything with it?

XML Url Link Not Working
I revised this photo gallery http://www.juliuswebdesign.com/thumb...il_gallery.htm by adding a "VIEW LARGER IMAGE" button instance to be applied to each photo via XML but I'm not able to get it working.

Please help if you can.

Link Not Working When Www?
Hey guys, I am currently making a flash menu and I am experiencing a very strange phenomenon. I am not sure what’s causing it, but for some reason, the links of the flash menu does not work when you type the www to access to website.

Does not work: http://www.paystairs.com
Works: http://paystairs.com

I don't get it ... It's the same thing ... Tested with IE, FF and Safari ... same problem. Did any of you experience that before? I don't get it lol

(Also tried changing the code using the remanded AC_RunActiveContent.js and I have the same problem.)

The strange thing is the flash works when you type in the address directly...
http://paystairs.com/swf/21204-menu.swf

Link Not Working
Hi,

I have a link in my swf. The link works fine in FF but not in safari.
It opens a new window in FF (which I don't want) and it goes nowhere in safari even with pop-up windows set to allowed.

here is the code:

skip_intro_btn,addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler (event:MouseEvent) :void {
navigateToURL(new URLRequest ("

Link Not Working
On this site, http://www.carbonechiropractic.com/carbone_072308.html
If you click on "About Chiropractic Care" in the orange nav
And then click on "Children's Health" in the green subnav
If you scroll to the bottom of that page there is a link that says "Patient Resources"
I want this link to go to the "Related Links" section under "Patient Resources"

I can't figure this out.

FLA (2.35.MB) is here:
http://www.carbonechiropractic.com/carbone_072308.fla

Thanks
Keith

Xml Link Not Working
i cant get my link to work in this. does anyone have a better way? here it is

as
Code:
myXML = new XML();
myXML.ignoreWhite = true;
myXML.load('http://media.q101.com/av/flash/NewMusicFirst/rL.xml');
myXML.ref = this;
myXML.onLoad = function (succes) {
var v2 = this;
if (succes) {
var v3 = v2.firstChild;
nodes = v3.childNodes;
var v1 = 0;
while (v1 < nodes.length) {
v2.ref['Title_txt' + v1].text = nodes[v1].attributes.name;
subnodes = nodes[v1].childNodes;
v2.ref['link' + v1] = subnodes[0].firstChild.toString();
trace(subnodes[0].firstChild);
v2.ref['holder_mc' + v1].picHolder_mc.loadMovie(subnodes[1].firstChild.toString());
trace(v2.ref['holder_mc' + v1]);
v2.ref['holder_mc' + v1].hitArea = v2.ref['holder_mc' + v1].hit_mc;
v2.ref['holder_mc' + v1].hit_mc._visible = false;
v2.ref['holder_mc' + v1].onPress = function () {
getURL(v2.ref['link' + v1]);
}
++v1;
}
} else {
trace('Error loading XML document');
}
};

xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data[
<!ELEMENT title (link, image)>
<!ATTLIST title name CDATA #REQUIRED>
<!ELEMENT link (#PCDATA)>
<!ELEMENT image (#PCDATA)>

]>
<data>
<title name="IT'S NEW DAMMIT">
<link>"http://www.q101.com/airstaff/sherman_newdammit.aspx"</link>
<image>http://www.q101.com/pics/misc/dammit_fs.jpg</image>
</title>
<title name="LOCAL MUSIC MAILROOM">
<link>"http://www.q101.com/airstaff/sherman_newdammit.aspx"</link>
<image>http://www.q101.com/pics/misc/local.jpg</image>
</title>
<title name="VIDEOS">
<link>http://www.q101.com/airstaff/sherman_newdammit.aspx</link>
<image>http://www.q101.com/pics/misc/video.jpg</image>
</title>
</data>
</data>

Link Not Working In I.e?
Hi,

Am working on a website and just doing the final tests and evrything works apart from in internet explorer 7 when i click on the hyperlink( flash button) it says it can't find the url, which doen't make any sense as it works fine using mozilla.

Anyone know why this is.


Thanks

Email Link Not Working.. PLEASE Help
OK...

Is there something fancy I need to do to set up a simple email link from a button?

as is right now, I have the button on the stage, actions set to:
get url, mailto:sales@.......com

I figured this would work, but for some reason it's not.

Any help would be appreciated.

Link Not Working Properly
HI, I am working on a website for my company and one of our links justs isnt working at all. I checked the code and it is all correct. What can i do.

Email Link Not Working
In my web, I tried to add the following script for button. But there is not working for it. Do anyone know what is happening?

on(release){
getURL("mailto:laputaoscar@hotmail.com");
}

[CS3] Button Link To URL Not Working...
enterForums.addEventListener(MouseEvent.CLICK,clic kHandler);
function clickHandler(event:MouseEvent):void{
URLRequest("http://www.letsgolakers.com/index.php?"_self);}



How come?

Link Buttons Not Working?
I've created a dress up game and want to have links in it returning to my site so that when I distribute it I can get some return traffic. I'm new to this and released two games already that the links didn't work on (they worked on my site so I am totally confused).

I've made a new game with new buttons and someone gave me this actionscript:

on (release) {
getURL("http://www.dressupcraze.com");
}

This works when I test it in Flash, but when I load it in Dreamweaver and test it the buttons don't work. It acts like it's going to be a link when you roll your mouse over it, and when you click it nothing happens. What am I missing?

Thank you!

Download Link Not Working :(
Not sure if this is related to a recent XP Update. It would seem that i am no longer able to download any files off my site.
Innovat tuts & fla's
Can someone else check this out.
The files are ther and if you refresh the 404 error page the download popup should appear.

cheers
Paul

Flash Link Not Working.
Hi. I bought a template from a web company that will not give me any support or answer my emails. I know, I should have used a more reliable product, but I'm just learning. This is my site. www.lis-media.com . I was able to make changes, and add my text, artwork, etc, but one button isn't working.

If you go to the history and try and click the view more, it doesn't work. I have no idea what to do to fix it, I don't even know what to show anybody to have them know? Can anyone help me?

Thank you![

Button Link Not Working
I have a Dynamic page that is a parts list in a MySQL database that I show on a page using PHP in Dreamweaver.
The page uses a repeat region to list the parts depending on what nav link is clicked and what I want to do is add a flash button to the repeated region that when clicked will take you to a larger view. I have all of this setup and working fine except for the flash button.

For instance when the page is loaded you may see 10 parts listed and the button will show up 10 times also, one button next to each part listed. I am currently using a simple image as a link to the larger view and it works fine. The link looks like this.

largeview.php?SearchField=<?php echo $row_Recordset1['Part']; ?>

My problem is that flash doesn't read the php in this code: "<?php echo $row_Recordset1['Part']; ?>". I need flash to read the php code so it knows what part number to show.

Is there any other code that can be used to have Flash read the php code?

I hope I explained this properly and any help would be greatly appreciated!

I am new to flash so please spell it out for me.

Thanks

1 Link Working In Myspace The Other Not
i've made 2 links. one works, the other doesn't a far as i can see they are both the same.
the google link works, i can change the url value and it still works(you have to click just below the word google)
but the yahoo link doesn't work, whatever i change the url to,
how can i get the yahoo link to work also,
please help
fla here
http://tellingthetruth.no-ip.org/1linkworks.fla

Please Help. Banner Link Not Working
I know how to create a banner and was able to create the code so when someone clicks on it, it will go to the target page.

target="_blank" When you click on the banner, a pop up window appears and goes to the targetted page. I was successful in doing that. I do not want to have a pop up window, so I changed the code to "_self". Here is the problem: When the code is target="_blank" the link works. However, when I changed it to _"self" it did not work. I just want it to go to the next page without a pop up window. It won't go the the targetted page. What am I doing wrong? Will somebody please help?

The Link On The FLASh Is Still Not Working
I created a FLASH hoping that the link would work. It works when it's all a FLASH page, but when embedded on to an HTML page it stops working. It has nothing to do with my browser setting I think because when I visit other sites, I can click on their FLASH links and they work fine.

Will somebody please check my page and tell me what went wrong on my HTML page?

Here is the link to the FLASH page where the Order Now button works

http://site.jesseworks.com/jamerica/8821hoodedsweats.swf

Here is the link to the HTML page where I embedded the code below. You will notice on the page that the Order Now button no longer works. It changes to a HAND when you roll over it, but it won't take you to the item's page like the link above.

http://www.jesseworks.com

I embedded the link below to the HTML page. This is the page where the Order Now button is not working. It will not take you to the item's page.









Attach Code

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="553" height="773" id="8821hoodedsweats" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://site.jesseworks.com/jamerica/8821hoodedsweats.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="http://site.jesseworks.com/jamerica/8821hoodedsweats.swf" menu="false" quality="high" bgcolor="#ffffff" width="553" height="773" name="8821hoodedsweats" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

























Edited: 07/31/2008 at 10:25:25 AM by blogfor

Link In Xml/flash Not Working
Hi,
I have hyperlinks in a xml file going into movie clip in flash. The link does not work. Can't figure out what's wrong.

Flash code:

//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
/******************************/
//load css
kungFuStyle = new TextField.StyleSheet();
kungFuStyle.load("kungfu.css");
myText.styleSheet = kungFuStyle;

/******************************/
//load in XML
kungFuContent = new XML();
kungFuContent.ignoreWhite = true;
kungFuContent.load("solutions.xml");
kungFuContent.onLoad = function(success)
{
if(success)
{
myText.text = kungFuContent;
}
}

xml:
<solutions>
<solutions><a href="http://www.hotmail.com" target="_blank"><u>Link One</u></font></solutions>
</solutions>


Help is much appreciated
Thanks

Link Inside MC Not Working
im more of a PHP/SQL/AJAX guy and im just getting familiar with Actionscripting more and more, so I need a helping hand please:

i have a simple navigation layout with some effects on rollover/rollout, but on the rollover, a series of links should display that are clickable and take you to different pages...this isnt working though and i cant see why.

in the attached, there is a link under the first category when you move your mouse over, but nothing happens.

i tried the whole invisible button over a MC and so on.
ive attached the FLA.

thank you for any feedback!

Button/link Not Working (CS3)
Creating website in CS3, Actionscript 2.0
When linking menu buttons to their respected pages (ex. the Home, About Us, Services buttons, etc.) I can't get them to work when I test the page. I'm also not getting any compile errors...

Here is the basic code I am using. I can post .fls also or whatever needed:

Actions Layer; Frame 1


Code:
aboutus_btn.onRelease = function()
{
getURL("http://www.google.com", "_self");
};

services_btn.onRelease = function()
{
getURL("http://www.google.com", "_Self");
};
I am using google.com as the url for testing purposes. The actual urls are /aboutus.html and /services.html

The instance names have been double checked to be correct. Thanks in advance!

Flash URL Link Not Working
i had created one flash file with buttons in it,i had giver url link inside the button and target as _self.whwn iam palying that swf file its working fine,but when iam importing that swf file in dreamweaver and saved as html the link which i had given inside the flash file is not working,please instruct me to solve the problem

Mailto Link Not Working Properly
I have used a mailto link. The problem is that when I click on the link there opens a browser window with the link I have used. However Outlook Express is also opening. But I want when anyone clicks on that link only Outlook Express (Mail Program) should open with the degault email address and not any browser.

Please help

Click A Link, SWF Opens. Not Working
I thought if you made a link to a swf on a web page it would open the swf in its own window and the dimensions would be correct. When I do it it opens in the same window and the swf stretches to fit the whole screen. How can I make it open a small window just big enough to fit the swf?

Link To Frame Of Mc Inexplicably Not Working
Hi,

I really cannot work out why a gotoandplay command (to a different mc) within a mc is not working.

Please take a moment to view the attached fla... as you can see I have three positions (reflected by the _global variable posn) which indicate when the mc "menumove" is in the centre of the swf(0), up (1) and down (-1).

Whenever the relevant button is clicked, the mc's "snackintro" and "mealintro" (fade-in and fade-out mc's separated by stop actions) should jump to frame 29 and fade out. There also two other mc's "mealmenu" and "snackmenu" which should fade out but do not.

Is it possible that because I am controling the mc "movemenu" from within itself that is bypassing the other commands?

Help, advice or suggestions would be much appreciated.

Thanks Steve.

[F8] Email Link Not Working For Macs
I have found that when Mac users click on the email link they only get a portion of the email address in the 'to:' field. The '.com' part of the address is always missing. It works fine on PCs.
The site is www.rswild.com I put a hokey html email link in there for Mac users outside of the .swf.

Is there anything else I can do?

Many thanks!

[F8] Button Not Working With Link From XML File
Hi there made this code i have everything working but the simple thing i cant get to work no more. When i click the read_btn button nothing happens, any idea. Here is the AS 2.0 code:


Code:
var ssx:XML = new XML();
ssx.ignoreWhite = true;

var currentIndex:Number = 0;
var header:Array = new Array();
var urls:Array = new Array();
var story:Array = new Array();
var dateadd:Array = new Array();
var links:Array = new Array();

ssx.onLoad = function(success){
if (success) {
var ss:Array = ssx.firstChild.childNodes;
for (i=0;i<ss.length;i++) {
header.push(ss[i].attributes.header);
urls.push("images/" + ss[i].attributes.url);
story.push(ss[i].attributes.story);
dateadd.push(ss[i].attributes.dateadd);
links.push(ss[i].attributes.links);
}
holder_mc.loadMovie(urls[currentIndex]);
header_txt.text = header[currentIndex];
story_txt.text = story[currentIndex];
date_txt.text = dateadd[currentIndex];

}
else
{
trace("XML file failed to load");
}
}

// Load the external XML File
ssx.load("featured.xml");

// Next Button Function
function nextFeature() {
if (urls[currentIndex + 1]) {
currentIndex++;
}
else
{
currentIndex = 0;
}
holder_mc.loadMovie(urls[currentIndex]);
header_txt.text = header[currentIndex];
story_txt.text = story[currentIndex];
date_txt.text = dateadd[currentIndex];
}

// Prev Button Function
function prevFeature() {
if (currentIndex == 0) {
currentIndex = urls.length -1;
}
else
{
currentIndex--;
}
holder_mc.loadMovie(urls[currentIndex]);
header_txt.text = header[currentIndex];
story_txt.text = story[currentIndex];
date_txt.text = dateadd[currentIndex];
}

// Press the prev and next Buttons and execute the function
next_btn.onPress = nextFeature;
prev_btn.onPress = prevFeature;

// Press the READ ALL Button and go to URL
read_btn.onPress = getURL("http://www.mydomain.com/artilce.php?ID=" + links);
please let me know if anyone has some idea or even can point me in the right direction, i am making a news module, but i still miss a few things.

- read me button (not working)
- autoplay (not working)
- soft transiations (not working)

Thank you again and i hope someone knows.

Image Link Not Working In TextField
Guys, I'm running into a problem assiging a link to image within TextField.

E.g., below is a FLA with two TextField objects. Each has an image pointing to a link. But the link seems to work only if the TextField doesn't have embedded fonts! Any idea what's going on and any suggestions for workarounds? I need to have fonts embedded...

BTW, turns out someone reported this for AS 2.0 as well (it's in the AS 2.0 section), but I didn't find any solutions to that either.

Simple Dynamic Link Not Working
Hello-

I have an issue that I can't seem to figure out, although it should be so simple to see what is going wrong.

I have a dynamic text box with a list of standard links to PDF forms, all linked using the link field in the property window with _blank links (very standard). The issue happens when viewed on the web. In FireFox, it will take multiple clicks to open the links. Some will work right away, others not. In Safari, some will work right away, others will take a long time and open mulitple instances of the link. I have tested this on PC as well, and the same issues exist.

See the problem here.

Any ideas?

Thanks so much.

Action Script Link NOT WORKING
This is odd and I hope someone can provide me with an answer. I am using actionscript within my flash file to open other HTML file within my site. I have done this many times and have never had a problem. Now, my actionscript links work on my server when I am viewing my live site, but the actionscript will not work when running my site from my C Drive. Has anyone had this issue or have an answer on how to fix it? Maybe I need to change an IE 6 setting.

E-mail Link In Flash MX For Mac Not Working
Hi

I'm currently using Flash MX on a Mac running OS 10.4. When I publish a SWF file the e-mail link in it doesn't work. Within the Flash file itself I've added the action mailto:someones@domain.com to a button. It simply opens up the default internet browser (Safari) when clicked, instead of the default e-mail program (Mail or Entourage).

It works fine on PCs running Windows XP or Vista - just not on Macs. I even sent it to a friend who also has a Mac to make sure it wasn't just my computer, and he had the same problem.

Any help would be greatly appreciated!

Help Button And Banner Link Not Working
I've posted this under General discussion, but nobody replied. So, here I am asking for your expert advice.

I created a banner but the link is not working. It works when I click on "Control" then "Test Movie." when I click on the banner, it took me to the page. However, when I clicked on File - Publish Preview - HTML that was when everything fell apart. the banner link did not work. It turned to a hand when I rolled over the button, but did not do anything else. It just sat there.

Do you convert the image to a Button, Graphic, or Image? I converted it to a button and place the code below. That did not work. Well, it worked during preview (control, test movie), but did not work when viewed as HTML (File, publish setting, html). What's the correct way of creating a banner that takes you to page you want it to go?

Below is the code I used, but did not seem to work.







Attach Code

on (release) {

//Goto Webpage Behavior
getURL("http://www.macromedia.com","_self");
//End Behavior

}

Html Text Link Not Working
I had to do some maintenance on an older flash site I built (Flash MX, AS2.0). I have some href links in a html text. For some reason they are no longer working correctly. If you click on it, it will do nothing. If you right-click on it, a menu will open with options to Open, Open in new window, & Copy link.

Any idea what I did wrong?

Thanks!

Link From Text File Not Working
I am displaying text from an external .txt file. There is a link that does not work for some reason and I can't figure out why. your humble expertise please?

1. here's the url i'm trying to link to:
<A HREF="http://www.zeitgeistfilms.com/film.php?directoryname=balletsrusses&mode=downloads">  For hi-res photos and a press kit please click here</A>

NOTE**  any text above this tag is displayed, but any text below, including the link above is *not* displayed. So I think that maybe it's not recognizing part of the url and therefore ignores that part and the rest of the text file?

2.  As a temporary workaround, I shortened the url up to the part where i found stopped working. See below. So it looks like it's not recognizing the '&mode=downloads' part of the url

<A HREF="http://www.zeitgeistfilms.com/film.php?directoryname=balletsrusses">  For hi-res photos and a press kit please click here</A>

Is there any way I can link to the full url in # 1 above instead of this workaround?

Thanks so much for your help!



 

Link To Specific Frame In Another Swf Not Working
HERE'S WHAT I WANT TO DO

Click on a button in FILE_1.swf from PAGE_1.html. When the button is clicked, navigate to PAGE_2.html and display a specific frame from FILE_2.swf.



HERE ARE STEPS/CODE I'M USING

1. in the FILE_1.swf file, the first frame has this to set up the variable for the localconnection:

mySender = new LocalConnection();


2.  on the PAGE_1.html file, name sure the page is identified with the local connection variable "mySender"

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="600" id="mySender" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="FILE_1.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="FILE_1.swf" quality="high" bgcolor="#000000" width="800" height="600" name="mySender" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


3. in the FILE_1.swf, the button PHOTO1_btn:   for the "myConnections", perform "myAction" with the variable "2". Then go to the url specified below:
on (press) {
 _root.mySender.send("myConnections", "myAction", 2);
}
on (release) {
     getURL('PAGE_2.html');
}


4.  on FILE_2.swf, create variable "myReceiver" for localconnection. from "myConnections", if the variable received is "2", perform "myAction" function and go to specific frame label "photo1".

myReceiver = new LocalConnection();
myReceiver.connect("myConnections");
myReceiver.myAction = function(doThis) {
    if (doThis == 2) {
  play();
       gotoAndStop ("photo1");
 }
}


HERE'S WHAT OCCURS
When I click on the PHOTO1_btn, I navigate to PAGE_2.html, *but* it does not go to the specified frame "photo1". Instead, it just goes to the first frame of FILE_2.swf file.

What am i missing?

Thanks so much for your help?????




FLASH8 - Button Link Not Working.
The button I have to geturl isn't working as I thought it would.


Code:

inv_bttn_eagle.onRelease = function(){

getURL("http://foo.gearsector.com", "_blank");

};



I read this link and a few other after searching. This one seemed most relevant.

http://forums.devshed.com/flash-help-38/geturl-issue-what-is-wrong-434564.html?&highlight=geturl

I cleared the cache on my browser. I also changed the name of the file and uploaded it to see if it had something to do with the server's cache. But still no luck. When I click the button in the browser, it won't respond. But inside flash and it's test movie, works perfectly.

Here is the flash I speak of, located right where the two-headed eagle that acts like a heartbeat has a hit state button over it:
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=307947902

I am wondering if it's because the script is on my script layer in the last frame. And in that last frame I have a script that says gotoandplay a previous frame. Could this loop be causing my script to only last for one particular frame thus causing my clicks to miss it? The mouse arrow changes to a hand though as if I can click on the button throughout the process. I made sure to give the button an instance name. Maybe I need to set up an event handler as well for that button?

Thanks in advance!

Download Link For A Zip File In Flash NOT Working =(
Hi all,

Very strange issue I am having. I have a zip file on the the server and inside my flash I have a link:

on (release) {
getURL("http://www.url.com/nameofzip.zip", "_blank");
}

Now the flash link works in ie 5.5 but not in 6. I can't figure out what is going on. Anyone ever run across this and or have suggestions on other ways to get this to work?

Download Link For A Zip File In Flash NOT Working =(
Hi all,

Very strange issue I am having. I have a zip file on the the server and inside my flash I have a link:

on (release) {
getURL("http://www.url.com/nameofzip.zip", "_blank");

Now the flash link works in ie 5.5 but not in 6. I can't figure out what is going on. Anyone ever run across this and or have suggestions on other ways to get this to work?

PDF Link In Flash Projector On CD - Not Working For Some Users
Hello!

I have PDF links in a projector file that runs off a CD.

The PDF links are made using the Web Page Behavior.

Here's my scenario...

MAC Link Testing:
The links work on a Mac using Acrobat 6 and 7 (all I've tested so far)

WINPC Link Testing:
The links DO NOT work n WINPCs that do not have Acrobat Reader 7.
The address bar shows the wrong path...


Here's my Question...
Is there any way to make links to a PDF from Flash that will work on both MAC and WINPC, regardless of the Acrobat Reader version?

Thanks in advance!

Link To URL Working Within Player And Not When Embeded In HTML?
Hello from Slovenia,

Strange thing I can't seem to be able to resolve. I have a complex site with loading and unloading .swf movies. One of those is a simple page of links to other people's stuff. When the entire site or just this page is played from Flash workspace or stand alone player, these links work fine. BUT, when invoked through IE, nothing happens when any of the links is pressed.
I did it using simple static text with URL assigned to it, but the same happens if I use a button and use getURL...

I'd be much obliged for any suggestions.

Cheers, Aleks.

Youtube Link Not Working In Dynamic Text Field
Hi,

I have a dynamix text box with a matching text file containing text and hyperlinks. It works fine. Below is a short sample:


Code:
&myText=
<span class="subtext">
<font color="#FFFFFF">February 10th 2008</font>
<br><br>BLA BLA BLA <font color="#6CA6BA"><a href="blabla.html" target="_blank">here!</a></font>
<br><br>More bla bla bla<font color="#FF0000">Bla Bla Bla</font> Bla Bla Bla
<br><br>Bla Bla Bla Bla Bla<a href="http://www.google.com" target="_blank">google</a>
<br>
</span>
However, if I add this link to it, it screws it up (between the span tags obviously):


Code:
<a href="http://www.youtube.com/watch?v=jzJDY309ftM&NR=1" target="_blank">Commercial</a>
It's that part of the link that seems to screw it up:


Code:
watch?v=jzJDY309ftM&NR=1
If I remove that part and just have http://www.youtube.com/ it works fine.

What's the problem and can I correct it?

Need : Flash MX Detection Kit Link Hasnt Been Working For Past 3 Days
Need : Flash MX Detection Kit Link hasnt been working for past 3 days!!!



Supposly theres some HTML code in the kit that you put in your page to greatly increase the speed of the computer to detect if flash is installed....Which I need badly


But the problem is, the link hasnt been working for past 3 days and I havnt been able to download it...Iam not sure if it maybe ad blocking software I have on or what, but It never downloads....Iam not sure how big the file is, but if you could let me download it from your site? ( Or something, any ideas?)


Heres the link...
http://www.macromedia.com/software/.../detection_kit/


__________________

Yugop Style Menu Stop Working When Link Added
Hi
I have based this project on an old source of a yugop menu (see file below)
Thing is that as soon as I add the string for loading a different swf (or any other code for what it matters) the animation stops working. EI the stretching stops.

What Am I missing????

This is how the tabs items are defined
ymenu_mc.addItem("01",{text:" CONTACT", color:0xFF0000});
ymenu_mc.addItem("02",{text:" LOOKBOOK", color:0x00FF00});
etc etc

This is the code I wrote
ymenu_mc.item0_mc.onRelease = function() {
loadMovieNum("ads.swf", 0);
};

The animations is defined in a script within the textfield (again see file attatch)

Am have tried and tried...Please help
respect
FV

HTML Link In Dynamic Text Field Not Working In Browser
Hey guys,

I'm having a weird problem when I create a link using the <a> tag in a dynamic text field. The link works perfectly fine when testing in Flash but does not work when flash in the browser (the rollover CSS does not work either). Hopefully someone has some experience with this.

This is AS2 by the way.

[flashmx2004]Hover Caption Not Working In Infinite Scroll And Link Problem
Good day,

Im here again, wishing for the expert to help me out with my another set of problem..im done with the thumbnail scrolling, all the requirements have been done, the hover caption, the link and mostly the image is loading and scrolling perfectly fine.. thanks to all the help specially to scotty so done with that..now im modifying it and making the scroll infinite..copied the code from one that i have search in here..the "infinite dynamic mx" thread..i forgot the link..

the thumbnail scroll with link and with hover caption

1st problem:
i already made the thumbnail to load in the stage..already made to scroll infinite..face a bit problem because of Registration Marks..but already figured it out.. i attached the hover caption function on the actions layer then tried to test it, also made the xml caption to load on the container but the problem is the hover caption box is not following the x and y of the mouse instead its not hovering at all.. and the function jumps to the value FALSE so the caption box not showing at all..i test the captionFN to true upon onRollout and it works but its not hovering..

2nd problem:
link to a URL with similar objective with the above link...
i put the code like this:

Code:
if (tot == loa && tot>4) {
item.id = p;
loadper += per;
if (q>0) {
item._x = sub_menu["pic"+(q-1)]._x+sub_menu["pic"+(q-1)]._width;
} else {
item._x = 0;
}
item.onRelease = function() {
getURL(linkArray[this.id],"_parent"); -->> link not working
};
//this area is not on the sample "infinite dynamic" i just add this hoping that might work
item.onRollOver = function() {
this._alpha = 50;
//Hover Caption
overtxt.text = capArray[this.id]; -->> container which i use to test dynamic text
captionFN(true, capArray[this.id], this);
};
item.onRollOut = function() {
this._alpha = 100;
overtxt.text = "";
captionFN(true); -->> value has been change to true
};
///////////////////////////
nextItem();
delete this.onEnterFrame;
my xml looks like this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<genius>
<thumbnail title="Digital Camera" thumb="http://www.genius-me.com:8080/GENIUS...Download=false" link="<A href="http://www.google.com"/">http://www.google.com"/>
<thumbnail title="Video Camera" thumb="http://www.genius-me.com:8080/GENIUS...Download=false" link="<A href="http://www.yahoo.com"/">http://www.yahoo.com"/>
<thumbnail title="Home Theater" thumb="http://www.genius-me.com:8080/GENIUS...Download=false" link="<A href="http://www.kirupa.com"/>">http://www.kirupa.com"/>
etc...
<genius>
can anyone help.. scotty .. please...

Link To A Specific Frame Of A Flash Movie From An HTML Link
How do I link to a specific frame of a Flash movie from an HTML link?

Copyright © 2005-08 www.BigResource.com, All rights reserved