Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 17:40
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flash and AS 3 (Moderators: papachan, kofi addaquay)
| | |-+  [Solved] Weird reference error problem
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: [Solved] Weird reference error problem  (Read 868 times)
Mattias Robo
Mods
Systems Administrator
*****
Posts: 555



View Profile WWW
« on: 05/26/10, 10:33 »

I'm working on a flash file that has a loader in frame 1. In settings all classes is exported to frame 2.
All classes with linkage has "Export in first frame" unchecked.

So. This has all worked fine until I switched to another computer. Same Flash CS4 with the same settings both in preferences and in project.

What happens now is that I get reference error #1065 for two movieclips that exists in the loader clip. None of them is connected to any class and the names of the "not defined" classes is made up by the compiler.

Looking further into it I realise that the two movieclips refered to are the only ones with some actionscript in time line. One of them with a simple "stop()". If I remove that line from that clip I get no reference error for that clip.

Also, if I change the classes export frame to frame 1 I get no reference errors.

This is really confusing. All my settings is the same as in my other IDE and I've never experienced this problem before.


Any ideas?


Error:
ReferenceError: Error #1065: Variable Loader_1 is not defined.

The symbol in library is called "Loader" but it has no linkage.

"Automatically declare stage..."  doesn't help. Also I prefer it unchecked.
« Last Edit: 05/28/10, 05:21 by Mattias Robo » Logged

     "I've figured it out. It's not the fords... it's what's IN them!.."
papachan
Moderator
Systems Administrator
*****
Posts: 507


View Profile WWW
« Reply #1 on: 05/26/10, 14:50 »

It seem to be a weird issue. can you post your file i will try here in flash cs5
Logged

Mattias Robo
Mods
Systems Administrator
*****
Posts: 555



View Profile WWW
« Reply #2 on: 05/28/10, 05:21 »

It went away after I updated flash. So it seemed to have been a bug.
Logged

     "I've figured it out. It's not the fords... it's what's IN them!.."
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything