ActionScript 2.0 :: GetURL Loading A Page That Uses ASP
Jul 29, 2009
here we go... [URL] if you click on the "instant quote & order online " button, the website opens up fine in a new window, but when you click on an option in the new page - i.e. business cards - the website freezes!?
[Code]...
View 1 Replies
Similar Posts:
Oct 7, 2007
I have a menu that navigates my webpage. Say, for instance, I click on the "Home" button, it should take me to the homepage.I want the home page to open in the same window, not another window or tab. So I used this code:
Code:
on (release) {
getURL("http://www.mywebpage.com/home",_self);
}
Yet the homepage opens in a new window instead of the same window. Should I be using the "_self" parameter, or something different?
View 3 Replies
Mar 26, 2009
So basically i have a flash application that needs to call a url when a button is clicked, but i don't want it to actually load a new window or even load the url. All the button does is call the url and it logs it, kind of like a click tag. My server keeps track of the number of times the particular url is called.
Everything works fine, but everytime i do it, it opens up a new browser window that is empty, i do not want to open a new window. I am using getURL, but that actually opens a new page, is there any other way to do this?
View 1 Replies
Sep 22, 2009
I have a Flash Form, which sends Variables to a PHP page through getURL - Post method.
My requirement is that : i need to redisplay the Form variables (name, email and so on) back in Flash as a confirmation after the data has been entered into the database in the PHP page.
View 1 Replies
Mar 26, 2009
So basically i have a flash application that needs to call a url when a button is clicked, but i don't want it to actually load a new window or even load the url. All the button does is call the url and it logs it, kind of like a click tag. My server keeps track of the number of times the particular url is called.Everything works fine, but everytime i do it, it opens up a new browser window that is empty, i do not want to open a new window. I am using getURL, but that actually opens a new page,
View 6 Replies
Mar 1, 2010
I have this code on my button in a flash header to load a page into an iframe:
Code:
on(release){
getURL("home.html", "mainframe")
}
And I have this code in my html document defining the iframe: Code:
<iframe id="mainframe" src="home.html" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>
The problem is, this works fine in google Chrome, but not in mozilla firefox or IE. So that eliminates the idea of it being a coding error on my part. Is there another way to do this that all three browsers will support?
View 0 Replies
Aug 8, 2006
I have a .swf file containing a navigation bar and also an animation. I was going to use getURL on the nav buttons so that a different html page would launch onRelease. The animation in the swf file that contains the nav buttons plays as soon as the swf is loaded and there's also a movie clip in the file which continues its animation even after the file has loaded and played. As each of the nav buttons are pressed and the correct html page loads, I don't want the entire swf file to reload and therefore play the entire animation again as it did on the home page, but instead I just want it to appear as though it's already loaded but I do want the separate movie clip in the swf file to continue to play. Is there any way to make this happen?
Also, I wondered what code I'd need to make the current page nav button appear in a different state to all the other buttons to make a "you are here" effect.
View 3 Replies
Jan 10, 2006
if i wanted a flash button when clicked on to open a html page in a i-frame how would this be done? what would the script be for this particulare action?
View 6 Replies
Feb 8, 2010
Ok so my swf on my homepage is calling in the main.swf which then has movieclips and coded like this on the Actions layer which I made
button1.onRelease = function (){
_root.button1.getURL("http://scholarscanada.com/wordpress/education/programs/reading-readiness/" "_parent");
}
Here is the site so you guys can see, I believe it has to be something with calling the main.swf into the movieclip because I've never encountered this issue before...If you click on the LEARN MORE for the first image it doesnt go to the page which I ask it for
View 1 Replies
Nov 13, 2009
I've discovered something odd. When I load an swf from another server into an object/embed, it seems to kill the getURL function in Firefox and Safari, but not in IE.
View 1 Replies
Nov 3, 2011
I have an invisible movie clip I want to go to the NEXT page, as it goes to that page, I want it to essentially remove itself (page1.swf). e.g. page1.swf (contains fancy.swf - [AS2], 4 images, several invisible MCs with code) has an invisible MC + on click = remove page1.swf.
To be clear, this does work. It goes to page2.swf and page2.swf goes to page1.swf as it should. The issue is that if the user repeatedly does this (just 2 or 3 times) the fancy.swf becomes impossible to control and Flash (CS5) crashes. I think this is due to the fact it's not unloading the entire thing, it's only unloading fancy.swf on click (I hope). So underneath page2.swf is page1.swf, and when the user clicks back to page1.swf, page2.swf AND page1.swf are underneath that, and so on and so forth.
[Code]...
View 9 Replies
Jan 20, 2010
how to activate the animation that removes the previous page items before loading new page when you click on a menu button. like this website [URL] When you click on a menu button, current items are removed with nice animation before new items appears.
View 3 Replies
Jan 26, 2009
i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....
View 0 Replies
Jan 8, 2009
I'm trying to make a flash site and basically what I'm doing is loading an external page on top of the swf without having to reload the swf.
This is a perfect example of what I'm trying to achieve: [URL]
View 3 Replies
Aug 12, 2011
I'm using loadVars to load a PHP URL with lots of sensitive information required for the Flash application.Only problem is that URL can be accessed via a web browser which raises security issues if someone gets a hold of this URL. Is it possible to have the PHP page only accessible via my Flash application?
View 3 Replies
Jul 31, 2009
I'm using swfobject to replace various objects on my page with flash. I use location.href (javascript) in order to pass the URL into flash via flashvars. In flash, I load the page as XML and then parse the data according to my current needs.This all seems to work fine when testing locally. However, I am trying to use this process with a CMS that is running ASP.NET and it no longer works.Is there an issue with the following code if the page being loaded is a .aspx page rather than a .html page? (xmlPath is the URL passed via flashvars)
Code:
// loadXML
private function loadXML():void
[code].......
View 0 Replies
Jul 17, 2007
I'm in need of some help with a path - should be quite a simple one, Im just a bit confused. I have a main.swf and a page.swf loading into it. In the page.swf there is a text scroller as in this file example. So the main.swf loads the page.swf with the scroller but the text wont scroll when loaded in the main.swf. Im thinking its a path issue and I think the problem code is on the button...
[Code]...
View 2 Replies
Jul 17, 2009
I'm having a problem with embedding games in my website.[url]...
It shows a loading bar whilst the game is loading, but when I embed this same swf url into my website using swfobject (or even with plain old <object> or <embed> tags), the loading bar never shows up, and instead a white box the same size as the flash game is shown, until the game is loaded!
View 1 Replies
Jul 3, 2010
If I have an HTML splash page that has a embedded SWF consisting of a preloader (for itself) at the start of its timeline, then a 5 second hold (no new Flash material), and then have a number of images on HTML page in a <div style="display:none;visiblity:hidden;">, all set with sizes of 1x1:2) Does the SWF get priority with the download, or are both the SWF and images given the same download priority?3) How would I preload (on the splash page) a second SWF that is used in the inner page? Would I embed it as usual, but use the CSS display:none, and set the size as 1x1, as I do with images?
4) Is there a better way to preload the SWF, where the main (splash) SWF actually loops while it downloads the second swf? Would I be loading that second SWF into the splash SWF on a different document level? What ActionScript commands would I use for that? loadMovieNum()? Would I put the incoming second SWF off stage, or set its visibility to hidden?I figured I'd preload some of the interface/common graphics for the inner HTML page that the visitor is brought to after the initial Flash splash page. Even without a preloader that would loop until all the content is loaded, I figured I could just have the splash page hold for a bit, and give the hidden <div> images a chance to load in the background. Obviously, using that method wouldn't guarantee that all the imags load, since it's unmonitored, but would at least give them a bit of a head start
View 8 Replies
Jul 26, 2010
I've recently made a website (www.doneanddone.co.nz) which has two swf's on it. The first is a sound swf which works perfectly, however, my other swf is a video swf that loops over and over and does not show up now I've loaded it on to my host.I just get this error message.[code]
View 5 Replies
Feb 26, 2011
I would like someone to tell me if there is a way to load html or php page in flash just like a movieclip without actually navigating from the flash player(by using getURL code). Basically, I am wondering if there is a way to load a html file just like we load movieclips and perform all the functions of html page.
View 1 Replies
Nov 20, 2011
I have a image loaded in a sprite, the image is from a remote location [URL]. Once the image is loaded in the Loader Object i then want to create a reflection of the sprite that contains the image. Now this works when i run the application in flash IDE but when i embed this flash application inside a HTML page the reflection images do not work. Why is this, the code is below.
////////////////////////////////////////////
// Project: Flash 10 Coverflow
// Date: 10/3/09
// Author: Stephen Weber
////////////////////////////////////////////
[Code]....
View 1 Replies
Aug 3, 2010
I have a problem with link "contact", when i click on it i can`t see a loading page "photo2". Maybe this problem is with function animateOn. I attach a file.
View 1 Replies
Nov 22, 2010
I have recently uploaded a website (using a temporary page for the first couple of days) but on the Gallery page of my site, the Flash file loads up to 95% and then stops. Link to the page is below:
[URL]
View 2 Replies
Oct 10, 2005
I have been trying to find recources on loading a .swf into a sepearte one.for instance:I will have an HTML layout with multiple flash movies. I know I can load movie into the .swf that the button is in.my question is. can I have the navigazion on the left side of the screen communicate with another random .swf to load the additional content?
View 1 Replies
Apr 21, 2006
I have a simple button in a swf file that I am trying to get to load a php page into the browser. Simple right?? Well my button wants to open a new window and go to the actual website. I know I am suppose to load variables somewhere but I don't know where.
The as for my button is.......................
on (release) {
loadVariables("&email=$s_email","_parent","POST");
getURL("jobseekeroptions.php",0,"POST");
}
Here is the php code that I am trying to communicate with...........
<?php
include ("../config/config.inc");
// start session and bring in session variables
session_start();
[Code] .....
View 2 Replies
Apr 9, 2008
Ive finished Kirupa's excellent Photogallery Tutorial and Im very happy with the result. I have exported the page as a SWF file and I now want to load it into my main page (essential in the design on my website). But when I do so the larger images do not show up! Strangely however, the title and the thumbnails are displayed - so the XML file is still being loaded. Additionally, the drop down menu I made also does not work.
[Code]...
View 1 Replies
Jun 22, 2009
i am a webdesigner i do flash layouts and animation and trying to learn as2, I have a problem with one of my projex, 1=i hav to load an xternal swf video in flash 8 file,
2=at the end of playing video i have to automatically go to nxt html page. 3= i was able to do all the stuff using tutorials but in slow internet speed,my page switches to next page before completely playing the clip. well i can show u the code i used for loading video.
[Code]...
my videos duration was 75 frames,so i tried a trick,i made a mc of 90 frames and at the end of it gave the code.so at completion of 90 frms it switches to html i want that the video should play completely and switch to html.
[Code]...
View 2 Replies
Sep 7, 2009
What I am after is some code that will load an alternative page if the user doesn't have flash installed - I think its using the onload code in the html of the flash page. "I've figured out how to load an alternative page using "onload" as part of the body tag if no flash player is found" - alas he is not around to post it though.
View 2 Replies
May 19, 2008
I have a source file (test.fla) in the file i have a symbol called "vrviewer". I am trying to load an HTML page inside the viewer (vrviewer). The html page loads 28.ivp using the supplied ivp player called "pureplayer.swf" (this is called out in HTML (28.html). I would much rather load the ivp file right into flash (if i could) but do not know how to even begin doing that. I tried using the geturl function to call the html file into "vrviewer", but that did not work.
There is an event class called IVPEVENT in cs3 but im not sure if i can load my ivp file using just the class
i have attached a ZIP file with all the files i just mentioned.
View 4 Replies