ActionScript 2.0 :: Load Some Links From ASP File Like Attachment?
Apr 24, 2007I want to load some links from an ASP file like the attachment.
View 2 RepliesI want to load some links from an ASP file like the attachment.
View 2 Repliesbasically I want to load a website address from a txt file as a variable into flash and then when a user clicks on a button in flash the website loads automatically I now how to already get variables in from the txt file but the problem is the getURL methodHere is my txt file contents:Ps im using google just as a test for nowIn flash here is the script to load the variables in:
stop();
//Create new LoadVars
linkData = new LoadVars();
[code].....
I'm trying to display web links loaded dynamically through a XML file.
I've achieved to display text and I'd like to display a specifical link to each part.
Here is the AS2 code :
my_xml = new XML();
my_xml.load("news.xml");
my_xml.onLoad = my_function;
[Code]....
I am looking to dead center my site: [URL] which 1400 x 700. I am trying to get the file to load so that when someone with a 1240 or less res links to the site it loads the with the horizontal scroll bar in the center of the page.
View 2 RepliesI am stuck on the last stage of my flash actionscript project I have already used actionscript to loaded the xml file which includes names, link, titles, description but for some strange reasons it said it couldn't find the location of the link, so here's my code for teh actionscript:
[Code]....
I'd like to add to my flash form a box where the visitor can attach a file (pdf, jpg, doc..) from his hard disk.
View 0 RepliesWant to know whether it is possible to attach one image, or a zipped text file with the email form in a Flash template.Actually I want to send one image and one text file as attachment.
View 1 RepliesMy problem is this. I'm trying to make a flash movie (in a larger project) that has some input text fields (but not necesarily only that), basically a form, and a button that uses a FileReference class for uploading a file from the users computer. In the end, this setup should send an email with the mesagge and the file attached to the mesagge to a determined email adress.
Now, the problem is that I'm absolutely lame when it comes to php, that meaning that I understand someone else's script but when it comes to writing myself well...huh I'm toast. I have found a beautifull tutorial here [URL](much credit to Jorge Solis) for the uploading part and a equally beatifull one here [URL] for sending a mail. Also I've found here [URL] and here all sorts of scripts for sending mail with attachement, from which, of course, I can't understand a damn thing.
Now, to wrap it up... I have functional movie that puts a file in a folder on the server. I have a flash movie that sends mail via a php-script. I need a God'damn shotgun wedding with these two.
Can or how do I load hyperlinks from XML in Flash? So that way I can save the cool animations that are embedded in Flash. I do not want to hard-code those cool animation in AS, but just add the links on each images from XML? I am weak in the AS2 and learning.
Something like when I need to run some type of function that will attach the variable containing the URL to each movie clip generally this is done using a for loop so if each targeted movie clip is named "mc_1", "mc_2", "mc_3", etc.
I'm using an AS2 carousel loaded as an swf into an AS3 page - no problem there. The AS2 files loads PNG icons that have XML links set to load external URLs. I'd like to somehow alter the XML file so that instead of the links loading external URLs, when clicked they load swf files back into the AS2 file. Hope this is clear - below I've included the AS2 code for the carousel and the XML code. These files are from [URL] - an excellent resource site, but a little difficult to get support from!
[Code]...
I bought a menu from Oxylus (cannot get ANY replies from them!) and I don't know how to get the links to load a swf into a loader as I have in my current menu. My current menu has this code in the xml file:[code]The Oxylus info that I can find tells me to modify the submenu.as file, and the code I should be changing is in this block:[code]
View 7 RepliesI have a flash mp3 player nested in a header on my website, there is a list down the page of the most recently added songs, I want people to be able to click on a link to a song and have it load into the player in the header.
View 2 RepliesI am looking to have one html page with many links. When I click a link, I want to load an swf file somewhere else on the page (audio or video files). I am happy to use flash or javascript to call the different swf's.
View 1 RepliesI am trying to load xml links in flash by using CDATA but what I get as a result when I publish the movie is the code itself(<a href=[URL]) instead of the link. I am pretty sure that I have done something wrong with the actionscript, nodeValue part. Here is the xml I am using:
[Code]....
i am creating a website the links all swf externaly but when i load this on swf i get this error. TypeError: Error #1009: Cannot access a property or method of a null object reference. at labletest_fla::MainTimeline/frame1()
View 5 RepliesI'm trying to make links from my flash navbar load into an Iframe...I've tried everything but it never works
View 3 RepliesDoes anyone have a resource for this, I've done some seraching and found some stuff, but nothing that just explains how, if possible to play an audio file in a flash mp3 player when you click on a html link (whether using js/php or whatever).Example:1.) Mp3 are loaded through your standard xml playlist. (Play, stop, next, prev, etc. etc.)2.) User wants the flash player to stop the current song playing and play/load the song selected after clicking on one of the html links listed on a page.
View 2 RepliesI'm trying to make links from my flash navbar load into an Iframe...I've tried everything but it never works, is that even possible, if so,
View 3 RepliesI'm having problem with adding the URL links to the flash output. I'm using the XML file to call images and then the corrsponding links. Images are called correctly but when I try to add a link I'm not getting the links, but instead getting the HTML anchor tags as texts. I'm using the XML escape characters to escape the HTML tags but the results are not what I need.I'm using the following code:
<thumbnail preview="large.jpg" thumb="thumb.jpg"> <title><![CDATA[Finance Services]]></title> <discription><![CDATA[<a href="http://www.google.ca">Google</a>]]></discription> </thumbnail>
[code].....
I've got one swf(e.g. Library.swf) which has quite a few of my movieclips that are "exported for actionscript". And I've got another container which uses clips from my Library.swf.I've tried to set up Shared Libraries, but I can't seem to refer to dynamic clips and attach them onto my container swf.Can someone tell me what I can do to make dynamic use of movieclips in shared libraries work?
View 2 RepliesI'd like to add hot spot URL links to an FLV file, which is being played in a customised swf. I dont want to embed the video into the timeline, so I would like the hotspots on the FLV itself. Does anyone know how to do this. youtube seems to do it just fine. Is it triggered via an event embedded on the FLV, in which case does anyone know the AS code for it?
View 15 RepliesI have to make a list every document linked in a multiple .fla files. I can pull them up doing a find for .pdf but I can't figure out how to copy the links from the results field. Each file links to 1000+ pdfs, so i'd like to avoid doing this one at a time. Is there a way to export the results of the find function to a .xml or .txt file?
View 1 RepliesI am in a flash web design class and I am trying to use links to other websites from my swf file. I have done on (release) {getURL("[URL]", "_self");} , but all it does is load the safari, but nothing else. It does not go to the designated website?
View 2 RepliesI'm trying to dynamically create links from data in a JSON file.
I can load the JSON file and extract the data, but I'm not sure how to keep track of which URLs go to which titles.
For example, I create a text box and put the words "AOL Homepage" in it and another that says "Google Homepage". I know their respective URLs are [URL] and [URL], but how do I store that information so that when someone clicks on "AOL Homepage" it knows to take them to [URL]
I considered creating a dictionary that stores Titles and URLs so that whenever someone clicks "AOL Homepage" it looks that up in the dictionary and sees [URL]. However, if there are two equal titles, this method will not work.
how it was put together by making changes.
I have an .fla file where I'm trying to change some of the links. Say it currently goes to index-1.html and I want to change to aboutus.html.
I can't seem to locate where the actual link designation is .. from the documentation on Flash forums it should be in Actions, however I can't seem to find it.
i have a dynamic text box that gets it's contents from an external txt file.how to i set up and format links to websites in the external file so that they will work inside of flash. I've tried a few things, and nothing works.
View 7 Repliesi have a dynamic text box that gets it's contents from an external txt file. how to i set up and format links to websites in the external file so that they will work inside of flash. I've tried a few things, and nothing works.
View 7 RepliesI have a php file set up to send an email with an image attached.. I just simply need to run the script when I click a button..
Is this enough code to do this ? I haven't recevied a response yet !
The actionscript I have used is (I used an external class to save the image)[code]...
I've made a custom compontent wich mails your own drawings to you. But I have a problem to send an e-mail with attachment. I use the HttpService to send the data to the php-file, but I always get the Fault message (form phpFault()). This is my code in Flex:
[Code]....
I posted a thread in AS3 forum and uploaded an attachment. I would like to know how to delete an attachment from a thread, after it has been posted. I've been looking for this option, but couldn't find it.
View 1 Replies