ActionScript 1/2 :: Page Links From External URLs .txt File Don't Work?

Mar 5, 2010

I'm working on a flash header for a website with the page links contained in an external .txt file, and I'm experiencing a strange problem.The site is both in English and Italian: I worked first on the english version, I modified the AS code for the new .txt file and then I saved the project with another name and translated all the text into Italian.I also changed the name of the external .txt file as well as all the page links contained therein.Problem is when I click a page link in the Italian version of the site, the links are the same of the English version; seems like the .swf file "remembers" the old links just as I never changed the file name.This is the "_urls_IT.txt" file:

url1=index.html&url2=servizi_stefania_muggianu_traduttrice_interprete.html&url3=curriculum_vitae_stefania_muggianu_traduttrice_interprete.html&url4=campi_di_specializzazione_stefania_muggianu_traduttrice_interpre

[code]......

View 10 Replies


Similar Posts:


ActionScript 2.0 :: External Links Won't Work In Flash File When Embedded In Html

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

ActionScript 2.0 :: Flash Photo Gallery (XML) - Pulls Image Urls From An External XML File?

Feb 20, 2008

I've built a flash photo gallery that pulls image urls from an external XML file. The gallery has different image catagories that load their own set of images.The user decided which catatgory they'd like to view by clicking an HTML button in the flash movies parent page...using javascript, this button click sends a variable to the root level of the flash movies with the new XML location...

Trouble is, onces the initial XML file is loaded, the movie has no need to refresh (and read the newly sent variable) ...*Unfortunately the catagory buttons MUST be outside the movie on the page...

View 4 Replies

ActionScript 1/2 :: All Dynamic Text Links Going To Same Link Even Though URLs Differ

Jun 9, 2010

I just made a flash news scroller where the news headlines are dynamic text and have different urls provided in the link section. But when I click on any of them, they all go to the first link only.

View 1 Replies

Professional :: Can Flash Player Files Contain Links To Internet URLs

May 20, 2011

Can Flash Player files contain links to internet URLs

View 3 Replies

Actionscript 3 :: Detect Urls In Dynamic Text And Make Them Links?

Mar 9, 2011

Anyone know of any good classes or functions that will do this? I've found some regexes but what I need is to pass the string to a method and have it return the same string, but with urls turned blue and turned into hyperlinks. Seems like a fairly common task, but I can't find anything.

[Code].....

View 1 Replies

ActionScript 3.0 :: Buttons Won't Work - Attached The Fla File And An Index Page In A Zip File

Nov 22, 2009

I have four buttons in flash and only one of them work. I have attached the fla file and an index page in a zip file. It seems only one button will work at a time.

[Code]...

View 5 Replies

ActionScript 1/2 :: Links In External Text File?

Aug 24, 2009

I'm loading html formated text from an external txt file into a masked "createTextField", which was styled using an external CSS file.  Everything is fine, except for one strange thing...any links at the beginning of my text file DON'T work...the links towards the bottom of my text file DO work.I have never ran into this problem before.So far, I'm totally stumped.Note: I have "a:hover" and "a:active" properties set via the CSS file.When I rollover the links that aren't working, the anchor rollover properties do change, so there is some recognition going on, but the mouse doesn't change to a hand

View 1 Replies

Flsah :: Xml - External Links Read From XML File

Feb 2, 2011

I was wondering how you use Actionscript 2, to read a URL/web address in a XML file and when you click a button, or an icon, you are then taken to a page specified in the XML document?

View 2 Replies

Actionscript :: Flash - Get Links URL From External XML/TXT File

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

ActionScript 3.0 :: Accessing Swf File Via External Html Links?

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

ActionScript 2.0 :: Error With Links Via External Text File

Aug 24, 2005

This is driving me insane, because I actually had it working once and now I can't do it.

I have a .txt file that contains:

Code:
&solutionslink=/solutions/index.hml

In my .fla, attached to my button I have the following:

Code:
on (release)
{
getURL(solutionslink);
}

But when I hit the link I get //webserver/undefined instead of //webserver/solutions.html

I've done a trace and I get "/solutions/index.html"

View 3 Replies

ActionScript 3.0 :: External Interface Call Doesn't Work With Function That Is On External JS File

