ActionScript 2.0 :: Make A Movie With A List Of Links?
Nov 27, 2005
I have followed the tutorial by b.rich on Arrays and attachmovie to try and make a movie with a list of links. the MC that I attach dynamically has a AS 2.0 class attached to it to handle its rollover and rollout states. An invisible button in the MC (instance name lbutton) carries the AS for the link and sits on the topmost layer. My newbie brain just cannot get around two problems:
1. The links just wont work.
2. I have quite a long list of these. How do I fit them all in the MC (all my attempts show the links spilling out of a container MC and onto the main stage), make the MC scrollable and then put it on the stage?
View 8 Replies
Similar Posts:
Feb 5, 2008
I'm trying to make a list component in flash 8 have a links in them. So far I have this Actionscript in the main timeline for the component. I named the List component on the stage as "list"
[Code]...
View 2 Replies
Aug 25, 2011
Im trying to make a projector movie that links to a pdf (in the same folder) on a CD that needs to run in both windows and mac. Im able to get it to work on a pc but not on mac. here is the code for the button i used in the projector.
on (release) {
fscommand ("exec", "manual1.bat");
and bat file open a pdf file.so i want to do the same thing for mac, that is using the fscommand to open up a pdf in acrobat. I read messages here that use applescript but i dont understand it too well so what id like to know if possible is the applescript, what it does and do i apply it to the button in my projector or do i tell the button to look at the applescript or what? I guess thats it for now.
View 1 Replies
Mar 23, 2007
I am new to this and have looked all over for tutorials and can't find a thing. I am looking to have a list box with a list of items that are called from an XML file. Each item would be linked to
View 2 Replies
Oct 9, 2008
I have created AS3 script for loading and parsing an RSS feed. I have successfully displayed the "title" node on the stage in a List Component with the instance name "blogList". Now I wish to use the corresponding "Link" node so that each item in the list will open a web page to the link for that story. I have been able to get each title to link to the last URL link in the RSS feed.
View 1 Replies
May 28, 2009
I 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 Replies
May 8, 2011
I'm currently working on a flash website. On the homepage I'd like to incorporate a dynamic list of links similar to the one found in the main content area of URL.. (you will need to visit this site for my post to make any sense)Due to my low level of experience, I do not expect myself to accomplish this in the near future, however I would like to work towards it. What i'm looking for are pointers of what areas of AS3 I should begin researching to achieve this?
- The links are taken from an XML file, and the site is updated through this.
- When a new link item is added to said XML file, they're pushed into an Array.
- The position of the object in this array is somehow referenced in the XML file, and this provides the appropriate link.
- There is some sort of conditional statement that sees if the link added is text or an image, and based on this a different tween is used for the rollovers/outs etc of each link.
- There is a maximum character limit set to each page of links, and when it is exceeded the links are pushed to the next page, and the dynamic text is updated accordingly, specifying # of links etc.
Is there a more efficient way to go about creating a list similar to the one found on ogilvy.com?just pointers on where I should start in building this sort of application.
View 1 Replies
May 26, 2009
I am trying to generate a list of links via xml using as3. I have created a movie linkHolder and a text field called linkText. I then add link text to linkHolder and add linkHolder to the stage. I have an eventListener attached to linkHOlder which calls a function and when I roll over the links it activates the function correctly. How do I give a unique id or reference to each button so that I can pull up the correct link associated with it? Here's some of my code:
[Code]...
View 2 Replies
Apr 8, 2003
I'm trying to pull a list of links from an xml document. However, when i get it to print out in flash, it doesn't have them as links. How would I go about correcting this problem?
View 1 Replies
Mar 4, 2011
[code]I want to extend the list with hyperlinks. For example in every node I should have an href attribute also. Then I need to redirect users to the selected item. I know Flash has the URLRequest class. The little problem I have now is to get the selected item. It propably is because of the dataprovider is xml and I haven't done the correct casting.
View 2 Replies
Apr 12, 2005
I need to create a search "thing"! I have a database with, for ex., 10 names, with age, color of eyes and hair. I need to create some form were you choose to search for someone between 20-30 years, blue eyes, brown hair, and then the results appear on a list with links to each case... did I made myself clear?
View 1 Replies
Jul 6, 2011
When a user selects a category from the first drop down box then i want the 2nd drop down to be updated based on the selection of the first drop down. I have created multiple ArrayCollections whose names are set to the "data" values of the first drop down, for instance:
[Bindable]
public var countries:ArrayCollection = new ArrayCollection([
{label:"USA",data:"USA"},
[code].....
View 2 Replies
Jul 19, 2009
I have an array called "webSite" that has a list of website addresses (url..).I have this code snippet that works great except that all the siteButton moviclips all go to the last website address in the "webSite" array.I need each button that is created to go to the proper website in the array. (siteButton[0] goes to webSite[0], etc.).Here is the shippet of the code where I am having the problem.[code]...
View 2 Replies
Sep 14, 2010
I have a menu bar that has 2 Drop down menus. Each drop down is a separate movie clip, with 3 buttons inside that are separate movie clips. I have a class set to the buttons that are movie clips for a roll over effect. But when I mouse over it does not work. Also on the main time line I tried to add a like to a web page but it did not work. But I only have this problem with the movie clips that are inside the drop down movie clips.
Why is this? How do I add roll over actions and external links to movie clips that are inside of another movie clip? I really need some help this is a problem I have been having for about a month or more. I am still a AS3 newb and this is my first time using classes. The other classes I have work with everything else, Im just having trouble with the movie clips that are inside movie clips.
View 11 Replies
Jan 10, 2010
I have an object on the stage (with an instance called mcBlackboard) that contains two buttons.
I'm trying to make these buttons link to pages on my site but I get the following error(s):
1120: Access of undefined property buttonAboutUs
1120: Access of undefined property buttonFAQs
My guess is that it's not finding the buttons in the movieclip (since the script worked fine when the objects were on the stage).[code]...
View 7 Replies
May 9, 2006
What is the Action Script code that makes me able to make a download link? I used "getURL" but this way user is forced to open the file, I want to make him able to download the file and save it to his hard disk. How I can make this? For Example, if the file was an audio file, I don't want it to open directly with the default player, I want to make user free to save it to his PC or play it online.
View 2 Replies
May 15, 2005
I'm trying to do a collasplble menu, after hours of search (Google) I've found a great FLA, really.. but I don't know why, I cannot make url links, it only work with external SWF..
[Code]...
View 1 Replies
May 25, 2009
My goal is making a navigation section that is a scrollable box. I thought the easiest solution was to make a dynamic text box and put a scroll bar on it. Worked until it came time to make the links. It is only letting me make one link for all the text. Also I think I want more control for the mouseover look.
View 3 Replies
Jul 26, 2009
I have a flash that I am trying to make the buttons/links towork on and no matter what I do they just do not work. I have many hours into it so far and just had no success weather using my CS3 how to book of the forums information.I not sure what I am missing. Never had this much trouble before. the first one I tried is HOME, have not gone farther since I can make the 1st one work.[URL]..
View 1 Replies
Sep 7, 2010
What do you do when you code as always, but some folks report that the mouse cursor does not become a hand to indicate link behavior? Also, how can I make the cursor change to a big arrow? Flash CS3, Mac AS 2
View 11 Replies
Jun 29, 2011
I am trying to make a button to change its url from an external folder. Is that possible ?[url]...
View 8 Replies
Dec 10, 2005
Im trying to make a page with many vdeos links and each vdeo link has just a path for a variable in java...with the right name of the flv file.This is for make only one swf with a video player that changes the videos with the links in java, but dont work..
[Code]...
View 1 Replies
Jan 13, 2008
I found a cool menu that I'd like to be able to use but right now I don't know how to make the buttons become functional links. If its just a matter of editing the XML only? Or...does something need to be added to the actionscipt as well. I have a hunch both need to be edited and I have already tried various revisions. Below is the link where the example and files can be found. Be aware that if you try to use the actual files you will need an mc tween extension found at [URL].
Here is the XML code
<?xml version="1.0" encoding="iso-8859-1"?>
<item nazov="button num 1 "load="" image=""/>
<item nazov="button num 2" load="" image=""/>
<item nazov="button num 3" load="" image=""/>
<item nazov="button num 4" load="" image=""/>
[Code] ....
View 2 Replies
Jan 27, 2010
I have tried to do those thing for couple of days( and nights), and every time some part of the code that i write in there does not work.I have tried to do Drop Down in animation (motion tween), i have also tried to do links, but i just dont get them work.
View 1 Replies
Jun 19, 2009
How on earth do I get the HTML links inside a flash movie open up in the same browser window where said movie is embedded in (As opposed to opening up as a new pop-up windows)? Here is the code I have inside each of the buttons I have inside my flash movie:
var link7:URLRequest=new URLRequest("videos/december.html");
videos_btn.addEventListener(MouseEvent.CLICK, buttonClicked7);
function buttonClicked7(event:MouseEvent):void
{
navigateToURL(link7);
}
View 3 Replies
Sep 27, 2010
create links in a dynamically loaded text box? I have a dynamic text box with this code (Flash MX/1.0):
loadText = new loadVars();
loadText.load("news_txt.txt");
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.newstext;
};
I followed this tutorial [URL] but I need to be able to make links within this text. I'd like to be able to add other HTML code to the text (bold, underline, etc.) but just being able to make hyperlinks from the .txt file would be great.
View 5 Replies
Aug 25, 2009
Please go to [URL] and click on the photo gallery link. Then click on any other link. The photo gallery stays on the page! how I can make it go away when clicking on other links? The actionscript for the photo album is on the last frame in the actions layer.
View 1 Replies
Sep 26, 2005
I am trying to make a links box that reads data from a XML file and inturn generates all the buttons and when clicked on will open the specific page in a new browswer window.this is what I have so far: a box that reads the XML, makes individual buttons and a scroller to see all the links if there are more than what can be displayed. See example HERE. Here is the code for the actionscript...
PHP Code:[code]......
View 4 Replies
Sep 29, 2006
"Instead of laboring many hours tracing a bitmap in Illustrator or Freehand, you can use a little known Flash tool to convert a bitmap into a vector - the Trace Bitmap Tool. There are two reasons you may prefer vector over bitmap in your flash movies. One: to achieve a cool look. Two: to lower your file size."
you put that text in a text field in flash but you will need to have links on the word flash and illustrator and freehand... how do you do the links? do you convert all the text to a graphic and then transform the works that you want in buttons??
View 2 Replies
Oct 2, 2007
Im trying to make 2 different links in this actionscript without taking the rewind feature off or using an alternative rewind.
stop();
this.onEnterFrame = function() {
if (rewind == true) {[code].....
View 3 Replies