Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Opens In Different Folder



THIS FLASH IS DRIVING ME CRAZY!
I am using Flash CS3. I am on a network, however I am working on my local hard drive. When I open a Flash CS3 project in one folder it defaults to save and publish in the previous folder I was working in. I always have to make sure it's saving and publishing in my current folder! WHY IS THIS?

Also, it is NOT letting me publish. I get an error:
Error opening URL 'file:///HK%2D179%2DChrtt/Users/chrtt/Desktop/SlideShow%5FNano/photos.xml

Can anyone help?
Thanks.'



SitePoint > Design Your Site > Flash and Actionscript
Posted on: Jul 28, 2008, 07:32


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Actionscript That Will Make A Flash Graphic "folder" Change If The Mc It Opens Closes
i am creating a pseudo desktop for my webpage. i have little folder icons that u can drag around and thats fine, but, i want them to have 2 states. one is closed and when u click on them it changes to an open folder. i think i can do this easily with the button state "down" but i want it to stay open until the person closes the mc "looks like a floating folder" is closed or "unloaded". i really really need help with this.

Loading Movies From A Folder Located In Root Folder?
hello.

I want to organize my root folder on the server better. How would I write the code to load a movie that is located in a folder called slideshow, for example? Basically, how do I target that movie located in root/slideshow/...
I hope you understand.

Linking To Files That Are In The Folder That Hold The Folder Where Ur File Is
i'm trying to get my website to run as it would on the internet but not actually on the internet for a college exhibition. most of my website is in one flash doc but a few pages are seperate that hold some media. all the pages are in one folder (except one) and link to each other with this code:

on (release) {
getURL("whateverfile.htm");
}

the other page is my music page, which is in a folder within the folder that all the other pages are in. to get to the music page from the rest of my website, i did this:

on (release) {
getURL("musicfolder/mymusic.htm");
}

if you even know what im talking about how to i get back out of that folder to the main folder with a link to the main website page?

this is what i tried:

on (release) {
getURL("websitefolder/mywebsite.htm");
}

it didnt work.
i'm quite new to action scrpiting, as in i started learning 3 days ago. im more of an animator to be honest. thanks

Xml Loads When Path Is To The Same Folder,but Not From The Folder I Need To Load Fro
hey there! here is my problem if anyone is so kind to point me in the right direction:

i have a Part2_Resources.swf that loads assets/resources.swf into a container on it's root timeline. no problem. assets/resources.swf then loads in config.xml for its content. i think the problem comes in relation to my file structure even though I have already made sure that my path is relative to my root swf.

this presentation will be on cdom so i want to keep my main projector file out in the open and then store all the other files into an 'assets' folder. so here is my file structure:

cd / Part2_Resources.swf (will end up being a projector file)
assets folder / resources.swf and config.xml

