ActionScript 2.0 :: Dynamic Clickable Mc With Php?
Apr 13, 2007
The PHP script below basically returns variables myImage0, myImage1, and so on. I know how to get the variables (URL's) into flash, and I know how to load the jpegs associated with each URL. What I don't know how to do is make each movie clip clickable, and be able to use geturl so that when they are clicked they can go to whatever.
[Code].....
View 1 Replies
Similar Posts:
Sep 2, 2009
I'm trying to simply dynamically load an image (or movie) and if the user clicks on it a web page is loaded.I have successfully been able to dynamically load an image but nothing happens when I click on it. I'm using Flash CS4 with AS 2. Here's my code
myPlayer.stop();myPlayer.unloadMovie(0)[code]....
View 3 Replies
Sep 25, 2002
I am wondering how to make a movie clip that contains automatic vertical scrolling dynamic text(from an external .txt file) I dont want to press buttons to scroll text, I need it to be constantly scrolling, then loop once the text has been read from the external txt file.
I also require each line of the dynamic text to be clickable links that will take each line of text to a specific link. Ive uploaded a zip file containing fla and swf i found which shows vertical scrolling text. However if i move any of the graphics and text field clips around the stage the text cannot be seen anymore. why is this? can you put all of the items on the main stage in a movie clip so i can resize and move the scroller around the stage?? I tried this but again the text disapeared when i exported the movie? Is this due to the x + y co ordinates in the scripting?
How can you adjust the size of this scroller without this happening? Can the scrolling text be taken from an external file and each line of text be a seperate hyperlink? Follow this link (copy and paste it into your browser window, DONT click on it): [URL]..
View 9 Replies
Feb 21, 2007
I have a movie clip that is dropped onto my main scene, and I have the AS below as the frame's AS.
The concept is simple: Create dynamic empty movieclips, position them, fill them, make them clickable. The code under "//////////////////////////////////////Code below here doesn't work" isn't working. The code worked fine when attempting to do this on my main scene, but I ran across some interface issues that caused me to put them into anorther MC. I understand that I only included the code for the first button, right now I would like to get at least one working.
Code:
for(var i=0; i<=43; i++){
iDepth = i + 200;
this["z_Brickmc_"+i] = this.createEmptyMovieClip("zBrick"+i+"_mc", iDepth);[code].....
View 6 Replies
Dec 13, 2010
I have developed a rolling credits style movieclip in Flash using Actionscript 2. Text is loaded from an XML file and parsed into a dynamic textfield. This text includes hyperlinks to webpages defined by a url node in the xml so Flash can add the appropriate a href to the dynamic text field and make the link clickable.
In my first attempts to do this the textfield stayed still and all the links worked fine both testing locally and when I run it in a browser on my website.Then I wanted to make things move ... which I achieved easily enough and tested locally (from within Flash Professional) and the links remained clickable, a browser window opened and the webpage i was expecting to see opened... great
However, when I export the swf, upload it and run it from my website suddenly the links are not working. So I tried to test the movie in a browser from Flash Pro - same problem, it must be something to do with Flash Player and the moving dynamic textfield.
a couple of observations - the cursor will change to a hand icon when over the links as you would expect, and if I right click on the link and click open in a new window the link works ok, just not when I left click. If I stop the scrolling then the links become clickable again, it is only when the textfield is moving... actually its not technically scrolling, im moving the whole textfield.
View 1 Replies
Jul 10, 2009
I'm obviously a Flash novice. I have a simple movie that I need to modify. On click (or double click) I need to have a web site open in a new window. I am using CS4. I have tried adding a button and associating action script with it. I usually get a message saying that action script cannot be applied to the highlighted object.
View 5 Replies
Nov 23, 2010
Problem is: right on the top of the site, there is a straight line and then with "x" and a round circle as if it's trying to open.
here is the attachment[url]...
Another thing this lightbox doesn't work in IE 8.
View 2 Replies
Jan 9, 2010
My Error was:
1120: Access of undefined property adclicker.
After I was creating a symbol and writing the following code on to the frame:
Code:
adclicker.addEventListener(MouseEvent.CLICK, callLink);
function callLink(event:MouseEvent):void
{
[Code]...
Solution:
I had to change the INSTANCE name to "adclicker" and not only have the symbol with that name!!!
- Choose the button -> Properties -> Instance name: "adclicker".
View 8 Replies
Jul 8, 2010
I have a MC with a hole in it, graphically speaking. I need something behind it to show through the hole. The MC has a button embedded in it, so its clickable. But where the hole is I am not getting the button finger when I play it.My button hit area covers the hole, but it won't recognize it apparently.URL...Its the 2 bluish polygons on the map.
View 1 Replies
Jul 9, 2009
I am having some difficulty creating a SWF file that had a FLV embedded that is completely clickable at any point during the video. Created a new Flash document and imported the video, using the "Progressive download" option. I have tried everything from adding layers with click instances (http://forums.adobe.com/message/256259#256259) to making a button the size of the video that is set at 0% alpha.Every time I either get the video playing that is not clickable or i get the flv icon flashing (no video) that is clickable, or I get the flv icon flashing and it is not clickable at all.I am using CS3 and just looking for a video banner ad.
View 5 Replies
Dec 3, 2009
On website [url].... you will see a big flash screen and on right 4 small flash images in a small box. How do they make small image clickable to another page? Also how do they have square follow image?
View 1 Replies
Nov 1, 2011
I'm using addchild to load an external swf into a swfContainer, but i realize that all the buttons and text links doesnt seem to be working anymore....
///////////////////////
swfContainer.addChild(loader);
////////////////////
I try not loading it into a movieclip instead i load in on stage addChild(loader); and everything works fine and why is that happening?
View 4 Replies
Aug 2, 2010
Is it possible to load a SWF into another blank SWF file and make it clickable? I have a (parent) flash which has a clickable transparent button on it and i am trying to load another external flash into this to make as clickable.
The external loading is working, but its not clickable. Without the external flash, the parent is clickable.
View 1 Replies
Sep 23, 2010
I was sent an swf ad for my website and when I mouseover it I get the click hand symbol but when I click a page loads with an error saying that the page cannot be found.
I tried to place an a href tag around the entire swf file but I get the same error. Is there a way to fix this without having the flash file?
View 1 Replies
Aug 27, 2009
I have a movieclip that sits underneath a mask. I have set up an event listener to listen out for the MouseEvent.MOUSE_DOWN on the movicelip in question but the handler doesn't fire whilst the MC is under the mask.. When I remove the mask everything works fine. So my question is this: Is a MovieClip clickable under a mask? If so - how do you do this?
View 4 Replies
Sep 29, 2011
iam using media display for display video , and media controller for controlling flv video, i want the seek bar to be clickable ,i made the clicking,but how to make the video to jump to the clicked time line. iam editing the mediacontroller.fla in .../en/components/ and coverting it into swc and using it
on(release)
{
var mcli = _parent._tray._xmouse;
[code].....
View 1 Replies
Jul 15, 2002
I was wondering if there was a way to stop a button from being clickable. Lets say the user has been idle on a site for 5 minutes. I want to flash movie to through up a translucent cover on the buttons and make the buttons not clickable.
View 3 Replies
Jun 15, 2009
I'm creating an xml generated gallery/menu, I have the gallery and menu populating fine but my issue arises when I try to make the menu items clickable.
This is inside my populate menu function
_root["mainMenu"+[i]].onRelease = function() {
trace(this);
var splitThis:String = this
var splitThisArray:Array = splitThis.split("Menu");
trace(splitThis)
trace(splitThisArray[1])
};
Now the trace output I get is
_level0.mainMenu1
_level0.mainMenu1
undefined
Although when I set splitThis to "_level0.mainMenu1" manually I get "1" or whatever number comes after "Menu".
View 2 Replies
Jul 29, 2009
So I got this AS3 game thats completely written in Flex without the .fla file and I want to put a clickable button that links back to a webpage to the mainmenu screen.
In the IDE and AS2(which is what I usually work in), it was just simply:
Drag button onto the screen Convert it into a button symbol and then do this:
Code:
on(release)
{
getURL("http://www.urlhere.com",_blank);
}
[Code].....
View 2 Replies
Mar 7, 2011
I created 3 buttons in flash (biography, music, contact). Whenever you hover over them,they animate. Is there a way to make these clickable objects in Dreamweaver? I've searched and found out about the 'invisible button', but this doesn't work for me because it takes away the animation I created.
View 2 Replies
Jun 10, 2011
I have dataGrid that is pulling data from an XML file. How do I make each data row clickable and load 1 of 3 SWF's (depending which you pick) onto the stage.[code]...
View 1 Replies
Aug 27, 2008
trying to bring in a list of people from an XMLdocument when a button is pressed, and once that list is broughtin, I want to make each name clickable so that a reader can findout more information about that person (the text of which wouldalso be from an XML document). The first part seems fairlystraightforward (see coding below; Im not sure if this isthe best way to do it, but it seems to work). Im stumped,though, about how to do the second part (make the names clickable).
View 5 Replies
Aug 24, 2009
I am creating a survey in flash to survey people's opinion about the temperature in a building. What I am hoping to do is have a scale which the surveyee can click on (see attached image) with 5 options from Too warm, warm, just right, cool, and too cold, and record where on the scale they click.
For example, if "Just Right" were correlated to an answer of 3 and "Warm" was correlated to an answer of 2, and a user were to click halfway between the two, I would want the recorded value to be 2.5. If they click closer to "Just Right" I want the recoded answer to be 2.8, etc.
It seems that the quick and dirty way I can think of doing this is to create a serious of invisible buttons over my scale which can then tell me where they click, but then I am limited in the granularity of the answer and it would just be a pain to create that many buttons.
View 3 Replies
Sep 21, 2009
I have a layer of buttons and then on top i have this overlay that fades on at times.While that overlay is there all the buttons under it are still clickable and the cursor still changes to a hand. How can i make the buttons not clickable when there is an object on top of it?
View 1 Replies
Dec 29, 2009
Just got started with Flash again after several years of not using it. I am familiar with the layout when I set it to "classic" but for some reason I can see the timeline area, but it is grey and I cannot create any frames or click anything in that area.
View 1 Replies
Mar 31, 2010
I want to make my action script shape clickable and to give it actions but I get this error1119: Access of possibly undefined property buttonMode through a reference with static type flash.display:Shape.
View 1 Replies
Jul 8, 2010
i want to draw a map of a campus. then when you click on different buildings, the building pops up big (possibly with text alongside it)any links to a tutorial how to do this?
View 8 Replies
Aug 12, 2010
I have a small(220x123) Fla file with only one small FLV video file in it.Iwant to embed this video into an html and make it so that it acts likea button - when the user clicks, another html page is launched.Inside Flash I imported the FLV, I made an invisible button on a separatelayer (btn_cover_all) that covers the flv.On the Actions layer I putthe code below. After publishing and embedding the code into the html - the video plays and responds to mouse-over but the link doesn't work.How do I make this FLV act like a link or button that launches another html page?
View 2 Replies
Dec 31, 2010
I have added an on click event to a child object which is not always displayed Its pearent object also has on click events. There are two problems.
1) Whenever I click on the child object the pearents onclick behavior also runs. I do not want this to happen.
2)The child object can be clicked on even if i set its alpha to 0, or set its display property to false or send it to the back of the stage. This means its behavior can be invoked by the user even if it is not visiable I dont want the child object to be clickable when it is not dispayedI dont want the pearent object to be clickable through the child object
View 1 Replies
Mar 30, 2011
what i am trying to achieve:i need to create a navigation MC that, when rolled over, opens up to reveal a few buttons. (and when rolled off closes the navigation MC - basically a "play backwards" MC)
[Code]...
View 2 Replies