Problem running programs in Flash CS3
I'm a secondary school computer programming teacher with a frustrating problem.....
A student will write a program and run it. The result is perfect with no errors and it does exactly as it should.
If the student saves it, the program no longer displays in the run window.
If we copy and paste the code to a new file without making any changes and run it, it works perfectly again. If the student hands it in and I run it on my machine without changing things, it works perfectly.
There's something tied to a couple of my student's computer accounts that is making this happen. It happens on any computer they're logged in on.
Any thoughts? Suggestions?
Thanks in advance!
Ask in the Flash forum and provide proper technical information - which despite your otherwise longwinded post you haven't.
Mylenium
Similar Messages
-
Sync and frame rate problems importing video to Flash CS3
Just like the subject states, I am indeed having frame rate problems importing video to Flash CS3.
When I export a video from Premiere with the settings:
1280x720
frame rate of 23.976
using H264 or Animation (basically every codec produces the same results),
"embed video on SWF and play in timeline"
When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.
I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either. Can someone out there please tell me how to make this work? Any help would be GREATLY appreciated!
-MikeThanks for you quick response however it really doesn't apply to what I am doing in any way. I will not be uploading the video to a server. I am using the imbed function so I can use it as a layer and then animate over it. It is just reference and will ultimately be deleted. The Fla file does indeed carry the same specs as I stated in my first post. I have done it this way dozens of times and I am trying to figure out why it suddenly will not work.
~Mike -
Problems With List Component Flash Cs3
Hello Friends,
I am working in Flash Cs3.
I am having a List component in my application.
I added 10 items into my list component. Now out of those 10 items, i want to disable particular list items like Item 4, Item 8, Item 9. How to do this using flash cs3 or flash 8.0.
Item1 -- Enabled state
Item2 -- Enabled state
Item3 -- Enabled state
Item4 -- Disabled state
Item5 -- Enabled state
Item6 -- Enabled state
Item7 -- Enabled state
Item8 -- Disabled state
Item9 -- Disabled state
Item10 -- Enabled state
Any suggestions/ideas would be really appreciated.
Regards,
RajeshHello Friends,
I got a partial solution for this. Now i can able to disable a particular list item using flash cs3. I achived this. But it was happening only after clicking the item values....
But i need in a diff way like, as soon as you run the flash file it has to disable. how is this possible in flash cs3.
this is the code :
import fl.controls.List;
import fl.controls.listClasses.CellRenderer;
import fl.controls.listClasses.ListData;
import fl.events.ListEvent;
import flash.display.Sprite;
import flash.events.Event;
import flash.text.TextField;
var sampleItem1:Object = { label:"John Alpha" };
var sampleItem2:Object = { label:"Mary Bravo" };
var sampleItem3:Object = { label:"Trevor Gamma" };
var sampleItem4:Object = { label:"Susan Delta" };
var myList:List;
var tf:TextField;
ListDataExample()
function ListDataExample() {
createList();
tf = new TextField();
tf.x = 10;
tf.y = 125;
addChild(tf);
function createList():void {
myList = new List();
myList.move(10,10);
myList.addItem(sampleItem1);
myList.addItem(sampleItem2);
myList.addItem(sampleItem3);
myList.addItem(sampleItem4);
myList.rowCount = 4;
myList.addEventListener(ListEvent.ITEM_CLICK,listItemSelected);
addChild(myList);
function listItemSelected(e:ListEvent):void {
var cr:CellRenderer = myList.itemToCellRenderer(e.item) as CellRenderer;
var listData:ListData = cr.listData;
if(cr.listData.row == 2) {
cr.enabled = false
tf.text = "Row selected: " + listData.row;
waiting for your replies.
Regards,
Rajesh -
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." -
Problem openning + setting up Flash cs3 trial
I get an error when i open ADBEFLPRCS3_WWE.EXE (Flash cs3 )
this is the picture:
My
Error i get when i open the Flash cs3 setup, please click image to
get a better view.
And please zoom in to the picture to see the error ( just
click the image)
It comes up with an error! Ive already downloaded flash mx
2004 and flash 8.
Hopefully you can help!The fix: Change the namespace on the second line of <project root>/src/ANESampleTest-app.xml
FROM: <application xmlns="http://ns.adobe.com/air/application/3.6">
TO: <application xmlns="http://ns.adobe.com/air/application/13.0">
A brief and incomplete background:
The file <project root>/src/ANESampleTest-app.xml is the ‘application descriptor file’. When using the project files downloaded with the tutorial (that contained the 3.6 reference), the builder did not find this compatible with the configuration on my computer (a trial version I installed today - 5/3/2014 - and patched according to the tutorial). I never did figure out how to lookup valid namespaces and am still confused about how all the sdk’s relate to each other. I stumbled upon this solution by creating a fresh new project and found that the namespace specified by the new project wizard was “13.0” on this line of this file. -
Problem with compression with flash cs3
our web developper says that she was unable to compress image
with flash cs3 any idea why and what i can do for her ?
ThanksMark,
> 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." -
Problems running program using Runtime.exec()
Hello everyone. I have a quick problem that perhaps someone can help me with... I'm trying to write a frontend for a command line program. I've found plenty of examples for using exec() to launch this program but I can't quite get the effect that I desire. The program itself launches it's own window (using a graphics library called SDL) but the user interacts with the program through the command prompt.
The problem that I'm having is that my InputStream thread does not seem to execute until I close the SDL window. I've tried about 10 different combinations of threading this application but nothing seems to work.
Below I've attached some sample code that I found here on the Sun site... The code does as I described before, the InputStream does not display any text until I close the SDL window.
Can anyone help out?
import java.io.*;
// class StreamGobbler omitted for brevity
class StreamGobbler extends Thread
InputStream is;
String type;
OutputStream os;
StreamGobbler(InputStream is, String type)
this(is, type, null);
StreamGobbler(InputStream is, String type, OutputStream redirect)
this.is = is;
this.type = type;
this.os = redirect;
public void run()
try
PrintWriter pw = null;
if (os != null)
pw = new PrintWriter(os);
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line=null;
while ( (line = br.readLine()) != null)
if (pw != null)
pw.println(line);
System.out.println(type + ">" + line);
if (pw != null)
pw.flush();
} catch (IOException ioe)
ioe.printStackTrace();
public class TestExec
public static void main(String args[])
if (args.length < 1)
System.out.println("USAGE: java TestExec \"cmd\"");
System.exit(1);
try
String cmd = args[0];
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec(cmd);
// any error message?
StreamGobbler errorGobbler = new
StreamGobbler(proc.getErrorStream(), "ERR");
// any output?
StreamGobbler outputGobbler = new
StreamGobbler(proc.getInputStream(), "OUT");
// kick them off
errorGobbler.start();
outputGobbler.start();
// any error???
int exitVal = proc.waitFor();
System.out.println("ExitValue: " + exitVal);
} catch (Throwable t)
t.printStackTrace();I'm pretty sure, because if you run the application without any parameters you don't get the SDL window, you just get a list of possible command line switches, that part works fine... It just seems that when the SDL window is open, the thread won't grab and display the individual lines until that window is closed, which will not work for my purposes...
-
Problems Running Programs.
i have tried to download a file, saying 'For OS X 10.5.8', but it says cannot run in DOS mode, i know it says that when your trying to run a windows program, but its for OS X, so how is it still saying that?
Web developers have been know to make labeling or linking mistakes.
What is the file supposed to do? Can you give us a link?
If the file actually downloads but does not open, highlight the file and do command i to see what that shows for file type.
It's also possible that the file is only for Intel Macs runnig 10.5.8.
Let us know. -
Problems With NumericStepper in Flash CS3
Hello Friends,
I need a small help. I just strucked up with NumericStepper issue.
I have a NumericStepper and i am setting the Minimum value to 0 & Maximum value to 10. Now my requirement is, suppose if the user entered/typed the value which is greater than Maximum value (ie 10) inside NumericStepper inputbox I want to display that particular value in "RED" color. how to do this.
Your help would be appreciated, i need a solution asap.
I am attaching the code what i am doing.......
package
import fl.controls.Label;
import fl.controls.NumericStepper;
import flash.display.Sprite;
import flash.events.Event;
import flash.text.TextFieldAutoSize;
import flash.text.TextFormat;
import flash.text.*;
public class NumericStepperExample extends Sprite
private var ns1:NumericStepper;
private var ns2:NumericStepper;
private var lbl1:Label;
private var lbl2:Label;
private var rowHeight1:Number = 100;
private var rowHeight2:Number = 50;
public function NumericStepperExample() {
setupSteppers();
setupLabels();
private function setupLabels():void {
lbl1 = new Label();
lbl1.text = "Min Value -- 0 and Max Value -- 10";
lbl1.autoSize = TextFieldAutoSize.LEFT;
lbl1.move(200, rowHeight1);
addChild(lbl1);
private function setupSteppers():void {
ns1 = new NumericStepper();
ns1.stepSize = 1;
ns1.minimum = 0;
ns1.maximum = 10;
ns1.width = 60;
ns1.move(100, rowHeight1);
ns1.addEventListener(Event.CHANGE, changeOccurred);
addChild(ns1);
private function changeOccurred(e:Event):void {
var nsTarget:NumericStepper = e.target as NumericStepper;
var redColor:TextFormat = new TextFormat();
redColor.color = 0xff0000;
var blackColor:TextFormat = new TextFormat();
blackColor.color = 0x000000;
if (nsTarget.value > nsTarget.maximum) {
nsTarget.setStyle("textFormat", redColor);
} else {
nsTarget.setStyle("textFormat", blackColor)
RajeshFirst of all, you would have to create your own version of the NumericStepper class, because the NumericStepper would never show you if someone tries to enter an invalid value.
Before the value gets to you, it will get corrected to be inside the range between minimum and maximum, inclusive, by the NumericStepper class, silently.
You would actually have to add an event-handler inside the NumericStepper that listens to every single keystroke and then changes it's color to red, if the current value exceeds the limits. This will only happen while typing, never after entering a value or using the arrow-buttons.
So after all I would ask myself, if this very rare condition of displaying the NS in red color just for the moment when you're typing in a value by keyboard which will get corrected by the NS class automatically either way is worth the whole effort. -
Scrubber problems continued. AS2/Flash CS3
Hey guys. I'm having troubles with my scrubber on my loadbar again.
As a picture says a 1000 words heres a screenshot of the problem:
Basically the scrubber bar is going waaaay past the 373px I asked to stop at.
I've tried messing about with telling scrubber_mc to stop at the end of ._x of the loadbar clip but have had no luck.
Anybody with suggestions?
Here's the code:
/*These are the scrubber functions*/
var scrubInterval;
loader_mc.scrub_mc.onPress = function()
clearInterval(videoInterval);
scrubInterval = setInterval(scrubber,10);
this.startDrag(false,0,this._y,373,this._y);
loader_mc.scrub_mc.onRelease = loader_mc.scrub_mc.onReleaseOutside = function()
clearInterval(scrubInterval);
videoInterval = setInterval(videoStatus,100);
this.stopDrag();
function scrubber()
ns.seek(Math.floor(loader_mc.scrub_mc._x/373 * duration));
Any help is appreciated.
Thanks in advanceThanks for the reply. I figured there is something wrong with the either the reg points or I'm not actually scripting the scrubber correctly. Sorry I'm very newbish on AS so what you recommend I do?
-
Flash cs3 crashes when I try to publish
Hello,
my flash cs3 is crashing every time I try to publish a file,
why? I run vista business 32 bit
I didn't have problems until today,using flash cs3 for the
last month
here is what the os says:
Problem Event Name: BEX
Application Name: Flash.exe
Application Version: 9.0.0.494
Application Timestamp: 46015140
Fault Module Name: Flash.exe
Fault Module Version: 9.0.0.494
Fault Module Timestamp: 46015140
Exception Offset: 00c5958f
Exception Code: c000000d
Exception Data: 00000000
OS Version: 6.0.6001.2.1.0.256.6
Locale ID: 1033
Additional Information 1: bd02
Additional Information 2: b71b5bf9ea5ff08d6fffcb887aba95ff
Additional Information 3: 1fd9
Additional Information 4: 0053c83f18f91bf1d56eaad6275e8c5b
Hint:
If I save the same .fla in another folder, flash cs3 doesn't
crash when publishing. why? this looks that is happening in the
root of the folderquote:
Originally posted by:
Newsgroup User
I Love Doing Websites,
> my flash cs3 is crashing every time I try to publish a
file, why?
That description is about as wide open as it gets! ;)
Troubleshooting
is often like a detective story: the more clues one has to
work with, the
more confidently one can begin the chase.
Well, my problem is that the cs3 starting to crash doesn't
really have an explanation for me. but I will put details here.
> I run vista business 32 bit
> I didn't have problems until today,using flash cs3 for
the last
> month
I don't have CS3 installed on Vista, so I'm afraid I can't
provide any
offhand suggestions. Since you haven't seen problems until
today, the first
thing that strikes me is: what happened with today's FLA that
was different
from your previous efforts? Did you import an unusual
external asset (even
if only unsual for you)? Maybe you imported a corrupted JPG
or PNG. Maybe
a bad font?
I did nothing with the fla that started the crash, I imported
some bitmaps and when trying to publish it, it crashed. Also, I
created another fla, imported some random jpgs 2 I believe, tried
to export it to the same folder, and cs3 crashed, saved the fla
with another name garbage.fla No fonts were used
> Hint:
> If I save the same .fla in another folder, flash cs3
doesn't crash
> when publishing. why? this looks that is happening in
the root
> of the folder
Believe me, I'd be asking these "why" questions myself in
your shoes.
What you're describing doesn't sound like a well known issue,
so my hunch is
that something is awry with this particular FLA file --
something not likely
to be easily reproduced. Since you can publish when saving to
another
folder, I would run with that workaround for the time being.
After saving
to a different folder, try using File > Save and Compact,
then move the FLA
back to your original folder and try again. Or ... try File
> Save As from
the new folder, and save the copy into your original folder.
In your duplicate post, you mentioned starting a thread of
your own
(this one) but not hearing any responses. Obviously, I can
only speak for
myself in this reply, but it may be that you didn't get
responses because
your question is on the vague side. It doesn't describe a
common issue
(like, for example, "Why can't I mask dynamic text?" [answer,
"Make sure to
embed your font outlines"]).
When I read these forums, I tend to skim the subject lines
looking for
descriptive summaries. Many people post questions like "How
did they do
this?" or "Help!" or "Flash question" ... none of which
describe meaningful
topics. In my opinion, your subject line is useful, because
it briefly
summarizes your question. That's a good thing. When I read
the actual body
of your post, though, I quickly realized there wasn't enough
(for me, at
least) to give you a solid answer. In this case, I've tried
to give you a
few pointers anyway, but I'm only hazarding a few "try this"
type
suggestions.
It may be that others who read your post felt equally unable
to answer
your questions with confidence -- at least, as stated.
Well, I did some research on the internet and there is a
quite more few people having the same problem, here is the other
forum I found:
cs3
flash crash when publishing
I am sorry that I didn't post any more specifications of what
I was doing, but what I was doing was not something different or
unusual of what I have been doing for the last week at least. I was
just working with dw and flash together importing the .swf into an
html and launching the html from dw.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Flash CS3 Won't Run After Installing?
Double clicking the Flash CS3 icon on the desktop does nothing. I tried all of the compatibility options, I tried running as admin, nothing allows the program to start. There's no Serial number box that comes up, nothing happens when I double click the icon on the desktop.
Operating System: Windows 7 Home Premium x64The closest I have seen to this problem is that if you don't
save the .as file, then the updated code will not test, but that is
logical, as the .fla needs to reference the saved .as to export
properly. -
Flash CS3 program flickers during "undo" and "save and compact"
Hi,
I have Flash CS3 Suite. I have a computer that was built in 2004, running Windows XP Professional - 2 Gb RAM although I have given the Virtual memory 4 Gb. The reason I did that is because I thought maybe my RAM wasn't enough. I have no problems with any of the other Adobe programs or any other programs on my computer, just Flash Professional. The running process only uses 16,030 K so it can't be that.
I have uninstalled, cleaned all adobe files completely off of my computer, done a fresh install, more than once, but no matter what, I seem to have issues with the 2 following commands:
1. Edit > undo feature
2. File > save and compact - although this doesn't flicker as much as the other one.
The flickering is frustrating, and, of course I can't do anything else until the flickering stops.
The positive side of this issue is that I am being much more thoughtful about my editing which is good anyway, but it would be nice for the flickering to permanently stop. Any and all help will be greatly appreciated.
jdupload your fla and post a link.
-
Flash CS3 Install Problems!
Hello all,
I recently downloaded Flash CS3 Trial from the Adobe website.
Once downloaded I extract the files from the EXE file. Then I go
into the extracted files and select setup.exe. I give the program
permission to run in Vista (as prompted) and the Flash Setup window
displays...
The problem is the Setup window displays for a brief second
or two before dissapearing without a trace!! No error message etc.
It just dissapears...
I am running Windows Vista. Why is this happening? It is most
annoying!! I cant even install the product!!
Thanks in advance to anyone that can help me!! :-)Funny enough, I got the same error when I tried to download
and install the
trial version. Best advice I can give is to contact support.
http://www.adobe.com/support/contact/
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
<--check this
***Stop Piracy
http://www.adobe.com/aboutadobe/antipiracy/***
"A2 #" <[email protected]> wrote in message
news:f5rhkl$eoe$[email protected]..
>I just downloaded the new flash cs3 trial just to check
it out but when i
>installed it it said that there is an error here is what
it looks like
>
http://aagavin.googlepages.com/adobe.jpg -
Problem Installing Flash CS3 Pro PLEASE HELP!!
I have downloaded the installer for about the 3rd time i
extract it all right but when i run the setup.exe its all fine
until it starts to install but then it says something like " insert
Adobe Flash CS3 Professional to continue" i keep trying but it
never works i even converted the folder to a .iso and mounted it
with the same name it told me but that still doesn't work. I have
run out of ideas please if anyone knows the problem please can you
help me out?FYI: "Br" is the Bridge application - try launching that to
see if it fully installed.
Chris Georgenes
Adobe Community Expert
mudbubble.com
keyframer.com
http://tinyurl.com/2urlka
Ms. Clause wrote:
> My computer is a brand new Vaio laptop loaded and 4 GB
RAM. I don't think I
> have a hardware problem. I tried to reinstall,
redownload and it still will
> not install the flash software. After I download I
clicked on the file and it
> install a folder in my drive, then I clicked on set up,
it went through a
> normal set up but for some reason it doesn't load Flash
CS3, it only load 2
> components from that I think it Br and something else.
>
Maybe you are looking for
-
How can I download Adobe Reader to an external hard drive to use on a machine not internet connected
I am trying to download Adobe Reader to my external 1Tb hard drive to use on a desk top that is not connected to the internet for security purposes. how can I choose which drive to save the download to?
-
I meant to pose this as a question.
-
Position function query in XSLT
I have a query regarding XSLT mapping I have two E1EDK03 segments for the same qualifier. But I want the values based on posiotion Example: <E1EDK03 SEGMENT="1"> <IDDAT>012</IDDAT> <DATUM>20110720</DATUM> </E1EDK03> <E1ED
-
Trying to setup new HP printer but says invalid password; when type in email address get error
I have a HP 410c using Mac OS 10.7.3 and am trying to setup eprint. Evidently I had eprint on my previous model but seems I forgot password. When I input my password I get an error stating must be a valid email address. I have only had 2 email acco
-
Update Failed Error Code: U44M1I216
I'm running Adobe Illustrator CS6 16.2.1 and Adobe Extension Manager CS6 6.0.5.9 on the latest Mac OS X. The Adobe Updater keeps failing with: Adobe Illustrator CS6 Update (version 16.2.1) There was an error installing this update. Please quit and tr