Opening Swf
Is it possible to make the flashmovie,when webpage is loaded,load only the fist scene to make the preloader wich is positioned in second scene useful?
FlashKit > Flash Help > Flash ActionScript
Posted on: 10-25-2001, 03:29 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[MX04] "Error Opening URL" During Preview On Flash (not Just Opening Swf).
When I preview a movie by pressing command+return (Mac) on a few particular .fla files, it gives me a "Error Opening URL" message.
Error opening URL "file:///Macintosh%20HD/Users/Fujiwara%5FTakumi/Web%5FProjectsr%5FM/Current%5FProject%5FFilesVash%5Fwebsite/version5/%5Ftemplates%20and%20stuff/flash%5Fbtns/flashbanner.swf"
The files are in the same folder, I didn't move them at all. It happened the very first time I created a preview/SWF file by hitting command+return and it kept doing that whenever I wanted to preview my file. So I had to go in and just open the SWF file itself each time I hit "command+return". Why does it do that? Is it because the path is way too long? Does Flash have issues with really long paths or is this a glitch? I'm trying to figure out why this happens because it ALSO happens on a separate project (that's 3-4 folders in depth) at certain points of the project.
I try to go back to the very first main page from a swf file that's 2 folders above it even though if I just open the main root file (index.swf or whatever), it opens a swf file that's a folder above it just fine (/anotherfolder/file.swf). That file has no issues going forward another folder (/anotherfolder/anotherfolder2/file.swf) It has no problems going backwards to the very first index page from that point on (../../index.swf). With that said, after going back 2-3 folders to open the index page. The index page can no longer go FORWARD again, for some odd reason, but the pathways are correct and they work perfectly fine if I started viewing the swf project from the very beginning and go forward from there.
Perhaps I should just copy and paste everything from the defective file and onto a new file, would that help? I'm trying to narrow what this problem may be to see if these two separate projects have any issues that are related in any way shape or form. This has been buggin' the hell out of me for the past 3 weeks!
OPENING SWF BEHIND NAV
hey everyone,
I have a swf file that is my navigation, when each button is clicked I want to open seperate swfs, I can get this to work but they open on top of the nav file. how can I tell the movie to go into an exact spot so it is just above the nav bar at the bottom of the screen? OR EVEN GO BEHIND THE FIRST SWF INSTEAD OF ON TOP?
thanks,
tom
Opening A .exe
Is it possible to open an .exe file from flash. This is to be used on a CD-Rom and I want a button which opens an exacutable file. I was thinking it is fscommand????
Thanks in advance....
Opening A Swf In A Swf
i am trying to have my global navigation/feature remain constant, and open swfs inside the content area, so that the global remains never moves. I have tried telling buttons to load movie with a dummy target (from a tutorial), and the movie never loads, any advice would be appreciated!
[Edited by judyryan on 04-22-2002 at 05:25 PM]
Opening
So,
Im opening an html document in a new browser/pop-up window (using getURL) from my main swf. But I want to be able to control the size of the new window that pops up. How do I control the size and features of the new browser window in my actionscript?
help help!!
(perhaps this is the first time someone in a cubicle complained of her window being too big)
Opening Avi's
Is there some actionscript that goes with the "open url" actionscript to open an avi and lets u remove all the toolbars of the avi, maybe even specify the size it opens at
Opening Up A URL
I am using FLash MX.
I have a small splash movie playing with a skip and enter button.
On release of one of the buttons I would like a (URL) or HTML page to open up in the SAME window.
The Splash movie is small and I would like the URL opened up to be full screen, but still replace the flash movie, without opening up in another page.
Is this done in the actionscripting, if so how????
SWF Not Opening ...
In olden days -- like, a few weeks ago -- when I clicked on a swf it would launch the Flash Player and be viewable. Now when I click on one the "Open With ..." dialog launches. I've downloaded the latest Player and it said installation was successful. Any ideas?
Thank you.
Philip
Opening A PDF From MX
I was wondering if there is a way to open a PDF file from a flash movie?
Thanks.
Ken
Opening A MC In MX
Hi
In Flash 5, when I wanted to goto a specific frame in an MC on my timeline, I would type _root.variablename.gotoAndPlay (framenumber);
This does not seem to work in MX. Has the Actionscript changed in MX?
Opening A Pdf
I want to put a button on a site that, when released, opens a pdf file. What's the best way to do it? Should I use getUrl?
Opening Swf
"_blank" openes files in a new browser window. What should I do if I want to open swf file in a new flash player window???
Opening Fla From A Mac On A Pc
a friend of mine works on a mac
(why, i dont know, lol)
but when he sends me his fla, i cant open it on my pc
what can we do?
Opening A PDF On A CD
I have a flash exe on a CD which I want to open a PDF file in a browser window. Using geturl is working on most machines, but not those with windows 98 first edition.
Is there any other way?
Opening Pdf
use northcodes proxy script and on the button:
onRelease(){
fscommand("exec","nameofpdf.exe");
}
dont forget to put your pdf in a folder called fscommand and to change to .bat file to open the name of your pdf. All three files have to be in the fscommand folder and have exactly the same name.
Cheers!
miakazi
Opening URL's
ok, i am putting together an interactive CD-rom
i have all these html files to open with different peices of information on each of them...
there are about 100...
ok, heres my question... for the actionscript for a button for a certain page, am i able to make it open "contentsubject1 1.html" so no matter where the root folder is held, wether it would be on my computer, or a cd, it will still open it.
OR
do i have to do "D:contentsubject1 1.html" for each file? I would do this, but i face many prolems if i do... things like maby if someone uses the cdrom and his/her cd drive is labled "F:" instead of "D:" and cause all sorts of cuffell... AND ALSO, if i set it all up like this, it wont work on my computer and i will have to burn a cd every time i want to test it!!!
so yeah, any help here would be muchly appreciated...
Opening URL's
ok, i am putting together an interactive CD-rom
i have all these html files to open with different peices of information on each of them...
there are about 100...
ok, heres my question... for the actionscript for a button for a certain page, am i able to make it open "contentsubject1 1.html" so no matter where the root folder is held, wether it would be on my computer, or a cd, it will still open it.
OR
do i have to do "D:contentsubject1 1.html" for each file? I would do this, but i face many prolems if i do... things like maby if someone uses the cdrom and his/her cd drive is labled "F:" instead of "D:" and cause all sorts of cuffell... AND ALSO, if i set it all up like this, it wont work on my computer and i will have to burn a cd every time i want to test it!!!
so yeah, any help here would be muchly appreciated...
Opening URL's
ok, i am putting together an interactive CD-rom
i have all these html files to open with different peices of information on each of them...
there are about 100...
ok, heres my question... for the actionscript for a button for a certain page, am i able to make it open "contentsubject1 1.html" so no matter where the root folder is held, wether it would be on my computer, or a cd, it will still open it.
OR
do i have to do "D:contentsubject1 1.html" for each file? I would do this, but i face many prolems if i do... things like maby if someone uses the cdrom and his/her cd drive is labled "F:" instead of "D:" and cause all sorts of cuffell... AND ALSO, if i set it all up like this, it wont work on my computer and i will have to burn a cd every time i want to test it!!!
so yeah, any help here would be muchly appreciated...
Opening
I am working on a web application that needs to be updated in stages. We are moving away from standard database-html interface to a flash driven app. The first stage is to develop navigation tools that will load webpages inside of a frame.
I don't want reload the nav tools everytime a button is clicked. How can I set something like this up.
Opening A New URL
hey,
when you make a button that opens up a new URL is it possible to lock the dimensions of the window that opens up. i need to open up some pictures in a separate window and i want to lock the windows size to the exact size of the movie.
ta
Llewop
Opening New Swf's
Hi. I'm currently making a CD version of my website to bring along to an interview and I'm coming across a problem with the getURL command. Before, because the website was on the internet, the command to open a new window with new content would be something like:
getURL("http://www.blablabla.com/folder/this.html","_blank");
But now since everything is on the cd and in different folders, I cant quite access that same 'this.html'. Lets say the cd has a bunch of stuff once you open it, including the main swf that im doing this from, as well as a folder with some htmls that i want to open by clicking a button in the original swf. Let's say the folder's name is "folder". What should the getURL command look like?
getURL(" ???????????????????? ", "_blank");
If anyone knows, what should the question marks be?
Opening PDF From CD On Mac - Please Help
All I am trying to do is open a PDF from a Mac projector from a CD and it is not working.
I followed the tips in this posting
http://www.flashkit.com/board/showth...hreadid=264064
I know how to code the FS command to trigger an applescript. The problem is with the applescript. This is the script from the posting:
tell application "Finder"
activate
select file "your-file.pdf" of disk "Your Disk"
open selection
end tell
The problem I am having is I get a syntax error "Expected end of line, etc. but found ". And it highlights the " at the begining of "Your Disk".
Then when I remove the quotes it tells me that the disk is not defined.
Does anybody have any idea how to mak this work, I think I am about to loose my mind.
Thanks,
Bingo
Help Opening Swf
Once you click on a button on an exe file how can I make the button open up an .swf file in a new window 640x480 and centered?
This is for an enhanced auto run cd. Javascript wont work it shows security errors.
Thanks,
Christina
Opening SWF
Hey say I have swfs: "swf1.swf" and "swf2.swf". How can I get swf1.swf to OPEN swf2.swf not in itself but actually in the standalone player. (If it has to be a .exe I can export it as that too.) Then, once it opens it, how can the two swfs communicate? They are both going to be offline and in the same folder.
Opening Exe
hi guys and girls!
does anyone know of a way of opening an exe file without the main file having to be a projector?
is there any 3rd party tools out there that does this?
thanks
Opening PDF
I can open the PDFs when all files are on the hard drive or CD, but what do I need to do to open it from our local server for someone else in the office to see. or is it not possible?
thanks
Opening Pop Up From .EXE - Is There Any Way?
Hi everyone.
Is there any way of getting a pop up window (in html or even swf) to be opened from a button, in flash 8 EXE?
Or, if not possible, is there any way of center a .EXE window called from fscommand?
Thanks
Opening A PDF
Hi, i've got a PDF I need to open through the use of a button. The .swf will be held on a CD, and not served on the web, and so I want the pdf to open with Acrobat Reader. I've got a button on the stage, with the instance name btnOpenPDFI1, and have tested it's working using trace().
I'm trying to use getURL to open the pdf, with the following code:
ActionScript Code:
_level0.btnOpenPDFI1.onRelease = function() {
getURL("testPDF.pdf");
};
The code is on the main timeline, and works fine other than the getURL.
Any ideas?
Opening .fla
I have recently obtained a new laptop after my old one died.
I have my previous hard drive in a usb caddy, when I try to open my .fla files in fash an error appears saying "Unexpected file format"
I also have a very old imac when I open the files on this they work fine.
Could this be because my new laptop is running Windows Vista?
This is unsuprisingly concerning as I still need to use and edit these files, can you think of any reasons for this problem?
Thanks.
Opening .fla
have recently obtained a new laptop after my old one died.
I have my previous hard drive in a usb caddy, when I try to open my .fla files in fash an error appears saying "Unexpected file format"
Could this be because my new laptop is running Windows Vista?
This is unsuprisingly concerning as I still need to use and edit these files, can you think of any reasons for this problem?
Thanks.
Opening Pdf Help
I have a pdf which opens when a button is clicked on and i was wondering if there is a way that i can force it to open in adobe reader instead of ie or firefox?
thanks for the help
Opening FLV In PRO 8
Hi all,
Do I need a plug in to open an FLV file in Flash Professional 8? If so, can you tell me where to find it? Also, is it the same process to convert an FLV to SWF as it is with FLA?
URL XML Not Opening
Since nobody felt like replying to my other topic, I will try again. Please somebody help me with this, when I click a loaded external picture, I want the picture to be opened in a seperate window, but the url gets an undefined value.
Attach Code
//Picture functions
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
numimages = this.firstChild.childNodes.length;
spacing = 70;
for (i=0; i<numimages; i++) {
this.picHolder = this.firstChild.childNodes[i];
this.thumbHolder = _root.thumbnails.createEmptyMovieClip("thumbnail"+i, i);
this.thumbHolder._x = i*spacing + 10;
this.thumbHolder._y = 27;
this.thumbLoader = this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
this.thumbHolder.title = this.picHolder.attributes.title;
this.thumbHolder.main = this.picHolder.attributes.main;
this.thumbHolder.onRelease = function() {
//load the movie and positioning
Holder.loader.loadMovie(this.main);
preloadI=setInterval(preloadF,100);
Holder.loader._alpha=0;
Holder.loaderscreen._alpha = 100;
function preloadF(){
bl = Holder.loader.getBytesLoaded();
bt = Holder.loader.getBytesTotal();
var percentloaded:Number = Math.floor((bl/bt)*100);
Holder.loaderscreen.loaded_txt.text = percentloaded;
if(bl>20&&bl>=bt){
clearInterval(preloadI);
Holder.loaderscreen._alpha = 0;
Holder.loaderscreen.loaded_txt.text = " ";
Holder.loader._alpha=100;
Holder._x=1*(Stage.width - Holder.loader._width);
Holder._y=1*(Stage.height - Holder.loader._height);
//this is where the problem lies
Holder.loader.onRelease = function() {
var URLvar = this.picHolder.attributes.main;
getURL(URLvar, _blank);
trace(URLvar);
};
};
};
Holder.title_txt.text = this.title;
};
};
};
myPhoto.load("xmlphoto.xml");
Opening URL
This might sound like a stupid question but can anyone help. I have a button on my flash project. how do I get to open a html document in the same directory without going through http://....
I tried get URL filename.html (just the name of the html page) but it didn't work
Any help would be well appreciated
Shane
Help Opening This .fla
hey guys,
for some reason when i try to open this .fla into flash mx 2004 it says "unexpected file error" ..can anyone please try to open it in your program and see if it works for you? let me know.
thanks a bunch!!
cristina
Opening Mac .FLA's On A Pc
Opening mac .FLA's on a pc
I keep getting the message "unexpected file format".
I've tried to open this file in 5.0 and in MX. It works fine on the mac no problem but will not open on my pc. Any ideas?
The extension is correct and I can play all of the .swf files created on the mac. help!!!
Opening More Than One Pop Up?
Ok here is the code ive used for opening the first pop up:
Code:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "bishPix.html";
target_winName = "BishopsPix";
width = 400;
height = 600;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
that is what i have as an action for my button.
this is what i have for my for my frame action along the timeline:
Code:
_global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL("javascript:window.open('"+url+"','"+winName+"','"+"width="+w+",height="+h+",toolbar="+toolbar+",location="+location+",directories="+directories+",status="+status+",menubar="+menubar+",scrollbars="+scrollbars+",resizable="+resizable+",top='+((screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"');void(0);");
};
I should be able to use this last global function for all of my pop up windows right? But when I apply the first bit of actionscript to another button, while changing the name and path, it does nothing.
What am I doing wrong?
Opening Pop-up Window From .exe
Hi,
I'm not sure if this is the right forum for my question but I hope someone can help me.
Using Flash 5,
How do I open Pop-up window with certain size from the
.exe file?
If anyone knows this one please help.
Thank you very much,
Oksej
Opening A File
I saved a .fla v5 file on the Mac, when I tried to open it in F5 I get a message saying that, Access to test.fla was denied. This is the second time this happened to me. Does anybody know why this happens and how can I fix that file.
Opening New Window
Hello!
I have these tumbnail pictures. When you click on one of the thumbnails, I want a new window to pop up with the enlarged picture and the exact size of the enlarged picture. If you go to the photos section of www.paparoach.com you can better see what I'm talking about. Can someone please help me out? Thanks!
Opening An .exe File?
Hi, all,
Does anyone know if I can open .exe files from within Flash?
If so, is there an equivalent method for opening Mac's application files?
Thank you for any information.
Brian
Opening Files
Hi I have a problem which I am hoping someone would be kind enough to give me a hand. What I want to do is in my flash move when a button is pressed it opens a file with the associated program for example a word program opening in word (with the move in the background). The production is going to be used on a CD as the introduction and what will need to happen is when the install is hit it runs the setup file. Thank you for reading this and I would be most grateful if you could give me a hand
Opening A Program
Suposing that there is a web in flash (*.swf) and his html in a place, like xoom, geocities. In the same directory there is a program, with his exe, dll, etc...
Can a person in the web open this program (the program will run in xoom for example, but, open in the computer of the person)?
Can I do this using flash?
If it's possible, how can I do that?
Thankx very much!
and sorry for the words that I wrote wrong...
Opening Files From A Cd
I want to make it so when my cd autoruns i ca click on a butoon and it will open up a movie.
how do u go about doing this?
Opening Exe Files
hi all...
how do I open an exe file from another exe file made in flash! I plan to make a Cd of the flash files. So making exes. Has anyone faced any problems making CDs from flash as director is the worldwide accepted application for making CDs!
nixthinx
Opening Exe Files
hi all...
how do I open an exe file from another exe file made in flash! I plan to make a Cd of the flash files. So making exes. Has anyone faced any problems making CDs from flash as director is the worldwide accepted application for making CDs!
nixthinx
Opening A Powerpoint Without Using FS
Hello,
I remember aeons ago seeing a movie on Flashkit which showed the easy way to open up programs that were installed on your pc (and hopefully it'll work for powerpoint files too). I tried this......
on (release) {
getURL ("C:Documents and Settings
eilwDesktop.asf.ppt", "_blank");
}
and I also tried doubling the slashes because it's an escape character.
Thanks
|