Disable Error Popup
Hey guys, Is there code to disable an 'an actionscript error has occured' popup window? Not for ever movie, but for specific movies?
FlashKit > Flash Help > Actionscript 3.0
Posted on: 07-19-2007, 12:16 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Disable Everything But The Popup?
Hi,
My Flash application has a popup (basically a movieclip that is initially hidden) that pops up when an error occurs. The popup has a text message and an OK button.
My problem is that although the popup MC is in front of some buttons (which have their onRelease listener assigned), those buttons still respond to clicks and change the mouse cursor when hovered.
So my question is: is there a way to make everything non-responsive while the popup MC is in front of it?
Best regards,
Norberto
Disable Background On Popup
Nutrox, I know you can help me out here man lol.
When you click on on image, it opens a "pop-up", at which point I would like all the current stage buttons to not to anything except for the ones on the popup.
I notice that when the new window is opened, the buttons underneither the window still give the hand, and still work. I am aware how to remove the hand cursor, but the buttons are still active.
Is that an easy way to put a layer or something that doesnt allow for anything to happen? Perhaps an alpha 0% layer that is a giant button, that does nothing and using the arrow cursor? Will this work for what I want?
Or is there a better way.
How To Disable The Flashlite Popup Menu
i am a flash mobile developer is there anyway to disable the flash popup menu (when i press for more then 2 secounds on the screen (you know like the right click on the pc).
So please plase let me know if anyone knows about this.
Thanks a lot lot lot in advance.
Chethan
Can You Disable The Error In Your Script Message
Theres nothing wrong with my script except it calls a function 241 times - needs too so I think thats why it happens. However if I click no keep running its fine.
Just need to know can I disbale it from popping up?
Popup Error Because Of DNS?
Ok, here is a doozie. I uploaded my flash website which consists of 3 .swf movies. One wich opens a new window for the embeded flash movie, a preloader, and the website itself. I got the strangest error though.
When I test the first .swf (the one that opens the popup) from the server address it works fine. It does it's job and opens the popup and loads the preloader in it...
However when I run it from the DNS address it doesn't work. The flash movie loads but when the button is clicked it doesn't open the new popup window! I cannot figure it out.
Check it out for yourselves. It works from this one: http://www3.telus.net/fcs
But through the DNS it doesn't work properly: http://www.skatecalgary.ca
It doesn't make any sense. It's the exact same file, same server, the only difference is on one it's being re-directed to the address through a DNS.
If anyone can help me with this one I would be very greatful.
Thank you.
Popup Error Because Of DNS?
Ok, here is a doozie. I uploaded my flash website which consists of 3 .swf movies. One wich opens a new window for the embeded flash movie, a preloader, and the website itself. I got the strangest error though.
When I test the first .swf (the one that opens the popup) from the server address it works fine. It does it's job and opens the popup and loads the preloader in it...
However when I run it from the DNS address it doesn't work. The flash movie loads but when the button is clicked it doesn't open the new popup window! I cannot figure it out.
Check it out for yourselves. It works from this one: http://www3.telus.net/fcs
But through the DNS it doesn't work properly: http://www.skatecalgary.ca
It doesn't make any sense. It's the exact same file, same server, the only difference is on one it's being re-directed to the address through a DNS.
If anyone can help me with this one I would be very greatful.
Thank you.
Popup Center? Where's My Error?
Hiii
I have this script and I really want my pop up to center on my screen INDEPENDANTLY on the screen size of the user
I have this script on my button and it works but partially with an error in HTML. WHY???
Thanks 4 ur help
on (release) {
getURL("javascriptpenNewWindow('http://www.whateverfornow.com','win','height=200,width=60 0,left='+ Math.round((screen.width/2) - (" + width + "/2)) + ', top='+ Math.round((screen.height/2) - (" + height + "/2)) + ', screenX='+ Math.round((screen.width/2) - (" + width + "/2)) + ', screenY='+ Math.round((screen.height/2) - (" + height + "/2)) + 'toolbar=no,scrollbars=yes') ");
}
Popup Resize Error
im trying to make the popup resize if the browser is resized i get an error but then if i click continue it works. the error says
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::PopUpManagerImpl/findPopupInfoByOwner()[E:dev3.0.xframeworksprojectsframeworksrcmx managersPopUpManagerImpl.as:657]
at mx.managers::PopUpManagerImpl/centerPopUp()[E:dev3.0.xframeworksprojectsframeworksrcmx managersPopUpManagerImpl.as:341]
at mx.managers::PopUpManager$/centerPopUp()[E:dev3.0.xframeworksprojectsframeworksrcmx managersPopUpManager.as:184]
at open_swim/onResize()[C:Documents and SettingsAdministratorMy DocumentsFlex Builder 3Open Swimsrcopen_swim.mxml:52]
at open_swim/___open_swim_Application1_resize()[C:Documents and SettingsAdministratorMy DocumentsFlex Builder 3Open Swimsrcopen_swim.mxml:18]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:dev3.0.xframeworksprojectsframeworksrcmx coreUIComponent.as:9051]
at mx.core::UIComponent/dispatchResizeEvent()[E:dev3.0.xframeworksprojectsframeworksrcmx coreUIComponent.as:6912]
at mx.core::UIComponent/setActualSize()[E:dev3.0.xframeworksprojectsframeworksrcmx coreUIComponent.as:6541]
at mx.managers::SystemManager/initializeTopLevelWindow()[E:dev3.0.xframeworksprojectsframeworksrcmx managersSystemManager.as:2456]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:dev3.0.xframeworksprojectsframeworksrcmx managersSystemManager.as:2330]
here is my code:
ActionScript Code:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*"
creationComplete="applicationStart();" resize="onResize(event)">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import mx.events.ResizeEvent;
public var loginPopUp:login = new login();
private function applicationStart():void
{
PopUpManager.addPopUp(loginPopUp, this, true),
PopUpManager.centerPopUp(loginPopUp);
}
private function onResize(event:Event):void
{
if(loginPopUp)
{
PopUpManager.centerPopUp(loginPopUp);
}
}
]]>
</mx:Script>
Popup.as SCRIPT ERROR HELP
What do these actually mean. I know what nested means, but this as stuff is getting to me. I haven't written a script yet without an error. Even when I am learning from a book. Can ANYONE help with my two as problems.
**Error** /Users/scottcarlton/Desktop/testingForm/Popup.as: Line 10: Class and interface definitions cannot be nested.
dynamic class Popup extends MovieClip {
**Error** /Users/scottcarlton/Desktop/testingForm/Popup.as: Line 19: ActionScript 2.0 class scripts may only define class or interface constructs.
this.ObjectForm = new Object();
Total ActionScript Errors: 2 Reported Errors: 2
///Popup.as Script////
dynamic class Popup extends MovieClip {
function SetMessage(msg_str:String, error:Boolean) {
if (error) {
this["Title_txt"].text = "ERROR";
this["Title_txt"].textColor = 0xFF0000;
} else {
this["Title_txt"].text = "Thank You";
this["Title_txt"].textColor = 0xFF0000;
}
dynamic class Popup extends MovieClip {
var ObjectForm:Object;
public function onLoad():Void {
//component initialization functions can be performed here
}
public function Popup () {
//Popup constructor function component initialization function can’t be //placed here because the componet hasn’t been create yet.
}
}
this.ObjectForm = new Object();
this.ObjectForm.click = this.Closee;
this["ButtonOk"].addEventListener("click, this.ObjectForm");
}
function CloseMe(ev:Object) {
removeMovieClip(this);
}
}
WHY Does My Script Have An Error? (popup Center)
Hiii
I have this script and I really want my pop up to center on my screen INDEPENDANTLY on the screen size of the user
I have this script on my button and it works but partially with an error in HTML. WHY???
Thanks 4 ur help
on (release) {
getURL("javascriptpenNewWindow('http://www.whateverfornow.com','win','height=200,width=60 0,left='+ Math.round((screen.width/2) - (" + width + "/2)) + ', top='+ Math.round((screen.height/2) - (" + height + "/2)) + ', screenX='+ Math.round((screen.width/2) - (" + width + "/2)) + ', screenY='+ Math.round((screen.height/2) - (" + height + "/2)) + 'toolbar=no,scrollbars=yes') ");
}
Flash Popup Window And IE Error
Hi,
I am trying to open a popup window from flash button and the code is:
on(release){
getURL("javascript:launch('story.html')");
}
in the published html file I am entering this function:
<script language="javascript">
function launch(page){
var leftw = (screen.width/2)-(400/2);
var topw = (screen.height/2)-(430/2)+20;
openwin = this.open(page,"Story","toolbar=no,menubar=no,scro llbar=no,location=no,menu=false,width=400,height=4 30,top="+topw+',left='+leftw);
}
</script>
This is working fine in FireFox but window is not opening in IE.
please help me out.
Thanks
Popup Javascript Error In Flash 8
Hi,
I'm trying to open a popup window with a button in flash. The code of button is this:
----
on (press) {
getURL("javascriptbrefinestra()");
}
----
This code calls a javascript function of the html page that is:
----
<script type="text/javascript">
function obrefinestra (){
window.open('masbolsos.html','','scrollbars=no,resizable=0,width=590, height=360,screenX=20,screenY=50,left=500,top=100,status=no,location=no,toolbar=no,menubar=no,directories=no,status=no');
}
</script>
---
When i click in the flash button the popup doesn't open. I don't know what is the problem. Also i have a special code of dreamweaver 8 that deletes the activate control of embeded flash movies ( could it create conflict between it and the popup function??).
In the tag object i put an id="rollitoasi" and in the tag embed i have the name="rollitoasi" swLiveConnect="true" and other common parameters.
I need your help!!
Thank you!!!
Flash Error Popup In Browser?
Why am I seeing errors that look like errors I see when compiling but I get them as a popup error when I test my swf inside a browser? Also, when did this popup error notify thing get added to Flash? Can I turn it off? How many users see this? Do only users with Flash development tools see these popup errors? I'd never seen these things until this week and theyre quite frustrating. Anyone have any info?
(object) Error In Code To Popup Window
I hope javaScript within Flash isn't off-topic here. Beyond my knowledge: I have a button that launches a javaScript popup - outside the SWF. When clicked, the popup launches fine, but the browser window repaces the main SWF with the text: '(object)' or '(object window)' or '(null)'. What am I missing?
Please - is the error obvious to someone here?
code on button:
on (release) {
getURL ("javaScript:window.open('fla/clothesline/1.html', 'remote', 'width=389,height=294,left=50,top=50')");
}
Thanks loads for any help
Maral
Java PopUp Window Code Error. Help
Hey everyone. I am having a problem with the java code for the simple old pop up window. I enter it in and it says it's ok, but when I test it, it opens up the file & a seperate window that is all white that says [object] in it.
Here is the code I am using:
on (release) {
getURL ("javascript:NewWindow=window.open ('http://www.maykreal.com/Organic_Technology.html','newWin02','width=1024,he ight=768,left=0,top=0,toolbar=No,location=No,scrol lbars=no,status=No,resizable=no,fullscreen=no'); NewWindow.focus(); void(0);");
}
Also tried this code but it just gives me a syntax error.
on(release){
getUrl("java script:window.open('http://www.maykreal.com/Test. html','newwindow','width=420,height=420,top=0,left
=0'); void(0);")
}
Help!!!
Javascript Popup In Flash Strange Error
Hi, I need a button in flash to launch a popup window that will contain an swf movie.
So i put a
on (release) {
getURL("javascriptpenNewWindow('portfolio_done.h tml','thewin', 'height=500,width=325,toolbar=no,scrollbars=no')") ;
}
and i put this in the page that is going to launch the popup:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
</script>
When i try to play my movie i get this when i click the button.
macromedia has stopped a potentially unsafe operation.
the following local application on your ocmuter:
c:docs and settingsdesktopwebdesignmain.swf
is trying to communicate with this internet-enabled location:
<unknown>
to let this app comm. with the internet, clcik settings.
ALSO when you click the "enter" button my site, my url launches main.swf directly instead of main.html that contains main.swf because the html page doesnt have the movie quite centered and i cant figure out to get it perfectly centered so the popup is exactly the size of the movie (like how it looks here (click enter) http://home.nycap.rr.com/evankalman )
thanks
Java Popup Error: File Not Found.
When Im trying to call a popup window in flash mx pro, a error appears saying "cannot find file:c//"my computer"/undefined. instead of test.html
But everything (movie.swf, movie.html, and test.html) are togheter in the same folder. Im getting crazy with this. I even took the example made it by a tutorial site but its not working. Help me.
Java Popup Error: File Undefined
When Im trying to call a popup window in flash mx pro, a error appears saying "cannot find file:c//"my computer"/undefined. instead of test.html
But everything (movie.swf, movie.html, and test.html) are togheter in the same folder
this is the code in the button:
on (release) {getURL(javascriptopenNewWindow("test.html",'gtani me', 'height=200,width=250,toolbar=no,scrollbars=no')
);
}
And this is the code I placed between the head tag inside the movie.html:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
Button Action Java Popup Window [object] Error
I have attach a javascript action to a button in a flash movie to open another flash movie with size and other variable changes like no toolbars etc...
The problem I have is that when you click the button the browser opens not just the popup window with my flash movie but also another window with the word [object] in it.
what is the window object and what how do i get it to work without this extra object window poping up?
the popup window with my flash works fine though????
Please help me.....
Cullen
Disable Right Click(how To Disable 'settings' Item?)
Hi all,
I am trying to disable the standard menu coming on right click.The codes like:
newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
this.menu = newMenu;
It's working but still the 'settings' and 'debugger'(disabled) are coming.Can't we hide
whole the menu or disable the 'settings' item? Please help...
**Error** TempInit : Line 1, Column 5 : [Compiler] Error #1084: Syntax Error: Expecti
Hi,
I'm trying to convert my AS2 project to AS3. I got rid of all errors but one :
**Error** tempInit : Line 1, Column 5 : [Compiler] Error #1084: Syntax error: expecting identifier before 45.
var 45:MovieClip;
I got no idea what tempInit is, and no where do I declare a variable called 45...
After searching the web for hours I am tired and thus asking for your help.
Thank you,
Error #2044: Unhandled IoError:. Text=Error #2032: Stream Error. Cannot Be Caught
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///C|/LocalWorkspace/Simulation%20Platform/sim/assets/conversations/14/Maria/NPC_104.MRK
Hi all, I'm getting this error, and I damn well know why. Its because I'm trying to load a file that doesn't exist. But the thing is, I'm wrapping the code in a try catch, and I'm still getting the error. Also, I'm being told that the error is on this line:
ActionScript Code:
var loader:URLLoader = new URLLoader();
I need to do it this way because i know that some of the files I'm trying to load do not yet exist.
But what could possibly be wrong with this line? And either way, it should be caught by the try, catch. So, whats the problem?
ActionScript Code:
try {
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, completeHandler);
loader.load(new URLRequest(_filename));
} catch (error:Error) {
trace("DATA: loadAnimData(): Error loading lip synch data.");
}
Error Message ? Error #2044: Unhandled IoError:. Text=Error #2032:
Can anyone give me any advise on why in safari 3 and firefox i am getting this error:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://www.nayomusic.com/music/1.mp3
URL: http://www.nayomusic.com/home
The error occurs when a any link is clicked on from within homepage
If anyone has got any idea why this error occurring then this would be much appreciated
Thanks
Jon
Error #2044: Unhandled IoError:. Text=Error #2032: Stream Error.
I'm trying to open a new centred window with a javascript in AS3, the code is working in the browser but when tested in flash I got this error:
"Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: javascript:void(newWin=window.open('http://www.actionscript.org','newWindow','width=500,heigh t=500,left=590,top=262.5'))"
This is the code that I'm using.
Code:
var resX:int = flash.system.Capabilities.screenResolutionX
var resY:int = flash.system.Capabilities.screenResolutionY
var winW:int = 500
var winH:int = 500
var winX:int = (resX/2) - (winW/2)
var winY:int = (resY/2) - (winY/2)
var jsCode:String = "javascript:void(newWin=window.open('http://www.actionscript.org'," + "'newWindow','width=" +winW + ",height=" + winH +"," +"left=" + winX +",top=" + (winY-winY/2) + "'))";
var urlLoader:URLLoader = new URLLoader()
urlLoader.load(new URLRequest(jsCode))
What is wrong becouse if you test a compiled .swf with this code in the browser a centred window opens.???
Error #2044: Unhandled IOErrorEvent:. Text=Error #2032: Stream Error.
Hi all,
I created a simple streaming mp3 player and it works perfectly fine locally, but when i upload it i get the below error. I only get this error if i go to refresh or leave the page. The flash itself loads but does not function.
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at player.audio.actions::SoundLoader()
at player.audio.actions::Mp3Player()
at main_fla::MainTimeline/frame1()
The code that includes the url is below:
Code:
var songs:Array = ["believe.mp3", "newSong.mp3"];
the swf file is saved in the same directory as the mp3 files but i am still getting the stream error.
I have tried changing the path to a full url with no luck.
What is strange is that if i load the mp3 directly via the URL i have uploaded it to, and then go back to the player, it works. but only in firefox and IE. safari for windows does not work either way.
the class i used to load the url is below:
Code:
public function SoundLoader(songs:Array, player:Mp3Player)
{
songList = songs;
musicPlayer = player;
soundReq = new URLRequest(songList[songIndex]);
loader.load(soundReq);
loader.addEventListener(Event.COMPLETE, songLoaded);
}
Does anyone have any ideas? It's driving me nuts!
Much appreciated!
Error #2044: Unhandled IOErrorEvent:. Text=Error #2032: Stream Error
This is my code. (Even though this error occours, it doesnt affect my file in anyway, except when you look at it on a website a little error comes up (click it away) and everything is still exactly fine)
ANyway its annoying me now, so iw ont to get rid of it:
Heres my code:
ActionScript Code:
var s:Sound = new Sound(new URLRequest("Galactik_Football.mp3"));
s.play(0, 1000);
var ba:ByteArray = new ByteArray();
addEventListener(Event.ENTER_FRAME, loop);
var bmd:BitmapData = new BitmapData(700, 400, true, 0x000000);
var bm:Bitmap = new Bitmap(bmd);
addChild(bm);
var sp:Sprite = new Sprite();
addChild(sp);
var blur:BlurFilter = new BlurFilter(10,10,3);
var colorMatrix:ColorMatrixFilter = new ColorMatrixFilter([
1, 0, 0, 0, 0,
0, 1, 0, 0, 0,
0, 0, 2, 0, 0,
0, 0, 0, 0.99, 0
]);
function loop(e:Event):void
{
sp.graphics.clear();
sp.graphics.lineStyle(2, 0xFFFFFF);
sp.graphics.moveTo(-1, 150);
SoundMixer.computeSpectrum(ba);
for(var i:uint=0; i<256; i++)
{
var num:Number = -ba.readFloat()*200 + 150;
sp.graphics.lineTo(i*2.75, num*1.3);
}
bmd.draw(sp);
bmd.applyFilter(bmd,bmd.rect,new Point(),blur);
bmd.applyFilter(bmd,bmd.rect,new Point(),colorMatrix);
bmd.scroll(3,0);
}
Error #2044: Unhandled IOErrorEvent:. Text=Error #2032: Stream Error
Hi, i've written out some code that doesn't seem to want to work and im not too sure why. Basically i've imported a sound file in to flash and i have two buttons to play and pause. I've set up a custom class thing in the linkage properties of the sound file.
ActionScript Code:
var audio:Sound = new Sound(new URLRequest("Phil.mp3"));
var audioChannel:SoundChannel = audio.play();
pauseBtn.addEventListener(MouseEvent.MOUSE_UP, pauseSound);
playBtn.addEventListener(MouseEvent.MOUSE_UP, playSound);
function pauseSound(e:MouseEvent):void
{
audioChannel.stop();
}
function playSound(e:MouseEvent):void
{
audioChannel = audio.play(audioChannel.position);
}
When i try and run the code, it comes up with this message
"Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at Untitled_fla::MainTimeline/Untitled_fla::frame1()"
if anyone can give any assistance as to why this doesn't work - it'd be super.
Error #2044 Unhandled IoError:. Text=Error #2032: Stream Error. URL:
Hey Everyone
Can someone explain this to me. I am using Go Live CS2 to upload my files and I only get the Error (below) when I upload my files to the internet. I have one FLA file and inside the FLA I have a request to a .xml doc to load in my images. The images appear when I test the file in FLash, and when I test my published html page. But as soon as I upload the files to the internet I get the error below. The flash file runs correctly but the images do not appear.
My page www.ii-designs.com/maybe then click on the works tab and where the bottom gray lines is where the images are suppose to be
I get this error
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///private/var/tmp/folders.501/TemporaryItems/AdapterTemp/Server_1/public_html/maybe/data/photoImages.xml at _photoImages/frame1()
please help this is driving me crazy
Thanks
Ryan
Error #2044: Unhandled IOErrorEvent:. Text=Error #2038: File I/O Error.
Gday guys,
im making a lil flex app to upload images for guys on my forum.. problem is, it works fine in opera and firefox im told now also, but in internet explorer.. im getting this error..
"Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.
at uploadd$iinit()
at _uploadd_mx_managers_SystemManager/create()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::docFrameHandler()"
this is my code? its str8 off the adobe site itself. from what i gather, its the way the scipt is handling the error itself? its terminating itself bcos of it.?
Code:
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import flash.events.DataEvent;
public var fileRef:FileReference = new FileReference();
public function upload():void {
// listen for the file selected event
// listen for the upload complete event
fileRef.addEventListener(Event.SELECT, selectHandler);
fileRef.addEventListener(Event.COMPLETE, completeHandler);
fileRef.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA , uploadCompleteHandler);
// browse for the file to upload
// when user selects a file the select handler is called
try {
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
var allTypes:Array = new Array(imageTypes);
var success:Boolean = fileRef.browse(allTypes);
}
catch(error:IOErrorEvent) {
trace("IOErrorEvent catch: " + error);
}
}
// when a file is selected you upload the file to the upload script on the server
public function selectHandler(event:Event):void {
var request:URLRequest = new URLRequest("upload.php")
try {
// upload file
fileRef.upload(request);
textarea1.text = "uploading " + fileRef.name + "...";
}
catch(error:IOErrorEvent) {
trace("IOErrorEvent catch: " + error);
}
}
// dispatched when file has been given to the server script. does not receive a response from the server
public function completeHandler(event:Event):void {
trace("file uploaded complete");
}
// dispatched when file has been uploaded to the server script and a response is returned from the server
// event.data contains the response returned by your server script
public function uploadCompleteHandler(event:DataEvent):void {
trace("uploaded... response from server:
" + String(event.data));
textarea1.text += event.data as String;
}
]]>
</mx:Script>
Also id like to be able to directly have the link traced into the message box itself, so people dont have to copy n paste.. is there an easy solution in the php code?
Heres the link, the upload is on the left of the main reply box.. heres a direct link to the forum, use
User: Ryann
Pass: temp
http://www.weride.net/ThrashedMinis/phpBB2/
, and press a reply or new topic sumwere to view it.. thanks for anyone taking a look..
Ryann.
Error #2044: Unhandled IoError:. Text=Error #2032: Stream Error.
Hi all I really need help. What I understand from this error is that Flash can't find the file which is a bit of confusing, because if I copy the code to other file it works. Is there something with that I have 2 urloaders in the code I load 2 different type of files one txt and one xml? This is the structure of my xml file
Code:
<xml>
<name>Some Name</name>
<address>Some Address</address>
<option>Some Option</option>
<other>Some Other</other>
<bank>Some Bank</bank>
<iban>12300 0000 0000 0000 0000 00</iban>
<bic>25500000</bic>
</xml>
Please help
Error #2044: Unhandled IoError:. Text=Error #2032: Stream Error.?
I get this message "Error #2044: Unhandled ioError:. text=Error #2032: Stream Error." when I try to get parameters from a .asmx doc that looks like this:
.net:
flUser.Movie = string.Format(@"{3}?UID={0}&strUserName={1}&strWsUrl......
In as3:
var oParam:Object = LoaderInfo(root.loaderInfo).parameters;
strUserID = oParam.UID;
I get the parameters written into a textfield but it doesn't work? Anyone know what's wrong? Could it have something to do with Sandbox issue? Do a miss an "import.display"?
PopUp Window Help - Toggle Control Between Popup And Stage?
How do you toggle control between a popup window and the main timeline?
I have a button that opens up a pop up window. The popup window is going to contain some text instructions. I would like to have the text instructions visible and allow the user to control a movie clip on the stage. Unfortunately, right now once the popup window appears, the user can no longer control the movie clip on the stage until they close the popup. I'm using MX 2004.
Here is the code I have on my button - this creates the popup window (I got this from some other postings):
on (press) {
import mx.containers.Window;
var win = mx.managers.PopUpManager.createPopUp(_root, Window, true);
win.setSize(375, 262);
win.closeButton = true;
win.contentPath = 'text';
win.click = function() {
this.removeEventListener("click", this);
this.deletePopUp();
};
win.addEventListener("click", win);
}
This is my first posting, please let me know if I haven't provided enough information or if I'm going about this completely wrong. My project will not be posted on a website, it needs to be executed off of a CD so that's why I didn't use a getURL().
Popup Window From Flash, Making Everything Load In Just 1 Popup
I have a simple thumbnail gallery in flash.
When a user clicks a thumbnail, I want a popup to appear. I got this far... now for my problem.
Without closing the window that has popped up, if you click another thumbnail, ANOTHER window pops up so I decided to keep the name of the windows the same to prevent this.
Now... when you click on the thumbnails, everything loads in just the one window without popping up a new window everytime you click a thumbnail but... the popup window stays minimized or "behind the main window".....
any help would be appreciated, thank you!
Problems Openin Another Popup From An Existin Popup
helo.....
The first popup window is fine...
but when i use this method again on the swf in the popup to open another popup... it fail... y is this so????
Thankz alot for spendin time to go thru the script...
Script in flash...
------------------------------------------------------
on (release) {
getURL ("javascriptpenNewWindow('XXX.htm','popuppage',' width=430,height=90,top=0,left=0,scrollbars=no')") ;
}
-----------------------------------------------------
Script in html...
-----------------------------------------------------
<script language="JavaScript">
var newWindow
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName,width=400,height=160, windowFeatures);
}
var height = window.screen.availHeight;
var width = window.screen.availWidth;
window.moveTo((width /2)-400,(height /2)-200);
</script>
------------------------------------------------------
Load Jpg Into Popup, Size Of Popup Based On Jpg?
How do I dynamically load an external jpg into a new popup, but with the popup size based of those of the jpg, so as to leave a 30 pixel border around the jpg???
I also want to dynamically put a short description of the photograph at the bottom.
Please help!!!
PopUp Window Gets Blocked By Popup Blockers
Flash CS3
Actionscript 2.0
I have text on the flash website that is being called from an external .txt file. The problem i'm having is that any links called from that .txt file is blocked by popup blockers upon clicking on them.
I have another popup window in the flash itself from on of the navigation buttons, and that one does not get blocked... but the ones in the .txt files do.
However with the design and the content of the flash, I really need that link to be in the .txt file.
Not really sure how i should go about resolving this.
Any and all help will be greatly appreciated, thank you
Popup Window From Flash, But Have Only 1 Popup
I have a simple thumbnail gallery in flash.
When a user clicks a thumbnail, I want a popup to appear. I got this far... now for my problem.
Without closing the window that has popped up, if you click another thumbnail, ANOTHER window pops up so I decided to keep the name of the windows the same to prevent this.
Now... when you click on the thumbnails, everything loads in just the one window without popping up a new window everytime you click a thumbnail but... the popup window stays minimized or "behind the main window".....
any help would be appreciated, thank you!
Firefox Saying Popup Block : But Its Not Popup
I've made simple flash document and added invisible hotspot to link to a website and put following code
Code:
on(press) {
getURL("http://www.site.net",
_blank, "POST");
}
when link is clicked firefox display message Popup blocked. I've seen many other site in which firefox don't display any popup message when we click in link how its possible? i've visited and clicked cnet.com flash ad which opens in new tab without any message. i want to make like that.
Next is my flash is not looping in firefox but looping in IE7. I'm using Flash MX 2004.
any suggestion.
thanks.
[F8] Flash Currency Handling Has Error.NumberFormat Error, Is Losing A Dollar / Pound
When I add two numbers together Flash adds them fine. If I use the Locale to format it as currency, Flash will lose a dollar! This only happens on certain combinations of numbers. I've been banging my head off a wall on this. Paste the script below into an empty flash document to recreate the problem.
Anyone with any ideas of how to solve this please help
code: import mx.controls.*;
import mx.format.NumberFormat;
import mx.format.Locale;
import mx.format.locales.Nl;
import mx.format.locales.*;
var iPaid:Number = 0;
// simulate strings from a textinput field
var sValue1:String;
var sValue2:String;
Locale.registerLocale(new En_US());
var fmt:NumberFormat = new NumberFormat(Locale.currentLocale.currencyFormat);
sValue1 = "226.89";
sValue2 = "28525.11";
trace("sValue1: "+sValue1);
trace("sValue2: "+sValue2);
iPaid = Number(sValue1)+Number(sValue2);
trace("iPaid: "+iPaid);
trace("String(): "+String(iPaid));
trace("NumberFormat.format: "+fmt.format(iPaid));
trace("Where's my money!!!");
sValue1 = "226.11";
sValue2 = "28525.89";
trace("sValue1: "+sValue1);
trace("sValue2: "+sValue2);
iPaid = Number(sValue1)+Number(sValue2);
trace("iPaid: "+iPaid);
trace("String(): "+String(iPaid));
trace("NumberFormat.format: "+fmt.format(iPaid));
trace("Any Ideas!!!");
Error Error Adobe Flash Player Has Stopped A Potentially Unsafe Operation
Dear Sir,
This is regarding the error which i am getting when i open one perticuler adobe application
"error adobe flash player has stopped a potentially unsafe operation "
I got one cisco flash presentation i am not able to open the file because of this error. It would be really helpfull for me if you could guide how to solve this problem.Awaiting your reply.I would appreciate your earleast reply
Regards
Lijesh.
AS3 - Error #2044: IOErrorEvent No Controlado: Text=Error #2036: No Se Completó La Carga
I have to write some html code that calls to javascript and the error keeps popping up.
Any idea?
Example at:
http://www.telefonica.net/web2/odm/prueba_flash.html
Which probably means:
Error #2044: Un handled IOErrorEvent: text=Error #2036: Loaded not completed
My AS:
Code:
import flash.external.*;
//ExternalInterface.call("alert", "foo");
ExternalInterface.call("function(){document.write('<h2>HOOOLA</h2>');}");
[CS3] Error #2044: Unhandled IOErrorEvent:. Text=Error #2035: URL Not Found.
hi,
i have a parent swf with images that when clicked loads another swf. the problems is that the child swf is not loading the images that correspond to the scrolling nav neither loads the other swfs. now, when i try the child alond it has no problem loading the images or the swfs.
the child swf is inside a folder called, "swfIndex"- inside such folder is the child and the folders holding the images and the swf for the child. bellow is the code.
parent swf load code:
PHP Code:
var image1URL:String = "swfIndex/" + basename1 + id1 + ".swf"var image1Ldr:Loader = new Loader (); var image1URLReq:URLRequest = new URLRequest ( thumb1URL );image1Ldr.load ( image1URLReq );image1Ldr.contentLoaderInfo.addEventListener ( Event.COMPLETE, image1Loader );function image1Loader ( event:Event ):void{ load1Target.addChild ( image1Ldr.content ); var image1Ldr2:Loader = new Loader (); var image1URLReq:URLRequest = new URLRequest ( thumb1URL ); image1Ldr2.load ( image1URLReq ); image1Ldr2.contentLoaderInfo.addEventListener ( Event.COMPLETE, image1Loader2 ); function image1Loader2 ( event:Event ):void { load1Target2.addChild ( image1Ldr2.content ); }}
child swf load code:
PHP Code:
var imageURL:String = "images/" + basename + id + ".swf"var imageLdr:Loader = new Loader (); var imageURLReq:URLRequest = new URLRequest ( thumbURL );imageLdr.load ( imageURLReq );imageLdr.contentLoaderInfo.addEventListener ( Event.COMPLETE, imageLoader );function imageLoader ( event:Event ):void{ loadTarget.addChild ( imageLdr.content ); var imageLdr2:Loader = new Loader (); var imageURLReq:URLRequest = new URLRequest ( thumbURL ); imageLdr2.load ( imageURLReq ); imageLdr2.contentLoaderInfo.addEventListener ( Event.COMPLETE, imageLoader2 ); function imageLoader2 ( event:Event ):void { loadTarget2.addChild ( imageLdr2.content ); }}
Error #2044: Unhandled IOErrorEvent:. Text=Error #2035: URL Not Found.
hi guys,
i am trying to import into 2 pages website 2 swift files (one for each of the pages) but I am getting the following error message
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
The two swift are in the same directory as the parent.
I imported the directory into my .as file and the Url are spelled correctly.
Do you know why do i get the message?
thanks for your help
Sandbox Error With LoadMovie (access Before Fully Loaded Spits Error)
I have read all the posts on sand box errors. I have tried everything I have found to disable them. It took for ever but I figured out that after I call a loadMovie() if I do anything to the clip as it is being loaded before its fully loaded it spits a sandbox error, then since I have a mouse event attached it floods my trace window with about 50 error messages a second on a rollover. In my case I am using a simple setInterval to check and see if I MC has been loaded so I can attach the mouse events too it. Trouble is when run locally (just has to be right now). When it checks the bytesloaded if its not 100% it freaks out like the world is going to end. I have to set my setInterval to 10000 just to make sure each clip has time to load and when your loading 45+ images its just a pain in the ass to wait. Has anyone else run into this issue and found away around it?
Error #2044: Unhandled IOErrorEvent:. Text=Error #2035: URL Not Found.
Hi everyone,
I have a gallery and it works perfectly fine when I run the gallery.swf. The problem happens when I run the index.swf which is where I'm loading my gallery.
It gives me the following error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
Here's some of the code:
Code:
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest("gallery.swf");
loader.load(request);
addChild(loader);
Error #2044: Unhandled IOErrorEvent:. Text=Error #2035: URL Not Found.
I am getting this error i am trying to load images into an xml document here i my code
ActionScript Code:
//Load the XML on this Frame use the button provided
stop();
pb_mc.bar.scaleX = 0;
var files:String = ' images/'
var img:Loader;
var xml:XML = <Pictures>
<main_img>
<description>'This is a really cool I mac '</description>
<image>images/black.jpg</image>
</main_img>
<main_img>
<description>'This is a really cool Sony HD TV '</description>
<image>images/Sony.jpg</image>
</main_img>
<main_img>
<description>'This is a really cool I pod touch '</description>
<image>images/Ipod.jpg</image>
</main_img>
<main_img>
<description>'This is a really cool Playstation 3 '</description>
<image>images/Ps3.jpg</image>
</main_img>
</Pictures>
ActionScript Code:
img = new Loader();
img.load(new URLRequest(files))
addChild(img);
for (var i:Number = 0; i < xml.main_img.length(); i ++){
trace("Image:"+xml.main_img.image[i]);
trace('---------')
xml_txt.htmlText +="<b>image</b>"+xml.main_img.description.image[i];
|