ActionScript 2.0 :: Flash PHP - Any Way To Stop Blank Page Opening?

Jun 22, 2006

I am working in flash and php.. I want to write a text file from flash via php. The thing is when I click on button it rites and redirects to another page. I have stopped the re-direction. 2ndly I want that instead of on click of button I want the variables to be passed to php and write a text file when a frame is loaded. Its basically a gallery, where images are loaded one after another. I want that when one image is loaded via xml. It should write a text file with Hit = 1, so that I know that the image is viewed. All things is working fine, except when I use GetURl on loading the image a new window opens( blank) and my flash file goes off.. Is there any way to stop a blank page opening.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Opening A Url In A Blank Window

Dec 8, 2011

I have a button called bt07 and I would like when you click down this button to open an url in a blank_window (for exemple [URL]) I wrote this code below but I don t know how writting the code to open the url?

//mouse downbt07.addEventListener(MouseEvent.MOUSE_DOWN,auSurvolSurbt07);function auSurvolSurbt07(e:Event){bt01.gotoAndStop(1);bt02.gotoAndStop(1);bt03.gotoAndStop(1);bt04.gotoAndStop(1);bt05.gotoAndStop(1);bt06.gotoAndStop(1);bt07.gotoAndStop(2);

[Code].....

View 1 Replies

Error Opening Url When Testing Movie (blank Movie) On Mac - Flash Cs4

Dec 11, 2009

Whenever I am trying to open a swf file (any swf file) or test a movie from the flash ide the internal player is blank and output has the msg error opening url "the path of the swf file here".This is not a problem that has to do with loading external files etc. It just refuses to open any swf file and ofc or test any movie cause it keeps saying error in opening url even in blank movies.

The simplest thing New File -> AS3 -> Test Movie -> Error in opening url I can publish the movie with no problem at all and I can run all the swf files outside of flash ide. I can debug movie from flash ide. I can html preview it from flash ide but i can't just hit cmd+enter to test the fraking movie.

View 7 Replies

Flash Objects Causing Blank Space To Right Of Page?

Apr 1, 2011

My new website is carolineofbrunswick (dot) co (dot) uk. As you can see, there's a ton of blank space off to the right of the pages, and I can't figure out how to get rid of it.

It's caused by the Flash objects in the right-hand column. Changing the width attributes on those Flash objects just causes them to not appear at all, though the blank space still exists.

View 4 Replies

ActionScript 2.0 :: Calling A Mailto: Function - In IE It Is Opening A Blank Window Too With Outlook?

Aug 4, 2011

I am calling a mailto: function like this below:

ActionScript Code:
on (release) {
getURL("mailto:myEmail@mysite.com", "_blank");
}

Now problem is, in IE it is opening a blank window too with outlook.

View 4 Replies

Html :: Flash Website Display Blank Page On Server?

Mar 14, 2011

I have a website made in flash uploaded on a server. It was working fine tomorrow and today it shows blank page, why so ?? this is the link [URL] . There's an index.html page and main.swf file

View 2 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

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

FLASH :: Http Headers - Cannot See Component On The Page Instead There's A Blank White Region

Jul 4, 2011

from time to time I get feedback from my web portal customers that they cannot see Flash component on the page - instead there's a blank white region. When it happens I instruct them to clear browser cache, and it solves the issue. Is there any way to handle this differently, using HTTP headers etc.

View 1 Replies

Opening New HTML Page From Flash

Nov 26, 2009

In IE7 and IE8 block popup lock my external link (page html). I use GetUrl(url,"_blank") but not it works. I use flash cs4. With firefox it work

View 3 Replies

C# :: Flash Opening New Page Rather Than In The Same Browser?

Apr 6, 2011

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>

[code]....

It opens a new page rather than in the same browser.

View 1 Replies

ActionScript 2.0 :: FLASH 8 - JavaScript Work In A Blank Flash File When Open It In A Html Page

Feb 14, 2007

I have this java script and want it to work in a blank flash file when i open it in a html page.

[Code]...

View 14 Replies

ActionScript 3.0 :: Flash / Php Registration Form - Goto Error Page When The E-mail Field Is Blank

Oct 25, 2010

I've created a product registration form for my website and the basics of it work fine, ie when I click submit the info successfully gets e-mailed to me. I'd like to expand the functionality of it, however. As is, I get an e-mail regardless if any of the fields are filled in or not. I'd like for users to be directed to an error page when the e-mail field is blank and a thank you page otherwise. How would I do this? I imagine it can either be done directly in flash or would the php instruct the browser to navigate to the error or thank you page? Key is I don't want the form to be submitted if the email is blank.

[Code]...

View 4 Replies

Flash :: Opening Page In Same Window Using NavigatetoURL Function?

Jul 18, 2011

