Calling A MC From A Separate SWF File
Does anyone know how I could call up a movie clip from a different flash file? For example, I have a flash file called one.swf. I would like to call up a window movie clip from two.swf from one.swf. Can this be done?
I'm using this feature in a list table. You know a table that holds names, numbers, ages, and could be scrolled up and down. With the idea above, the user can click on the names to open a swf with the appropriate window holding the pictures or description. Anyone?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 05-15-2003, 03:01 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Calling Up A Specific Frame In A Separate Swf
I am working on two different .swf's. The first is a online seminar and the second is a title page where the customers can click on chapters to view. What I want to do is when someone clicks on the chapter to direct it to a separate movie to a specific frame. Could anyone show me the loadMovie script to do this?
Many thanks
JCF
Prototypes And Calling Them On Separate Layers
Hey guys,
I have a question regarding prototype functions. I declared a simple prototype function which is below
MovieClip.prototype.create=function(){
trace("hello");
}
mymovieclip.create();
For some reason, I cant call this prototype function from another layer in the movie. Is this right or is there any other way to call this function from within even other movie clips. Thanks
Don
Calling Out Scenes From A Separate Swf Movie
If anyone could help me with this it would be greatly appreciated!
I have a .swf movie for my navigation and I have a separate movie for the body. The reason is I have a couple of pages that must be in html so I am placing them together in frames. Is there away I could have my buttons on the navigation .swf call out specific scenes from the separate body .swf file?
Export Text From A Flash File Into A Separate File?
Is it possible to export text from a text field, which has been created in Flash and export it into an external file such as a text file or Word document?
The idea is that information will be collected by the user into a text field within the swf. Hopefully, this information can then be exported into an external file which will allow the user to work on and edit at a later stage. It needs to be a separate editable document. Is this possible? I'm using Flash 8.
Any help would be greatly appreciated.
Thanks,
Philippa
Separate Variables In Txt File
I have a bunch of variables in a txt file and I want to be able to separate them a little so I can see what the hell is going on. How can I space them out.
Right now it looks like this
Code:
tall=pic0,pic1,pic2,pic3,pic4,pic5&dom=pic0,pic1,pic2&fran=pic0,pic1,pic2&paul=pic0,pic1,pic2&sim=pic0,pic1,pic2,pic3&adrem=pic0,pic1,pic2&sis=pic0,pic1,pic2,pic3,pic4,pic5&cam=pic0,pic1,pic2,pic3,pic4,pic5,pic6&damp=pic0,pic1,pic2
There is more but just for the example I just placed a few together. I would like to have them all on there own line and maybe another line brake between them. This would help in editing down the line. Right now when I go back after a week or two away from the site I have no idea what the hell is going on for a few minutes. It’s hard to edit something that you can’t see very well.
Preloading A Separate Swf File
Ok what I have is a preloader in it's own swf, preloader.swf, what I want to do is have that preloader load a seperate swf, Intro.swf. So once the preloader.swf has loaded the Intro.swf the preloader will be taken over by the intro.swf which will play through the intro.
Code:
this.attachMovie("empty_mc","mainMovie_mc",1);
mainMovie_mc.loadMovie("FLA_Intro.swf");
this.onEnterFrame = function()
{
var percentLoaded = mainMovie_mc.getBytesLoaded()/mainMovie_mc.getBytesTotal()*100;
preloaderbar.bar._xscale = percentLoaded;
if (percentLoaded >= 100 && mainMovie_mc.getBytesTotal() > 40)
{
this.onEnterFrame = undefined;
// Hide the preloader bar etc
preloaderbar._visible = false;
helix._visible = false;
// play the loaded movie
mainMovie_mc.play();
}
}
stop();
I was told this should work for what I am trying to do but all it does in test streaming is continuously play the intro and doesn't load anything? I am using flash 5.
AddChild From Separate As File
Hi There,
I'm trying to build an attachmovie class so I can add a child movieclip from the library and define the x and y coords using only one line of as in the fla
Here is my fla code:
var newMovie:AttachClip = new AttachClip("movie_mc", 10, 10);
And here is my as code:
package {
import flash.display.*;
import flash.utils.getDefinitionByName;
// create class
public class AttachClip extends MovieClip {
// define vars
var movieName:MovieClip;
var movieX:Number;
var movieY:Number;
function AttachClip(movieVal:String, movieX:Number, movieY:Number) {
var movieDefinition = getDefinitionByName(movieVal);
movieName = new movieDefinition;
movieName.x = movieX;
movieName.y = movieY;
addChild(movieName);
}
}
}
The trouble is that it is not adding the child to the stage, now I have a feeling that I need to tell flash where to add the child to but I cant figure out how to reference the stage from the as file, any thoughts?
Thanks,
Bob
Preloader, Same Or Separate File
if i were to build a preloader, would it be in a separate .swf file or same? i have followed this tutorial http://www.webthang.co.uk/tuts/tuts...mx1/gfmx1_1.asp
where the preloader is 1 scene, and the movie i would like to play is in another scene. but the preloader seems not to work. what is happening is that the movie will sit there and load, say for 10 seconds, then the preloader scene will show up for 1 second and then the movie plays. any suggestions?
and i also found this one thread http://forums.devshed.com/t142845/s.html
however, can anyone confirm that it works for MX 2004?
Importing MovieClip From Separate File
i'm creating a flash project and one of the options is a map, with this it has taken the fla file to over 20mb as there are a lot of images and functions with it and it has begun to slow the running of the program down.
would it be better for me to have this map in a separate file and load it in to place with either flash or zinc, or would it run at the same speed?
thanks
Dan
Opening A Separate Swf File From Within Flash
Hi,
God this is bugging me. I have already found a solution once, but my computer crashed and for the life of me I can't find the site again.
Anyway, I've made a complete site in flash, with a separate mp3 player (in swf format). All I would like to do is create a button on the original swf file (which I've done) that will open the mp3 player in a separate window.
When using the getUrl function, IE opens up with a broken quicktime logo in it. I can manage to open the player using the loadMovie function, but unfortunately only on top of the original site in the same window.
The idea is that when the radio player is open, it can be left playing underneath the original site whilst people still browse.
I know it can be done, as I have achieved it before, but can anyone help now and offer the correct actionscript?
thanks,
Adam.
Opening A Separate Swf File From Within Flash
Hi,
God this is bugging me. I have already found a solution once, but my computer crashed and for the life of me I can't find the site again.
Anyway, I've made a complete site in flash, with a separate mp3 player (in swf format). All I would like to do is create a button on the original swf file (which I've done) that will open the mp3 player in a separate window.
When using the getUrl function, IE opens up with a broken quicktime logo in it. I can manage to open the player using the loadMovie function, but unfortunately only on top of the original site in the same window.
The idea is that when the radio player is open, it can be left playing underneath the original site whilst people still browse.
I know it can be done, as I have achieved it before, but can anyone help now and offer the correct actionscript?
thanks,
Adam.
Preloading A Separate Swf File In Flash 5?
Ok what I have is a preloader in it's own swf, preloader.swf, what I want to do is have that preloader load a seperate swf, Intro.swf. So once the preloader.swf has loaded the Intro.swf the preloader will be taken over by the intro.swf which will play through the intro.
Code:
this.attachMovie("empty_mc","mainMovie_mc",1);
mainMovie_mc.loadMovie("FLA_Intro.swf");
this.onEnterFrame = function()
{
var percentLoaded = mainMovie_mc.getBytesLoaded()/mainMovie_mc.getBytesTotal()*100;
preloaderbar.bar._xscale = percentLoaded;
if (percentLoaded >= 100 && mainMovie_mc.getBytesTotal() > 40)
{
this.onEnterFrame = undefined;
// Hide the preloader bar etc
preloaderbar._visible = false;
helix._visible = false;
// play the loaded movie
mainMovie_mc.play();
}
}
stop();
I was told this should work for what I am trying to do but all it does in test streaming is continuously play the intro and doesn't load anything? I am using flash 5.
Loading A Movie In A Separate Flash File
So we are making a menu system for a website and we want to update the links with flash. We have been given a template we have to conform to so we can make the buttons part of the main screen. So it will be to seperate flash files. Can I still have a button play a movie on the main screen file?
Using Flash Navigation To Control A Separate Swf File
I'm trying to get one swf file (the navigation) to control a separate swf file on the same html page. Here is an example of what I'm working on:
http://www.raggmopprecords.com/McKen...cefontTrue.htm
If you hit "Dawning Spirits" in the pull-down menu it replaces the pulldown movie with the Dawning Spirits swf file. This doesn't surprise me because I used:
loadMovie( "ds.swf", "_level0");
But I want it to replace the Sacred Heart swf file below.
Problem Callin A Function From Separate Swf File
My problem here is that i Have a master.swf file, and a music.swf file. The "music.swf" file is the music player being loaded into the master.swf through the movie clip loader and i have all the functions to play, stop, previous, next, etc for my music tracks within that "music.fla actionscript.
Within the "Master swf" file i have 4 links and after clicking on one of the links i want a different song to play for each link. I was wondering if there was a way to call a function ( like next track) from the "music.fla" file while in the "master.fla" actionscript
For Example:
btn1.onRelease = function() {
myMCL.loadClip("link1.swf", 5);
_level20.music.swf.playMusik();
}
Thank you in advance
Call To Function In Separate .js File Using Actionscript 2
I am having trouble calling a function in a separate .js file using actionscript 2.
Is this actually possible?
I have a Flash 8 login form and I need it to pass the username and password to an AJAX function.
I know this works:
Code:
on(press)
{
getURL("javascript:disappear();"); //
}
Although I need to call a function in a separate JS file. Any suggestions on the code I would use or point me to anywhere that might help.
I would pass it directly to the PHP file although the AJAX has to change the website after login i.e. update the navigation menu once logged in.
Thanks anyone
John
[MX] Actionscript To Print A Separate HTML File
Hey! I'm working on a site where I need to have a button that has the actionscript to bring up the print wizard for a different HTML file. I'm assuming it would be something like
Code:
on (release) {
getURL("javascript:window.print(regform.html)")
Or somethin' where I can click a button to bring the print window straight up without leaving the page. Thanks in advance!
Display Variable From Separate Flash File
Hey,
I was wondering how (or if it's possible) to display a variable declared in a separate swf file. eg. I have a game with a highscore variable called _level0.punteggio and I wan't to display that variable in a different flash file. I don't want to have to edit the original flash file with the variable I want to display. Please, i fiyou know anything about this, i encourage you to post a reply or even email me at ryanetjoel(at)wintallo(dot)com. Thanks
Ryan et Joel
wintallo.com
Creating An Array Globally In Separate AS File
I need to create an Array .. which is quite large in size and i want to place it in some other file
say .. there is file "arrayFile.as" the code for this file could be ..
ActionScript Code:
var points : Array =
[
[0,0],
[0,0],
[0,0],
[0,0],
[0,0],
[0,0],
[0,0],
[0,0],
[0,0],
[0,0],
// so on
];
i din write any "package" or "class" for this array. how can i use this array in my Flash ActionScript Code writen on specific frame of time line. I tried to use Import but it is not helping me out.
Load Movie In A Separate Flash File
Basically, I have thumbnails set up in one flash file. When I click on the thumbnails, I want a separate flash movie (embedded on the same page) to load the corresponding jpeg or flash movie to display.
What would be the best way of doing this? Any simple code examples would be much appreciated. Thanks!
Linking To A Separate .swf File In Its Own Small Browser Window
Just wondering how to use the get url function to open another swf movie in its own browser window that is of a specified size that fits the movie.
I've tried using a javascript action, like how i would do it in dreamweaver but it doesn't seem to be working.
I want to link to a flash photo album that will not be "resizable" in its own browser.
Any ideas would be appreciated!
Can I Combine Separate Swf's Into One Project To Combining Separate Swf's Into One Pr
I'm working in Flash 5 on a G4 OS 9.2.2 - I need advice - Thanks!
Hey there,
Quick question before continuing on a very large project.
Can I combine separate flash projects or coded swf's into one large Flash final project without making a mess to conserve on space and memory? I would like to leave all my library elements behind as it's taking up too much space.
At the moment, my project is too large to work on - I have too many items in the library, so I'm in the pocess of separating it into individual projects respectively.
What's a good way of attacking this problem? At the moment - I have in 6 different "scenes" using the Flash default (new scene) with approximately 12-17 layers in each scenewhich totals 65 separate screens the player can choose that are linked with gotoAndPlay frame # action. I want to get rid of tweened animations and use script instead in my movies but I'm having difficulty since all is not the root level.
What do you think - your seasoned techno opinion is desparately needed.
Thanks,
Bluevenus
Flash Link To Label In Separate File, On Different HTML Page?
I know this sounds insane... but I have to separate the navigation from a Flash file, place both .swf's into HTML and still be able to control the timeline in the main movie... the reason is that this site has other pages that need just the navigation.. I don't know if this is even possible but it can't hurt to ask...
The ultimate goal is to: Link from a Flash file, to a specific frame on the timeline of another Flash file, which is embedded in another HTML page! (omg)
Does anyone know if this is possible, and how to use AS Functions (or something)? Perhaps use of JavaScript too?
Way too advanced for my level of expertise. Hope someone here has a solution or can tell me if it's even possible.
thanks everyone!
Laod Movie, Make It Go To A Specific Frame In Separate File
I have a movie clip within file A.fla. This movie has buttons. Each of the buttons should go to their respective frame within a movie clip from a separate file. Does anyone out there know what the code for this is? I've been going nuts trying to figure this one out.
Thanks.
[Calling A Frame Of A Flash File From A HTML File]
Hi,
I need help linking html with flash. In other words, I have a flash movie that contains four keyframes. I want to be able to call that frame from a html file. For example, on a html page, if the user clicks on 'about' section, it should go to 'frame 10' of the flash movie file. How do i do that? Can anyone help me on that?
Thanks
How To Format External Text File To Show In Three Separate Columns Through Text Area?
Hullo everyone!
Could anyone suggest a piece of advice to visualize the following idea?
I should like to import an external .txt file into flash and display it by means of a text area component, which would take the better part of the screen and be skinned to fit the rest of the page design. The text ought to be formatted by way of an external .css file. Images are optional.
I can do all this allright, but what I should like to have is the text formatted to be displayed in three separate columns. The idea for this naturally comes from the Flash version of the Macromedia Edge newsletter.
I should be most thankful if anyone cared to come up with a solution.
Help Convert As2 To As3 & Calling A .swf File In Another .fla File
im trying to call a gallery i made in a seperate .fla file and call it into a portfolio i made.
i cant find the code but ive had a look at my gallery i have made and it is using as2.
can someone please have a look at it for me and change it where needed as i am not very good at this.
also if you know how to call this file in the other .fla file that would be really helpful
Thanks in advance
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
Help With Calling A .txt File
I am trying to make a news ticker using Flash 5 for my companies web site. I want the information in the ticker to come from a text file so my boss can just edit the text file when he wants to change the info....any suggestions...any help is greatly appreciated. Thanks
Calling On A File
I have a web page, and I want my SWF file to attach a jpeg file that is external from the SWF file. Since it's a comic that updates daily, and I want a fast engine for viewing all the comics, I need to do this and not keep on editing the file. Please tell me a command that is like include but for image files, or how to use include so that it does this. Thanks in advance!
Calling Up An Avi File
Can I just call up an AVI file and get it to play from a Flash script!
I have an AVI file which cannot be imported into Flash so I though I could just say like Get url and it would play. Will this work?
Thanks
Calling A PDF File
What would be the best way of having a button in Flash open a PDF file? "Get URL" doesn't seem to be terribly reliable. Would I have to call an HTML page that has an "OnLoad" event?
Calling A File?
i need to set up a scrolling pain. but the contents of it to be called from somewhere else. i need to be able to edit it(it will mostlikely be a text file) and then save it, and the new contents show up in the scrolling pain.
Cheers
Calling From A File
Hi, trying to work through a tutorial and keep getting error on calling the file, here's the code I have:
loadMovie("images/img"+mypic+".jpg", "square")
mypic is a global variable set to 1
If this is not enough I can give the rest of the code.
Thanks for any help,
chele
Calling An ID From XML File
Hey everyone,
I'm stuck, I have a map area with difference mc's (regions). The regions are called from an XML file. here is the XML:
PHP Code:
<?xml version="1.0"?>
<content>
<imageNode id="0" area="Athens" jpegURL="images/image1.jpg" link="http://www.athens.gr">This is the athens test...testing more</imageNode>
<!-- Each <imageNode> statement following the firstChild is referenced as the nextSibling -->
<imageNode id="1" area="crete" jpegURL="images/image2.jpg" link="http://www.crete.com">This is a test for kerkyra</imageNode>
<imageNode id="2" area="corfu" jpegURL="images/image3.jpg" link="http://www.corfu.com">This is a test for CORFU</imageNode>
</content>
my A.s:
PHP Code:
// bleach effect
function fade() {
targetClip.brightOffsetTo(100, 0);
targetClip.brightOffsetTo(0, 1, 3);
}
// areas switched off at start
// _root.mc_crete._visible = false;
// start XML
images_xml = new XML();
images_xml.onLoad = startImageViewer;
images_xml.load("xml/content.xml");
images_xml.ignoreWhite = true;
//
// Show the first image and intialize variables
function startImageViewer(success) {
if (success == true) {
rootNode = images_xml.firstChild;
// 'totalImages' is the variable name set to correspond with the the dynamic text instance of 'totalImages'
totalImages = rootNode.childNodes.length;
// [ totalImages = rootNode.childNodes.length; ] gets the total number of childNodes (total number of image and text files) in your .xml document
firstImageNode = rootNode.firstChild;
currentImageNode = firstImageNode;
// 'currentIndex' is the variable name set to correspond with the dynamic text instance of 'currentIndex'
currentIndex = 1;
// [ currentIndex = 1; ] sets the viewer to play the first childNode (first image and text file) in your .xml document
updateImage(firstImageNode);
}
}
//
// Updates the current image with new image and text
function updateImage(newImageNode) {
// area id
regionId = newImageNode.attributes.area;
// 'imagePath' is the variable name set to correspond with the .jpeg file name located in your .xml document
imagePath = newImageNode.attributes.jpegURL;
// 'imageText' is the variable name for the instance 'textArea'
imageText = newImageNode.firstChild.nodeValue;
// 'targetClip' is the instance name for the movie clip 'imageArea', this is where all your image files from your .xml document are loaded
targetClip.loadMovie(imagePath);
// 'links added in the .xml file.
imageLink = newImageNode.attributes.link;
// Added script
targetClip.onRelease = function() {
getURL(imageLink, "_blank");
};
// on (release) {
// targetClip.onRelease = function() {
// getURL(imageLink, "_blank");
// };
// }
// end added script
// IMPORTANT : RESCALING THE SIZE OF THE 'imageArea' MOVIE CLIP WILL AFFECT THE ORIGNAL SIZE OF WHATEVER IMAGE YOU HAVE IN YOUR IMAGES FOLDER
}
//
// Event handlers for 'Next image' and 'Previous image' buttons.
// These statements allows flash to advance or go back to the next childNode
// (next image and text) in your .xml document.
//
// The Property (.nextSibling<img src="images/smilies/wink.gif" border="0" alt="" title="wink" class="inlineimg" /> evaluates the XML object and references the next sibling
// in the parent node's child list. This method returns null if the node does not
// have a next sibling node. This is a read-only property and cannot be used to
// manipulate child nodes.
//
next_btn.onRelease = function() {
nextImageNode = currentImageNode.nextSibling;
if (nextImageNode == null) {
break;
} else {
currentIndex++;
updateImage(nextImageNode);
currentImageNode = nextImageNode;
}
};
//
// Event handler for 'Previous image' button
back_btn.onRelease = function() {
fade();
previousImageNode = currentImageNode.previousSibling;
if (previousImageNode == null) {
break;
} else {
currentIndex--;
currentImageNode = previousImageNode;
updateImage(previousImageNode);
}
};
// map regions
next_btn.onRelease = function() {
fade();
nextImageNode = currentImageNode.nextSibling;
if (nextImageNode == null) {
break;
} else {
currentIndex++;
updateImage(nextImageNode);
currentImageNode = nextImageNode;
}
};
//
// Event handler for 'Previous image' button
back_btn.onRelease = function() {
fade();
previousImageNode = currentImageNode.previousSibling;
if (previousImageNode == null) {
break;
} else {
currentIndex--;
currentImageNode = previousImageNode;
updateImage(previousImageNode);
}
};
my Question, I want to call by ID (from the XML which is read), therefore once a btn is clicked the id information is displayed respectively.
p.s. I need to complete this but the end of the week, I'm so brain dead at the moment....
P
[FMX] Calling Url From Xml File
Hello everyone, my first post. I have been searching forums and tutorials for 3 weeks now and I'm going mad! What I'm trying to do is to make a simple link in flash that is called from my xml file.
Here is a link to my project:
http://www.miuz01.com/xml_url/interactive_gallery.html
Here are the files:
http://www.miuz01.com/xml_url/links.html
I have wracked my brain for weeks trying to figure this out on my own I know that it has to do with the for loop and calling a new link for each project, that is what has me confused. Maybe there is an easier way to do this. Thanks anyone who can help out!
[FMX] Calling Url From Xml File
Hello everyone, my first post. I have been searching forums and tutorials for 3 weeks now and I'm going mad! What I'm trying to do is to make a simple link in flash that is called from my xml file.
Here is a link to my project:
http://www.miuz01.com/xml_url/interactive_gallery.html
Here are the files:
http://www.miuz01.com/xml_url/links.html
I have wracked my brain for weeks trying to figure this out on my own I know that it has to do with the for loop and calling a new link for each project, that is what has me confused. Maybe there is an easier way to do this. Thanks anyone who can help out!
Calling Swf File
Hi there,
This is probably a really easy question for you but I worked on it now for some hours and I don't seem to find a way to solve my problem.
I have a swf.file call it Intro.swf with buttons coming up on the end of the Intro.
After pressing on the button I want the flash player to switch to another swf file(call it pictures.swf).
I tried something like:
on (release) {
loadMovie("pictures.swf", _level1);
}
An empty screen(with the background colour) appears and nothing happens.
I don't really understand how layers work.
Do I make a mistake with the layers?
Thank's for any help,
busche
Calling A Swf File
How do you call another swf file from your movie. Is it embedded in the existing fla, that doesn't really sound right to me. Does it reside in the root directory in the web and you just call it with a button in your existing movie.
Can someone point me in the right direction where to research or read about this.
Thanks
Calling External .txt File?
Hi folks,
Want to do something with a small flash movie, but don't know how:
Small box, with a text field, that calls text (different quotations) from an external .txt file.
The thing is though, I want it to be random, and change the quotation every time the page loads, or maybe every couple of minutes or something.
The .txt file will contain lots of quotations.
Any ideas??
richard
Calling An External File
How do I call up an external file with a button? It's a pdf file, and i'm just trying to link it... any help?
thanks,
Val
Calling Different Animation Within The Same Swf File
I like to to this..I currently have an HTML Site that links you to a swf file. This swf file is pretty much a virtual tour for people to see and learn about the product.
The thing is that this product target is for the public and for business. The only content on the Swf that would change is a screen shoot of the Business Or Public HTML site. Depending were the viewer if Business or public clicked on, the HTML link would take them to the same swf file but showed them iether the Business or Public HTML screen shoot.
My logic is as followed:
Depending on were they are, if they are in the HMTL Business section or Public section then have the same swf for both of them be called in and then have included in it ..something like..
on (release){
_level1.barney.gotoAndPlay("Business");
}
The thing is that I have a main movie (_level1) which calles in different external swf. How would I comummunicate from the html link to go and play that particualr Screen shoot of eighther the Business or Public section...
thank you
Calling Asp File In PopUp
i have an problem with asp file , which i am opening in popup but this asp file does't get varibles from my swf movie. i want to store varibles values in database through asp .
thanksssssss
Instance Calling Again Fla File
I just posted a msg, but here's the fls file, thanks!
what I've done is created a panoramic viewer that moves using bt's. What I want to do s creat a "pop up video" effect. So I thought the best way of doing this is to have hot spots in the panoramic shot that run through a target window on the main timeline to active a movieclip from the library. So I did this:
if (mainMovie.singleStrip.drag1 == "target1") {
_root.insert.attachMovie("pop_up1", "california", 10);
}
drag1 is the hot spot in the panoramic shot and target1 is the target that it hits to pop up "pop_up1" from the library.
what am I doing wrong. I think I'm calling on drag1 wrong. am I?
Calling Ext. Text File
I have tried everything possible to pull text out of a .txt file and i still can't get it to work....
my host at the moment is netfirms.... would this have something to do with it?
here's the scripts i have used:
loadVariables("document.txt", "");
loadVariablesNum("http://easy-tech.netfirms.com/news.txt", 0);
loadVariables ("helpText.txt",_root.menu01.helpText);
and every other possible variation thereof....
the .swf and the .txt file have read,write,execute permissions.
the .swf file is being loaded at layer 6 into another movie...by way of the script on a frame (not through a button)
should anyone have answers, please holler.... this is driving me crazy because my guestbook reads from a variable.txt file and it has no problems..... aaaaaaaaaaaaaaaaarrgh
flipside72
|