when i play my resources.swf by itself with the config.xml loaded directly it works perfectly (ie path: configxml.load("config.xml")

but when i play the Part2_Resources.swf, which then loads assets/resources.swf, wich in turn loads config.xml from the assets folder (ie: path to xml file in resources.swf changed to configxml.load("assets/config.xml") the data doesnt load, or isn't visible for some reason. I am not getting any errors, just no content from the xml file.

i can't figure out where im going wrong except that i might need to use absolute paths which i don't know how to do from a cdRom!

maybe it is another problem altogether?? i attached my files if anyone wants to give it a go!


Help please!!!
Much appreciated!!!

Shared Folder, Resource Folder ...
This is a bit of an open question, but in terms of application development, project development, systems architecture, etc, in what situation would you have a 'Resource Folder' and a 'Shared Folder'. I believe these are common, so where are they used. Anyone heard of these terms before ?

Open A Folder Not A Web Browser Folder.
I need help openning a folder with flash.

I'm creating a Projector App. When I click on the btn I need to open a folder in my computer. I tried the fscommand by no luck.

WOH.. A Box Opens Up Itself? How?
Hey, I'm wondering if its possible to have a box open up once clicked.

I want to do a enter page with a gift box sitting there, and then once clicked open itself up and page content comes out..

Can anyone point me in the right direction? I can show an example of the box I want to use.

thanks!

Get URL Opens 2 Windows...help
Hi everyone I'm brand new at FLASH MX. I want a simple button to open a mailto window, i used=
on (release) {
getURL("mailto:tungston_webdesign@hotmail.com", "_blank");
}

It does open the mailto window BUT it also opens a browser window behind or infront of it! Has this happened to anyone before?
thank you for reading.

Click Here - Opens A PDF
Hi everyone,

Im wanting to make a click here button (which I can do) but instead of "go to web page and open" or "load external webpage or SWF" Im wanting to make a button where you click and it opens a PDF in Acrobat reader automatically.
Is this possible?

Is someone able to help??

Only One Swf File Opens, Then Nothing...
all of my files are here under exiled folder:
http://briefcase.yahoo.com/downloadgeek

what happens is that the index file opens (thats good) then you click on the lyrics button and the lyrics page opens (thats good) then you click on one of the titles and those lyrics open up (thats good)...but after that no matter what else you click on in the titles area nothing else opens up!!!

can someone please assist me?
thank you!

File Opens On Some Pc's And Not On Others
Hello. I have a button that is programmed to open a PDF file in a new window. On some pc's this works and on others it doesn't. It comes up saying:

Action canceled
Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.

I've read that it can be caused from having more than one browser type installed on your pc and to make sure that you have IE set as the default. I have set it as the default and it still doesn't work however it works every time on other pc's.

Any ideas why?

Cheers
Lugosi

FP 8 Install But Opens With FP 6
Our company just updated our Flash Player to version 8. Although all computers have version 8 installed, some are opening files in version 6. Does anyone have any ideas as to why this might be happening; perhaps a corrupt install? Thanks for the help.

Url Always Opens New Page
Hi,

I'm having a couple of problems when publishing my flash file.

1) How do I get a url link to open it in the current page instead of opening a new link?

2) When I publish my swf, flash creates an html with it. When I open the html and click on one of the links in the flash, it doesn't do anything. However, when testing my movie it works fine.

Any ideas? Thank you!

Jay

URL Opens In New Window, Don't Want That.
Hi all,

At http://www.bartlett-family.net/chris/flash/assignment5/ I have the screen set up so that once the correct password is entered, it will allow you to go to my site.

It all works, the trouble is that the URL to my site opens in a NEW window, which I don't want. I want it to open in the same window. How do I do this?

To get to where you can see it, you'll need the password. It's "WorldBuilder" without the quotes and it IS case sensitive.

Here's the fla file.

Thanks,

Chris

GetUrl Opens Two Windows
the site i designed is fullscreen using a frameset to avoid scrollbars. i have buttons with geturl action. sometime 2 windows open. can this be?????


thanxxxx

GetUrl Opens Two Windows
I have a button which shoud open a new browser window wit getUrl("http://www.example.at", "blank"). Sometimes this action opens two windows. Can this be?????

any ideas

Closing One Image While Another Opens
I am trying to create a series of buttons which activate fade in images.Iwould like to have the image fade in when the button is clicked and fade out when the button is re-clicked, if another button is click while an image is still open the image will fade out before the new image opens. I have placed a test page here http://www.ibrowseplus.com/button_test.html but it does not work properly. Any help I can get would be greatly appreciated. Cheers!

Mailto Opens 2 Windows
HI...
my problem is that when I click on the e-mail address to 'contact' it brings up a window that says 'action cancelled no page to display..microsoft...'
This is on explorer on a pc. A friend of mine didn't get this on her mac. Is this just a weird pc/mac thing? Any suggestions?

http://www.geocities.com/ddplaisted/contact.html
thanks

