External Flash Linked Html Buttons
"
<input name="Submit" type="submit" onClick=" controlShockwave('flashmovie','','GotoFrame','1')" value="Submit">
"
This is the HTML code i use to activate a frame in my movie. Everything works great, but now i'm trying to use this button while in a frame of the index.html
The index.html contains the flash movie and frame [with the button].
Is there a way of targeting this button outside of the frame?
FlashKit > Flash Help > Flash General Help
Posted on: 03-09-2003, 02:34 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Interactive Flash Button Linked To Html Page
i was wondering if it was possible to click on an interactive flash button and have that button linked to an html page?
i know you can embed a flash movie into html, but i dont know how to link my animated flash button (once clicked on) to an html page.
any help would be greatly appreciated.
Linked Flash Files With Linked Sounds.
First of all heres my project:
http://athene.riv.csu.edu.au/~jgalvi...ic/Soundcomic/
The big black smudges are buttons, so click the one to the right and the page should load.
My lil problem is that due to other effects I wanted to add I have sound linked within each of these seperate pages.
Each page has several panels, each of which plays a sound when the mouse rolls over it. This sound is played via a:
var snd1 = newsound();
snd1.attachSound("the_sounds_name");
SO each of these pages works fine by itself.
BUt I have made a "loader.swf" page where by clicking on buttons advances them timeline to another page that is loaded into an empty movie clip ("container") using:
container.loadMovie("page3.swf");
SO now when I load this way, the sounds do not play.
Is there anyway around this besides going into each seperate panel movieclip and adding it to their timelines?
PLEASE?!
Buttons Linked To Mc
hi. the content of my webpage are all movieclips. how can i link those movieclips to the buttons in my nav bar? say.. the news button is linked with the news content movie clip.
Buttons Linked
Hi guys,
Im trying to link a button to another web site, I have tried to to use 'get URL' from the action script but that dose not seem to work. What am I doing wrong, can any one help?
Cheers.
Linked Buttons
Hi,
I have a flash movie with 4 independant buttons in. Each one changes state to an 'on' state when clicked, but I would like to configure it so that only one can be on at a time. At the moment they can all be clicked and turned on. Ideally when one is 'on' and another is clicked, I would like the one which is on to turn off, and the new button go to its 'on' state.
If anyone wants to see the SWF file i can email it.
Many thanks for any help,
Anders
Buttons Linked?
I have applied some actions to a text button -- button 1 --when you roll over it some text drops down.
I have copied button 1 and would like to modify the text in this new button 2.
however, when i change the text in button 2 it automatically changes the text in button 1 as well.
are these somehow linked together? how can i unlink them, so i can copy text buttons and modify each of them to be unique?
any help would be appreciated!!
thanks.
dg
[F8] Scenes Linked To Buttons
hey,
i have nearly finished creating a flash movie and have had some problems with linking buttons to scenes i don't want to start again so any help would be great.
I have hosted my movie, please take a look at it
http://www.sharebigfile.com/file/102...ystem-fla.html
Buttons Linked To Sites
Hi guys,
i have linked a flash button to a website which works fine.
but i have a few problems when i hit the button it opens a new window i want it to open in the same window.
please see below
http://www.omegaad.com.au/
cheers.
Dynamically Linked Buttons
Does anyone have a script for button effects using dynamically linked jps from a folder.
Rather than using the attach movie from libraries.
Thanks
Osiyo
Dynamic Linked Buttons
I have a horizontal image scroller that has dynamically linked graphics and text underneath - I would like to also make a button that is linked dynamically to a text file so that my web guy can change the url on the fly - any ideas.
Dynamically Linked Buttons
Good Afternoon, Im new to actionscript so I need a little help - I figured how to make a dynamic image scroller - I think im using dynamic right. I have a txt file that flash looks to for text content and images, I did this with a loadvariable command. I would like to be able to create buttons that the hyperlink can be updated in the same way - any suggestions, it doesnt work the same as my dynamic text box with a variable name.
Duplicating Buttons Without Having Them Be Linked
Hi-
This seems so outrageously simple, but it's been driving me crazy for months now.
I build up a useful element, such as an animated button with a description on/in it.
I want to make 5 copies so I'll have five similar buttons to do other things.
But they stay linked. If I edit the elements of one, they're all edited.
How can I "copy" things and have them operate independently of one another?
Thank you, thank you, thank you for your help. (I've got a bunch of buttons to do for a project due tomorrow. )
Url Linked From Button Works From .swf But Not Html
Hi there,
I have created a short animation using Flash Mx, and there is a blank button in there, that when clicked (on release) goes to a url.
It works from the .swf file but not from the html. Is this something to do with the publishing settings. I looked at the source code and it looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>60years_finalversion</title>
</head>
<body bgcolor="#ffffff">
<script language="JavaScript">
<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function 60years_finalversion_DoFSCommand(command, args) {
var 60years_finalversionObj = isInternetExplorer ? document.all.60years_finalversion : document.60years_finalversion;
//
// Place your code here.
//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<script language="VBScript">
');
document.write('On Error Resume Next
');
document.write('Sub 60years_finalversion_FSCommand(ByVal command, ByVal args)
');
document.write('Call 60years_finalversion_DoFSCommand(command, args)
');
document.write('End Sub
');
document.write('</script>
');
}
//-->
</script>
<!--url's used in the movie-->
<a href="http://www.brookstreet.co.uk/?page=122"></a>
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="60years_finalversion" width="359" height="180" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="60years_finalversion.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="60years_finalversion.swf" quality="high" bgcolor="#ffffff" width="359" height="180" swLiveConnect=true id="60years_finalversion" name="60years_finalversion" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
I am not sure why it isnt working
any help much appreciated!
Adding A Html Linked .jpg To A Scrollable Box?
Greetings everyone!
The title pretty much says it all... I'm reading the flash mx 2004 foundation book from friends of ed and in this book i stumbled upon an example where they made flash show a .jpg inside a txt field using html tags. I'd like to build that together with a scollable text... like one of the many scrollable text tutorials here on kirupa. Only problem is (big surprise here) that I can't make it work... But then again - I have no idea if one could actually just couple the two examples together - at least you can't do it the way I did
Basically in the foundation book they just wrote like this:
<img src='/yourDirectoryName/yourFileName.jpg'>
I got that working with a textfield without scrolling on my 1st hideous test at: www.theisjacobsen.dk under "study"
When I put it in one of the scrollable text tutorials here at Kirupa it just displays the entire line with <img> tags, paths and everything like it was part of the normal text...
Any good advice?
btw: the picture is just part of a grab from my desktop... a wallpaper from 2advanced - not my work and just there for a quick test just so people don't think I stealing and/or using other peoples work! Thanks..
Issue With Linked Images (HTML)
Hi guys!
Long time lurker - first post .
I'm having some problems with loading linked images into Flash. The code is in HTML and stored in an external file on my server. This is an issue I just haven't found any solutions to, and I'm hoping someone here has some good pointers.
Let me start by providing you with the simple HTML code that's causing me the headaches:
Code:
<a href="http://www.link.com/link.html" target="_blank"><img src="getAdobeReader.gif"></a>
Now, at first everything looks just fine; the image is loaded and placing the mouse over the image correctly indicates that this is a link by changing the "pointy hand" icon. However, when trying to press the button nothing happens. When moving the mouse outside of the button it still looks like a hand. Now, when pressing the linked button a second time a new IE window opens and the correct URL loads correctly. The strange thing is, that the mouse needs to change position over the button before pressing the second time, otherwise it doesn't work (!). When replacing the image with a simple textlink instead it works perfectly.
Anyone ever seen this before? You can see this issue on the website I'm working on at this moment (work in progress mind you! ).
http://www.sjostaden2.se
Press the second button on the top menu (Föreningar), and then "Stadgar" on the left menu. You'll see the "get Adobe Reader" button on the right.
Thank you in advance!
Regards,
Patrick J.
Adding A Html Linked .jpg To A Scrollable Box?
Greetings everyone!
The title pretty much says it all... I'm reading the flash mx 2004 foundation book from friends of ed and in this book i stumbled upon an example where they made flash show a .jpg inside a txt field using html tags. I'd like to build that together with a scollable text... like one of the many scrollable text tutorials here on kirupa. Only problem is (big surprise here) that I can't make it work... But then again - I have no idea if one could actually just couple the two examples together - at least you can't do it the way I did
Basically in the foundation book they just wrote like this:
<img src='/yourDirectoryName/yourFileName.jpg'>
I got that working with a textfield without scrolling on my 1st hideous test at: www.theisjacobsen.dk under "study"
When I put it in one of the scrollable text tutorials here at Kirupa it just displays the entire line with <img> tags, paths and everything like it was part of the normal text...
Any good advice?
btw: the picture is just part of a grab from my desktop... a wallpaper from 2advanced - not my work and just there for a quick test just so people don't think I stealing and/or using other peoples work! Thanks..
[F8] Buttons In Externally Linked Library
Hi
I'm experimenting with external library's and im having problems with button symbols.
I have an external library with called lib_buttons.swf its all linked fine I think and I have placed an button from the external movie on the stage of my main movie, main.swf/fla
but for some reason when I add actionscript to the button
Code:
on( press ){
gotoAndPlay('quit');
}
the code does not work.
buttons in the local library. with the same code work fine. Is this a scope issue.
G
Dynamically Linked Scripted Buttons
I have been adding button effects by linking to images_mc in the Library.
How do I do the same scripting but by pass the library and link straight to the art "art.jpg" in a folder.
Thanks
Osiyo
Problems With Buttons Linked To Pop Up Windows
I am currently piecing together my personal website. I have read the tutes on how to launch centered pop ups. If I create a blank .fla and make buttons with added actionscript to each button, when its previewed it works fine, and it will load the specified link in the actionscript. If I try to this in my current .fla movie which is going on the web, the buttons do nothing at all. Ive tryed everything I possibly could: putting all the buttons that are in the movie together in one movie clip and placing the clip on the stage, re creating the .fla from scratch, putting the contained pop up buttons directly on the stage, deleting everything in my main movie that Im trying to affect, and just placing the contained pop up buttons. There are four buttons on the stage in one layer, each button linking to an html document in my site. They work fine. Then three buttons which each have links to 3 separate pop up windows which will load three separate html documents fit to the size of the pop up windows.
Can anyone help me with this?
Problems With Buttons Linked To Pop Up Windows
I am currently piecing together my personal website. I have read the tutes on how to launch centered pop ups. If I create a blank .fla and make buttons with added actionscript to each button, when its previewed it works fine, and it will load the specified link in the actionscript. If I try to this in my current .fla movie which is going on the web, the buttons do nothing at all. Ive tryed everything I possibly could: putting all the buttons that are in the movie together in one movie clip and placing the clip on the stage, re creating the .fla from scratch, putting the contained pop up buttons directly on the stage, deleting everything in my main movie that Im trying to affect, and just placing the contained pop up buttons. There are four buttons on the stage in one layer, each button linking to an html document in my site. They work fine. Then three buttons which each have links to 3 separate pop up windows which will load three separate html documents fit to the size of the pop up windows.
Can anyone help me with this?
SWISH And Html Linked Pages For Website
My site has pages for the homepage menu, but when I click on them they do not come up. I have created this site from SWISH 2.0
It is as easy if not the same as FLASH, but when I click on a menu button it takes me to outter space location and tells me that it can not be found.
But, I have the pages on my server. How can I link the SWISH pages (html) so that the right page will open up?
www.ibmagazine.com
Intro Animation Linked To A HTML Page
I have a flash animation used as an intro of sorts of a webpage. When the animation ends, I need it to link directly to another html page, the main page of the site. Is there action script to do this? Or do I just need to employ a redirect?
thanks!
Combobox Linked To XML In External SWF
I have made a track/artist/album database linked to an XML file as a 260x150 px module to load into my main SWF page when the user clicks a button. When tested as a lone SWF, my track list module works fine. However, when it is loaded into the main SWF, the comboBox does not respond, but the first listing is visible.
Please help, I need to finish this ASAP!!! cheers
Two Movie Clips Linked To Multiple Buttons..
I have two mc's linked to 5 seperate buttons. I want one of the clips to always play on release of any button.
The second mc, however, I want to play only once on release of those same buttons.
How can this be achieved?
Thanks for any suggestions.
Creating Linked Multi Coloured Buttons?
I am intersted in creating a menu link the one in this website [http://www.visualdata.org/] where all the buttons and the shape they are held in changes colour when the buttons are pressed. Anyone have anyideas hows its done?
Does each button contain details to load up all the buttons again but with tweening there colour in from transparancy thus allowing in to tween from the colour in was before its pressed?
Any advice on how to get there would be extremly appreciated!
Many thanks
Matt
Dynamically Linked Scripted Buttons Not Working
Cant get second image to load on Rollover:
this.createEmptyMovieClip("clip1_mc", 10);
clip1_mc._xscale = 100;
clip1_mc._yscale = 100;
this.clip1_mc.loadMovie("media/myimage5.jpg");
//Load Image
this.clip1_mc.onRollOver = function() {
this.clip1_mc.loadMovie("media/myimage5.jpg");
};
Animating 2 Buttons Linked On An Axis, For Mouseover.
HELP!
I'm a rookie at flash and need some help to get started. On my index page I have 2 links (one a picture of a camera and the other a picture of a cocktail. I want the 2 images or buttons to be linked on an axis, with the axis being in the middel of the 2 images. So if you imagine a camera and a cocktail on a invisible tray. When you rotate the tray, the camera gets bigger and comes towards the viewer, and the cocktail rotates away from the viewer becoming smaller. And when the tray is rotated the other way, the camera goes smaller to the back and the cocktail rotates closer to the viewer. So when the cursor is over the camera it will rotates closer and the cocktail rotates to the back, and vise versa.
I want it to look realistic with the perspective changes as well so i will photography the items myself in the different states.
Where do I begin? Is this a motion tweening thing and/or actionscript? Any help is much appreciated, thank you...
Just need some help to get pointed in the right direction...
Flashvars: HTML Pages Linked To Embedded SWF Labels
Hello,
I'm trying to connect my HTML pages to the correct SWF labels, using flashvars.
If i add this line of code (see bottom pls) into the <object> param:
In Flash, what should i write into the corresponding frame action?
Thanks for your help!
Attach Code
<param name="FlashVars" value="labelFrame="1">
Attach A Linked Sound From External Swf
ok does anybody know how to do this ?
so in the library you can create a linkage for a sound and then you could call the sound with the sound objects.
but what if you load an external swf into your movie wich contains a few sounds with linked names.
how can i call those sounds ?
i've tried stuff like
sound.attachSound("_level10.testsound");
but that doesn't work
anybody has a solution ?
Linked Sounds In External Swfs
Here's the deal. I'm working on a site that loads a .swf that contains the music. Inside that .swf the sounds are linked in through the library and initiated using the script:
var sec1:Sound = new Sound();
sec1.attachSound("sec1");
sec1.start();
The problem is that nothing is playing. One thing I tried was loading that .swf in at layer0 on the main timeline. It worked (which is good) but it replaced all the content on the main timeline (which is bad). What do I have to do to get this thing working?
Thanks in advance for the input,
_ag
How To Create Page X Of Y Display Linked To Next And Previous Buttons
I am using FlashMX 2004, I have created a presentation by importing Powerpoint slides and adding my own page navigation buttons (home,next and previous). I would also like to add a text display of the current slide in the following format: Page X of Y with X being the current Slide/Frame and Y being the total number of Slides/Frames. I have seen this functionality in the pre-defined Quiz Templates, but being new to Flash I am unable to figure out how it is done. Has anyone done this? I so can you tell me how to do this or point me to a sample or tutorial that creates this?
Thank you in advance,
thewiz2005
Please Help With Code (attachMovie,Array[index],linked Buttons)
Please, please, on my knees, could someone have a glance over this code and offer some answers as to why the buttons are not working.
I am trying to morph to files so as I have the functionability of the buttons and the advantage of fading into two levels to decrease CPU grind.
Thanks (perhaps some knees pads will be in my stocking!)
zipped file attached ((PC) MX 2004)
//Main file
ActionScript Code:
var swfArray = new Array("mixed/1.jpg", "mixed/2.jpg", "mixed/3.jpg")
var totalNumPics:Number = swfArray.length;
var maxDepth = 1000;
var cpicnum = 0;
var xi = 50;
var yi = 20;
var btnWidth = 25;
var currentpic = 0;
var buttonHolder = visible(false)
////////////////////////////////////////////
function loadNextPic() {
if (_root.cpicnum<_root.totalNumPics) {
var pic_mcl = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
trace(target+".onLoadProgress with "+bytesLoaded+" bytes of "+bytesTotal);
_root.percent = int(bytesLoaded*100/bytesTotal);
};
listener.onLoadComplete = function(target_mc:MovieClip, httpStatus:Number) {
_root.percent = "Done!";
var param = {_x:(_root.xi+_root.cpicnum*_root.btnWidth), _y:_root.yi};
var temp = _root.attachMovie("btn", "btn"+_root.cpicnum, _root.getNextHighestDepth(), param);
temp.num = _root.cpicnum+1;
_root.cpicnum++;
loadNextPic();
};
//
var target1 = _root.attachMovie("picHolder1", "picHolder1"+cpicnum, 1, {_x:50, _y:50});
var target2 = _root.attachMovie("picHolder2", "picHolder2"+cpicnum, 2, {_x:50, _y:50});
pic_mcl.loadClip(swfArray[0], target2);
pic_mcl.addListener(listener);
///////
target1._alpha = 100;
target2._alpha = 0;
activeTarget = target1;
currentIndex = 0;
target1.loadMovie(swfArray[0]);
}
}
onEnterFrame = function () {
if (obj1._alpha>0) {
obj1._alpha -= 10;
}
if (obj2._alpha<100) {
obj2._alpha += 10;
}
};
loadNextPic();
this._lockroot = true;
Code on button
ActionScript Code:
this.onRelease=function(){
if (_root.activeTarget == _root.target1) {
_root.obj1 = _root.target1;
_root.obj2 = _root.activeTarget = _root.target2;
} else {
_root.obj1 = _root.target2;
_root.obj2 = _root.activeTarget = _root.target1;
}
///index below is just a test to see if obj2 is in fact loading. Ideally I need for the index to find the current picture number??///
_root.currentIndex = 6;
//load content into second clip
_root.obj2.loadMovie(_root.swfArray[6])
}
Enquiries On Whether Fla Can Be Linked To Another Fla, Swf To Flv Or Other Video Format And Buttons To An Animation
I have 3 enquiries.
1) How do I embed another fla within fla.
For example, I am working on a fla, is it possible to create a link to another fla via a button?
2) How do i convert a swf file into a flv file or any other video format like avi, mp4, etc?
I am asking this because I realized when I try to import a swf into my fla file, I could only bundle it for mobile. Neither the progressive nor the streaming nor the embeding options could be checked.
3) After adding tweening motion to an animation, is it possible to add buttons to play/pause? Do I have to write a script to enable the buttons to work?
I tried adding buttons (Windows>components>video), however, the buttons were not functioning like the case when I imported a video. I think it's because adding tweening to an animation doesn't really dismiss it as a video file.
I would greatly appreaciate if anyone could post a solution to my problems.
Thanks.
XprtHelp: Buttons In Mc Linked To Labels On Main Timeline?
I am making a very simple site with one timeline. This seems so simple but it isn't working: i created a mc that contains several buttons with over states. I placed the mc in my navigation menu with an invisible button to close it when user's mouse moves off. Where do I link the buttons in this movie clip to labels on the main timeline? It seems like I should select them in the mc, and use gotoandStop on that label. But when I click them in testing the movie, they don't work. I posted the (very) unfinished swf to my url: jkbeasley.com
Can anyone help? I am sitting here alone with no experienced flashies to ask, and I hate when something so easy just will. not. come. to. me!!! THANKS!!!!!!!
K
Path To Linked HTML Document Doesn't Work After Burned To CD
Well in a nutshell that is the problem. When ever I burn to the CD my link to the html documents gets lost. Not sure what to do. It works on my computer. Can it not find it because the back slashes should be forward slashes.
on (release) {
getURL("../player%20file%20s/player%20files/viscusi1-01-wma launch.html", "_blank");
}
Please help.
Thanks
cs
Stationary Text Field Linked To Rollover On Scroll Bar Buttons
Hello everyone,
I'm new to flash, and I started using MX about a month ago. I'm trying to create a scrollable bar of buttons, that moves due to mouse position. I accomplished that, but what I need now is a text description that comes up in a stationary place as you rollover each button.
I tried this in several different ways but none of them work without it moving along with the scrolling buttons. I have the fla, and an example swf up on my idisk. I would apprecite any comments or help. Thanks.
Link:
http://homepage.mac.com/WebObjects/F...leSharing.html
Loading An External Image Into A Linked Movie Clip...
Hi all,
Okay, I've got animated movie clips within my swf, which I call via attachMovie code, and I want to load an external images into them.
I've tried putting a clip within each animation, and putting this code on the first frame of that clip:
this.loadMovie("resources/hotel_image_1_final.jpg",1);
But while this works for the first image, images 2, 3, and 4 return this error:
Target not found: Target="/main/ImagesClip/ImageHolder/instance29/instance30" Base="_level0.main.ImagesClip.ImageHolder.instance 29.instance30"
Can anyone tell me what's going wrong? Or an alternate way to load the images?
Cheers.
Actionscript Files Aren't Loading When Linked To External Swf
Hey, I've been looking around and I can't fix this problem. well 2 problems.
1. I have two .swf files, individually they work perfect. but I have it so my main page trys tries connect to my contact.swf. When I click the button for my contact.swf this appears:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Drawing/::init()
at Drawing$iinit()
The contact.swf has a Drawing.as file attached to it. here is the code
Code:
package
{
import flash.display.Sprite;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.filters.BlurFilter;
public class Drawing extends Sprite
{
private var canvas:BitmapData;
private var color:uint;
private var size:Number = 20;
private var density:Number = 500;
public function Drawing()
{
init();
}
private function init():void
{
canvas = new BitmapData(stage.stageWidth, stage.stageHeight, true, 0x00000000);
var bmp:Bitmap = new Bitmap(canvas);
bmp.filters = [new BlurFilter(2, 2, 3)];
addChild(bmp);
stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseUp);
}
public function mouseDown(event:MouseEvent):void
{
color = Math.random() * 0xffffff + 0xff000000;
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function mouseUp(event:MouseEvent):void
{
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function onEnterFrame(event:Event):void
{
for(var i:int = 0; i < density; i++)
{
math stuff
}
}
}
}
the class is a documented class. here is how I call contact.swf from my mainPage.swf
Code:
contact.addEventListener(MouseEvent.ROLL_OVER, overContact);
contact.addEventListener(MouseEvent.ROLL_OUT, outContact);
contact.addEventListener(MouseEvent.MOUSE_DOWN, downContact);
function downContact(MouseEvent):void{
var request:Loader = new Loader();
request.load(new URLRequest ("Contact.swf"));
loadMC.addChild(request)
}
function overContact(MouseEvent):void{
contact.gotoAndPlay(2);
}
function outContact(MouseEvent):void{
contact.gotoAndStop(1);
}
my other question is about in dreamweaver, nothing seems to work, even connecting to .swf that have no actionscript classes. the mainPage.swf only remains on the same page.
Drop Down Menu PROBLEM-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!
Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:
on (release) {
gotoAndStop("home");
_root.contents.loadMovie("home.swf");
}
And here is the code that I currently have on the main buttons that have sub-menu items:
on (release) {
_root.contents.loadMovie("philosphy2.swf");
setProperty("_root.home", _visible, "0");
}
I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.
Thanks again your help is greatly appreciated!
Drop Down Menu-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!
Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:
ActionScript Code:
on (release) {
gotoAndStop("home");
_root.contents.loadMovie("home.swf");
}
And here is the code that I currently have on the main buttons that have sub-menu items:
ActionScript Code:
on (release) {
_root.contents.loadMovie("philosphy2.swf");
setProperty("_root.home", _visible, "0");
}
I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.
Thanks again your help is greatly appreciated!
Tracing Buttons With Flash Along With HTML
Hello
I'm currently working on an e-commerce site that will contain a swf file which includes my main navigation. The swf file will be located on the top portion of my html page.
How do I go by TRACING the button the user has click on for it to carry over the following HTML page.
Example (I like to purchase a HAT. So I click on the HAT buttons that resides inside flash. That opens up the HAT html page but when I arrive to that page, the HAT button I pressed should be highlighted, indicating the user ME where I am.
Thank you Flashers,
HTML Frames And Flash Buttons
I have 3 buttons. And I have a url that opens up 3 windows.
I just have the url to the first window. But there are links on it. And links on the third window. The url is from a search engine.
I want to know how to program each button to receive a window from the url. How would I do this so that when they click on a link the leaving of the first window will open up the second button and versa to the third button?
Any onunload events that will trigger or unload events in MX that will popup a button.
Flash Buttons To Html Pages
Hi People!
Is it possible to have a flash button that is inside a movie created with flash that link's to a HTML page when clicked ?
Thank you so much!
J
Flash Buttons In Html Frames...
wanted to ask what is probably a really stupid question...
my site is curreently fullyy flash based...but i want to change it and make it a combination of flash and html...
my main query is how to link flash buttons to html pages...i know how to link the button to a page, but what i want is for that page to open up in a frame in the html page...
check out this example in the menu here...
example of flash menu
hope you can understand this, and that someone can help...
thanks
jeff oakley
www.breakinankles.co.uk
Flash Buttons & Html Frames
Hello everyone
All i need to know is how to press a flash button and load a html page in another diferent html frame.
Thanks in advance. Help would be really apreciated.
Cheers you all!
Fede
Flash Buttons Don't Work In HTML - MX 04
Hi !
I'm using Flash MX 2004 .
I built a web page entirely in Flash , and published it (shift+F12) to an HTML format .
The problem is none of the buttons work !
They are supposed to redirect to another webpage of that website ,
but they seem to ignore the command .
(Did that before using Flash 5 and it was working with no problem)
The actionscript is :
on(press) {
getURL ("page2.html");
}
I also tried absolute URL (www..../page2.html) but that didn't work as well .
Does anyone has any idea ?
Thanks a lot
Tea man
[F8] Adding Flash Buttons To HTML
Hi,
I'm having trouble gettin my flash menu working in IE.
Any help truly appriecated,
I have created a flash menu,
then added links to the action script of the buttons and tested it in flash 8(works fine),
then i saved it as a movie file and added it to a page (HTML 1.0) in dreamweaver.
When i test the page in IE my problem starts , when i move over the links the mouse changes from a cursor to a pointing hand (showing a link there) fine..., but when i click the button nothing happens. The menu looks fine and everything works apart from the links, however they do work if i load and test the movie file by itself.
Any suggestions to where im going wrong will be truly appericated, and im glad to give more info if required.
Kind Regards
Lee
|