Preloading Into _self
Dear All,Well I am afraid it is yet another preloader question..... I have searched the forums, but don't seem to get the answer I need. OK....I have a large flash website, with a functional preloader - the problem is that it takes a while for the swf to download, therefore by the time the preloader comes up the site is approx 50% loaded already. But before this the page remains blank.My question is.... if I create a preloader in it's own swf, can I get it to show the progress of the main swf loading, therefore when the preloader has finished it loads the main swf ontop of itself - in other words when done...unload preloader swf and load the preloaded main swf.I hope this makes sense!Can anyone help!?!Thanx,Eternal Student.
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 08-11-2005, 12:43 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- _self
- How To Add _self Tag AS3
- Window _self?
- _self, _parent What Gives?
- How To Use _parent Or _self
- _self Not Working
- GetURL _self
- GetURL _self
- A Link With A Target _self Should...
- _self And _parent Not Working On IE
- GetURL _self Is There A Change From 6 To 8?
- Open Html _self
- GetURL Problem Using _self
- GetURL _self Not Working
- GetURL _blank Acts Like _self, Really?
- _blank, _self, _parent, _top ?
- Open In _self ( Need To Alter Code )
- Get URL In _self And Then Go Back To Exact Position?
- Script For Opening Webpage In _self
- '_self' Does Not Work With Intel Macs
- [CS3] GetURL Not Letting Me Use _self In Firefox
- GetURL: Why Does _blank Work, But Not _self?
- GetUrl Will Not Load In _self Window
- Open URL In _self Within A Flash Movie
- Target Browser As _self When Using Clip Parameters
- SWF/XML To Open _self Instead Of _blank HTML Page
- SWF/XML To Open _self Instead Of _blank HTML Page
- Opening A HTML Page From A Flash Site (_self)
- Make TextField Clickable Links To _blank Instead Of _self?
- Dynamic XML Menu Links--How To Make Target='_self' ?
- Problems With GetURL Targeting - Loading Into _self [renamed]
- Actionscript Button Open Html Link _self Window
- Can Some1 Please Explain _blank,_self,_parent,_top In Small Words?
- GetURL(varLink01, "_self"); Variable Not Passing?
- GetURL(varLink01, "_self"); Variable Not Passing?
- Flash Forms Screwed Up By "_self"
- Using The NavigateToURL(link, "_self"); Issue.
- Button NavigateToURL, "_self" Won't Work
- NavigateToURL "_self" Option Not Working.
- Open URL In "_self " From Array?
- Quick Q _self, "POST"
- GetURL(MYVAR, "_self"); FF Bug Why?
- [F8] [MX] GetURL("file.mp3","_self) Kills All Javascript Calls
- [CS3] NavigateToURL With "_self")
- Preloading .swf Before Preloading Main Movie
- GetURL("file.zip", "_self") Blocked By IE Online
- Whats The Difference Between "_self" And "_parent"?
- Help Required Progress Indicator Bars. NOT PRELOADING BARS AND NOT A PRELOADING QUE
- PRELOADING (dynamic Preloading?)
_self
Any reason this:
Code:
getURL("index2.htm",_self);
isn't loading into the same page?
Its on the main timeline and calling a new page that is supposed to load in the same window, but its opening another one...
How To Add _self Tag AS3
Hello All!
Need my AS3 links to open in the same window. Anyone know where to put the "_self" tag?
Code:
//links
import flash.net.URLRequest;
var LogoLinkURL:String = "http://www.google.com";
var EmailLinkURL:String = "http://www.google.com";
var GalleryLinkURL:String = "http://www.google.com";
var TagLinkURL:String = "http://www.google.com";
btnLogo.addEventListener(MouseEvent.CLICK, logoClick);
btnEmail.addEventListener(MouseEvent.CLICK, emailClick);
btnGallery.addEventListener(MouseEvent.CLICK, galleryClick);
btnTag.addEventListener(MouseEvent.CLICK, tagClick);
function logoClick(event) {
LinkTo(LogoLinkURL);
}
function emailClick(event) {
LinkTo(EmailLinkURL);
}
function galleryClick(event) {
LinkTo(GalleryLinkURL);
}
function tagClick(event) {
LinkTo(TagLinkURL);
}
function LinkTo(linkToUrl:String) {
navigateToURL(new URLRequest(linkToUrl));
}
Window _self?
I tryed to make a button link to a URL and open in its own window. For window I put _self, and that's supposed to open it in its own window right? Well it just opens in the window the flash is in. Is there any other way to make it open in it's own window?
_self, _parent What Gives?
I am trying to get my button, when pressed to open another page in the same window, but for some reason it keeps opening up a new browser. I have tried both _self and _parent but it still does the same thing. I know the solution is probably rather simple, can anyone help me? Thanks!
Here is my flash file:
Link to my .fla file.
How To Use _parent Or _self
Trying to get the URLRequest to open in the same window..
Btn_GemStones_mc.addEventListener (MouseEvent.CLICK, link_gem);
var GemPage:URLRequest = new URLRequest
("http://www.xxx.net/xx.html");
function link_gem(event:MouseEvent):void
{
navigateToURL(GemPage, _parent)
}
I get
Warning: 1058: Migration issue: The property _parent is no longer supported. Use the parent property instead..
_self Not Working
I made a site that opens in a new full screen window. I have some links to an external website that open in a new tab using _self
Everything was working OK but now, without changing anything, instead of opening in a new tab it opens in a different window. I donīt know if something changed in Firefox 3 or what.
Any idea? it is quite annoying
Thanks
GetURL _self
Hello,
I've created an html with a link calling a New URL, with certain measures and in which a swf is played. That works fine.
The idea is to make a slide show with next and previous buttons. So this swf, has a NEXT button with the order "on (press) {get
URL("mymovie2.swf", _self);}. This also works fine.
The new swf, has also this NEXT button calling mymovie3.swf in _self and so on, up to mymovie10.swf.
The problem is that after pressing a NEXT button for the second time, the next swf doesn't open in the same window but in a new one. Why? How can I resolve this?
Thank you.
GetURL _self
Hello,
I've created an html with a link calling a New URL, with certain measures and in which a swf is played. That works fine.
The idea is to make a slide show with next and previous buttons. So this swf, has a NEXT button with the order "on (press) {get
URL("mymovie2.swf", _self);}. This also works fine.
The new swf, has also this NEXT button calling mymovie3.swf in _self and so on, up to mymovie10.swf.
The problem is that after pressing a NEXT button for the second time, the next swf doesn't open in the same window but in a new one. Why? How can I resolve this?
Thank you.
A Link With A Target _self Should...
A link that has _self as the target should open up the webpage within the flash project, right? but you can't use the back arrow to get back to your flash project after you've left it? Is this the case? is there any way to enable the back arrow of the browser to take you back to the flash project or?
Thanks for all the help, everybody!
Beth
_self And _parent Not Working On IE
I have a bunch of buttons with this sintax:
on (release) {getURL("index.php?option=com_facileforms&Itemid=1 37", "_self");
}
None of them are woring in IE 7, if I change to _blan they work... How can I fixed it?
GetURL _self Is There A Change From 6 To 8?
With a simple mc with the instance name "butt"
Very simple code:
butt.onRelease = function () {
getURL("../Revision01/home/home.html", _self);
}
If I publish in flash 6 and check in browser it works. (Opens the page in the same browser window)
If I publish in flash 8 and check in browser it opens up in a NEW window.
Open Html _self
Hey,
I have a flash menu
a couple things: 1) I want a btn in flash to open up a different html document within the same browser window, but when I say getUrl it will only open in _blank without need for a change in security settings. I don't my users to have to reset thier security settings.
2) and once I get there I want my flash menu to know which html page its on, so I think I need to send a variable into my menu swf from the html in that new page... but how do i do that?
thanks alot, james
GetURL Problem Using _self
I have a simple button that is supposed to link to a web page that should come up in the same browser window. When I use _blank, it links properly into a new window. But when I changed it to _self the link does not work at all--nothing happens when you click. Firefox, Safari on a Mac, IE on a PC--all the same. Tried exporting as both Flash 8 and Flash 9--no difference. Hoping for an answer ASAP. Thanks
GetURL _self Not Working
Hello,
I am having a problem with getURL that I have not experienced before:
I have an html index page with some Flash controls in it. The controls act as buttons that lead to other pages on the site. If I use
Actionscript Code:
getURL("whatever_page.html", "_blank")
the new page opens up just fine. However, if I use
Actionscript Code:
getURL("whatever_page.html", "_self")
nothing happens. Or, if I leave off the "_self" option, the page should still load within the current page by default - still, though, nothing happens.
Does anyone know what the problem could be?
GetURL _blank Acts Like _self, Really?
I redid my home page and I'm confused because when I use
Code:
on(release) {getURL("http://mcaldwel.mystarband.net/", _blank);}
on(rollOver) {_root.rollText="Mike's Bobo Site";}
on(rollOut, dragOut) {_root.rollText="";}
why does this load up his page as if I had used _self, I've spent 2 hours on this, trying different things, and then another 45 minutes answering questions I can help with... now won't somebody get their brain around this for me?
http://www.ironmallet.com
_blank, _self, _parent, _top ?
Could someone tell me what is the difference between _blank, _self, _parent, _top. i have a few images that i used the loadMov () to go to other swf files. they work BUT, they seem to play on top of the flash file that was there at first. my code is:
on (release) {
loadMovieNum("Automation3.swf", 1);
}
I know it has something to do with the 1 but i don't know exactly what it means. Do i go to 2, 3, 4, 5, ...... which one would allow me to look and the swf by itself?
thank you
Open In _self ( Need To Alter Code )
I have the code below that opens up an htm document with certain sizes and format. Can anyone alter this code, so that it opens the new htm document in _self? At the same time changing the dimensions as specified?
Code:
on (release) {
screenX = System.capabilities.screenResolutionX;
screenY = System.capabilities.screenResolutionY;
screenW = 361;
screenH = 454;
screenT = ((screenY-screenH)/2);
screenL = ((screenX-screenW)/2);
url = "undoctored.htm";
getURL("javascript:NewWindow=window.open('"+url+"','windowname','width="+screenW+",height="+screenH+",top="+screenT+",left="+screenL+",toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');NewWindow.focus();void(0);");
}
{
Thanks for any help I can get!
Get URL In _self And Then Go Back To Exact Position?
Hello All,
I'm wanting to do the following.
In a photo gallery, click on the image and it then getURLs in a _self page of a larger image. I was wondering if it would be possible with code to go back to the exact same part in the movie it came from in the last page???
ANy ideas?
Obliged much!
Script For Opening Webpage In _self
hi, i have this button in a banner in a webpage that needs to load another page in the same (_self) window and it seems to work when the button is on the home page, but in subsequent pages, because they're in different pages, the button doesn't lead to the same page.
for example.
on this page http://www.test.com/index.html
on (release)
{
getURL("../test/join.jsf","_self")
}
this script works from the home page but in another page
http://www.test.com/music/default.shtml
after i press the button, the web address shows
http://www.test.com/test/join.jsf instead of going to the same page as above. and this swf is an include which will be on every webpage but the guy building the site doesn't want any references to the www.test.com in the swf file so that's why i've used the ../ notation for the buttons. the buttons work on the home page because it goes to the right place, but because of the button script, it goes to the wrong place. now i tried ./../ and ././ and / but nothing works. what should be preceding the test/join.jsf so that i whichever webpage this swf file is located at, it'll always go to www.test/join.jsf please help. thanks.
'_self' Does Not Work With Intel Macs
If I want to open a HTML page from a Flash button, using the ending '_self' instead of '_blank', nothing happens when I use an Intel Mac. No problem when I use a browser under Windows.
Does anybody know a 'smart' script as a workaround this problem?
Thanks for helping.
Daniel
[CS3] GetURL Not Letting Me Use _self In Firefox
Hi,
I am trying to get a getURL script to open in its self, but it is not working on Firefox (is on IE). The flash file is embedded into a wordpress template.
Here is the embed code I am using:
Code:
<object
type="application/x-shockwave-flash"
data="http://xxx.ie/wp-content/themes/xxx/intro.swf"
width="900" height="450">
<param
name="movie"
value="http://xxx.ie/wp-content/themes/xxx/intro.swf" />
</object>
Here is the script i am using in the flash file:
Code:
myButton.onRelease = function()
{
var targetUrl:String = "http://xxx.ie/?page_id=4";
getURL(targetUrl, "_blank");
}
Thanks!!!! Id really appreciate the help!!
GetURL: Why Does _blank Work, But Not _self?
I can't get my getURL to work. It works when I use "_blank" but not when I use "_self" or "_parent" or "_top" or leave it empty. What's the deal?
I've got it right off the main timeline. I've also tried putting it within an onRelease function.
So, this doesn't work:
Code:
getURL("images/aboutus.jpg", "_self");
But this does:
Code:
getURL("images/aboutus.jpg", "_blank");
Any ideas? Thanks a bunch!
GetUrl Will Not Load In _self Window
I have a simple action on a button to get a url and open it in its own window. my code is:
on (release) {
getURL("contour_bios.swf", "_self");
}
but it's not working; it's loading it ontop of my movie. The url is actually another flash movie; is there another or better way to load another movie in a new window?
Thanks in advance
Open URL In _self Within A Flash Movie
I am working on a Multi-panel view for education. The upper left corner runs a .flv (that is working), the lower left has a TOC that opens the specific .flv (that is working)... in the large panel to the right I need a url to open specifically that size and position within the movie...
I have this code:
var url:URLRequest=new URLRequest("http://www.google.com");
navigateToURL(url,"_self");
which is working to open the url in another window... Please provide guidance... what do I need to attach it to (a movie clip) that will autoload?
I am obviously new to flash and working my way through.
Thanks!!
Target Browser As _self When Using Clip Parameters
I just created a navbar using buttons made with Smart Clips.
Each time I click the button on the site, it opens a new browser. I want to [somehow] define the clip parameter to target _self.
How/Where do I put in this information so the buttons open the new pages in the same browser window?
tx
SWF/XML To Open _self Instead Of _blank HTML Page
I have a SWF placed on NTML page and consisting of several images controlled by XML document. When I click on an image, I want current HTML page be replaced by a new one, but instead, it opens a new browser window.
Can you help me?
XML and AS are attached.
Thank you!
Opening A HTML Page From A Flash Site (_self)
i have a navigation setup in flash. When i click the flash i want it in the same window, replacing all the flash with HTML, similar to the "_self" target in HTML. Anyone know how to do that?
This is what i currently have.
Quote:
home_btn.addEventListener(MouseEvent.CLICK, toHome);
function toHome(event:MouseEvent) {
var request:URLRequest = new URLRequest("home.html");
navigateToURL(request);
}
Make TextField Clickable Links To _blank Instead Of _self?
I have a movie that contains a TextField object set to show HTML, which can contain some URLs. When a user clicks on a URL, I want the new page to open up in a new window (or tab), instead of always in _self, which of course replaces the movie. I've trace'd the htmlText contents, and see TARGET="" where it's building the clickable links, which I assume the browsers interpret as the same thing as _self. Is there some better way to change the target for any URLs, short of doing a search and replace of the htmlText field?
Thanks for any help, this one has stymied me for months and will prevent a lot of likely tech support headaches when we release this applet into the wild.
Dan
Dynamic XML Menu Links--How To Make Target='_self' ?
Hello! I am a NOOBIE with actionscript, and I am working with a dynamically-loading XML menu, which works fine, except for one little problem. That is, that all of the menu links were set up to open in a new browser window, using getURL(this.data.href, "_blank");. When I try to change "_blank" to "_self", the problem remains. I would like all of the links, when clicked on, to open in the same browser window. Here is the code that refers to this:
Code:
/* this method, initMenu, loops through the menu items and their respective
sub navigation items and builds the movie clips. */
private function initMenu(nav_array:Array):Void {
// create a reference to the current class.
var thisObj = this;
// create variables which we will use to position the menu items.
var thisX:Number;
var thisY:Number;
for (var menuIndex = 0; menuIndex<nav_array.length; menuIndex++) {
// My edit for correct Positioning
if (menuIndex == 0){thisX = 13; thisY = 5;}
if (menuIndex == 1){thisX = 141; thisY = 5;}
if (menuIndex == 2){thisX = 335; thisY = 5;}
if (menuIndex == 3){thisX = 526; thisY = 5;}
if (menuIndex == 4){thisX = 618; thisY = 5;}
if (menuIndex == 5){thisX = 729; thisY = 5;}
// for each main menu item attach the menu_mc symbol from the library and position it along the x-axis.
var menuMC:MovieClip = this.m_parent_mc.attachMovie("menu_mc", "menu"+menuIndex+"_mc", menuIndex, {_x:thisX, _y:thisY});
/* store the current menu item's information within the MovieClip so you always have a reference to the sub navigation and the current menu item's link */
menuMC.data = nav_array[menuIndex];
// add a reference to the current menu movie clip in the class' m_menu_array Array.
this.m_menu_array.push(menuMC);
// set the caption on the main menu button.
menuMC.label_txt.text = menuMC.data.caption;
// create a new movie clip on the Stage which will be used to hold the submenu items.
var subMC:MovieClip = this.m_parent_mc.createEmptyMovieClip("submenu"+menuIndex+"_mc", (menuIndex*20)+100);
// set the sub menu's X and Y position on the Stage.
subMC._x = thisX;
subMC._y = menuMC._height;
// set a variable in the submenu movie clip which stores whether the current sub menu item is visible
subMC.subMenuVisible = true;
// call the hideSubMenu method which hides the sub menu item.
hideSubMenu(subMC);
// within the sub menu movie clip store a reference to the menu movie clip
subMC.parentMenu = menuMC;
// hide the sub menu movie clip on the Stage.
subMC._visible = false;
// set a variable which we will use to track the current y-position of the sub-navigation items.
var yPos:Number = thisY;
var temp_subnav_array:Array = menuMC.data.subnav_array;
/* for each sub menu item, attach a new instance of the link_mc MovieClip from the Library, set the text for the link and increment the yPos counter. */
for (var i = 0; i<temp_subnav_array.length; i++) {
var linkMC:MovieClip = subMC.attachMovie("link_mc", "link"+i+"_mc", i, {_x:0, _y:yPos});
linkMC.data = temp_subnav_array[i];
linkMC.label_txt.text = linkMC.data.caption;
linkMC.onRelease = function() {
getURL(this.data.href, "_self"); //***
trace(this.data.href);
};
yPos += linkMC._height;
}
// draw a slight 1 pixel drop shadow around the sub menu using the drawing API
var thisWidth:Number = subMC._width+1;
var thisHeight:Number = subMC._height+1;
subMC.beginFill(0x000000, 0);
subMC.moveTo(0, 0);
subMC.lineTo(thisWidth, 0);
subMC.lineTo(thisWidth, thisHeight);
subMC.lineTo(0, thisHeight);
subMC.lineTo(0, 0);
subMC.endFill();
//
menuMC.childMenu = subMC;
thisX += menuMC._width;
}
// define the onRollOver and onRelease for each main menu item.
for (var i in this.m_menu_array) {
this.m_menu_array[i].onRollOver = function() {
thisObj.showSubMenu(this.childMenu);
};
this.m_menu_array[i].onRelease = function() {
getURL(this.data.href, "_self"); //***
// trace(this.data.href);
};
}
}
The code mark with *** is where I have changed it from "_blank" to "_self".
Any help will be greatly appreciated!
Problems With GetURL Targeting - Loading Into _self [renamed]
Hi!
I'm having a problem using getUrl, can anyone pleeease help??
I've written my own code and used code from here:
on (release) {
getURL("http://www.kirupa.com", "_blank");
}
Everything works fine while testing in Flash, but if you try to load a page into "_self" whilst in a browser window, nothing happens. I'm sure this is something really simple I've missed, but what???
The code I'm using is from a function and goes like this...
//release instructions from function
mc.onRelease = function() {
this.gotoAndStop("down");
this.btnMask._x = btnOut;
getUrl (link, "_self");
}
//function call
btnMC1.onEnterframe =
function() {
menuControl(this, "http://www.google.co.uk")
};
Everything's working fine, except loading pages into _self. Can anyone please help??
Cheers in advance!!
Actionscript Button Open Html Link _self Window
hi, i know this is a stupid question but i've looked all over the internet and can't find the code for a button to open a new link within the same window. i know how to do pop-up windows and such but can't figure out how to open a window in self for flash. thanks in advance.
Can Some1 Please Explain _blank,_self,_parent,_top In Small Words?
I am a somewhat intelligent man. I know how to fill out an application at McDonald's I can write my name etc.etc. , but when it comes to those _blank,_self,_parent,_top they are like Criptonite for Superman.
I understand blank opens a new page.How about the rest. Can you help me please.
ThanX a bunch. Lots of great karma coming your way.
T.
PS but explain like you're explaining to your grandmother.
GetURL(varLink01, "_self"); Variable Not Passing?
i'm passing varLink01 from PHP to a flash file no problem (it loads into a dynamic text field fine).
but when i try and load this variable to the getURL command the link is not working, the flash takes me to a "page not found." here is my code:
DECLARE VAR
var passed:String = varLink01;
(different layer, same frame)
ACTION SCRIPT
on (release) {
getURL(varLink01, "_self");
}
i've put hours into this.... any help???
Thanks, Joe
GetURL(varLink01, "_self"); Variable Not Passing?
i'm passing varLink01 from PHP to a flash file no problem (it loads into a dynamic text field fine).
but when i try and load this variable to the getURL command the link is not working, the flash takes me to a "page not found." here is my code:
DECLARE VAR
var passed:String = varLink01;
(different layer, same frame)
ACTION SCRIPT
on (release) {
getURL(varLink01, "_self");
}
i've put hours into this.... any help???
Thanks, Joe
Flash Forms Screwed Up By "_self"
whenever i use "_self", it automatically throws in all my variables for the form, in whatever order it seems to feel like. when i leave out "_self" it pops up a new window, but it gets it all just fine. that would be fine, but I do not want it to pop up a new window, nor does my client.
getURL("http://thesite.com/search/X?SEARCH=" + [SEARCH] + "&b=" + [b] + "&SORT=" + [SORT] + "&m=" + [m], "_self", "GET");
it looks complicated, but it's really not. I'm putting in the information exactly how this crappy search engine wants it (they give us a lot of limitations, so i'm just working around them) so i put in all the little parts like &SORT= and then insert one of my variables [SORT].
this all works just fine whenever I leave out "_self". if I put it in, I end up getting the correct string PLUS whatever flash feels like throwing in, so it gets like twice the variables that it really needs.
what is up with that??
thanks for your help!
Using The NavigateToURL(link, "_self"); Issue.
I have a 1 minute video that was encoded and embedded into the workspace. The goal is, right after the video is done playing, the page is redirected.
I've cleared the frame right after the movie ends. Inserted a keyframe. And have placed the following action in place:
ActionScript Code:
navigateToURL(new URLRequest("home.html"));
The problem I am experiencing is that it is defaulting to opening a new window. I tried doing this:
ActionScript Code:
navigateToURL(new URLRequest("home.html","_self"));
However it just simply loops the movie and doesn't proceed to the page. I've tried using a full URL as well.
This has GOT to be something simple that I missing. Please?
Button NavigateToURL, "_self" Won't Work
I am using the following code to create simple buttons, which navigate the user to another page when clicked.
I don't understand why they keep opening in new windows despite the use of "_self"!
Thanks a lot for any advice!
Attach Code
about_btn.addEventListener(MouseEvent.CLICK, aboutHandler);
function aboutHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("about.html"), "_self");
}
contact_btn.addEventListener(MouseEvent.CLICK, contactHandler);
function contactHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("contact.html"),"_self");
}
NavigateToURL "_self" Option Not Working.
I'm using the navigateToURL function in order to open a new html page. I want the new html page to replace the page that holds the swf. I'm using the "_self" option, but it's opening the window in a new tab in both FireFox and IE.
Open URL In "_self " From Array?
I'm working with a menu that I found here on Flash Kit which uses arrays to build a dynamic menu. However, I'm struggling a bit because I can't figure out how to link the buttons in the array to a URL and have them open in the same browser window. It doesn't help that the code is a mix of Italian and English either
I e-mailed the author, but haven't gotten a response. If anyone can take a look at this file and come up with a solution, I'd appreciate it. Thanks!
Here is the file
Quick Q _self, "POST"
getURL("http://ba.com", _self, "POST")
how do i specify which variables to send in the HTTP header
GetURL(MYVAR, "_self"); FF Bug Why?
Hey not sure if anyone here has experienced any issues with FF and the getURL method when using variables.
its annoying me to no end.
any ideas??
[F8] [MX] GetURL("file.mp3","_self) Kills All Javascript Calls
Hello fellow flashers.....
I am looking for a solution to the following error.
I have created an application that can download an mp3 using the browsers "download a file" functionality.
getURL("songlink.php",_self);
The php file changes the content type of the window to initiate this download.
Upon doing so, if another button my application tries to make a Javascript call to the browser, the event is not triggered in Internet Explorer. It just makes a sound, and the screen flickers. However the functionality works fine in Mozilla.
Flash 8's ExternalInterface class corrects this issue, but I am developing this as a base for use with flash player 7.
Has anyone come across this issue before...
Thanks
[CS3] NavigateToURL With "_self")
Hi there,
I've started a web page and have a flash menu on it and am wondering the best way to hook up the buttons to other url's (index, profile, services, etc.). Should I just put in an actionscript action for each button or is there a way to do them all in one actionscript?
Next it's my code that doesn't work with "_self" only works with "_blank" and that is my problem, I need the urls to display in the same window.
......................
ins_ini.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void
{
var targetURL:URLRequest = new
URLRequest("http://romulocantorjimenez.com/");
navigateToURL(targetURL,"_self");
}
trace("I am clicked");
.......................
Can anybody help?
Thanks in advance...
RCantor
Preloading .swf Before Preloading Main Movie
Ummm
Things are getting complicated lol
I have my main movie going ..AND I actually managed to get a pre-loader working ...
and it's all ok as long as you have adsl or cable connection - otherwise it is REALLY messy.
The main .swf uploads onto the web .. but the secondary swf have not yet loaded .. and so it is all out of synch .. if you wait a while and refresh you get it ... but argh it is horrible .....
so .. is it possible to block the preload of the main movie until it has preloaded its secondary swf's ??
I should imagine it's recoding the actions AGAIN .. can any one get me started please ..
Is this often a problem if you add swf to a main movie ???
tyyyy all
julia
Whats The Difference Between "_self" And "_parent"?
I finally got my button situation figured out. I made a button for a little intro movie for my website and i made a "skip intro" button to get to the website...i want it to open in the same window as the intro movie, so for the button, do i pick "_self", "_parent", or something else? Thanks for any help!
Help Required Progress Indicator Bars. NOT PRELOADING BARS AND NOT A PRELOADING QUE
Help required ! progress indicator bars. NOT PRELOADING BARS AND NOT A PRELOADING QUESTION!
OK I have a swf called audio.swf which just contains a 15 minute streaming audio file that it just dragged along the time line.
I want to have some visual indicators in the swf, so that the user has some info of what is going on:
What I require within the swf are the following:
1.Progress Bar: How much of the movie has been played. This will obviously go up as the timeline for the swf progresses.
2.Streaming bar: Giving the user an indication of the amount of swf that has currently been downloaded.
3.Time (minutes and seconds) that the movie clip has been playing for
4.Elaped time (time remaining)
As you can see I have attached no fla, as I am sure that these 4 visual indicators are all fairly simple to code of any of you action script daddies out there.
Any help on one or all the 4 things I require would be brilliant.
If anyone could help me this would be more than appreciated.
Cheers
PRELOADING (dynamic Preloading?)
dear all
i hope someone could give me tips how to do this:
i have one main scene and 7 navigation-points. each of the 7 scenes are external movies which should be loaded.
but can they load in the background too, even if the user didnt select a point yet? and when he does, the progress bar would automaticly fill up as much as the movie is loaded already. and it should continue loading all the scenes in the background, while he is in one section.
i hope you know what i mean, excuse my english.
looking forward for a help asap. thanks a lot in advance!
|