Apr 17, 2012

I am using in AS3 "External Interface ". When I call the JS function that is on the same page as swf everything works fine.

I added a link in the html page to an external JS file, when I move the JS function to the external JS file the website crushes.

I would prefer to have all my JS functions on an external file so I can use them in the future in other project and it also makes it easier for me to update the site.

how to call a JS function that is on an external file from AS3?

View 6 Replies

ActionScript 3.0 :: Create Html Links From A External Xml File To Be Dynamically Added To A Text Field?

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

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

Mar 6, 2011

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

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

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

View 1 Replies

ActionScript 3.0 :: Multiple Links - Open The Second Link As Soon As You Open The Links Page

May 17, 2009

I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.

[Code]...

View 15 Replies

Accessing External URls And Security?

Oct 29, 2009

so i was trying to lop an Internet radio player, that will connect to different shoutcast servers, and play the radio, of course in development time everything was ok, now the time came for publishing just to be surprised with this messageof course i know what to do, but the end user will most likely won't know, and also i think this is a set back for developing such stuff, i also once tried to develop a twitter widget same thing happened when trying to communicate with twitter output, to work around that i could load the xml file from twitter into a local file using php, but i see a lot of flash files that uses flickr, twitter, and other sites, so how do these widgets work without triggering the security message,

View 1 Replies

ActionScript 3.0 :: External AS3 File Does Not Work

Apr 17, 2011

I am relatively new to AS3 - can you please tell me why the gotoAndStop in the following external AS3 file does not work. The frame named "start" is on the stage timeline so I suspect it may be looking for it in the movieclip that the listener is attached to.[code]

View 4 Replies

ActionScript 3.0 :: Reload This Page Interacting With External Swf. File?

Feb 27, 2009

I'm working on my website and I have one main swf file with the loader, and other four swf. files with home, about, contact and work.This is the code for the main one

Code:
var holdercontent:MovieClip = new MovieClip();
holdercontent.x = 0

[code]........

View 2 Replies

ActionScript 2.0 :: Buttons Within The External Swf File Do Not Work?

Jan 16, 2009

I built a flash site. The site's navigation is an external swf file. The file loads fine. However, the buttons within the external swf file do not work. I have a simple goto webapage behavior attached to each of them.

I'm assuming it has something to do with paths. I do not know what the proper code is in order to make a button inside an external swf file change the web page.

View 5 Replies

Javascript :: Call A Function In An External File From The Main Page?

May 15, 2010

I'm loading from my main page an external js file, with a function.

I have a flash file in the main page invoking the javascript function.

Everything worked very well until when the javascript code was in the main file, but when I moved javascript to an external file the function seems not called anymore.

So... there is no way to move the javascript code to an external file ? Or any other solution ?

[Code]...

View 3 Replies

Flash :: Embeded Swf File With Its External Resources To Content Asp.net Page

Mar 8, 2011

Under Visual Studio 2010, I'm developing an asp.net application.I added a folder to my project called Flash. Under Flash folder I added a swf file with its external resources to run. The folder content:

1- ScrollingImages.swf file to lunch the flash

2- ScrollingImages.xml file that the swf file uses to read images from thumbnails folder

3-thumbnails folder which content images used by swf file. I can embed the swf file to html easily using this code:

[Code]...

View 1 Replies

ActionScript 1/2 :: Load A .swf File Which Loads External Xml Html Content Page

Sep 28, 2011

I have a main.swf file. In first frame i load a background slideshow with this code:

[Code]...

My problem is that when the site loads the 1st time and click from the menu to go to the 2nd frame (1st content page) then i have to wait at about 3-4 seconds to load my html content. The same for the 3rd frame. If these two content pages load for the 1st time, then the pages open immediately. What can i do for this? Is there a way to open this content pages more quickly, or place a loader, and with what code?

View 3 Replies

ActionScript 2.0 :: Load An External Html Content Page Through Contents.xml File?

Sep 28, 2011

I load an external html content page through contents.xml file, in page.swf, which loads in main.swf like external file. The code of contents.xml is this:

Code:
<?xml version="1.0" encoding="utf-8"?><xml>
<content>

[Code]...

