Flash IDE not compiling movieclips with "export for actionscript"
I'm having a really odd problem with Flash CS5 where I'm getting random compiling errors for movie clips that are exported for actionscript. These are simple graphics that will be created at runtime. Nothing special.
When I first open the project it gives errors for all the symbols in the project, but if I open and save the settings dialog the errors go away. Sometimes I have to go into individual symbols and check/uncheck the "export for actionscript" box. This is a AS2/Flashlite project.
Anyone else having these errors? I tried to "save as" the project and clean the ASO cache. No luck.
Here's an example of the error:
Symbol=movieBkgrdSmall, layer=Layer 1, frame=1, Line 1 The class or interface 'movieBkgrdSmall' could not be loaded.
cs5 will scan the current directory and all subdirectories for class files. sometimes you can have a name conflict and not realize it and that can cause substantial problems.
when desperate, create a new directory with no subs, save your current project there (with a new name).
Similar Messages
-
Export for actionscript - Not in first frame
Just a simple question.
Don't need to know if it works or not I have tested it. What
I want is to understand. Here it is:
If I use the Export for actionscript and I unselect the
Export in first frame, the item that will be linked by the ID in
the library must appear on the timeline. Normally it must be on a
frame that has played. IE frame 3 the item is there so I can use it
from the frame 3 to the last frame. This is how it works for the
_root. If I'm in a clip, the code can be on the first frame with a
stop. That means that the Item is on the second frame and has not
displayed, but it is accessible by the code.
Why?
Why on the root the item must appear on the frame where the
code is or before the code, but if in a clip, the code can works
even the item reside on a later frame that will never display
because there is a stop on the first one?
Tanx for your help to understand!I think that this is probably because of how flash streams
content. In order for flash to play frame 2 on the timeline, it
COMPLETELY loads all the code and assets for that frame (but not
frame 3) and then 'plays' that frame. Therefore on the main
timeline, code on frame 2 can't access exported clips from frame 3.
However, if your movie clip is (for example) on frame 4,
flash will stream/load everything (including your complete move
clip) when the play head reaches that frame, so all assets within
that frame are available because in order to even 'play' frame 4,
flash has had to load the entire movie clip contents. -
"Class" for Exporting for ActionScript not accessible
I am trying to export some audio files with Sound Properties > Export for ActionScript. However, for some reason the "Class" box is greyed out and unaccessible. I've tried out a number of different files: .mp3, .wav, .aif, but Class is still greyed out.
What is the problem? Is there some sort of workaround?I just found out that the reason the reason why it was not editable is because the document has been set up for Actionscript 1.0 and 2.0, not 3.0. I tried to follow this video: http://www.youtube.com/watch?v=r5Ai4-j0bUc on how to export sound to actionscript.
I've been trying to find the Actionscript 1.0/2.0 version of that workflow to set up a sound, volume, play, frame range, play increment, etc. Is it essentially the same coding?
import flash.media.SoundTransform
import flash.media.SoundMixer
SoundMixer.stopAll()
// The section below imports the sound you just "Exported for Actionscript"
// Replace "sound" with the "Class" name you put in the ActionScript tab for the audio clip
// ** If there is more than one sound, then copy & paste the line below and rename the "sound1" and "sound" to each new audio.
// ** Do the same process with the ".play" line at the bottom of the program
var sound1 = new sound();
// Section below controls the audio volume. Range is between 0-1.
// Example: .5 >>>> 50% volume
var myvolume:SoundTransform = new SoundTransform(.5);
// Below controls the
// (<starting frame within audio track>, <frame increment or how fast the track plays>,<Connects to Volume - ignore it>)
sound1.play(0, 1, myvolume); -
Problem with Exporter for MS Access 3.2 in SQL Developer
Hi,
I have problem with exporting tables and data from MS Access to XML with Exporter for MS Access 2000.
This error ocurr: 'Error #5 - XML Exporter'
When I use Exporter for MS Access 2002 this error ocurr: 'Error #3478 - XML Exporter'
Any leads how to solve this problem ?Thread moved to Forum Home » Database » SQL Developer
SQL Developer
Please, stay tune there.
Nicolas. -
Peace, I am one of millions who is loyal and loves apple, I was not completely happy with iOS7 for one thing which the new themes and I really think that the old icons theme is what's makes it unique, I was wondering if we can make an option to choose from new and previous once?
User to user forum.
You are not addressing Apple here.
No, once you install iOS 7 that is it. -
okay i want to go to smart phone with 2 year contract. i am wavoring between the 2g to 4g plan. verizon has decided not to chat with me for the moment. because i'm annoying. my question is, can i alter the G factor as i go if i need more need less and leave everything else the same?
you can start out low and increase your data allowance as you need throughout the month, backdating it to the beginning of the billing cycle so you don't have overages; however, I found out the hard way that you cannot decrease your data allowance during the month and backdate it so you don't overpay for unused data.
what I do now is reset my data allowance to 2GB at the beginning of every bill cycle and then increase it if I get warnings that I'm going to go over... and I check it 3 days before my bill cycle ends to see if I think I might need to bump it up before the end of the bill cycle
it's annoying, but otherwise I end up paying thru the nose for overages or overpaying for data I don't use
BTW, I'm on the More Everything plan, which is the same plan you'll get unless you go Edge (where you pay the full price for the phone but don't get the 2-year commitment to it) -
I'm noticing that in the Flash Library panel either the original bitmap image file (JPG, PNG, etc.) or its graphic symbol can be exported for actionscript. Is it best to use the original file (e.i., PNG) and do away with creating a symbol? Those images will only be used via AS3, not on the stage within the Flash authoring environment.
Regards,
Rongraphic symbols can be useful for designers that like to design using the timeline: when you scrub the playhead across a movieclip, the movieclip doesn't play. but when you scrub the playhead across a graphic, the graphic will play.
i'm a developer, not a designer. i've never used a graphic even when i was a newbie. and, i'd venture to say 90% of the contributers to these forums are also developers/not designers and i'll bet they don't use graphics, either. if you don't use timeline animation, you have no use for graphic symbols.
but for designers that do a lot of timeline animation, graphics can be very useful. -
Import and/or export for actionscript without extention?
I have a project in which I need to import several hundered png images.
When I import them into the library, then select all the images, then view the properties, I Check the export for action script and the export in frame 1.
Now, all my images have class names that I can access though my code, however, it included the file extensions in the class names, thus making invalid class names.
Is there any way I can import and/or set class names so they do not include the file extensions without having to do it manually for EVERY file?My actual project has something like 9200 images in it.
if my main project, let's call it "main.fla", was to contain every one of those images, every time I tried to run or debug it, it would take FOREVER to compile... as a work around that I discovered in a previous project was to put all my graphics and media into an swc file. (Let's call it MyLibrary.swc)
While I was trying to get the swc working, I discovered that while my media in the swc was indeed setup to be exported for actionscript with unquie classes and everything, when I compiled and built my project, I could not get any of those media elements using the getDefinitionByName function.
After alot of reading and trail and error I found that the only way to get it to work was to have someplace in my code, an actual reference to the objects that I was trying to get with getDefinitionByName. It turned out, that without instantiating the object in the code, the compiler was omitting it.
Now, but instantiate, I mean doing this:
var bm:BitmapData = new MyImage();
Where MyImage.png is in my swc and has a class defined as "MyImage"
Once I do that, then I can do this
var classRef:Class = Class( getDefinitionByName("MyImage") );
But without that line above SOMEWHERE in my code (even if it's not actually executed), the getDefinitionByName returns an error saying it can't find the class.
Now, here's the problem.
When I import all my images into my swc library they get named with the file extention... "MyImage.png" and when I select all the images that Imported and batch set the export for actionscript, they get automatically assigned a class name equal to their library name, so the class name is "MyImage.png"
so if I wanted to use getDefinitionByName to access the class, I would need to instantiate it in my code by doing this:
var bm:BitmapData = new MyImage.png();
BUT, that is erronous as the period causes an error and the adobe docs says right in it that class names can't use periods or any other non-alphanumeric character.
So while the getDefinitionByName function DOES actually work with classes with periods in them, because my media is external of the main.fla, I can't load it unless it's instantiated first, which leaves me right back where I was.... having to to manually rename over 9000 classes manually one at a time.
I did some searching and found the "Flash Library Renamer" extension, but it requires me changing all my class names to be sequenial, which the vast majority is not.
Is there a way that I can import the files into the library and have it omit the file extension?
if not, is there a way that I can set the class names in a batch and not have it use the file extentions?
if not, is there an Flash Extention or plug in that will allow batch renaming using regular expression or wildcards? -
Font - Export for ActionScript
Hello,
When I add a font to the library, export it for ActionScript and select Bitmap text what is that doing exactly ? I am never able to reproduce that font in Photoshop, Notepad or any other program, the one my SWF displays is always a little different.Does anyone know what exactly happens when you click 'export for actionscript' on a Font Symbol? I suspect it changes the textfield from unicode to latin-1. Since I lose typical unicode characters while basic latin onces work fine. Anyone how knows for sure or can direct me to some documentation about it?
-
Can not compile php with "-with-oracle=/usr/local/oracle"
I work on Linux engine with a x86_64 architecture and use Oracle 10g 10.2.0.1 client for x86_64 linux
so - when i try to compile php with the oracle argument (-with-oracle=/usr/local/oracle) i get everytime the same error:
checking Oracle version... configure: error: Oracle needed libraries not found
I think, maybe i have a problem because configure not found my "64 bit libraries"...
Can someone help me? I am realy helpless...
thxDid you really want the obsolete "oracle" driver - why not use --with-oci8?
The user comments in http://www.php.net/oci8 have some good info on 64bit configuration. -
More trouble with exporting for web
Alright,
Sorry to say but I am still having trouble converting/exporting my film trailer to the website for PC users to be able to access it.
I converted it to a quicktime movie film from FCP, which plays beautifully but apparently PC users can't see it still.
I have tried exporting to Compressor and tried every format there (mobile devices, web and so on...) they all came out pretty blurry.
Does anybody have a full proof plan for converting/exporting for website viewing (PC and Mac compatible)?????
P.S. It may help some of you to see the problem on the page http://www.inthelandofsmiles.com/Site/Film_Trailer.html
THANKS IN ADVANCE!I will second the Flash suggestion. Great a .flv file and play it on your site with a flv player. Some are more difficult than others to use.
NOTHING is fool proof with this kind of stuff. Flash has the highest install rate on all computers and is as close as you can get to fool proof. You can also put a link on you site to download the latest flash player. The other plus is that it tends to have the best results with low file sizes. This is what YouTube and similar sites use to play their video.
PS. I highly suggest this flv player... It's free for non-commercial use and almost free for other uses...
http://www.jeroenwijering.com/?item=JWFLVPlayer -
Custom flash player (not flv) working with custom flash content
I am working on a custom player of swf content. Some of the
content the player loads and plays is custom Flash content (swf
files) such as games.
Depending on how the external content is built, sometimes the
pause button for the player will not pause everything in the loaded
content swf.
Does anyone know of a standard approach to such a problem?
Thank you.Windows 7, and I have tried it on chrome, firefox, and IE
Date: Wed, 12 Feb 2014 06:38:40 -0800
From: [email protected]
To: [email protected]
Subject: Flash player not always working
Re: Flash player not always working
created by Mike M in Using Flash Player - View the full discussion
What OS?
http://mmonlinedesigns.com/images/os.png
What browser?
http://mmonlinedesigns.com/images/browsers.png
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6113122#6113122
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6113122#6113122
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6113122#6113122. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Using Flash Player at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Internet pages not loading correctly with Explorer for Macintosh 5.1
I received the Ibook from my brother-in-law after his death. I've updated it with 512 ram and the newest version of OS X for this Ibook. When I access a web page with explorer for Macintosh 5.1 the page is not loaded correctly. it seems to wraparound , some heading overlap each other. Some pages won't load at all. When there are scroll bars and they are used, all that shows is blank. I'm use to the windows environment and am just preparing this machine for my brother to use to access the internet in his retirement. Am I missing some plug-ins or set-up?
It looks like most people in the OS 9 Forum are recommending the wamcom-131-macos9-20030723.sit download available from this page:
http://wamcom.org/latest-131/
You have to sort through a lot of builds to find the correct one, but that looks to be it for Mac OS 9.
I'm not sure that any browser version for Mac OS X 10.0.4 will work satisfactorily at this point in time, Jim. They are all likely to be as creaky as Internet Explorer 5.1, I'm afraid.
lvg416, you may want to post about the problem in the Mac OS X v10.3 & earlier > Using Mac OS X Forum:
http://discussions.apple.com/forum.jspa?forumID=745
I did a little poking around in there, but not many people are using Mac OS X 10.0 (and for good reason). Personally, I didn't find Mac OS X usable until Mac OS X 10.3 (Panther) came on the scene. -
We develop flash modules for clients. In the latest Firefox with the latest Flash Plugin it happens that flash components are affected when other components are rotating .
For example if you open one of our demo's
http://www.crocon-media.com/?page_id=190&lang=en
and you click in the top on "MUSIC" a radio player will load. Before the Intro MP3 file is played completely, some modules that are embedded in that flash rotate, means they re-start. This never affected all other embedded modules but do now. The radio component simply stops playing. This does not happen in any Internet Explorer version and has worked with under Firefox before.After putting those 2 flash components out the bundle we also see, that even if the rotating flash is loaded separately and another for example audio streaming flash module is running, once the stand-alone rotating flash module is starting back at frame 0 it affects all other flash modules on the same page, even if they are not connected to each other. This is a serious issue.
-
Flash Will Not Line Up With Surrounding Graphics In Dreamweaver
Hello All:
I have been trying to get my Flash .swf file to line up with
the surrounding graphics in my page. I used the same sliced image
in the page and it lines up and for some reason when I put that
same slice into Flash, it becomes slightly skewed by a few pixels.
Here is what the page/problem looks like:
http://www.shannawise.com/images/FlashProb.jpg
Any suggestions?
NOTE: I'm using Dreamweaver MXTyring to get pixel perfect mixing Flash & others always
causes headaches. A
better approach may be to place you flash reference in a
layer that sits
over a background graphic
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"swnova22" <[email protected]> wrote in
message
news:eiqhaj$qcr$[email protected]..
> Hello All:
>
> I have been trying to get my Flash .swf file to line up
with the
> surrounding
> graphics in my page. I used the same sliced image in the
page and it
> lines up
> and for some reason when I put that same slice into
Flash, it becomes
> slightly
> skewed by a few pixels.
>
> Here is what the page/problem looks like:
>
http://www.shannawise.com/images/FlashProb.jpg
>
> Any suggestions?
> NOTE: I'm using Dreamweaver MX
>
Maybe you are looking for
-
HT4356 HP LaserJet Enterprise 500 color MFP M575 Airprint?
I installed a new HP Laserjet 500 (great fast printer) and all Mac's and Win7 have no trouble printing but iPhone's and iPad's do not find the printer. It is plugged into the Comcast Business gateway which is perhaps not AirPrint compatible? The wire
-
Can we Hide Measure Folders from a Read Only Session?
Hi , I have implemented security on my workspace by scoping the dimensions and hiding the cubes.It worked. For hiding measure folders, i did similar to hiding of cubes, but it did not work. It threw an error message : ERROR: (ORA-34706) ACCOUNT_BW.ME
-
Photoshop CS4 crashes when opening a file
Every time I open a file(.psd or .jpg) Photoshop automatically crashes. here is the reports: Process: Adobe Photoshop CS4 [6330] Path: /Applications/Adobe Photoshop CS4/Adobe Photoshop CS4.app/Contents/MacOS/Adobe Photoshop CS4 Identifier
-
JDBC Persistent Store Exceptions Table needs to be renamed
we are facing a situation almost every week in production. The only workaround is to rename the table everytime an boune the Weblogic. Oracle recommended to increase the statement timeout. Not sure if that will work. Can anyone provide what is the re
-
Organizing Material in a Pages '09 (v.4) Document
In a Pages '09 Word Processing document with facing pages: Is there a way to control the formatting in a Word Processing document with facing pages such that the both the text and the objects on a given page will remain together as they were original