That Window The .swf File Opens In
when you get a choice, Enter Flash Site or Enter HTML Site, some, when you click the flash site, have the flash come up in a little pop-up window, i would like to know how to do that i think it has something to do with the HTML but i'm not sure, if you guys know how, which i'm sure you do, please tell me, thank you.

Actionscript Window Opens In Same?
Flash 5 Stupid Popup Problem Heeelp !!!!

hi i have a main html that loads a first pop up (called VRAIINTRO.html) then in that pop i have a page with another pop up that should open over with a email script (called ukdetc.html)
the problem is when i click that email link to pop it doesn't pop but opens in the same window (with no browser menu!!!)
how come it won't pop another new window over the main one??

thanx for your help, i must get this site online tonite !!!!


•••••••this is what i have put on my buttons on flash : ••••••••

on (release) {
getURL ("Javascriptopupwindow(1)");
}



heres's the texts :


•••••••••••••The VRAIINTRO.html document••••••••••••••••••

<HTML>
<HEAD>
<script language="javascript">
function popupwindow(index)
{
if(index==1)
{
site="diffcomp.html"
}
if(index==2)
{
site="ukdetc.html"
}

window.open(site,"newwindow"," toolbar=0,location=0,directories=0,status=0,menuba
r=0,scrollbars=1,resizeable=1,width=800,height=500
")
}

</script>
<TITLE>VRAIINTRO</TITLE>
</HEAD>
<BODY bgcolor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- URL's used in the movie--> <A HREF=Javascriptopupwindow(1)></A> <A HREF=Javascriptopupwindow(2)></A>
<!-- text used in the movie--> <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=800 HEIGHT=500>
<PARAM NAME=movie VALUE="VRAIINTRO.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="VRAIINTRO.swf" quality=high bgcolor=#FFFFFF WIDTH=800 HEIGHT=500 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>




•••••••••••THE UKDETC.HTML DOCUMENT HERE••••••••••

<HTML>
<HEAD>
<script language="javascript">
function popupwindow(index)
{
if(index==3)
{
site="emailacp.html"
}
if(index==4)
{
site="emailinfo.html"
}
window.open(site,"newwindow"," toolbar=0,location=0,directories=0,status=0,menuba
r=1,scrollbars=0,resizeable=0,width=350,height=350
")
}
</script>
<TITLE>ukdetc</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<A HREF=Javascriptopupwindow(3)></A> <A HREF=Javascriptopupwindow(4)></A> <!-- text used in the movie-->
<!--The Different Company was born with this century, to offer e (Moscow). To find a store near you click on the link below : --><OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=800 HEIGHT=500>
<PARAM NAME=movie VALUE="ukdetc.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="ukdetc.swf" quality=high bgcolor=#FFFFFF WIDTH=800 HEIGHT=500 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>

Double Print Box Opens Up
hello!
I am using a pretty hit and miss set up with my printing.
I get a double print box called up, and when I hit the print onthe first i get a good sized pic but when I dont use the topmost box but cancel it and click on the lower most one to print it prints out a smaller image.
This is the set up.
I have a container_mc which holds an image. cept i never get it printed out. The movie clip is linked and called containcer_mc too.
next:
I have a button with the following attached:
on (release) {
getURL ("print:");
print ("_root.container_mc", "bframe");
}
which sits in a movie clip,that is called up at the end of a game.

I have a frame called #P in the root about 4 frames in, which I have had to place the image in instead of the container_mc because it manages to find THIS image here but nowhere else. even if I place the frame #P lable on the container_mc where I presume the image should be got from and no where else.

I know I have got it really messed up but if noone can follow this, at least let me know how a print button works for real and do it step by step in idiot mode pls.
DOH!
Thank you;
Shaf

Add Time Before Window Opens?
I'm trying to figure out how to add a small pause between the press command and actually opening up a new window. There is a small animation that plays on press and it's always getting interupted by the new window. Any suggestions? Here's my script so far:


on (press) {gotoAndPlay(62);}
on (release) { getURL("http://www.xx.com", _blank");
}

External Swf Always Opens Get Url In New Window
Hey, I have created an external swf for a presentaion and it will go on a cd. It has a couple of buttons that will open up different web links...
The problem I am having is that each button will open up "its own" browser window...and if you click each button several times it opens several browser windows. (only the first time you use that button though)
I would like the presentation to only open one browser window...no matter how many times you click, or how many buttons you click.
Can this be done?
Thanks for the help!

This is the code I am using for the buttons now:

on (release) {

//Goto Webpage Behavior
getURL("http://www.webaddress.com","_self");
//End Behavior

}

Mail To Opens Safari First?
Hi,
I created a button to send mail to an email adress and am having some trouble.

Here is the script:

on (release) {
getURL("mailto:don@doneastburn.com?subject=Video Production Question");
}

It works, and puts the subject in, but the problem is it opens an Untitled window in Safari first?! How do I get it to just open my mail program?

Thanks,
Riceman

Autocenter The Web When The Html Opens
I'm creating a web and need it to autocenter when opens into the explorer window. Depending the resolution of the monitor would has to be centered in a place or another, so I need it to do it automaticaly.

thanks...and sorry 'bout my english.

URL In Textfile Opens New Window
Hi,

Seems simple but I can't seem to figure out how to do it ;
I've got several textfiles that open in my flashmovie. In those textfiles are url codes. Now every time I click on an url my browser redirects to the url. When I return to my flashmovie (back button from the browser) it starts playing from the beginning. Very annoying.
Is there a way to make those url codes open in a new window ?

Hope someone can assist ?

Thanks,
Daniλl

Button That Opens A File
Is it possible to open a file (specifically a .mpg) just by clicking a button?

I plan to compile the .exe and .mpg on one cd. Then in the .exe, there's a button when clicked will open the .mpg on the default media player of the computer where the disk is inserted.

I hope you get my point..

Browser Opens Behind Projector--please Help
ok so all my getURLs launch the browsers fine, but if the user allready has a window open, the browser launches behind the projector causing the user to minimize and tab over to the web browser. this only seems to happen on a pc

is there any way to attach something to either the first frame of the flash to close any open browser windows? i know this is a bit of an annoyance for me, as well as many others, from a usablitiy standpoint, but this is the last tweak my client is not budging on

here is the absolute path script i am using for my getURLs:


Code:
on (press) {
poslastslash = this._url.lastIndexOf("\");
if (poslastslash == -1) {
poslastslash = this._url.lastIndexOf("/");
}
folderurl = this._url.substr(0, poslastslash+1);
poscolon = folderurl.indexOf("|");
if (poscolon<>-1) {
folderurlstart = folderurl.substr(0, poscolon);
folderurlend = folderurl.substr(poscolon+1);
folderurl = folderurlstart+":"+folderurlend;
}
targeturl = folderurl+"games/hallofthewild/hall_of_the_wild.htm";
getURL(targeturl, "_blank");
}
thanks for your time and input

LoadMovieNum Opens In New Popup
Hi all,
I am willing to fix a problem where loaded swf into another one, which replaces the original one, opens in a popup window and not in the original window .... how to fix that ? I would like user to get directly to site no allow popups or such a dings ...????
Thanks

A Button That Opens A New Window
i'm making a site with alot of photo's on in and i would like to have a page full of button thumbs that open the large photo's in a new window to utilize as much room as possiable.

Window Opens To SIZE
Hey guys I'm looking to make a button in flash 8 that when CLICKED will open a new window to the size I set it to. Also have no scroll bar or title bar.

Anyone have any clue how to do this? PLEASE HELP!! i need to finish this 2nite !!!

I Want All My Video To Stop When A New Pop Up Swf Opens ...
I have my main flash movie. And i have 3 different scenes in that movie that using the media display and media control components stream flv's.

I also have in the navigation a button that calls javascript from the html to have a new external swf pop up.

It all works great.
But when the Swf pops up i want to pause the video that's playing ... I can't figure this stupid thing out for some reason. I know it's probably simple.

I'd appreciate any suggestions!

Detecting When ContextMenu Opens
Is there any way to know when the Context Menu is opened? I can't find any events or properties to detect this.

In the browser, items underneath the Context Menu in a Data Grid are still being rolled over, and I need to stop it.

Detect If Application Opens
I need to open powerpoint, pdfs and word documents from with my flash application. My flash presentation will be running from a cd. Is there a way to detect if the application does not open and throw an alert message "could not open file"? I am assuming the worst, where the user will not have powerpoint, pdf or word installed on their machine.

Link Opens In New Window
using this code now in the action script and it works great - only problem
is, when I run it, the link opens in a new window instead of the current
window. Can someone tell me how to fix this?


var link:URLRequest = new URLRequest("home.html");

skip_btn.addEventListener(MouseEvent.CLICK,Skip);

function Skip(event:MouseEvent):void
{
navigateToURL(link);
}


Thank you!

Help My Flash Site Opens Pop Ups?
http://www.meekostudios.com

why might this be happening? a viewer wrote this...

when i pressed on your gallery 27 windows popped up, i was using Mozilla Firefox when i opened it

i got 8 windows with Mozilla and 18 windows with Windows Explorer. The first time was with my desktop and now it was with my laptop. and yes it is from the home page it asks me if i will allow pop-ups from your web site then i say yes and then it comes up with all the tabs.

thanks

Mailto Opens Browser On Mac
When i use
on (release) {getURL("mailto:info@mahonimusic.de");}
in an Offline-Project (DVD), only on Mac the Script calls the primary Mailer, but it opens a Window in the primary WebBrowser too. It works like it should on Windows Machines.
I read in many Forums about the Phenomenon - but no Solution.
There must be a Solution - it would very crazy, if not.
Any Ideas?
( please sorry for my cruel English - thanks)

NavigatetoURL Opens Dreamweaver
why doesnt this open in my web browser when testing? its opens dreamweaver and sits... is it a pref I have somewhere?









Attach Code

home_btn.addEventListener(MouseEvent.CLICK, powerClick2);
function powerClick2(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.cnn.com"));
}

[MX] Loadvar Opens New Window, I Don't Want This
Hi, everything is working great about this script except that it is opening a new browser window when the submit button is pressed. Is this "open window" function in the following script or in the php file that it calls? If it is in the actionscript, how do I stop a new window from opening? Thank you.


Code:
_root.submit.onRelease = function() {
formData = new LoadVars();
formData.email = _root.form.mymail_add;
formData.id = "JerseybandEmailList";
formData.type = "text";
formData.send("http://www.jerseyband.com/MyMail/add.php", formData, "POST");
_root.gotoAndStop(2);
};

Pop-up Window Opens In Firefox, But Not In IE?
Hi,

I am having problems with launching a pop-up window from Flash in IE (I'm working in MX 2004).

I noticed the following comment in the toturial http://www.kirupa.com/developer/mx2004/chromeless.htm:

"The only glaring problem with this cool effect is that you have to use Internet Explorer. Users with Netscape or Mozilla browsers are out of luck".

I have the exact opposite problem: In Firefox it works perfectly, in IE nothing shows - I tried everything: Internet settings, pop-up blockers, downloading up dates for IE - nothing helps.

I had a similar problem with lauching a full screen window from a Flash file (in a html file). Worked great in Firefox - a no go in IE.

If anyone have an idea what is happening, please let me know.

Thanks!!! - from Marie
(new on the forum and quite new to Flash also)

Browser Opens Behind Projector--please Help
ok so all my getURLs launch the browsers fine, but if the user allready has a window open, the browser launches behind the projector causing the user to minimize and tab over to the web browser. this only seems to happen on a pc

is there any way to attach something to either the first frame of the flash to close any open browser windows? i know this is a bit of an annoyance for me, as well as many others, from a usablitiy standpoint, but this is the last tweak my client is not budging on

here is the absolute path script i am using for my getURLs:


Code:
on (press) {
poslastslash = this._url.lastIndexOf("\");
if (poslastslash == -1) {
poslastslash = this._url.lastIndexOf("/");
}
folderurl = this._url.substr(0, poslastslash+1);
poscolon = folderurl.indexOf("|");
if (poscolon<>-1) {
folderurlstart = folderurl.substr(0, poscolon);
folderurlend = folderurl.substr(poscolon+1);
folderurl = folderurlstart+":"+folderurlend;
}
targeturl = folderurl+"games/hallofthewild/hall_of_the_wild.htm";
getURL(targeturl, "_blank");
}
thanks for your time and input

LoadMovieNum Opens In New Popup
Hi all,
I am willing to fix a problem where loaded swf into another one, which replaces the original one, opens in a popup window and not in the original window .... how to fix that ? I would like user to get directly to site no allow popups or such a dings ...????
Thanks

ExternalInterface Always Opens New Window
I need to be able to control window parameters (size, toolbars, etc) of the browser windows I open from my SWF, so I'm calling a javascript function in the HTML page that holds my SWF by using


Code:
ExternalInterface.call("OpenPage", url, win_name, win_params);
The JS function is very simple:


Code:
function OpenPage(strUrl, target, params) {
if (!params) params = '';
var win = window.open(strUrl, target, params);
win.focus();
}
The problem is that no matter what target (win_name) I specify, it ALWAYS opens a new window. I've tried hardcoding the open call with window.open(strUrl, 'SAME', params); with no luck.

If I call the JS function from the HTML page, it works fine. Somewhere between the SWF and the JS, the window referencing gets messed up.

Anyone else encounter this or have any ideas?

Line Opens Up (newbie)
Hi I am new to flash but slowly learning I am a bit stuck that the moment
and wonder if someone could help I would like to know how to make a line
Open up into a box to then show the contents of my site
(Links, menu, etc) thanks to anyone who can help
stig

Movie Fps Is Different When Swf Opens In I Exporer?
Hi there,
Can anyone please help.
I have a photoshow...with audio track, that is in sync perfectly when I view the swf directly...and then out of sync when I open the swf on a webpage.
Interestingly, I can change the fps rate....and then in't fine on the webpage...and out of sync viewed directly.

(At 4.15fps - it's fine opened direct...but not from ie
At 4fps - it's fine in ie...but not direct)

Thanks a lot!
Peter

Button Opens New E-mail
Thanks for taking the time to read my question.

Is it possible to open a new e-mail message when the user clicks on a button in a Flash movie?

Thanks,

Brad

Why The Bad Performance When Menu Opens?
Hello,


I'm half way into making a flash website, and a while ago I found out about this problem which is frustrating me and I don't have a clue what causes it.

Menu

Here's the menu. When the page loads the system performance is perfect, low. When you click on the card the menu opens, it's still fine. When you close it, it goes back to the original state, but when you click on a menu item it opens another swf movie which drives the performance nuts. On my P4 2.2 ghz it uses the CPU at 99%, and on my 800mhz celeron laptop it really slows down at an impossible rate.

Strange enough when closing the menu (which now simply uses a function that changes the _rotation property to 0 for all cards, and nothing else) the performance is fine again.


Doesn't my idea work at all and should I try remaking another type of menu? I know for a fact that the setInterval function used to open the menu gets cleared when it's opened.

I would really appreciate any input! Thanks in advance!

PDF Download Opens In Browser Window
Hi,

I want to set a link to a PDF that people can download using getURL. I am finding that on PCs the PDF opens in the browser window, rather than downloading to the desktop or saving to file as I want it to. Why is this?

Cheers.

Button Opens A New Browser Window
I want to learn how a button can open a new browser window.
Tanks!

Copyright © 2005-08 www.BigResource.com, All rights reserved