View 2 Replies

ActionScript 2.0 :: HTML Page Opens Flash Site - Loads External Swf File

Jul 11, 2005

I have an HTML page with buttons. Each button needs to have a getURL to open the Flash site, but then somehow, needs to also load the appropriate swf into that Flash site... My reasoning is because I have some scripts under my site that need to be in HTML (or PHP) for search engines, that way I don't have to do the whole site in HTML.. I hate having a HTML index page, but it's the only solution I could come up with. So, when a visitor selects any of the navigation buttons, I don't want them to have to select that button again, when the Flash site loads. how to do this for Flash 7 / AS 2.0? Or if there are any posts here about it?

View 2 Replies

ActionScript 2.0 :: FLASH 8 - JavaScript Work In A Blank Flash File When Open It In A Html Page

Feb 14, 2007

I have this java script and want it to work in a blank flash file when i open it in a html page.

[Code]...

View 14 Replies

ActionScript 2.0 :: [Flash8] Place An External Swf File On It In A Desired Position When The Corresponding Page Is Being Loaded + Scaling

Aug 18, 2006

I have a flash file (a flash navigation bar actually, which gets loaded in all the webpages inside the website). What I am trying to do is place an external swf file on it in a desired position when the corresponding page is being loaded. I am using FlashVars (variable name -> 'movieName') to pass the name of the movie clips. These variables are read by the navigation swf file and the corresponding swf file should be loaded in the area specified. Now, to create a container, I am using createEmptyMovieClip() method which will host all the external swf files.

The swf files are all being loaded but with a lot of problems. First, no matter what I try, the swf file comes at a fixed place (which is way off from where it is supposed to be). I have tried checking if the container loaded the movie before fixing its position but it changed nothing. Although it did change the position of a weird background colour box I am getting when the movie starts loading - which brings me to the second problem.

A rectangular box flashes once when the external swf is loaded, and its position is being affected by whatever I am setting the _x & _y values of the container movies to. I have no idea why it is happening as it doesn't happen when I test that swf seperately.

[Code]...

View 1 Replies

Actionscript 3 :: Dynamic RSL URLs - Minimize File Sizes As Much As Possible?

Sep 2, 2010

I have several SWFs pulled in at runtime from different domains (we're using a CDN). There are some shared fonts within the SWFs. I'm trying to minimize file sizes as much as possible, so that means either not embedding the fonts in any of those SWFs and setting all their TextFormats at runtime. That's very impractical, and it would be easy to miss some of them.

The other, better option is to use runtime shared libraries to pull in the fonts, but that requires either an absolute URL (goes against the concept of using a CDN), or a relative URL (defeats the purpose of using RSLs in the first place since those resources would be downloaded several times anyway). Ideally i'd like to be able to tell each SWF at runtime where to pull in the fonts, and give them all the same, dynamic URL. I can't find anyone who's encountered a similar situation, so i'm not sure if this can or can't be done, but most AS3 problems i find are solved here, so i'm hoping someone knows a good solution for this.

View 2 Replies

ActionScript 3.0 :: Loading List Of URLs From Text File

Apr 4, 2009

I got a text file in the same directory as the flash file, and I am wondering what is the problem with it loading the url. the header is live on [URL] and it doesn't want to load the urls. what would be required to get it to do this? when ctrl + enter to test the movie, it loads the url in a new window. am pasting the code below:

Code:
// CLASS IMPORTS
import flash.geom.*;
import flash.display.*;
import flash.events.*;
import flash.filters.*;
[Code] ......

View 1 Replies

IDE :: Flash - Buttons To URLs No Longer Working In Php File?

Nov 23, 2009

Very strange thing has happened. I've had this site running fine for over a year, and recently I have discovered that the buttons that go to external URLs do not work.All of the buttons should be going to another .php file, and they have been until discovered yesterday that they do not.If you go to the .swf file directly, you will see that the navigation buttons take you to the correct .php files, but it becomes unclickable when it's in index.php.VERY strange... but then when you go back to index.php, and click the php active hyperlink "Gum Drops" at the bottom of the page, you'll get taken to the php page... and then all of a sudden the navigation, and all flash links to URLs work!

View 2 Replies







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