Flash CS3 AutoFormat Unformatted AS 2.0
I have been noticing that when using the auto formatting
feature in CS3 it will add semi-colons before and after curly
braces and remove correct indents in code. According to Senocular
of senocular.com has noticed this also and has posted some info
also. This is a huge issue for me since I have been using it for 5
years now and is hard coded into my instinctive developing habits
and twitches. Also I have recently inherited a project that was
developed by another developer that is about 600 lines of code and
due to CS3 most of it is not formatted correctly and is a huge
eyesore to edit. Will there be a patch, fix, or is this a byproduct
of having another feature enabled that can hopefully be disabled
when developing in AS2?
Least I now know I am not crazy but for your information here
is my setup just in case this is a OS dependent issue:
Mac OSX - Intel
10.4.10
Also I having a simaliar experience to Henning Rogge were it
picks what code to not format correctly. It doesn't happen all of
it. And whats up with those semi-colons after Open curly braces,
weird.
Similar Messages
-
Something is corrupted: Code auto format, Flash CS3
Not sure if this is the forum to post, but thought someone
here would know where and kindly direct me if I'm in the wrong
place!
I have had Flash CS3 Pro installed for a while, but am only
now using it regularly as AS 3.0 projects were few and far
between...
However, now that I am, I am being driven insane by the code
autoformat that strips out parentheses and breaks all my code by
changing the meaning of code. As far as I can make out, this is
specific to my machine - implying something is corrupt. So, I
uninstalled all versions of Flash and reinstalled CS3 specifically.
The trouble is, code formatting is still dangerously buggy
and now (because I have uninstalled Flash 8) I no longer have code
formatting even for AS 2.0!
Has anyone come across this before?
Any ideas how to get past it?
G
PS: As an additional piece of trivia that may be related,
Flash player is now not correctly reported so I am getting "Install
flash plugins" warnings from a couple of sites even though I have
it and it works fine.Hi,
Sorry, but you are not understanding me - I do not have an AS
2.0 formatter because the formatter I have with CS3 breaks code no
matter what version of ActionScript I am in - the Flash 8 one
didn't.
As for using non-standard coding, here is an example:
halfWinPositionWidthRelative=visibleImageW / (2 * fullWidth);
Is formatted to:
halfWinPositionWidthRelative=visibleImageW / 2 * fullWidth;
To give you an idea of why this is so bad:
var visibleImageW =50;
var fullWidth = 1500;
trace(visibleImageW / 2 * fullWidth) // traces 37500
trace(visibleImageW / (2 * fullWidth)) // traces
0.0166666666666
As another symptom (more an irritant than a problem) all my
"new WhateverClassNameIAmUsing();" declarations get formatted to
"new WhateverClassNameIAmUsing ;"
This means that I _cannot_ use the auto formatter for any of
my work as it _breaks_ my code - resulting in endless loops, random
madness and absolute corruption of all the work I have done.
I have compared with another CS3 user and the results are
specific to my machine - which is why I want to find out how to fix
the corruption on my machine.
Gaius -
How do I use a Flex swc in Flash CS3?
My engineering team has used Flex to create a nice little swc
for me to use inside of Flash CS3, but now I'm having trouble
finding any documentation on how to actually import it. Placing it
in the Components folder doesn't work, as it's not recognized by
the Components window (either as an AS2 or AS3 swc). Is it even
possible to use swcs from Flex in Flash? Thank you very much for
the help.
-- JeremyUse these links
Modular Applications
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f22.html
Creating Flex Libraries
http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d2 1-7fe6.html
-Pramod
http://www.flexmycode.com -
Problem with FLVPlayer in Flash CS3 (need to save out as Actionscript 3.0 SWf file)
I am using Flash CS3 and am trying to publish a SWf file that
makes use of the "FLVPlayback" component. I need for this SWF file
to be published as an Actionscript 3.0 file, so I have set my
publish settings to Flash Player 9.0 and Actionscript 3.0, but keep
getting an error as follows:
"WARNING: The component 'FLVPlayback' requires ActionScript
2.0."
Has anyone encountered this?? I am doing something wrong? I'm
pretty comfortable within Actionscript/Flash 2.0, but am only
beginning my first steps into the relam of CS3 and AS3.
I have also attached a screenshot of the files that represent
my FLVPlayback component (or so I assume). (see this link for
attachments
http://www.actionscript.org/forums/showthread.php3?t=140886)
Thanks all,
Mark
http://www.actionscript.org/forums/showthread.php3?t=140886Mark,
> I have set my publish settings to Flash Player 9.0 and
Actionscript
> 3.0, but keep getting an error as follows:
>
> "WARNING: The component 'FLVPlayback' requires
ActionScript 2.0."
Gotcha. You must have started the document in AS2, then
changed the
publish settings. Each version of the language has its own
version of the
FLVPlayback Component (written in the relevant language).
Start over and
compare two compleley new FLA documents: make one for AS3 and
one for AS2.
Open the Components panel and note the differences between
the two. There
are a different set of Components depending on the language
chosen for the
document. Drag the FLVPlayback Component from the Components
panel in an
AS3 document, and you'll have the AS3 version.
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design." -
Error embed / insert Flash CS3 9.0 swf in Acrobat 8.1.2
Goal: embed Flash swf file in Acrobat pdf.
Software: Flash CS3 9.0, Acrobat Pro 8.1.2, Mac OS 10.5.2 (all updates applied as available 3/27/08). If it matters: Quicktime Player 7.4.1. All swf files are associated to open with Flash Player 9 (9,0,115,0).
Hardware: PowerMac Dual 2GHz G5, 9.5 GB RAM
Error Description: This error is seen on 2 out of 3 PowerMacs; the 3rd PowerMac will inexplicably work. Here is what is done to receive error: Open pdf document in Acrobat. Select Movie Tool from Advanced Editing Toolbar, choose swf file from Desktop (pdf file is also saved on Desktop to eliminate network considerations). All defaults are retained in dialog window, when "OK" is pressed, status message "Initializing authoring system" appears and remains indefinitely. "Cancel" is pressed and produces following error message window: "Cannot create the movie annotation because the movie could not be loaded. This can occur if the file cannot be found or the URL is unreachable (make sure proxy server settings are correct)."
Adobe Support claims Leopard incompatibility with embedded Quicktime 7.3.1 (I have updated to 7.4.1). Also, AS recommended file association of swf to Flash Player exclusively. Have taken all actions recommended...still have problem.
Anyone have any ideas?I believe that the latest version of QuickTime which you no doubt have installed does not support the latest version of Flash (9.0). Since Acrobat depends on QuickTime for multimedia in Acrobat 8 Professional, this feature breaks.
What needs to happen is for the next version of Acrobat to support Flash directly, not using QuickTime. -
Quicktime movie export from Flash CS3 is skipping frame.
When I try to export Quicktime movie from Flash CS3, the
resulting mov file is skipping frames. i.e.: The movie is showing
frame number 1, 2, 3, 4, 5, 6, 7, 7, 7, 10, 11, 12, 12, 12, 15
etc...
As you can see the frame number 7 is repeated 3 times and
frame 8 and 9 are nowhere to be found.
The last configuration I used is 960x540, Sorenson video 3
medium quality, 25 fps, keyframe every 25 frames. 6400 kbits/s.
I tried various configurations,with different codecs and even
with keyframe all frames and I always get simillar problems.
Anyone have an idea what is going on, and how to fix this?
Thank you,
Olivier.The QT exporter in Flash is honestly my least favorite
feature - not the feature itself but how it
works (or how it doesn't work in some cases). For me it is
almost unusable unless you have a very
short timeline, small stage, lower frame rate - like AS
generated effects or something - otherwise,
for true frame accuracy to video output - it is not reliable
enough and not fast enough for any real
world production environment.
So typically for me - I love SWF2Video (www.flashants.com) as
it takes any SWF and makes it into an
AVI that is frame accurate no matter what the frame rate is -
quite incredible - enough so that I
always felt it should have been bundled with Flash (as well
as Wacom tablets).
Harmony is an incredible product - as is SOLO and TBS (Toon
Boom mStudio) - each of those programs
are dedicated animation programs designed for output to video
- Flash has a lot of hats to fill and
it was never really designed for animation to video even
though many of us have found it suitable
for all intents and purposes as an animation program for full
production.
But all in all - the quicktime exporter doesn't really
deliver how we would expect it too I am sorry
to say - I only hope it works as well as it does on the Mac
(Mac users could always choose to export
to Quicktime Video but not PC users).
For now if I am exporting to video I keep it all on the
timeline or nested in Graphic symbols or use
the SWF2Video tool.
hope this helps.
-chris
Chris Georgenes / mudbubble.com / keyframer.com / Adobe
Community Expert
OBastien wrote:
> Thank you for your reply Chris.
>
> I tried different possible solutions you listed but it's
not working.
> Disabling sound had no effects. Changing the FPS is not
an option, it has to be
> 25 FPS. I lowered the resolution to 300 something, it
seemed to be a little bit
> better, but it still dropped some frame, and the image
quality was horrible.
>
> I think it is really sad that we have to try different
settings in the hope
> that flash will grab all the frames. I'm really
disapointed in Adobe. I'm
> pretty sure it is the fault of Adobe and not Apple,
because I don't have does
> problems with Quicktime in ToonBoom Harmony. What is
strange is when I do an
> AVI export I never noticed a dropped frame. I'm not
using AVI video right now
> because I can not find a codec that gives me small size,
fast encoding times,
> the ability to seek in the movie by dragging the
timeline progress bar, and the
> possibility to edit in After Effects. If you know an AVI
codec that does all
> that it would be really great news.
>
> Thank you again,
> Olivier.
> -
How to add special characters in Flash CS3
Hi, i need the help of some flash guru… these last weeks we were working with cloversites.com to build a community website… the interface is awesome etc etc however we in Malta have eight special characters (GCZ with a dot on top of them and an H with a second strikethrough). Those at cloversites wrestled with the problem, they could see the characters on their computers but when they entered the text in the site, flash couldn't render the special characters. Here is their message:
I am extremely sorry about this, but we were unable to add in your characters. We attempted to add them into our software but they did not work. We worked on it all morning and realized that we need an extra add-on for our keyboards. Adding special characters is nothing new to us and have answered this request for many of our international users. For some reason, the Maltese characters did not work in our sites. For example, our "option-G" is the copyright symbol so it will need to be transferred over to international characters.
Unfortunately, we thing that this has to do with Adobe Flash CS3. The software allowed me to embed the characters, but we were unable to render them on the web. Which led us to think it had to do with the version Adobe is running and its inability to render the text through its software on the web. None of the characters worked on the web, and it looks like its just an Adobe bug. So we are able to type and use the Maltese characters, but Adobe Flash is having trouble with them.
Does anybody know of any possible solution?see if codepoints-to-string() is suitable for you ..
Re: how to concatenate hexadecimal value to string in XQuery in PS Message Flow -
How to create a comment form in Flash CS3
I am trying to create an add comment form in Flash cs3. I
have the background design and the text input areas and sub mit
buttons. But how do I get the submit button to add the comment to a
different area in the same flash file? My inputs and buttons are on
the left side of the stage and my display comments is on the right
side of the stage. How do I connect the two?The user types something into a text input space and when the
user then uses the submit button, you want that same, user entered,
text to display in another, different, text area? If that's the
case then make that second text area a dynamic textfield and set
its text property to the text property of the input text
space. -
How to creating a web banner in Flash CS3?
Hi all,
I'm very new to Flash CS3. Can anyone give me a step-by-step
instructions on how to make a banner for a web-site? Or a link were
i can find step-by-step instructions?
I have googled it but found no real help. I have tryed
"Youtube" hoping to even fine any one (most likely a child) with
directions on how to do this. Funny thing is that it seems most 8
year olds are better at Flash CS3 than I am & i'm 45.
Anyway, if you can help please make it simple or for the
simple minded. :)
Thanks to all!!
BJI understand your pain...I just posted a similar request
earlier today for help but finally figured it out on my own. I've
done lots of searching online and used Adobe's Flash Classroom in a
Book and also took an online ed2go class and I still don't have a
good handle on Flash. Nothing seems to give clear step by step
directions on animating images for web banners. You just have to do
a lot of trial and error. These websites may help if you don't have
time for the classes:
http://www.smartwebby.com/Flash/default.asp
http://animation.about.com/lr/flash_animation/150331/1/
mek113 -
How to develop a search engine in flash cs3
Hello Friends,
I need a small help in developing Search Engine in flash cs3.
I am going to develop a search engine in flash. But i dont have any idea on how to do this... so can anyone pls help me out. Any links/steps/code
would be really appreciated.
My goal is to develop a search engine in flash which should work more or less like google.
Regards,
RajeshWhat is your definition of search engine? What exetend of similarity to Google you are planning?
-
Hi there,
Someone sent me a .fla file that I can't seem to get opened in my Flash CS3 program. I think it's because it was made in CS4 which isn't backwards compatible with CS3.
So, now I'm wondering if there is a way I can open the .fla file in CS3. Better yet, is there some kind soul here that could possibly open the .fla in CS4, and save it as a CS3 and send it back to me?
I would normally just ask the guy to do this himself but he left on vacation today and I haven't had a chance to try and open the file until now.
Thanks
Mikeupload your fla and post a link.
-
Flash CS3: AS3 - ReferenceError #1065 Variable is not defined
I have developed several actionscript classes. Two of these
classes are associated with MovieClip objects in the library. The
MovieClips have their Linkage Base Classes set to their respective
package and class locations and when I check the Linkage settings
(using the check mark icon) Flash CS3 reports that it can find the
associated classes for both MovieClips.
When I check the syntax of my code there are no problems, and
when I test the Flash movie no Compile Errors are shown. Yet, in
the output window I get the following error:
ReferenceError: Error #1065: Variable class1 is not defined.
ReferenceError: Error #1065: Variable class2 is not defined.
I have placed class1 and class2 in the above error messages
to represent the classes that are associated with the MovieClip.
Am I missing an import command somewhere? I have the base
class path properly set in the preferences of Flash CS3.
Thanks,It appears that this issue was due to some of my classes not
being marked as public. I had been following examples from AS2 that
had the classes marked as dynamic without a private or public
identifier. Apparently, AS3 assumes all unmarked classes are
private. -
Flash CS3 fl.* package cannot be used in Flex Builder 3
Hi,
I was very disappointed to find out that one cannot import
the fl.* package, which is available for flash CS3. I found a work
around by creating swc file and importing them, however it's
disappointing that flash CS3 would have such a major advantage over
Flex Builder 3 when building an Action Script 3.0 Application.
Best, EI've looked over that sample.
Part of the problem is that I don't have access to
mx.effects. I think this is because that example is a Flex 3
Project and has a MXML file attributed to it. I opened a Flex 3
project and was able to access mx.effects - but my project is
different in that it's an ActionScript project - meaning, I opened
an ActionScript project in Flex Builder 3. Apperantly the
ActionScript projects don't have access to mx.effects.Tween. And
niether do they have access to fl.transitions.Tween. It's strange -
and I'm trying to find a way to access them by connecting the build
path to the Tween classes somehow.
My project preferences already have the fl.* folders in the
build path. It just still doesn't seem to work. -
Beware of Zoomify and Flash CS3!
Does anyone else have problems getting
Zoomifyer for Flash to work in Flash CS3 on Mac OSX?
Everytime I launch the Component Inspector in the Zoomify Viewer
Component I get an alert saying: "Reference Error ZoomifyFileAPI is
not defined". This is one of several JavaScript errors and alerts
that frequently launch. I emailed [email protected] but so far no
reply.
Am really annoyed for three reasons:
1. Paid 129 USD for it
2. It is for client work!
3. Zoomify have as yet to respondI have the same problem. (on Flash CS3 OS X) Bought it
yesterday for a project. Expected to get documentation with the
download. No response from support. I installed the component in
Flash MX2004 and get this error : ZoomifyFileAPI.fileExists is not
a function when opening the component inspector... At least I was
able to enter paths and get a first etst going.
Overall it looks buggy... and abandoned. Too bad. I like the
samples I've seen and I think there is a lot of potential for
development. -
How can I create a photo gallery in flash cs3, Iam a beginner in flash
How can I create a photo gallery to put into my current flash site Iam creating? Using flash cs3, can anybody suggest any tutorials (noting complicated with me being new to flash cs3)
When going on line I saw that maybe you can use Dreamweaver, XML, or even Photoshop can anybody explain the difference between using one or the other?
THanksIndeed, google ftw.
For example:
+as3 photo gallery flash tutorial
reveals many including this one:
http://www.flashmagazine.com/Tutorials/detail/as3_photo_gallery/
Maybe you are looking for
-
Acrobat XI Pro install errors 1935 &1603
Hi, I have just upgraded from CS3 and run the Creative Cloud installer app but am having problems with Acrobat (whereas Indesign and Photoshop installed fine) on my workstation that is running Win 7 64-bit. I have therefore uninstalled all Adobe prod
-
Not happy with Calendar View - Can we get a weekly view?
There seems to be no in-between for the calendar view. You can look at the monthly view which shows no detail, or you can look at the daily view which gives you only one day. List view skips days where you have no entries. There must be a graphical w
-
every time I try to open a pdf file it wants me to use Adobe instead of preview what has happened?
-
ITunes 8.0.1 available
Downloading at the moment.
-
Applying CPUApr2010 to GC 10.2.0.5
Hi all, Has anyone tried applying the CPUApr2010 patch to Grid Control 10.2.0.5? We have an installation of GC 10.2.0.5 on AIX 5.3. My understanding is that the Management Server is running inside is 10.1.2.3. We are using 11.2.0.1 as our repository