Inserting A Link
Hi there. :)I'm having a bit of trouble inserting a link into a nav bar. The nav bar has Button and Movie clip symbols for Up and Over. The thumb shows on all the buttons when I test it in Flash, but can't seem to insert any links. Am I missing out on something? Also when I import the .swf file into Dreamweaver there is no option to creat links on the buttons.If anyone could help me out there, that would be great. I'm a new to flash and been pulling my hair out all night.Thank you. :)
Adobe > Flash General Discussion
Posted on: 11/09/2008 06:26:28 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Inserting ,wmv Link
Hi,
Could anyone guide me how or where to insert the link below which works ok in HTML for streaming video.
<embed src="Video/Rolean.wmv">
I now need to do the same in a blank swf. which over the coming weeks I can embelish the background.
I don't really want to import it as a .wmv as it is a very large file and takes for ever to import and convert as I have tried..
Cheers
John
Inserting A Link In Flash... How?
i know this may come off as a stupid question but i am just now learning flash and here is my problem...
i have a graphic that is part of a flash movie, now... how do i link that graphic to another html file? for example, you click on the "contact" graphic which is flash and it takes you to the contact page.
thanks for any help as i cannot find how to do this.
Inserting A Link With Actionscript
i was wondering how i can insert a hyperlink in actionscript. i've checked the tutes and looked over the forums and i can't find anything.
i tried a goto action but that didn't work. am i on the right track?
RoninSamurai
Problem With Inserting Button/link Into An Actionscript
Hi guys. I'm a noob when it comes to flash. Please be kind. Haha. My boss asked me to make a webpage with starwars scrolling script as the homepage.
My question is: where do I add the link to another page?
Since I had no idea how to do it, I googled and found one already done and just copied the entire thing into one frame. All actionscript.
It looks like this:
// dimension of stage
stageWidth = 300;
stageHeight = 200;
// speed of scrolling text
scrollRate = 1;
// count used to wait between each line of text
waitCount = 0;
// current depth at which to place text lines
depth = 1;
// number of stars
starNum = 100;
// clip to hold stars
this.createEmptyMovieClip("stars", 0);
// places stars on stage
for (i=0; i<starNum; i++) {
s = stars.attachMovie("star", "star"+i, i);
s._x = Math.random()*stageWidth;
s._y = Math.random()*stageHeight;
s._xscale = s._yscale=(Math.random()+.2)*100;
}
delete s;
delete i;
// text to be scrolled
scrollText = [];
scrollText.push("A long time ago in a galaxy far, far away...");
scrollText.push("WAR!");
scrollText.push("Evil is everywhere.");
scrollText.push("Not so long ago and not so far away--");
scrollText.push("evil, barbaric, unthinkable attacks");
scrollText.push("on innocent in London. Talk of spies.");
scrollText.push("Warriors. Tensions escalate. Analysts watch");
scrollText.push("chatter on fleeting Internet sites. Drones make");
scrollText.push("their way across deserts in search of hidden");
scrollText.push("bases. Resolve increases. The price of the Empire");
scrollText.push("continues to rise.");
// text formatting for scrolling text
tf = new TextFormat();
tf.color = 0xEDD638;
tf.size = 16;
tf.font = "scrollFont";
tf.underline = 1;
// amount of time to wait between placing each line
lineWait = (tf.size/scrollRate)*1.5;
// holds references to all the lines
lines = [];
// function called at set interval to check status of load
// clip is the movieclip that is loading content
assessLoad = function (clip) {
// var kbLoaded = Math.floor(clip.getBytesLoaded()/1024);
// var kbTotal = Math.floor(clip.getBytesTotal()/1024);
// delete these two lines and uncomment the above lines upon publishing
var kbLoaded = Math.floor(getTimer()/200)+2;
var kbTotal = 250;
// scrolls lines
moveLines();
// if clip is completely loaded, final line added
if (kbLoaded == kbTotal && kbLoaded>1 && !waitInterval) {
scrollText = ["Site Loaded"];
waitInterval = setInterval(gotoSite, 7000);
}
};
// adds and formats a new line to scrolling text
createLine = function () {
this.createTextField("t"+depth, depth, stageWidth/2, stageHeight, 0, 0);
var t = this["t"+depth];
depth++;
t.embedFonts = 1;
t.setNewTextFormat(tf);
t.autoSize = "center";
// used to decrement alpha without dealing directly with _alpha property
t.alpha = 100;
t.text = scrollText.shift();
// stores reference to line
lines.push(t);
};
// scrolls lines up
moveLines = function () {
// time to wait before adding next line
waitCount++;
if (waitCount>lineWait) {
waitCount = 0;
createLine();
}
// runs through each line and moves it
for (var i in lines) {
var t = lines[i];
// scales it down
t._xscale = t._yscale -= scrollRate*.2;
// moves it up
t._y -= scrollRate*(t._xscale/100);
// reduces its alpha
t.alpha -= scrollRate*.1;
t._alpha = t.alpha;
// removes it once it is too small
if (t._yscale<=5) {
t.removeTextField();
lines.shift();
i--;
}
}
updateAfterEvent();
};
// used at end of preload
gotoSite = function () {
clearInterval(preload);
clearInterval(waitInterval);
for (var i in lines) {
lines[i].removeTextField();
}
};
// adds first line then removes underline formatting
createLine();
tf.underline = 0;
preload = setInterval(assessLoad, 50, this);
I tried adding another frame and just throwing the button and getURL in there but it seems to completely screw up the scrolling.
Any ideas?
Thanks a lot!
Help With Mix-fm Inserting?
Hi,
I purchaced the Mix-Fx and want to insert that in my e-bay ad template,they accept the use of HTML but I want to insert this in the body of that document but when I do use the code I got from using my Coffee Cup HTML editor,I view what I've done and it comes up a white blank block(cell). This code :
<object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#4,0,0,0"width="600" height"500"><body bgcolor="#000000"><param name=
"SRC" value=:mix fx 5g.swf"><param name="quality" value="best"
<embed src="mix fx 5g.swf" pluginspage="htpp://www.macromedia.com/
shockwave/download/"type="application/x-shockwave-flash"width="600" height="500"></embed></object></center></body></html>
I insert this by itself and it works fine in the editor BUT when it is inserted into the body were I would like it to go it comes up blank.I have gone to support and I can't this working by what was suggested. I really hope there is some one talented that can "walk me through this". I have one other problem with this, is there any way to enclose this in a border? Thankyou VERY MUCH for helping a "wet behind the keys" begineer thats really wants to learn all that he can.:caps:
sincerely Wayne H. <a href="mailto:kjwdhunter@aol.com">E-Mail</a>
Inserting A MC Into Another MC
Problem:
I would like to create a button that when the user rolls over it, a SEPARATE movie clip displays information related to that particular button: i.e Roll over HOME button and on the other side of the movie a sign pops up: "Click here to go home."
I have a quite a bit of info to display, as well as the info will b changing every month so it has to be easily updatable.
Again, thanks for the help.
Inserting .swf Into .swf
hey can someone help me out- how do i insert a previously made .swf into a file im working on at the oment?
Inserting .swf
I have a actionscript spider that I downloaded a few weeks ago, and I was wondering if there is a way to have it crawl over the entire page. As it is now it just crawls in its own space. I am using FrontPage, but have a copy of Dreaweaver is needed. Thanks in advance,
Inserting Swf
can someone please tell me how to set a location for a movie to load at inside another movie. the movie is loading way up in the left corner of the site. i want it in a certain spot.
--DK
Inserting The <img> Tag .. . Please Help :(
i've a flash file on my site (http://www.servantmediagroup.com), and in it, I'm calling xxxx_gallery.html on the media link. The html file appears fine, and scrolls as we want it to, but I need to somehow get an image or swf inserted in there to be displayed as well. The image is smg_logo.jpg and swf is butt_gallery4.swf. All files are in the same directory. And the image appears fine when the html page is viewed on its own (http://www.servantmediagroup.com/xxxx_gallery.html). But I just can't get the darn thing to show on the site I've looked up my problem, and know that flash only supports a limited set of tags, and it can only view progressive jpgs. Which I have. It supports the <img> tag along with the src attribute, and I've tried <img src="smg_logo.jpg">, <img src='smg_logo.jpg'>, <img="smg_logo.jpg">, <img>="smg_logo.jpg", <img>='smg_logo.jpg' . .. . I've run out of things to try honestly The field in the flash file is dynamic and set to render html, and I don't think that's really the problem, as the file is being displayed .. . just not the image, which leads me to think it's my tag I'm using Flash MX 2004, and I just don't know what else to do, can someone please please please please help me ???
Inserting SWF
When I insert a swf i created in Premeire Elements it shows up as a white box on my website. Any tips?
Inserting PDF
Can someone tell me how I can make a button target a pdf file?
Inserting A .swf
What is the easiest and most accurate way to insert a swf? I want to insert a swf at x: 10 y: 10 but it seems the only to do it is the following:
Import the swf to the library
Drag the swf to the "canvas"
Double click the image
Copy all of the small frames
Paste to the "canvas"
Manually go through , click on the frames and insert x: 10 y: 10
Is there an easier way???? There HAS to be something better!!
Thanks for any help.
Inserting Swf Into Fla -- HOW?
I'm pretty new to FLASH.
I have created several swf, several are videos. I want to insert them into an fla and have them play automatically then loop.
I tried just moving the swf from my library to the work area, but the swf aren't playing correctly.
Please help
Thanks much
Amy
Inserting Swf In An Swf
i saw a tutorial on adding an swf movie clip within a running swf, i managed to add pictures and swfs within the same directory, using something like this:
Code:
var tagload:MovieClipLoader = new MovieClipLoader();
tagload.loadClip("fb01.swf",tag)
but i wanna load a flash-based tagboard into my flash file, (using myflashbox.sg service), somehow it doeswnt work when i key in
Code:
var tagload:MovieClipLoader = new MovieClipLoader();
tagload.loadClip("http://www.myflashbox.sg/flashbox/fb01.swf?uid=44848&buttonTxt=post!",tag)
however, when i tried loading exteral images from other websites, it loads just fine, y doesnt an swf one work?
any ideas?
o, n is there anyway to insert a html page like i would the images n flash files? meaning the entire site is under one big flash file...
thx
Inserting Mp3
Can someone tell me how to insert a Song (mp3 format) into FLASH MX? i couldn't find it in the tutorials.
Inserting A .swf Into A .fla
I have a premade .swf that i made ages ago but i have lost the .fla for it...
I am trying to insert this .swf into a .fla file but i dont get the animation only the first kinda frame from the .swf displays... What do I do to get the whole animation to display ??
Inserting Animated Gif
Hi I am new to flash and need a little help. I want to insert an animated gif (already made)at the end of a movie and have just the gif repeat, and it must be clickable to open a new window.How?
Thanks
Ray
Inserting Images
Is it possible to insert a remote image into a SWF?
ie. could I some how get http://www.whatever.com/image.jpg to appear within my SWF without actually having to insert the JPG itself - that is some sort of "reference" a la HTML?
Inserting Movies
hi every body
how can i insert an avi or mpeg to my flash file
thank u
Inserting A Txt File
I am trying to insert text from a text file in to flash. from what I can tell there is no tutorial on this. I someone would just give me the action script for this I could really use it. it is the last part of my site that I have to put up. thanx
Boa743
Inserting A Txt File
I am trying to insert text from a text file in to flash. from what I can tell there is no tutorial on this. I someone would just give me the action script for this I could really use it. it is the last part of my site that I have to put up. thanx
Boa743
Inserting HTML
Can you have a URL load into a SWiSH movie? Is this possible? The other question is can you preload one than one movie into the users cache - I have several movies for several pages but want to only have one loading time not each time a different page is loaded.
Thanks for your help
Todd
Inserting Frames?
Hi all. I'm a flash newbie still trying to grasp the basics.
Suppose I have made a simple animation of a square that moves across the screen in 10 frames. I created a motion tween from frame 1 to frame 10, and everything is fine. Now, suppose I want this square to move more slowly.. I want it to take 15 frames to move across the screen. What's the best way to insert frames so that this motion moves more slowly? I can't "insert keyframe" or "insert blank keyframe", those both seem to break the animation.
Any advice is appreciated. Thanks in advance.
Inserting The @ Sign... Please Help
I have a problem with the flash 6 plugin for IE...
How can I make flash to insert the @ sign when I press + v?
If it's impossible, how can I solve this problem?
The swf is Flash5 version.
Thank you!
Kekec
Inserting Code
I really need to know how to insert code into my movie. I tried to paste it in the "frame actions" but it says I can't.
Inserting Frames
I'm trying to follow the tutorials (on this site and on others) but whenever I'm asked to insert frames, I seem to get confused. An excerpt from the tutorial says:
"Add 40 Frames to the movie by clicking at Frame 1 of the Actions Layer and dragging down to the bottom layer to select the frames and then click F5 to add the Frames"
In their screen capture of the Flash timeline, the last frame (which is 40 in this case) is blank. But when I insert these frames, at frame 40 there will be a rectangle icon instead of being blank like their sample.
I am using Flash MX.
Help With Inserting Get Url Links
I downloaded a flash menu, and would like to use it, please email me and help me I have changed the logo and text on the buttons, but i can't
get the buttons to get url when down, please email me and tell me how, I would really appreciate it, thank you very much, please email me or call me collect at 573-443-4340
I tried to change the get url but when I go to actions it is in grey and won't let me use it, Here is the flashkit url to where it is,
http://www.flashkit.com/movies/Anima...1052/index.php
please help!
Thanks,
Luvelli
Inserting Scrooling Jpg
Sorry to ask... but how do you insert an image that scrools along the entire page (sections0-4)in chapter 21 of
http://flashtothecore.praystation.com
I am just trying to understand the concept behind the motown site.
Thanks.
Inserting A Variable
i've been playig around for a few days and i can't figure out how to get a flash variable in to some code i'm using to pop up a window.
on (release) {getURL ("javascript:about=window.open('cgi-bin/viewnews.cgi#variablehere','headline1','left=0,top =0,toolbar=Yes,location=Yes,scrollbars=Yes,status= Yes,resizable=Yes,fullscreen=No'); NewWindow.focus();void(0);");}
i want the variable added to the end of the url in the javascript.
the variable i'm using is _root.link1
i loaded it and some other variables from a text file and i know that it loaded the variables right because i'm using the rest of the variable to effect of parts of the movie.
thanks
Inserting A Condition
getSelection = new Object();
getSelection.onSetFocus = function(oldSel, newSel) {
if (_root.mousePosY>100) {
trace("OVER 100");
_global.lastSel = oldSel;
_global.thisSel = newSel;
_root.lastSel = oldSel;
_root.thisSel = newSel;
}
};
Selection.addListener(getSelection);
With the code above I want to restrict when the code runs depending on the y mouse position. The if condition needs to determine whether Selection.addListener(getSelection); runs I don't seem to be able to add a condition to it!?
Can anyone help me
cheers
Ol
Selection.addListener(getSelection);
Inserting Flash Help
what is the correct wat to insert a flash swf into a signature on a message board?
for some reason i cant seen to get it correct cause either the size messes up or i lose control of the boarders
Inserting An SWF/FLA Into A Movie
ive made an swf/fa file and want to insert it into another movie, but when i do it seems to lose all it's actions etc. i did it by inserting it into the librry as its the only way i could think of, anyone help?
Inserting Video
I am VERY new to this and get confused pretty easy, so here it is - I viewed some samples to get some idea of how things wrok. I made a small movie clip of boxes changing colors. I started another movie and added some buttons to go to a frame and stop. OK, my movie clip covers 5 frames - and you probably know what I'm going to say - when a button is pressed the movie clip stops - how do I keep this movie clip looping.
Thanks Tom
Inserting Graphics
I am new to flash. I hav inserted a graphic that has an odd shape, It appears in a box and whenever I put it over a different color background the graphic appears with the white box around it. Is there a way to tell it to make the box invisible? or clear?
thanks.
Inserting A PHP Script
hey.... i have a php script:
(its a random image)
PHP Code:
<?php
//Cover Script,
//Call this script with <IMG SRC="cover.php">
//"images.dat" will contain the name of each image file
$imgs = file("images.dat");
header("Location: " . $imgs[rand(0,sizeof($imgs) - 1)]);
?>
and i want to make it where instead of showing the image inside a html page i want it to be in flash.... is that possible?
im using flash 5 by the way.
thank you in advance
Inserting The Date
i know that i have to use the getDate function but i cant seem to find out how to use it. do you put the code on the text box u want the date to appear in, and what should the code be? I asked about this eysterday but the code i was given didnt make much sence to me.
basically i want to make the date appear. where do i start?!
Andi
Inserting Into Dreamweaver
Hey...
I have created a flash movie which plays fine, test fine, etc. BUT when i insert into my Dreamweaver index page it doesn't play correctly. it only show the background color of the flash movie.
i have done all this before and never had a problem when taking flash media into dreamweaver.
any clues???
THANKS!!
Inserting Outside Movie
Hey guys, this one should be an easy one to solve:
I've got an external swf file which I've created to be a component of a larger whole. I've already exported this swf, but I assume it will still need to be in the same folder as files that I've included with it.
I'm now onto making the outside shell of the previous movie file. I'm just wondering how to drop in the previous swf into the shell of the new file by using Actionscript.
I've tried to attach the movie, but it doesn't seem to be working. Also, I need to keep in mind that I will use buttons in the outside shell movie to manipulate the inner movie. I'm not sure if that makes a difference or not.
Any help is greatly appreciated!
Inserting Movies
Hey im trying to insert a movie into my flash but i dont know how. they are saved as .3gp (taken on a mobile/cell phone). any help will be appreciated Thanks.
-Skater-
Inserting One Scene Before Another
Ok so the problem is:
Ive got 2 scenes at the moment in my movie. Both containning content of the movie. Now what i want to do is to insert a scene before them both so i can put a preloader and title screen or insert a scene afther them both but make the one the scene that the movie starts as. Do you get me? if so please reply
Inserting JPEGs
I've made quite a nifty flash page but the problem is that it's enormous. This is mainly because I've inserted jpeg files into the swf file.
If there anyway I can insert or link to jpeg files using actionscript without embedding it to the actual swf file?
Inserting Swf Into Html
hi...this might sound like a really daft question but i want to know how to insert an .swf like a flash mp3 player for example into a normal webpage so that you can drag it around all over the page....is this possible and if so how do i do it...thanks in advance
Inserting .swf Into Website.
So let's say that I already have a flash file done and in it's .swf form.. How do I exactly insert it into my HTML file, can anyone give me the simple steps to it
Thanks.
Inserting A Swf Into Dreamweaver
hi all,
i have been experiencing a problem and i can't seem to figure out what is wrong. i have a swf which is functioning perfectly.
when i try to insert it into an html page in dreamweaver, it doesn't work. does anyone have any ideas as to why this is happening?
FYI, the swf calls on another swf through a placeholder. when i insert it into dreamweaver, the main swf appears, but when i click on the button which loads the second swf, it doesn't work. they are both in the same folder though, and it works perfectly in flash. the problem occurs after i import it into dreamweaver. is there something that needs to be done in order for this to work? does the flash need to be saved in a certain way, or inserted into dreamweaver in a specific way that i might be missing?
PLEASE! any help at all is appreciated. i have been trying for almost 2 weeks to figure it out and i need to do it for someone's website. i don't have anyone else i can ask for help with this. thanks so much!
Inserting A New Line
Hey,
Can someone please help. I have Flash MX and:
I have a dynamic textbox and an input textbox. When you hit a button the text in the input textbox is put into the dynamic textbox and the input textbox cleared, I want to insert a new line in the dynamic textbox so that the next thing you type in is put on a new line. I have the code:
on (release) {
dynamtxtbx += inputtxtbx;
inputtxtbx = "";
// code to insert new line would be here
}
What do I put in to insert a new line
Regards,
Inserting Commas
I wanted to know if anyone has code out there that will take a variable that contains numbers and add commas in the respected areas?
User enters: 99332211
Dynamic text field will need to display : 99,332,211
Im not sure how to do this.
Thanks!
|