Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 01-11-2006, 05:03 PM   #1
Flash Chick
silverbitz's Avatar
Join Date: Jun 2005
Location: Montreal, PQ
Posts: 50
Default Pop up window & Load text


I just switched from FlashMX to Flash8 and I'm having some trouble figuring out some stuff that has changed. I have a file that I'm trying to update, that I originally did with FlashMX and that I'm working on now with Flash8.

Here's my 1st problem:

My java-script pop-up window thing doesn't work anymore, when I try it my browser gives me a window saying that my Flash Player has aborded an unsafe operation.

Here's my original code that used to work with my old Flash player:

on (press) {
	getURL ("javascript:openWin('img9','Photo','bio/kat_kick.jpg','500','544');");
Is there a new way to put that?

My 2nd problem.. My loading text from a .txt file doesn't work anymore, Flash tells me that:

**Warning** Symbol=content news, layer=Layer 1, frame=10:Line 4: The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.
     loadText = new loadVars();

**Warning** Symbol=content_portfolio, layer=Layer 2, frame=10:Line 3: The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.
     loadText = new loadVars();

Total ActionScript Errors: 2 	 Reported Errors: 2
I guess the problem is with the loadVars(); command.. but I don't know what to change it to. My code is:

loadText = new loadVars();
//creating the loadVarsText function
loadText.onLoad = function() {

for (i=0; i<10; i++) {
	newstext.htmlText += +this["date"+i]+"<br>"+"<br>"+this["text"+i];
Any help would be greatly appreciated
silverbitz is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pop up window - make links load in '_parent' (help!) humbleches ActionScript 1.0 (and below) 2 02-03-2005 12:02 AM
Load Text Problem crabby80 ActionScript 2.0 0 01-19-2005 04:33 PM
PLEASE HELP: using html tags 2 load image into text file sineadhartley ActionScript 2.0 11 05-15-2004 12:56 PM
load text into array from text file in flash5 kavita18 ActionScript 1.0 (and below) 2 11-04-2003 06:42 AM
slow load of external text file sreebar Simple Stuff (Newbies) 4 04-01-2002 07:10 PM

All times are GMT. The time now is 09:24 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.