Flash CS3 MovieClip artefact/bug?
Hi there,
I'm having a serious problem with line artefacts appearing in
a SWF movie.
They appear between exactly adjacent MovieClip symbols that
should have no intervening space (most obvious when the adjacent
shapes happen to be the same colour).
My workflow is:
1) Take a PNG image and Live Trace it in Illustrator CS3 to
fills, save as AI.
2) Import CS3 AI to Flash CS3 and convert each shape to
MovieClip and give it a name using funky new wizard.
3) Manually change the colour of one of these MovieClip
instances to be the same as an adjacent MovieClip instance using
the Flash IDE
4) Publish to SWF9
Problem is the published SWF9 has serious line artefacts
appearing between the two shapes that are exactly adjacent and have
the same colour. They should instead visually blend together with
no thin line between them.
I can overcome this problem by NOT converting the shapes to
MovieClips when I import to Flash CS3 in step 2) above, and then
instead changing the colour of the same shape which is now a
Drawing Object. When I publish this version to SWF9, there is no
line artefact, just perfectly blended adjacent shapes.
Problem now is that I don't have instance names to import my
SWF to Flex and programmatically manipulate the colours of my
lovely little vector picture.
Can it really be the case that I have to choose between
visual integrity and programmatic functionality after all of the
recent releases and improvements?
Many thanks for your thoughts,
Rich
I found a hack to fix the problem:
Give every MovieClip instance a 0.25 solid linestyle with the
same colour as its fill colour.
This causes all of the adjacent MovieClips to very slightly
bleed into each other, thereby masking the unsightly gaps that were
appearing before.
Since my original post I discovered that the gap problem was
actually present (although more subtle) in the AI file after using
Live Trace. It became more pronounced after import to Flash CS3,
but can be managed as per above hack.
Similar Messages
-
Strange MC duplication in FLash CS3
I created a movieclip in flash cs3 and then i duplicated same
movieclip in library using the duplicate command and exported for
actionscript and then applied few transformations like made larger
than original. Now if i test my flash file the original movieclip's
instances are also larged like the duplicated movieclip.
Is it a bug? if not then what is the logic.
Note: the original movieclip is not exported for
actionscript.Hi Jostrom,
Thanks for reporting this. We were able to narrow down this issue and has already been logged internally under bug #3585950.
We shall update once this is investigated and gets fixed.
Regards,
Nipun -
I'm having this problem using Flash CS3. I put a movieclip
called "my_mc" in frame 20 and put this code in the first frame of
my movie:
gotoAndStop(20);
my_mc.gotoAndStop(2);
This should put the header into frame 20 and show the second
frame of "my_mc", but it doesn't work and the output shows this
error:
TypeError: Error #1009: Can't access a property or method of a
reference to a null object.
at Untitled_fla::MainTimeline/Untitled_fla::frame1()
This works perfect in Flash 8 but not in CS3. I don't know if
it's a program bug or there is another way to make it work. Anyone
knows?The thing is that I don't want to put code in every frame I
want a movieclip to do an action.
I need to manage all movieclips from a class outside flash in
order to have all more organized.
I can't beleave Adobe couldn't fix this problem yet, if the
idea of Flash 9 is to have everything more organized in classes,
and not putting code in different frames and timelines of the
movie.
Flash 9 should have something like a map of all timelines and
movieclips in those timelines, but it doesn't seem to have it.
For example if I have an mc called "myMc" in frame 10 and
want it to gotoAndStop(3) and want the mc in frame 3 of "myMc" to
gotoAndStop(5) and a movieclip inside it but not in frame 1 to
gotoAndStop(8), I can't put code inside every movieclip because it
would be a mess. The ideal would be to manage everything from a
single class outside flash and don't put code everywhere. -
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 -
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. -
AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications in the Flash CS3 IDE
Hi everyone,
For all of you out there who would like to develop AIR
applications
from the Flash CS3 IDE but aren't sure how to get those pesky
intrinsic
classes working, I have a technique that you can work with to
create
your classes and make fully functional AIR applications.
First of all, those solutions out there that list
"intrinsic" functions
in their class definitions won't work. That keyword has been
taken out
and simply won't work. The "native" keyword also doesn't work
because
Flash will reject it. The solution is to do dynamic name
resolution at
runtime to get all the classes you need.
Here's a sample class that returns references to the "File",
"FileStream", and "FileMode" classes:
package com.adobe{
import flash.utils.*;
import flash.display.*;
public class AIR extends MovieClip {
public static function get File():Class {
try {
var classRef:*=getDefinitionByName('flash.filesystem.File');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get File
public static function get FileMode():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileMode');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileMode
public static function get FileStream():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileStream');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileStream
}//AIR class
}//com.adobe package
I've defined the package as com.adobe but you can call it
whatever you
like. You do, however, need to import "flash.utils.*" because
this
package contains the "getDefinitionByName" method. Here I'm
also
extending the MovieClip class so that I can use the extending
class
(shown next) as the main Document class in the Flash IDE.
Again, this is
entirely up to you. If you have another type of class that
will extend
this one, you can have this one extend Sprite, Math, or
whatever else
you need (or nothing if it's all the same to you).
Now, in the extending class, the Document class of the FLA,
here's the
class that extends and uses it:
package {
import com.adobe.AIR;
public class airtest extends AIR{
public function airtest() {
var field:TextField=new TextField();
field.autoSize='left';
this.addChild(field);
field.text="Fileobject="+File;
}//constructor
}//airtest class
}//package
Here I'm just showing that the class actually exists but not
doing much
with it.
If you run this in the Flash IDE, the text field will show
"File
object=null". This is because in the IDE, there really is no
File
object, it only exists when the SWF is running within the
Integrated
Runtime. However, when you run the SWF as an AIR application
(using the
adl.exe utility that comes with the SDK, for example), the
text field
will now show: "File object=[object File]". Using this
reference, you
can use all of the File methods directly (have a look here
for all of
them:
http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
For example, you can call:
var appResource:File=File.applicationResourceDirectory;
This particular method is static so you don't need an
instance. If you
do (such as when Flash tells you the property isn't static),
simply
create an instance like this:
var fileInstace:File=new File();
fileInstance.someMethod('abc'); //just an example...read the
reference
for actual function calls
Because the getter function in the AIR class returns a Class
reference,
it allows you to perform all of these actions directly as
though the
File class is part of the built in class structure (which in
the
runtime, it is!).
Using this technique, you can create references to literally
*ALL* of
the AIR classes and use them to build your AIR application.
The beauty
of this technique is its brevity. When you define the class
reference,
all of the methods and properties are automatically
associated with it
so you don't need reams of code to define each and every
item.
There's a bit more that can be done with this AIR class to
make it
friendlier and I'll be extending mine until all the AIR
classes are
available. If anyone's interested, feel free to drop me a
line or drop
by my site at
http://www.baynewmedia.com
where I'll be posting the
completed class. I may also make it into a component if
there's enough
interest. To all of you who knew all this already, I hope I
didn't waste
your time.
Happy coding,
PatrickWow, you're right. The content simply doesn't show up at all.
No
JavaScript or HTML parsing errors, apparently. But no IE7
content.
I'll definitely have to look into that. In the meantime, try
FireFox :)
I'm trying to develop a panel to output AIR applications from
within the
Flash IDE. GSkinner has one but I haven't been able to get it
to work
successfully. Mine has exported an AIR app already so that's
a step in
the right direction but JSFL is a tricky beast, especially
when trying
to integrate it using MMExecute strings.
But, if you can, create AIR applications by hand. I haven't
yet seen an
application that allows you to change every single option
like you can
when you update the application.xml file yourself. Also, it's
a great
fallback skill to have.
Let me know if you need some assistance with AIR exports.
Once you've
done it a couple of times, it becomes pretty straightforward.
Patrick
GWD wrote:
> P.S. I've clicked on your link a few times over the last
couple of days to
> check it out but all I get is a black page with a BNM
flash header and no way
> to navigate to any content. Using IE7 if that's any
help.
>
>
>
http://www.baynewmedia.com
Faster, easier, better...ActionScript development taken to
new heights.
Download the BNMAPI today. You'll wonder how you ever did
without it!
Available for ActionScript 2.0/3.0. -
Flash CS3 hard crash on Debug Movie
I've logged this bug but wanted to post it to the boards in
case anyone else is having this same problem. It's been going on
since I purchased Flash CS3 pro and has been really crippling my
development workflow because I can only get the debugger to work
maybe 1 in 4 times.
I also tried reinstalling the latest Java hoping that might
help as the bug referenced Java.
******BUG******
Concise problem statement:
Steps to reproduce bug:
1. Debug Movie (Flash CS3 IDE) with licensed off-the-shelf
Flash CS3 Pro.
Notes: "About Flash" shows version as: 9.0
C:\Program Files\Adobe\Adobe Flash CS3\Flash.exe properties
shows version as 9.0.0.494
http://www.adobe.com/support/flash/downloads.html
"Adobe Flash Player Update for Flash CS3 Professional (9.0.2)"
never seems to "take" no matter how many times I apply it and
restart.
Results: Immediate crash of Flash IDE
And unable to re-open Flash IDE by clicking on an FLA file or
Flash Shortcut, which give the message "Windows cannot find
'[filename]' Make sure you typed the name correctly, and then try
again. To search for a file, click the Start button, and then click
Search." Must restart or logout in order to be able to open Flash
again.
Expected results:
No crash, debugger should work.
Below is text from generated error log:
# An unexpected error has been detected by HotSpot Virtual
Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0xc483ffff,
pid=544, tid=3152
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed
mode)
# Problematic frame:
# C 0xc483ffff
--------------- T H R E A D ---------------
Current thread (0x1515a7a8): JavaThread "FdbThread"
[_thread_in_native, id=3152]
siginfo: ExceptionCode=0xc0000005, reading address 0xc483ffff
Registers:
EAX=0xc483ffff, EBX=0x1e9af99c, ECX=0x015af42c,
EDX=0x00710073
ESP=0x1e9af918, EBP=0x0000000a, ESI=0x10b3011c,
EDI=0x1513bd78
EIP=0xc483ffff, EFLAGS=0x00010246
Top of Stack: (sp=0x1e9af918)
0x1e9af918: 0071bc58 108a6b68 524852f7 1515a868
0x1e9af928: 108a6b78 1e9afbe4 010e5c48 ffffffff
0x1e9af938: 0071edf5 1513bd78 1e9af91c 00000000
0x1e9af948: 1515a7a8 1a7099a0 1e9af988 1a7099a0
0x1e9af958: 1266832f 1515a868 1e9af9a0 1e9af99c
0x1e9af968: 00000000 1e9af96c 00000000 1e9af9a0
0x1e9af978: 1a70d938 00000000 1a7099a0 1e9af998
0x1e9af988: 1e9af9c0 126629e3 00000000 12666509
Instructions: (pc=0xc483ffff)
0xc483ffef:
[error occurred during error reporting, step 100, id
0xc0000005]
Stack: [0x1e8b0000,0x1e9b0000), sp=0x1e9af918, free
space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM
code, C=native code)
C 0xc483ffff
[error occurred during error reporting, step 120, id
0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM
code)
j com.adobe.authoring.debug.AuthDebugMgr.nativeNotify([BI)V+0
j
com.adobe.authoring.debug.AuthDebugMgr.notify(Ljava/lang/String;I)V+10
j
com.adobe.authoring.debug.AuthDebugMgr.notifyTraceEvent(Lflash/tools/debugger/events/Trac eEvent;)V+6
j
com.adobe.authoring.debug.model.AuthDebugTarget$FdbThread.handleTraceEvent(Lflash/tools/d ebugger/events/TraceEvent;)V+4
j
com.adobe.authoring.debug.model.AuthDebugTarget$FdbThread.processEvents()V+45
j
com.adobe.authoring.debug.model.AuthDebugTarget$FdbThread.runInner()V+28
j
com.adobe.authoring.debug.model.AuthDebugTarget$FdbThread.eventLoop()V+1
j
com.adobe.authoring.debug.model.AuthDebugTarget$FdbThread.run()V+1
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x1515a7a8 JavaThread "FdbThread" [_thread_in_native,
id=3152]
0x14e92680 JavaThread "SWF/SWD reader" daemon
[_thread_blocked, id=1920]
0x15116088 JavaThread "DJAPI message listener" daemon
[_thread_in_native, id=3376]
0x14f7d5b0 JavaThread "DJAPI StreamListener" daemon
[_thread_in_native, id=3276]
0x151435d8 JavaThread "DJAPI StreamListener" daemon
[_thread_in_native, id=2812]
0x06a37560 JavaThread "Low Memory Detector" daemon
[_thread_blocked, id=920]
0x06a36300 JavaThread "CompilerThread0" daemon
[_thread_blocked, id=1976]
0x06a35710 JavaThread "Signal Dispatcher" daemon
[_thread_blocked, id=2784]
0x06a2bad8 JavaThread "Finalizer" daemon [_thread_blocked,
id=652]
0x06a2b050 JavaThread "Reference Handler" daemon
[_thread_blocked, id=672]
0x06963dd8 JavaThread "main" [_thread_in_native, id=3056]
Other Threads:
0x069e1dc8 VMThread [id=3388]
0x06a354e0 WatcherThread [id=3104]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 1088K, used 204K [0x160a0000,
0x161c0000, 0x16580000)
eden space 1024K, 13% used [0x160a0000, 0x160c3298,
0x161a0000)
from space 64K, 100% used [0x161a0000, 0x161b0000,
0x161b0000)
to space 64K, 0% used [0x161b0000, 0x161b0000, 0x161c0000)
tenured generation total 13224K, used 8156K [0x16580000,
0x1726a000, 0x1a0a0000)
the space 13224K, 61% used [0x16580000, 0x16d77190,
0x16d77200, 0x1726a000)
compacting perm gen total 8192K, used 7267K [0x1a0a0000,
0x1a8a0000, 0x1e0a0000)
the space 8192K, 88% used [0x1a0a0000, 0x1a7b8f40,
0x1a7b9000, 0x1a8a0000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x0177d000 C:\PROGRA~1\Adobe\ADOBEF~2\Flash.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll
0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x773d0000 - 0x774d3000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x- ww_ac3f9c03\COMCTL32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x73b50000 - 0x73b67000 C:\WINDOWS\system32\AVIFIL32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
0x75a70000 - 0x75a91000 C:\WINDOWS\system32\MSVFW32.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x42c10000 - 0x42cdf000 C:\WINDOWS\system32\WININET.dll
0x00340000 - 0x00349000 C:\WINDOWS\system32\Normaliz.dll
0x42990000 - 0x429d5000 C:\WINDOWS\system32\iertutil.dll
0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
0x10000000 - 0x103b0000 C:\PROGRA~1\Adobe\ADOBEF~2\Flash
Video Extension.dll
0x76380000 - 0x76385000 C:\WINDOWS\system32\MSIMG32.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
0x12000000 - 0x121ca000
C:\PROGRA~1\Adobe\ADOBEF~2\xerces-c_2_6.dll
0x78130000 - 0x781cb000
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSV CR80.dll
0x7df70000 - 0x7df92000 C:\WINDOWS\system32\oledlg.dll
0x4ec50000 - 0x4edf3000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9 f82\gdiplus.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
0x01780000 - 0x01851000
C:\PROGRA~1\Adobe\ADOBEF~2\LIBEAY32.dll
0x00370000 - 0x00397000
C:\PROGRA~1\Adobe\ADOBEF~2\SSLEAY32.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x021c0000 - 0x0287b000
C:\PROGRA~1\Adobe\ADOBEF~2\en\Configuration\FlashResources.dll
0x74c80000 - 0x74cac000 C:\WINDOWS\system32\OLEACC.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
0x77b40000 - 0x77b62000 C:\WINDOWS\system32\apphelp.dll
0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
0x02a00000 - 0x02a37000
C:\PROGRA~1\Adobe\ADOBEF~2\adobe_caps.dll
0x7c420000 - 0x7c4a7000
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSV CP80.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
<snip>
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Adobe\Adobe Flash
CS3\JVM\bin\net.dll
VM Arguments:
jvm_args:
-Djava.library.path=C:\PROGRA~1\Adobe\ADOBEF~2\JVM\bin
-Djava.Home=C:\PROGRA~1\Adobe\ADOBEF~2\JVM
-Xbootclasspath/a:;.;C:\Program
Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
java_command: <unknown>
Launcher Type: generic
Environment Variables:
CLASSPATH=.;C:\Program
Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
PATH=C:\Program Files\Macromedia\Flash
8\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\Common
Files\Adobe\AGL;C:\Program Files\Unifier;C:\Program
Files\QuickTime\QTSystem\
USERNAME=jason
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6,
GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 2 (cores per cpu 2, threads per core 1) family 6
model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 2097151k(1814488k free), swap
3952772k(3364372k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_09-b01) for
windows-x86, built on Sep 7 2006 13:59:31 by "java_re" with MS VC++
6.0It's been a year since, still not solution!?
I am having similar problem for the last 6 months!! -
Help!! Flash CS3 and CS4 "Test Movie" very slow on OS X
This is a problem that, having read many forums, affects a
very large amount of people, though Adobe doesn't care at all. It
only affects OS X users. I know that it has been addressed many
times in different forums, but I never actually stumbled across
anyone having found a solution.
When I use Flash CS3, and I make any animation, even the
simplest tween, and I preview it with Test Movie, the result I get
is an extremely slow playback. Something like half the FPS it
should be.
However, when I export the SWF and preview it in the external
Flash Player or in a browser, it's just fine and fast.
Another interesting thing is that in CS3, when I open the
Help panel, the problem with Test Movie only happens like 20% of
the time. In that case, it only gets solved if I restart or Log Out
at least. I have no idea why the Help panel being open solves the
problem, this only shows that this is probably a little graphic
user interface bug, or something similar, that could be solved very
very easily.
In Flash CS4, there is no Help panel, so there is no solution
to the problem.
It would be nice to be able to press Cmd + Enter to see the
movie, and not have to do File > Export > bla bla bla, open
Finder, Find the SWF, double click it, wait for the browser to
open... etc...
I have a brand new 2.5 GHz MacBook Pro, and Test Movie runs
faster on my 900MHz Pentium III PC!! Funny...
Here are some links I found about this problem:
http://bugs.adobe.com/jira/browse/FP-878
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb407896
http://www.kirupa.com/forum/archive/index.php/t-258991.html
This is quite ridiculous, and on Adobe's Support page, the
solution is "Do not use Test Movie."
And the funny thing is that they didn't even bother to fix
this in CS4...
So basically if something doesn't work, Adobe's solution is
"Don't use it."
I guess they're right!
Please, tell me if anyone has or does not have this problem
or knows anything about it!
Thanks,
MateThis is a problem that, having read many forums, affects a
very large amount of people, though Adobe doesn't care at all. It
only affects OS X users. I know that it has been addressed many
times in different forums, but I never actually stumbled across
anyone having found a solution.
When I use Flash CS3, and I make any animation, even the
simplest tween, and I preview it with Test Movie, the result I get
is an extremely slow playback. Something like half the FPS it
should be.
However, when I export the SWF and preview it in the external
Flash Player or in a browser, it's just fine and fast.
Another interesting thing is that in CS3, when I open the
Help panel, the problem with Test Movie only happens like 20% of
the time. In that case, it only gets solved if I restart or Log Out
at least. I have no idea why the Help panel being open solves the
problem, this only shows that this is probably a little graphic
user interface bug, or something similar, that could be solved very
very easily.
In Flash CS4, there is no Help panel, so there is no solution
to the problem.
It would be nice to be able to press Cmd + Enter to see the
movie, and not have to do File > Export > bla bla bla, open
Finder, Find the SWF, double click it, wait for the browser to
open... etc...
I have a brand new 2.5 GHz MacBook Pro, and Test Movie runs
faster on my 900MHz Pentium III PC!! Funny...
Here are some links I found about this problem:
http://bugs.adobe.com/jira/browse/FP-878
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb407896
http://www.kirupa.com/forum/archive/index.php/t-258991.html
This is quite ridiculous, and on Adobe's Support page, the
solution is "Do not use Test Movie."
And the funny thing is that they didn't even bother to fix
this in CS4...
So basically if something doesn't work, Adobe's solution is
"Don't use it."
I guess they're right!
Please, tell me if anyone has or does not have this problem
or knows anything about it!
Thanks,
Mate -
PLEASE HELP ASAP! Button in Flash CS3 not working
I need help desperately. As soon as possible. I only know the
VERY basic's of flash, so I need it to be simple!! I am using Flash
CS3, but the only coding I know is from Flash 8.
1.I simply want to just be able to type out text that will be
my button. (I clearly know how to do this)
2.Convert that text to a button. (I know how to do this as
well)
3. Apply an action to the button. (I keep getting the error
"actions cannot be applied to the current selection")
4. Have that button go to a specific place in the timeline
that I have named (It has the red flag next so I know where to send
the button to)
5. This is the ONLY code I know is even close to what I need
to have it be at:
on (release) {
//Movieclip GotoAndStop Behavior
this.gotoAndStop("graphic");
//End Behavior
Is there a way to upload the flash files? If so I will
upload, because I know this sounds simple enough, but it wont work.
Thanks
AshleeYou are trying to use AS1 in your movie, and the movie's
Publish settings are set to use AS3. You can use your current code
by opening the Publish Settings, going to the Flash tab and then
selecting AS1-AS2 in the Actionscript option.
A better, long term solution, would be to read through the
tutorials that come with Flash CS3 to learn the proper coding
techniques to use with AS3. -
Audio from Flash CS3 Video overlapping
audio from Flash CS3 Video overlapping
help stopping the FLVPlayback instance (which has an instance
name of theVideo) when another button is clicked!
How do I stop flv playback when user clicks a navigation
button ...
Excuse me in advance for asking about a topic that may be
very popular!
I'm using the attached code to go from the main stage to one
subset of .swf files (loaded movies) and I apparently have no
problems with overlapping. Hell, the files even seem to unload
themselves correctly. Then, when I go to my second subset of .swf
files (with the exact same AS3 structure), which has a Flash Video
file (made by the FLV Playback component), I get into an
overlapping problem associated with the audio.
How can I stop, cancel, or unload the audio when the file is
clicked away from (the user selects another button on the main
stage)?
Code attached. Please let me know if anything else is needed.
Yours Sincerely,
JntspecialtyI have tried to clean up code and do this right.
I need help referencing (storing the value in the variable
"stopsoundoverlapReq") the "flvplayback instance AFTER theVideo is
instantiated (ie, the frame that contains theVideo has rendered)"
correctly.
Also, now I need help with the name of my nav bar button's
method followed by parentheses, which should include the
appropriate method parameter.
On my main timeline, I tried to clean up the code and use:
var stopsoundoverlapReq:FLVPlayback =
stop("videopage.swf/MovieClip(ldr.content).theVideo");
Then for my nav bar button on this same timeline use:
any_btn.addEventListener(MouseEvent.CLICK, stopsoundoverlap);
function stopsoundoverlap(event:MouseEvent):void
stopsoundoverlap.stop(stopsoundoverlapReq);
The 3 errors I get now are :
1046: Type was not found or was not a compile-time constant:
FLVPlayback. var stopsoundoverlapReq:FLVPlayback =
stop("videopage.swf/MovieClip(ldr.content).theVideo");
1061: Call to a possibly undefined method stop through a
reference with static type Function.
stopsoundoverlap.stop(stopsoundoverlapReq);
1137: Incorrect number of arguments. Expected no more than 0.
var stopsoundoverlapReq:FLVPlayback =
stop("videopage.swf/MovieClip(ldr.content).theVideo"); -
Hi,
There is great and easy way to create flash based component
in flash cs3 using action script 3.0.
I am going to make a simple My button component which will
behave likely same as flash native button component.
You can modify this according your requirement this is just
you give an idea about how we can go for creating a component in
flash cs3.
Follow these steps…
1. Create a fla file and save this file with any name
2. Create a movieClip and draw a rectangle shape on first
frame.
3. Right click on movieclip in library, select linkage
4. Provide class name in text field area [MyButton] (you can
use any name here which should matched with your class)
5. Click Ok button
6. Write class [MyButton]
(you can copy and use this)
* author @ sanjeev rajput
* [email protected]
* A flash action script 3.0 based component without extending
UIComponent class
package {
import flash.display.Sprite;
import flash.text.TextField;
import flash.events.MouseEvent;
import flash.events.Event;
import fl.motion.Color;
public class MyButton extends Sprite{
private var _tf:TextField;
private var _Label:String="My Button";
private var _bgColor:uint=0xCCCCCC;
private var _rollOverColor:uint=0xFFCCCC;
private var _borderColor:uint=0x000000;
private var _borderThickness:int=1;
private var _width:Number = 100;
private var _height:Number =100;
private var _background:Sprite;
public function MyButton() {
init();
createChildren();
initEventListeners();
draw();
//-------------property section [Start]
[Inspectable]
public function set Label(lbl:String){
_Label=lbl;
draw();
public function get Label(){
return _Label
[Inspectable]
public function set bgColor(color:uint):void{
_bgColor=color;
draw();
[Inspectable]
public function set borderColor(color:uint):void{
_borderColor=color;
draw();
[Inspectable]
public function set borderThickness(thickness:int):void{
_borderThickness=thickness;
[Inspectable]
public function set rollOverColor(color:uint):void{
_rollOverColor=color;
//-------------property section [End]
private function init():void {
trace('welcome');
_width = width;
_height = height;
scaleX = 1;
scaleY = 1;
removeChildAt(0);
private function initEventListeners():void{
addEventListener(MouseEvent.MOUSE_OVER, eventHandler);
addEventListener(MouseEvent.MOUSE_OUT, eventHandler);
private function eventHandler(event:Event):void{
if(event.type == MouseEvent.MOUSE_OVER){
toggleColor(_rollOverColor);
if(event.type == MouseEvent.MOUSE_OUT){
toggleColor(_bgColor)
private function createChildren():void {
_background = new Sprite();
_tf = new TextField();
_tf.autoSize = "center";
_tf.selectable=false;
addChild(_background);
addChild(_tf);
protected function draw():void {
toggleColor(_bgColor);
_tf.text = _Label;
_tf.x = Math.floor((_width - _tf.width)/2);
_tf.y = Math.floor((_height - _tf.height)/2);
//width = _tf.width;
private function toggleColor(color:uint):void{
_background.graphics.clear();
_background.graphics.beginFill(color, 1);
_background.graphics.lineStyle(_borderThickness,
_borderColor, 1);
_background.graphics.drawRoundRect(0, 0, _width, _height,
10, 10);
_background.graphics.endFill();
public function setSize(w:Number, h:Number):void {
_width = w;
_height = h;
draw();
7. Now right click again on your movieclip in library and
select component definition.
8. In class name text field provide same class name
[MyButton]
9. Click on ok button
10. Right click again on movieClip in library and select
Export SWC file.
11. Same your exported SWC file in (For window only)
[c:\Documents and Settings\$user\Local Settings\Application
Data\Adobe\Flash CS3\en\Configuration\Commands\
12. Now just open another new flash file open component
panel/window reload component you will your component in component
panel with MyButton name.
13. Drag your custom component on stage provide inputs form
property window and text it.
Enjoy!Lt.CYX[UGA] wrote:
> if anyone is using Flash CS3, try creating a flash
movie, using the FLVPlayer
> component to play an flv video and make it an executable
projector. Run it
> fullscreen and watch how the screen just stays black
when the video should
> appear. If you stay windowed, it works fine.
>
>
steps to reproduce:
> 1. create flash movie
> 2. put an FLVPlayer component on a frame that's not the
first (for testing
> purposes)
> 3. before the projector reaches the frame with the
FLVPlayer component, change
> it to fullscreen (by script or CTRL+F)
>
>
observed behaviour:
> not only the video doesn't play, but the whole screen is
black until the
> player goes back to windowed mode
>
>
expected behaviour:
> video should play
>
>
remarks:
> if you skip step 3, video plays correctly
>
Works just fine.
Made new movie, on frame 2 places Full screen action, on
frame 5 placed video component
and stop(); action attached to frame. Projector pops large
following by video playing
just fine.
I tried variety, first frame, many frames, all on one. Not
able to reproduce your problem.
Works on first go.
Best Regards
Urami
Beauty is in the eye of the beer holder...
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
How to set Flash CS3 "custom" classspath
Hello Flash Forum,
I am following a tutorial on how to create a class. this
class requires a package like: todd.interactive (a tutorlal from
Lynda.com)
I have created my on dir where I keep fla files: D:\Flash\,
and then have created the following dir structure under
D:\Flash\classes\todd\interactive. In the interactive folder
I have placed a MyCustomClass.as file which extends the MovieClip
class. (I am copying the tutorial, but using a diff name for the
class).
I create a symbol, and attempt to link it (ActionScript 3.0)
to the class file noted above using todd.interactive.MyCustomClass.
I always get an error - cannot find class file - will create
one for you - which it seems never to create anyway.
I have tried putting the file in the Program
Files\Adobe\Flash CS3\en\.... (the default path for Flash) to no
avail.
I have tried to set the classpath using the "settings"
dialog, and the Preferences menu item under "Edit" on the main
menu.if your package is todd.interactive, set your class path to
D:\Flash\classes by navigating to that directory in the settings
dialog and use
import todd.interactive.MyCustomClass in your fla and other
class files that need to access MyCustomClass. -
Anyone know Flash CS3 embed font's Glyphs Range!! with font class(no TextField )
I have add some font by Font class in the library
(TextFeild.embedFonts=true)
but the font's glyphs looks not enough.
when i use text String " ü ä ö ß π
à â ç è é ê ë î ï
ô ù û œ "
only the "π" and "œ" is can be visible.
Font.hasGlyphs also return false;
if i only create a TextField, and Click the Embed button
selection glyphs range.
the text will be fine.
but i won't use TextField by drag to the stage
i heard in flex:
@font-face {
src:local("Arial");
fontFamily: myFont;
flashType: true;
unicodeRange:
U+0041-U+005A, /* [A..Z] */
U+0061-U+007A, /* a-z */
U+0030-U+0039, /* [0..9] */
U+002E-U+002E; /* [.] */
so what can i do in Flash CS 3?
thanks a lot
i really tried working on this.maybe i just need go back use
the .....TextField.Im not sure if u can do it with flash cs3.
i change a little ur code to :
package {
//import flash.util.describeType;
import flash.display.MovieClip;
import flash.text.TextField;
import flash.text.TextFormat;
import flash.text.AntiAliasType;
import flash.text.TextFieldAutoSize;
import flash.text.TextFormatAlign;
import flash.text.Font;
public class Test extends MovieClip {
// be sure this is pointing to a ttf font in your hardrive
[Embed(source="arial.ttf", fontFamily="foo", mimeType="application/x-font-truetype")]
public var arialfont:Class;
public function Test() {
Font.registerFont(arialfont)
var format:TextFormat = new TextFormat();
format.font = "foo";
format.color = 0xFFFFFF;
format.size = 130;
var label:TextField = new TextField();
label.embedFonts = true;
label.autoSize = TextFieldAutoSize.LEFT;
label.antiAliasType = AntiAliasType.ADVANCED;
label.defaultTextFormat = format;
label.text = "Hello World!";
addChild(label);
trace(label.text);
label.setTextFormat(format);
and it works fine with flash cs4, only first time it will ask to confirm flex sdk location ( have to have flex sdk to use embed, u can downlaod it free from adobe.com)
hope that helps -
Flex Component Kit for Flash CS3
Hi,
I created a flex component using the component kit for Flash
CS3. The component contains a vector image wrapped as a MovieClip.
In my flex application I add the component as child to a
Canvas. It works well if i add it like -
<mx:Canvas id="container" >
<local:MyComponent />
</mx:Canvas>
or like -
container.addChild (new MyComponent()); //DISPLAYED
However, the component is not displayed when I do the
following -
var array:Array = new Array(new MyComponent());
container.addChild(array[0]); //NOT DISPLAYED
Can somebody tell me why this is so?
I would also like to know if such components can be
instantiated using flash.utils.getDefinitionByName.
I tried it but I get Error #1065: Variable 'componentName' is
not defined
Could somebody please tell me what is going on?Hi bolaughlin,
Thanks for you reply.
Error 1065:
import MyComponent;
var comp:MyComponent = new MyComponent(); //Error 1065
//Where MyComponent is the Flash CS3 clip that was converted
to Flex component
I have a workaround for this -
I first add the component as an Mxml tag with visibility
false and then remove the component
with actionscript. Now all instantiations work normally (this
includes all components in the SWC).
<mx:Canvas id="container" >
<local:MyComponent visible="false" />
</mx:Canvas>
and in <mx:Script>
container.removeAllChildren();
var comp:MyComponent = new MyComponent(); //Works
var anotherComp:MyOtherComponent = new MyOtherComponent();
//From the same swc; This also works.
I have a feeling this problem is similar to the 'shared
fonts' problem that
existed with Flash MX and below.
Anyway, even though I don't really know whats happening, my
project can
move ahead. Hopefully some Guru will explain this.
Until then...thank you very much. -
Flash CS3, Having Problems Creating Button Animation
I am relatively new to Flash CS3, and don't use action script... I am creating an animation with sound using the button graphic option so it is a clickable button. I have the animation finished, and the sound embeded, and everything is working great, except when I publish it, I have to click and hold over the graphic for the animation to happen... If I click and release, the animation and sound clips stop... What am I doing wrong and how on Earth can I fix it??? Thank you in advance for any suggestions!!
Yup, that is how it works. You can't control which state a button is in. So when you click on it, it will go to the down state and when you let go it will go back to over (or up if you release outside).
Not sure exactly what the "fix" is. It depends upon what you are trying to do. Generally you would need to use MovieClips instead of buttons with event handlers to tell you "button" what to do. Very few people I know actually use buttons.
Maybe you are looking for
-
Can NI-Device be multiple addresses on 1 interface?
We develop instrument cards in CompactPCI that use NI-Device and a PXI-GPIB card for their GPIB interface. We'd like to be able to put multiple instrument cards in the same CPCI chassis with the one GPIB card, but give each instrument a different add
-
I currently have Mac OSx and looking to upgrade to Lion (sounds like I need to go through Snow Leopard upgrade first). Is there an easy way to simply download these upgrades rather than order via the mail? Any way to avoid updgrading two separate t
-
Anyone know why my itunes says I need to re-install and that it's having problems with Microsoft Visual C++?
-
Window Properties (HTML Help) - Placement Issues
I am compiling my online help in Robohelp 8 and have an issue with the window placement of the Help menu output. I have a dual monitor setup so the Help window appears on the primary monitor. Is there a setting or configuration that instructs the H
-
Crash in call to Native function
I am trying to use the JNIEXPORT from my Java Applet. At the point of call to the JNIEXPORT function my applet terminates without any error / crash dialog. I am not sure what is happening with it. Please guide.