ActionScript 2.0 :: Possible To Use A Link In The Text File
Sep 21, 2006I have a txt file rendered as html in flash. Is it possible to use a link in the text file, to link back to flash to load a page or manipulate a variable?!
View 6 RepliesI have a txt file rendered as html in flash. Is it possible to use a link in the text file, to link back to flash to load a page or manipulate a variable?!
View 6 RepliesDoes anyone know how to link text to a file instead of a URL in flash?
View 1 RepliesI am setting up a page that will read in data from an xml file. Text on the page will de read from the xml file and siplayed on the screen. I am also reading a website in from the xml file that I would like some of the the text to link to. Everything is reading in correctly, and displaying correctly, but I can't seem to get the text link to work.
View 1 RepliesIs there way to dynamicaly use the URL reference (File Link path ) from a external text file on any button events, ?
View 1 RepliesI'm working in a file called mod3.fla file with text, I want to add a link to that text, that would take me to another file called mod2.swf.
View 1 RepliesI'm working on an entirely flash-based site for a client who has already been using Blogspot for his News/Homepage updates. He wants to continue updating through Blogspot, but wants the blog to automatically fill in the text box on the flash site Homepage. I'm not sure if this is possible, or how I would go about doing it.
Here is the blogspot page: [URL]
Here is an example of what the scrolling SWF text box will be like: [URL]
I followed the tutorial "ActionScript 3 XML Basics" but it left out how to add the link from the xml file to the text area of flash. Does anyone know the actionscript code to do this?[code]
View 5 RepliesI followed the tutorial [URL] and it works perfect. But I wanna go a step further, how do I link a word in the external text file? It seems that html code <a href="www.me.com">CLICK</a> doesn't show as a link, but exactly as text.
View 1 RepliesI am wondering how to "link" any sort of text file (.txt or .doc) to a dynamic text box where once the swf file is played the text shows up. In all of the examples I have seen on here you have had to hit a button to load the info once the swf is loaded.
View 1 Repliesi'm attempting to resolve a problem with targeting. i would like to target multiple iframes from a link that has been pulled into a flash document. basically, the link needs to load a title and an mov file. the mov file has to be loaded into an iframe, but the title could be loaded into another dynamic text field.. i'm using a text file that is loaded into a dynamic text field. the link within the text file currently looks like this:
<a href="video/AlzyGramp.mov" target="videowindow" onClick="parent.titles.location.href = 'alzy.html'; return true;">Alzy Gramps</a>
but it doesn't work. is there a problem with flash htmltext reading javascript? i even installed the flashjavascript gateway.
i have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
I dowloaded and played with the following scroller on this site... [URL] I see where the text is under Actions but I'm wondering if I can input hyperlinks and email links as well or will I only be able to use this with plain text. If formatting and links are allowed, how can I input the text to show as a link. Sorry, I don't know much about flash and just trying to make a simple text box with scrolling capability that will allow hyperlinks, bold, etc...
View 3 RepliesI have an AS3 flash movie and each page is a new frame. On my pages are dynamic scrollable text boxes that I created with the text tool. I would like to be able to make a piece of text a link (ex. click here for prices) so that it will direct the view to another page (label). I cannot figure out how to do so.
View 2 RepliesHow to edit flash file (.swf) without .fla file ? I got banner in swf file and a need to make something like that:
when user click on that banner he will be redirected to an url (for example [URL]
I'm having a little trouble using URL links in text. If I select a part of the text and give it a URL link (I'm using mailto: links here), strange things are happening to all the text in that text box at runtime in some cases the leading changes, other times some or all of the text disappears. But it only happens at runtime, so I have no way of knowing if or how to compensate. And simply removing the offending link or linked text doesn't fix the problem once the link has been created the only way to fix it is to create a new text box with no links.
View 4 RepliesIn my movie I now load external text. But I want words in the external text to trigger my swf's. How do I do it? Since working on a mac I use BBEdit. Should I use html?
View 1 RepliesI'm loading a external text file to flash and according to the number present in the text file i'm trying to do a IF - ELSE command. It's not working coz the value I load from the external file is string. How can i get this as intiger.
View 2 RepliesHow can I save data to a text file and also append a record to data in an existing text file? I've used Authowrware previously and it was quite easy to create a large string of data (a comma separated list) and export that to a text file (and create the text file if it didn't already exist). I could then easily append additional rows of data (records) to the text file. We want to build a questionnaire that will store the data locally on the computer in a text file. Each record may have a few hundred data points in a comma separated list.
View 8 Repliesi have created 2 swf files.. (eg; a.swf and b.swf)if i 1 2 link from a.swf to b.swf, i use this AS : ( this As works)
on (release) {
tellTarget ("_root") {
gotoAndStop(1);
loadMovieNum("b.swf", 1);
}
}
lets say if a.swf have 3 scenes in it, (scene1, scene2, scene3), and i 1 2 link b.swf back to the 'scene3, frame1' of a.swf, what will the AS be?i tried using this:
on (release) {
tellTarget ("_root") {
gotoAndStop(1);
loadMovieNum("a.swf", "scene3",1);
}
}
but it has and error....
How can Flash AS3.0 Read file text while text file still writing by C++ program ?
I have some code that I asked before + I modify some line but It can read only text file that completely writing.
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;
[Code]....
Now My task is read real time file and send xArray and yArray to another function but I don't know how can I code it.
I found this awsome tutorial to create an animated button on this page [URL]. Everything works fine, but now I want to link the button to a frame with text in it called "text" in scene 1. So I tried it instead of
[Code]...
I'm teaching myself ActionScript and the book I'm reading just got into input text capabilities. The book shows me how to link input text to a variable and output that text to the output window using trace. My question is: how can I display the text that the user input onto the actual movie. For example... if I wanted the visitor to type their name into the input text box and click Submit and then a phrase shows up with their name such as "Hold on Name, my site will be done soon." How do I reference that variable and have it actually display in my movie?
View 5 Repliescan anyone help me link one swf file to another, so the second loads in as s seperate movie when a button on the first is clicked
View 1 RepliesI purchased a Flash template. I know I need to edit the .FLA file, but yikes. Layers and layers. How do I link the existing buttos in the FLA file to other URL's in the site--like "home", "contact us", etc. pages? I have a Lynda subscription, but trying to find a specific topic in those tutorials is a pain.
View 1 RepliesI have 6 different .fla files with their own SFW file's and how to link them I also have a main.fla that holds all my stuff like my buttons, logo, banner ect. This is the only code I have and I get no errors but when I click on a certain button it wont go to that certain SWF file?
[Code]....
Is there a way to add a link/URL to a .swf file, without embedding into the original .fla file?Is there any way to do that with just the .swf file alone, and without actually editing the .fla or re-creating it?
View 5 RepliesOk, this should be easy, I've done it before, but the code was in a different setup/format.
All I'm trying to do is have a text box display a link and then click on the link to go to the site.
Now, everything is working as far as display, but when I try to pass the targeted (clicked) link to navigateToURL, it is null.
Here is the partial loader code:
Code:
//format video description txt
var vidDescFont:Font = new VidDescFont();
var vdf:TextFormat = new TextFormat();
vdf.font = vidDescFont.fontName;
[Code].....
I'm extending senocular's excellent xml/gallery tutorial to include a URL link with each image. I've created a button object but can't figure out how to add the link from the XML file?
View 7 Replies[Code]...
that's what i have currently. It worked fine in osx on safari. It opened the pdf in the browser. but on a pc with firefox I dont think it has the same in browser pdf capabilities, How do I just initiate a download prompt or something?
I play around with templates and try to change them. A friend of mine has this banner and I am stumped on it. All it is, is making text into links. I have never had a problem with that before. I have CS4 but save the file as CS3. Because that is what he has. What my problem is the text at the upper right. Where there is 3 lines of text. I have been trying to add a link to each one and it is not working. In the actions script, this is what is says. I know I need to put the get(url) in there but everytime I do it, it is not correct. I am a n00b, I admit it.[URL]
View 1 Replies