I have a flash code, in which i am loading images and opening urls through xml file, now it is opening in a different window(pop up window) but i want it to open in the same window.

var xmlReq:URLRequest = new URLRequest("XML/ImagesData01.xml");
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
xmlLoader.load(xmlReq);

[Code]....

View 2 Replies

Professional :: What Code To Navigate From Page Without Opening A New Page

Feb 11, 2010

I have a flash button embedded into a css/HTML page that I want to use to navigate into a new page without opening a new window. Here's the code I'm using in the SWF which I got from the adobe tv tutorial:Here is the test page that I have embedded the flash button in:The flash button is the "about Ian" button on the upper left. I want the navigation to be like the traditional rollovers on the page. (I'm working my way up to having the embedded flash button fade into place, that's why I'm using flash.)

// 1. Event handler function
function clickHandler (Event:MouseEvent): void { trace("CLICK!");   navigateToURL(new URLRequest("http://ianmartinphotography.com/about.html")); } // 2.

[code].....

View 3 Replies

Flex :: One Page To Another Page Without Opening New Window?

Mar 9, 2011

how to one page to another page without opening new window only url changed using flex?for example you can click log in button user name and password correct then going to home page without opening new window at the same window..

View 1 Replies

Flash :: Professional - Reduce File Size Of Opening Page In A Site

Sep 27, 2011

I'm using the Flash CS4 IDE, and the first page of my site takes a lot longer to load than I want it to.  So I wanted to go through the varied images / symbols / movie clips / sounds and so on to see where all the memory is being chewed up. When I go into my library, however, I can see the Name, LInkage, usecound and Type of my elements, but no mention of file size and I can't seem to find any right click menu that lets me add file size to the list of details being displayed. Is there a way to make it show file size?  Or some workaround? And are there any best practices to reduce file size aside from using symbols for anything that's used more than once and reducing image and sound quality?

View 4 Replies

IDE :: Blank Page After Preloader

Jul 29, 2009

I'm having an issue with my preloader - After it's finished loading, most of the time it goes on to the rest of the content fine. But occasionally, it goes straight to a blank page.

[URL]

It doesn't seem to happen on every browser. Refreshing the website, it happens maybe 1 out of every 5 times it's refreshed. Sometimes it works and sometimes it doesn't. It's driving me insane.

View 1 Replies

ActionScript 3.0 :: Facebook API - Login Without Blank Page?

Oct 13, 2009

when the user go to my app page and the swf is downloaded I'm using session = new FacebookSessionUtil( this.API_KEY, this.SECRET_KEY, this.scope.loaderInfo );session.login();... then the system open a new window showing the login form.My question is How can I prevent it? There are some way to log users from my swf?possible solution I can think of: login via PHP, and pass via FlashVars the session ID obteined by PHP, then start a session inside my SWF movie.

View 3 Replies

ActionScript 3.0 :: Unable To Print A Page But It Is Blank?

Feb 20, 2009

I'm making a bracket for march madness. i have everything almost finished except I want people to be able to be able to print out their team picks.I'm able to print a page but it is blank.What I have on the stage:1. A button for people to press and print out their results. (instance name: print_btn)2. A movie clip that is on the stage that is the size of the stage as a reference as to what to print. (instance name: print_mc).3. An input text field for people to type in their team.

PHP Code:
import flash.printing.PrintJobprint_btn.addEventListener(MouseEvent.MOUSE_DOWN, printthis);function printthis(event:MouseEvent):void { var print_mc:PrintJob = new PrintJ

[code]........

View 0 Replies

ActionScript 3.0 :: Blank Page Before Swf Displays In Firefox

Apr 25, 2010

I have a flex 3.2 project (AS3) that causes Firefox to display a blank page a few moments before the .swf file is loaded and I have no idea why.

I am using swfobject2 to load the swf file, but this also happens without it using just object/embed tags.I am testing on localhost with disabled cache in Firefox, although it sometimes also occurs with the cache enabled. The size of the swf file is about 250kB and uses RSL for the framework. I also tested with other file sizes (see below).[code]...

View 0 Replies

Flash :: Getting Blank Page With "Flash XML Galleries" Written On The Top?

Sep 20, 2009

I get is a blank page with "Flash XML Galleries" written on the top. With Opera (my usual browser) and I.E. I manage to load the front page, even manage to navigate by clicking on the arrows, that is with extreme lag with Opera but it seems okay with I.E. (it still lags a bit but it's bearable).So I seem to be forced to use I.E. Did I mentioned that I hate I.E.? That crap was programmed by monkeys. And not EA's monkeys but real untrained ones! EA's ones at least know how to ride bicycles while wearing a clown costume.When there'll be download links we'll have to click on the pics to get them?

View 5 Replies

ActionScript 3.0 :: First Page To Load Blank (just A Transparent Background)

Mar 10, 2010

I need the first page to load blank (just a transparent background would do) but at the moment it's loading the first page of text. I want the text to appear when I hit the home button (named: mc.menuBtn1_btn). I'm having a little problem with the following code. I want the buttons to slide in on the x from left to right and then settle in position, with no text on screen. Then, when I hit the home button, the home page appears, followed by all the other buttons in the menu I decide to click.

[Code]....

View 14 Replies

Actionscript 3 :: Force PHP Download Script Pops Up A Blank Page

Feb 9, 2011

The PHP file is ran with headers to force a download (from flash/as3 project), but it also pops up a blank page. Is there a way to close that after?I don't think users want blank page popups springing up.[code]

View 1 Replies

ActionScript 3.0 :: Activating A Page Without Opening It?

Dec 29, 2009

I was given a .FLA containing a banner and was asked to create an input text field and a button that, when clicked, opens a new window with the address, say "www.mywebsite.com/page.php?value=..." where "..." is what the user types in the input text field. The page the user is sent to then performs some action. Now they're asking me to make the page automatically perform that action, as in, they want the .FLA to send the value typed in by the user to that page at [URL] without the user actually going to that page at all. Is this flash-related or even possible?

In short what I'm asking is: Is it at all possible, in principle, to hand a value over to a .php page using flash and then make that page perform an action without being opened? If so could you point me in the direction of how to do it?

View 4 Replies

ActionScript 3.0 :: Opening New Page To A Specific Frame

Sep 1, 2008

I am still learning Action Script but I have a problem with writing the full script for combing navigate to new URL and gotoAndPlay. More specifically what I want to do is use a button which when clicked will open a new page and then start playing my Flash movie at a certain frame on the Timeline. I have used buttons to navigate to a new URL and used the gotoAndPlay ( ) ; command to play a certain frame, both have been successful but when I combine the two I run into trouble. What happens is the new page loads correctly and goes to the specific frame but then opens the browser in a new window with the movie playing from the beginning. The correct sequence within the correct Webpage is playing but only if I close the current page, in other words what I am trying to achieve is running but in the background.

View 8 Replies

ActionScript 1/2 :: Sample Button - Opening New Page In Same Tab

Mar 27, 2010

I have movieclip in my php page. I have button in that clip. What code should I use for change all page to an other one because when I use
on (release){getURL("[URL]");}
It opens that page at swf file's spot but I don't want it. I tried
on (release){ getURL("[URL]", "_blank");}
But it opens in new tab. I want to open new page in same tab. Is there any way to do that?

View 3 Replies

ActionScript 3.0 :: Opening An External HTML Page?

Aug 13, 2011

I need to load in an external HTML webpage on the stage of one of my .SWF files. Currently I have a primary .SWF pulling from a .XML database that has a list of other .SWF files it will import and display every time you "flip" a page as this site is being designed like a book. I have a .swf working that will pull and display an external HTML page but when i try to embed that .swf into the parent book.swf (Book.swf --> book.xml --> html.swf) it doesnt work. Likely the code i am using doesnt display the HTML if testing the .swf on a local server but the moment you place it on a webserver and call it through a web browser it works.

I don not need anything special, just something that will display the HTML page in a static box that i will set with a fixed size and a scroll bar.

View 7 Replies

ActionScript 1/2 :: Zoom - Stop The Page Being Dragged Past A Certain Point So The Static Page Is Not Seen?

Sep 22, 2009

When i zoom into the page then move around the edge of the page can be moved past the edge of the browser window showing the static page which appears at the start of the document. Is it possible to use actionscript to stop the page being dragged past a certain point so the static page is not seen? On the example below the static page is white so it does not pose too much of a problem however im using the static page as a sort of instruction page and it looks a bit rubbish if the user drags a page past the edge of the view window and see's the original page. Example below. [URL]

View 1 Replies

Actionscript 3 :: Stop Links Opening In New Window?

Feb 14, 2011

The links I have in my .swf keep opening in new windows/tabs rather than the same one, how can I make it open in the same tab? Here's my actionscript 3 script:

aquaheal.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);
function fl_ClickToGoToWebPage_2(event:MouseEvent):void {
navigateToURL(
new URLRequest("http://www.mediwales.com/index.php?id=6&member=9"), "_self");
}

View 1 Replies

ActionScript 3.0 :: Communication - Short Gap (blank White Page) Before The Actual HTML Site Loads

Aug 3, 2010

I have a little Flash intro SWF i prepared and handed off to a friend who is implementing my intro animation into an HTML site.... The problem is that once the SWF (intro) finishes, there is a short gap (blank white page) before the actual HTML site loads. Is there a way around this? Is this something i need to code on my side (AS3) or is this a problem for my HTML/javascript buddy to figure out......or both.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved