Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Error - Import Fl.controls.TextInput;


so i was working on this project making it in classes and i tried to do this:

import fl.controls.TextInput;


and i kept getting the error

1172: Definition fl.controls:TextInput could not be found.


once i placed a TextInput component on the stage through flash cs3 and then deleted it the project started to compile without errors.




ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 05-06-2007, 07:24 AM


View Complete Forum Thread with Replies

Sponsored Links:

Import Fl.controls.Button; Error
Can you explain this to me
I opend a new flash file and put in it one line

import fl.controls.Button;

And the compiler says:
Definition import fl.controls.Button could not be found

Wh dose that happen???

View Replies !    View Related
Fl.controls.TextInput Type Not Found
what is wrong with my class paths? how come i can't import fl.controls.TextInput?


ActionScript Code:
package{
    import fl.controls.TextInput;
    import flash.display.Sprite;
    public class Textbox extends Sprite{
        private var input_txt:TextInput;
        public function Console():void{
            init();
        }
        private function init():void{
            input_txt = new TextInput();
            addChild(input_txt);
        }
    }
}

error:

Code:
1046: Type was not found or was not a compile-time constant: TextInput.
1180: Call to a possibly undefined method TextInput.
1172: Definition fl.controls:TextInput could not be found.
please help, i couldn't find anywhere on google why anyone would not be able to import this package.

tia

View Replies !    View Related
Can't Import Import Fl.controls.ComboBox
Hi all!

I am starting learning AS 3.0 (used to use AS 2, that was sweet times ) and actually can't understand simple thing - why I can't include that package from action script?

I actually start new Action Script 3 file, and put single line in first frame


Code:
import fl.controls.ComboBox
and got errors

Code:
1172: Definition fl.controls:ComboBox could not be found.
1172: Definition fl.controls:ComboBox could not be found.
Actually thats part from the code listed at the manual and I don't have any idea, why it doesn't work.

Also when I open components window and drag combobox to scene error is not showed any more.

Any ideas how can I solve this problem without adding combobox to the library?

View Replies !    View Related
Import Mx.controls
For some reason, I get a compile time error everytime I try to import mx.controls.* What could be the cause of this?


Code:
package src {

import mx.controls.MenuBar;

public class MainMenu {

public function MainMenu() {

}
}

}
gives me this error:
1172: Definition mx.controls:MenuBar could not be found.

View Replies !    View Related
Movie Controls... Import An AVI
Hi guys,
I am new to the world of flash. And i have a problem with something i need to do.. maybe you guys can help me out.

I imported a huge AVI movie and conpress it enough to be manageble.

So Flash creates 1 frame per each frame of the AVI. So i have this pretty long Flash movie. What i want to do is give it playback options. Like Play, Pause, Stop, Fast Foward and Rewind.

I know how to do the Play, Pause and Stop... and i am having problems with fast foward. What i want it to do is that the person press the button down and hold it.. and as long as the button is holded down the movie will Fastfoward 10+ plus.. until the person let's go of the button.. then it plays normal.

is it possible? what's the code i need to put on the fastforward button?

View Replies !    View Related
Import Mx.controls Question
i have a main movie which loads external swfs.. and many of the external swf files contain ComboBoxes and/or Listboxes. In order to make the Combo/List components function properly, i understand i need to use code:
import mx.controls.ComboBox;
import mx.controls.List;
my question is instead of having to do this individually in each external swf...wouldn't putting the import mx.controls for the comboBox and List in the main file make them accessible for all files loaded into the main movie?... Is there some way to do this?....i guess it would be making the controls global?

i have just found that importing the controls into individual files produces a longer preload time for the files....

any ideas?

TIA

View Replies !    View Related
Unable To Import Fl.controls.*
Hi,

I recently upgrated to Flash CS3 and have been porting my AS2.0 app to AS3.0 (phew!). I've been moving along - slowly but steadily till now. For some reason, I get error #1065 - variable button not defined even though I import the pertinent class.
so,

import fl.controls.Button;
..
..

-->some_button = new Button ();
addChild(...);

and I get the error on the indicated line.

Any ideas?

Thanks,
S

View Replies !    View Related
NOOB2AS3 Problem With Import Fl.controls
Hi again, so I can't seem to do:

import fl.controls.Button;

Even though I am working in flash, in an *.as file which is located in the same folder as the project... what gives?

I added my path to the AS3 settings in the preferences and entered the complete path, just to be sure:

Cortex:Applicationsesigner:Adobe Flash CS3:Configuration:Component Source:ActionScript 3.0:User Interface:fl

But it still says it doesn't know what I am trying to import...

Any ideas?

View Replies !    View Related
Import Mx.controls.Alert; Not Working In Cs3
1172: Definition mx.controls:Alert could not be found.

Hey there is there any particular reason why I can not access the mx classes from flash cs3.

or more so where can I get them to install into my class path directory???


many thanks

brndn

View Replies !    View Related
Easy Question About Import Fl.controls.Button
Hi, I'm new to flash/AS3 and I'm having trouble figuring out how to use the library. I understand that when I include the line

import fl.controls.Button

I need to have a button in the library (otherwise I get a compiler error) but how do I put a button there? I tried copying a button from Common Libraries into may library, but that didn't help. I also tried drawing a rectangle, dragging it to the library, and clicking on "Button" in the properties box, but that doesn't work either.

Also, do I have to set the linkage properties to export the button?

Thank you!

View Replies !    View Related
Fl.controls.List: Bug Or User Error?
Create a new AS 3.0 fla
Add a List component to the stage - name it "theList"
In the parameters panel, add 4 (or more) items.
Paste the code below in the actions panel:


Code:
import fl.controls.List;
import flash.events.Event;
import fl.accessibility.ListAccImpl;
ListAccImpl.enableAccessibility();

// I expected this line
theList.selectedItem = theList.getItemAt(2);
// or this line, to set the internal index to 2
theList.selectedIndex = 2;

theList.setFocus();
theList.addEventListener(Event.CHANGE, onListChange);
function onListChange(e:Event)
{
trace("You have clicked: " + theList.selectedItem.label + " in row " + theList.selectedIndex);
}
stop();
Run it.

The 3rd item (index 2) appears selected in the UI - all seems well.
Press the down arrow to go to the 4th item in the list. Oops, what happened?

Expect:
4th item (index 3) is selected.

Actual:
1st item (index 0) is selected.

Internally, it seems, the object thinks it's index is still -1 when the Keyboard event arrives.

So, how do you make sure that not only the UI looks correct, but internally, the component remembers it's selected index?

thanks,
Mark

View Replies !    View Related
NaN Error, GetBytesLoaded, And Sound Controls = Eeeek
The NaN error means "Not a Number", right?

well, anyway:


PHP Code:



mymusic = new Sound();
mymusic.loadSound("http://www.w3bdevil.com/f00.mp3", true);
mymusic.start();
sofar = mymusic.getBytesLoaded();
toload = mymusic.getBytesTotal();
_root.loadsound.loadperc = (sofar/toload)*100;




thats the code in Frame 1 in:


PHP Code:



_root.Loadsound




The problem with that script, is that whilst the sound loads and plays *fine*, the textbox:


PHP Code:



_root.loadsound.loadperc




doesn't display the variable, instead it shows "NaN"

and I get the same error if I do this


PHP Code:



somevar = (sofar/toload)*100;
_root.loadsound.loadperc = somevar;




in place of the original last line.

Any ideas on that one?

-------------------------------------------

Problema numero dos:

As shown in the previous script, I use the sound object "mymusic" to represent the streamed MP3 "f00.mp3" (oh, and if you didn't notice, thats an invalid link), so I figured I could use the same object for the volume etc..


PHP Code:



on (release) {
    mymusic.setVolume(0);
    gotoAndStop(2);
}




thats the code I've got on a button, located in:


PHP Code:



_root.Sound




yet, when I click it, it doesn't set the volume of that sound to zero

Any ideas?

Danke

View Replies !    View Related
.PNG Import Error
This is a similar problem to the thread below, but I wanted to address it as their seems to be a specific fault.

I have a problem with importing any fireworks files to Flash. At first I thought it was the ones using an alpha transparency, but I found it was all .PNG files.

I am running this on a Celeron 600Mhz laptop / 256mB RAM / Win 98. The funny thing is on my work computer (PIII800 / 512mB RAM / Win2000) I am able to import any PNG files with no problem.

When I try to import on my laptop, I receive an error "This program has performed an illegal operation and will be shut down". Further details are: "FLASH caused an exception 10H in module FIREWORKS IMPORTER.DLL at 017f:032d2d84".

I have not loaded any other software or changed graphic drivers recently. Any help would be appreciated.

View Replies !    View Related
PNG Import Error
I have a problem with importing any fireworks files to Flash. At first I thought it was the ones using an alpha transparency, but I found it was all .PNG files.

I am running this on a Celeron 600Mhz laptop / 256mB RAM / Win 98. The funny thing is on my work computer (PIII800 / 512mB RAM / Win2000) I am able to import any PNG files with no problem.

When I try to import on my laptop, I receive an error "This program has performed an illegal operation and will be shut down". Further details are:

"FLASH caused an exception 10H in module FIREWORKS IMPORTER.DLL at 017f:032d2d84".

I have not loaded any other software or changed graphic drivers recently. Any help would be appreciated.

View Replies !    View Related
.PNG Import Error
I have a problem with importing any fireworks files to Flash. At first I thought it was the ones using an alpha transparency, but I found it was all .PNG files.

I am running this on a Celeron 600Mhz laptop / 256mB RAM / Win 98. The funny thing is on my work computer (PIII800 / 512mB RAM / Win2000) I am able to import any PNG files with no problem.

When I try to import on my laptop, I receive an error "This program has performed an illegal operation and will be shut down". Further details are: "FLASH caused an exception 10H in module FIREWORKS IMPORTER.DLL at 017f:032d2d84".

I have not loaded any other software or changed graphic drivers recently. I have also reinstalled Flash a couple of times. Any help would be appreciated.

View Replies !    View Related
Import Movie Error
Hi All

I am trying to import a movie into a new movie.

When i do this is i get an error which says

"The import did not finish because an unknown error occurred"

Does this mean i have to re-install Flash or something?

thanks in advance

View Replies !    View Related
Mp3 Import Error? Mp3 Converted To .swf?
Hey guys I only use flash mx but every time i try to import an mp3 no matter what bit rate it's at it says it can't load it... Also i found a tutorial on the site about a small little mp3 autoplayer. one that auto starts when the site starts, but the song is kept in a "data.swf" file... I t never said how to make the mp3 known as the data.swf file... I can't seem to figure it out. I figured you just import it and let that be it but i can't figure it out. All tutorials ive seen on the subject start with ones that you have to click play or load the mp3 seperate.

Any help would be much appreciated

Thanks

View Replies !    View Related
[F8] Error With Video Import
I am not able to import an mpeg using flash8 due to an error.....

"the source file abcdef.mpeg contains video in an unsupported format and cannot be encoded"

Runnin' win xp
I have the lastest updates for directx 9

any suggestions as to what format would work?
or how i can encodde the mpeg?

Thanks

**If all you have is a hammer, everything looks like a nail.**

View Replies !    View Related
[MX] Import Error: ';' Expected...? Help, Please.
Hello,

I am trying to import tweening classes in MX, and I get the following errors:

Scene=Scene 1, Layer=Scripting, Frame=1: Line 1: ';' expected import mx.transitions.Tween
Scene=Scene 1, Layer=Scripting, Frame=1: Line 2: ';' expected import mx.transitions.easing.*;

This is puzzling. In three ActionScript references in front of me, on Google and in this forum no one else seems to have had this issue, and I can't seem to find any information on what importing requires.

These imports are at the top of the first frame of the first scene of my entire Flash project on a layer dedicated to ActionScripting. They are the only classes I am currently importing.

Does anyone have any insight as to why this might be happening, or perhaps a tutorial or other information source for importing classes? I figured the rest of the code is probably pointless, especially since it's very much in the works, but if anyone needs the whole chunk of code let me know.

Thanks,

-MadMadchen

View Replies !    View Related
Import Syntax Error?
I'm using Brendan Dawes DragSlideFade class and following a tutorial.

I keep getting a Syntax Error on the following line:


ActionScript Code:
import com.dragslidefade.*;

It's exactly what Lee Brimelow is using in his demo and according to Flash help files, the proper syntax.

I'm using Flash 8 Pro.

PS, yes, I've tried just importing a specific class like com.dragslidefade.Slide; but that doesn't work either.

Any insights?

Thanks

View Replies !    View Related
Class Import Error (?)
Hello all. I'm having problems importing multiple classes in MX 2004. I don't have the pro version.
Whenever I try to import more than one class i get the following error:

**Error** Scene=Scene 1, layer=classes, frame=1:Line 6: The class 'node.as' cannot be imported because its leaf name is already being resolved to imported class 'tabset.as'

Where tabset is the first class and node is the second. If i try to import a third, it throws the error twice.
The class appears to load and I can use it, but I want this error to go away. Anyone else run into this??

Thanks!

View Replies !    View Related
Sound Import Error
Hi

I keep getting the following error, "One or more files were not imported because there were problems reading them."
This error comes up every time I try to import some music into my flash document. I searched the Flash Support Center and found a something that said If i get this message I need to install QuickTime. I Uninstalled my version and installed the newest version and I still got the error message. I hope somebody can help me with this.

Thank-you for all your help.

-Ty Borba





























Edited: 11/30/2006 at 10:44:45 PM by Ty_1000

View Replies !    View Related
Video Import Error
Every time I try to import video into Flash 8, I get an error like this: "The source file *.avi contains video in unsupported format and cannot be encoded"

The external Flash8 Encoder simply crashes on me.

Would it make a difference if this was an unlocked (activated?) downloaded trial as opposed to installation licensed version to begin with.

View Replies !    View Related
Closing Error When Import
When I press "import", the program is closing. Export operations are running with no problems.





























Edited: 11/04/2007 at 02:07:19 AM by nickname_already

View Replies !    View Related
Import Video With URL, Error
Hi guys, ive been trying to import a video from a other website, like youtube.com and Dailymotion.com... But i get the same Error message all the time, and ive tryed to add a .FLV to the end of the URL link but still the same mess.
http://www.junsele.com/viewpic.asp?id=80313
Then after when i try the movie this mess come up
http://www.junsele.com/viewpic.asp?id=80311

This is how i imported them
http://www.junsele.com/viewpic.asp?id=80310

I also tryed adding .FLV
http://www.junsele.com/viewpic.asp?id=80312

But the same error comes up, Please Guys help me what am i doing wrong? :,(

Btw, Im using Flash cs3 professional





























Edited: 11/28/2007 at 03:19:39 PM by Zoro5

View Replies !    View Related
Import Syntax Error
Hi there, is there any reason this particular movie clip won't let me import a blurfilter?
Have happily imported the blurfilter package many times before, but today it won't work... Copied and pasted the exact code into a blank fla and it didn't throw the error. I'm a little confused!

Error message below:

**Error** Symbol=game, layer=Actions, frame=1:Line 1: Syntax error.
import flash.filters.BlurFilter;

Total ActionScript Errors: 1 Reported Errors: 1



Regards,
Mark

View Replies !    View Related
AS2 Error Class Import
I dont have a clue


Code:
import mx.managers.DepthManager;
a_btn.onRelease = function() {
b_btn.setDepthTo(DepthManager.kTop);
var b_depth:Number = b_btn.getDepth();
trace(b_depth);
}

b_btn.onRelease = function() {
a_btn.setDepthTo(DepthManager.kTop);
var a_depth:Number = a_btn.getDepth();
trace(a_depth);
}
I get the following Error Code

Code:
Error:
C:Dokumente und EinstellungenBesitzerLokale EinstellungenAnwendungsdatenMacromediaFlash 8deConfigurationClassesmxmanagersDepthManager.as: Zeile 193: Keine Eigenschaft mit dem Namen '_topmost' vorhanden.
if ( depthFlag == mx.managers.DepthManager.kTopmost) o._topmost = true;

Anzahl der ActionScript-Fehler: 1 Gemeldete Fehler: 1
Any1 know this??

It is German but I guess it is the same on English ...

I am a bit lost, coz i reinstalled me Flash and got the same ???!!!

any help is much appreciated

View Replies !    View Related
Weird Import Error...?
So I began coding some simple A.S. 3 tweens and (keep in mind im new at AS3), and for some reason whenever i import the tween classes.. i get errors. Can someone help me figure out whats going on?


//import section
import.fl.transitions.easing.*;
import.fl.transitions.Tween;
import.fl.transitions.TweenEvent;



1084: Syntax error: expecting identifier before dot.
1084: Syntax error: expecting identifier before dot.
1084: Syntax error: expecting identifier before dot.

It appears that all three are not being imported because i'm getting three errors... i'm know i'm making some really really stupid mistake.. but what?

View Replies !    View Related
Action Script Import Error
this is action script 2.0

i have a as file that needs to be loaded and executed
the error im getting is " this class or interface 'javaScriptproxy' could not be loaded".
all the files are in place.

import com.macromedia.javascript.*;
var proxy:JavaScriptProxy = new JavaScriptProxy(_root.lcId, this);

View Replies !    View Related
Tween Class Import Error
Hi, this is a strange one...

I have this code in my first line of my first frame,
import mx.transitions.Tween;

It generates the following compile-time error
**Error** Scene=julapy, layer=script, frame=1:Line 1: Syntax error.
import mx.transitions.Tween;

its strange because it works in another flash doc i created but not in the other. its like flash is not picking up the flash classes

any ideas would be humongously appreciated

View Replies !    View Related
Import Mx.transition Syntax Error
I made a flash file in Flash 8 that uses

Code:
import mx.transitions.*;
The file works but when I try to copy that line of code from one file to a new flash file I get a syntax error.

Why would it work in one file but not another? I know the simplest answer would be that I copied it wrong or that there is more code, but in all honesty the line above is the only code in the file and it gives me a syntax error. Please help

Cheers,
Jason

View Replies !    View Related
Half Pixel Import Error
Hi,

since the dawn of Flash i have this reoccuring problem:

If i import something to my stage (e.g. a ps7 png), it will be displayed half or even 1/4 pixeled. Meaning if i publish my fla, the swf wont show the clean pixelized png but a half breed, or quadrupled something, there's in most cases a blurry border of the object, let it be a clean cut 1x1 black pixel in original - no matter what, flash knows very well how to blur my sharply pixeled object.

The only workaround i found so far is zooming in deep in Flash and readjust the positioned png.

There is no difference if i convert the png to a movieclip in the first place.

I consider this a major flaw in flash and everytime i return to code or design something in Adobe Flash i'm thrown back at this major error: Flash takes Pixels and divides them into some fantasy format, half pixels or blurry 1/4 pixel. This seriously sucks since 1999 HELP!

View Replies !    View Related
Syntax Error During Import (amfphp)
I have amfphp working fine in a couple flash documents. I am trying to add it to another one, and it doesn't work:


Code:
**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 1: Syntax error.
import mx.remoting.debug.NetDebug;

**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 2: Syntax error.
import mx.remoting.*;

**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 3: Syntax error.
import mx.rpc.*;

Total ActionScript Errors: 3 Reported Errors: 3
To make things simple I am just trying to get the hello world example on amfphp's site working. It works fine if I paste the code into a new document, but I get the above error when pasting into my existing document. I have dragged the Libraries to the stage in both cases.

What else could be the problem?

View Replies !    View Related
Error: Import Fl.transition, Btn And Tween
When I typed "import fl.transitions.tween" in actionscrip and tested it, I got an error message said that it couldn't be found. Does anyone know why it happended? I'm using flash CS3.

Here is another problem: when I create a test button called test_btn, and write a button rollover function like test_btn.onRollOver ..., after I type the "." after test_btn, the onRollOver didn't show on the property list. I define a varable Tween: var myTween:Tween; when I test it, it shows the type "Tween was not found or was not a compile-time constant" and the error for test button is "access of possibly undefined property onRollOver through a reference with static type flash.display:Simplebutton."

Please help!

View Replies !    View Related
Import Mx.remoting.*; ERROR MESSAGE
Hi All,

I have 2 machines (MAC OS X 10.3.4) with Flash MX 2004 installed. When I try to publish the file, I get an error on the import call for remoting components.

The first line of code looks like this:

import mx.remoting.*;

The error says "Identifier expected" and cites the first line.

I have installed remoting components v2, I placed the components source code files in the First Run>Classes folder, I removed the aso folder from the user location, all per the instructions. I also deleted the Flash preference files.

I AM AT A TOTAL LOSS! Someone, please help me!

View Replies !    View Related
Import Video To Flash-->Error
I have searched these forms and so far what i have gathered. I just choose "import to library" and then choose what movie i want to import to flash. Well, i can't even get this far when i choose a movie Flash gives this this error message: "One or more files were not imported because there were problems reading them." The title of that box reads Flash MX but i am using Flash MX 2004. I don't know if that has something to do with it or not.
Thanks guys for the help.

ps. i have also read several post about these in the forums, i still don't understand. Also, there isn't a tutorial in the "tuts" section, which might be a good idea if someone wants to write one. If anyone has a tutorial to point me to that would be great.

View Replies !    View Related
Error 1046 In A Class After Using Import
hmmmmm, I give up. I want to use some component controls inside a class I have coded. I have used
import fl.controls.RadioButton;
but then I get a compile time error "1046 type was not found or was not a compile-time constant: RadioButton" on the line
private var button1_rb:RadioButton

What do I do?

View Replies !    View Related
Error: Import Fl.transitions.tween
When I typed "import fl.transitions.tween" in actionscrip and tested it, I got an error message said that it couldn't be found. Does anyone know why it happended? I'm using flash CS3.

Thanks!

View Replies !    View Related
Import Command Returning Syntax Error?
Hi guys, I'm probably being a bit thick here, but can anyone tell me why this statement is returning a syntax error?


ActionScript Code:
import ext_as.DynamicRegistration;

'ext_as' is the folder where the script for the class is held, but I can't see why it isn't working. This statement is on a separate level in the first frame of a movie clip that later refers to the class.

My publish settings are set to Flash 6. I've also tried Flash 7 to no avail.

Please help!

View Replies !    View Related
Adding Import Fl.video Causes A Compiler Error
So I added this to my action script:

import fl.video;

And got these compile errors:

1172: Definition fl:video could not be found.
1172: Definition fl:video could not be found.

Checked my version, and I DO have CS3 Professional.

I'm assuming I'm missing something really easy. Help?

Thanks,
Scott Osborn

View Replies !    View Related
Everytime I Try And Import A Wav File I Get An Error Message
everytime i try and import a wav file i get an error message, can anyone help?

View Replies !    View Related
[AS 2.0] Import Is Not Working: Cranks Out Syntax Error
...um... this is all i have in the script... and it gives me a syntax error on the first line! classpath is ~/ActionScript/ and the classes live in ~/ActionScript/com/<classes>. what in the nine levels of hell am i doing wrong?


Code:
import com.pixelWit.*;

superButton_btn.onRelease = function()
{
neuvaCol.fadeRGB(255, 0, 0, 1000, traceDone);
};
and if you need the pixelWit color classes: here ya go:

http://www.pixelwit.com/temp/colorfa..._colorfade.zip

thank you, o mighty brains of the forum!

WR!

View Replies !    View Related
FLV Import Error, Displays Transparent At Start
Hi,
I've had a fairly huge problem in that the short sample FLVs i've imported into flash, to be used in my buttons, are displaying transparent at the beginning of their playback and sometimes multi-coloured frames!
After a few frames of this, they catch up and start displaying the actual video.
I believe this is due to an import error as when I attempt to import an flv, flash displays it's wizard, and I choose to embed, as a movie clip. Once this process appears to be complete however, Flash generates the following error in my output panel: "ERROR: (Swift 3D Importer - File: )
Invalid SWFT file - Import Aborted."
Why is this?!? How can I fix?
Can i just delete the swift3d importer so it stops trying to grab my flvs?
If so, where is this? (OS/X)

The files are not swift3d but .flv, encoded with Riva and everything has been assembled in F8, published as F6 under OS/X 10.3.9

For your reference, I have uploaded a sample copy of the SWF to my server at:
http://www.dedicatedmicros.com/ukftp/FLVHUB/hub.html
The first two are buttons with the FLV playing back as an embedded movie clip in the over state, the lower two are just those MCs

I don't think it's riva's fault, as when i playback the flvs through a dedicated player, they play fine.. So i think it must be this swift3d importer that's generating the errors, although i can't think why it's trying to do anything with flvs anyway.. and I can't use squeeeze anyway as there isn't enough playhead control so I can't set the ins/outs exactly where I need them.

Any advice you can give is greatly appreciated.. i'm pretty lost!!

Thanks,
DigiPencil

View Replies !    View Related
Syntax Error: Import Flash.external.ExternalInterface
Hi,

Some times flash seems to have trouble importing flash.external.ExternalInterface does any one know why this happens. It seems to be an intermitent problem, it does not happen all the time. Is it some thing to do with where the scripts are located, in the flash file?

This this the error that comes up:

**Error** Scene=Page 1, layer=CommunicationScript, frame=1:Line 1: Syntax error.
import flash.external.ExternalInterface;

- I know the thoughts I think toward you says the LORD for good and not evil.

View Replies !    View Related
Tween/Transition Import Code Gives A Syntax Error
Basicly, I'm using Tweens and transitions, and am having trouble making them appear in some parts.

On a multipage website, pasting in the code:
import mx.transitions.Tween;
import mx.transitions.easing.*;

Gives me a syntax error for where the two lines appear. - This will make any transitions and tweens not appear (the two lines above need to be commented out for it to compile). However, when a page is loaded that contains the code (and gives no syntax error), the transitions and tweens in the first movie as well as the loaded clip all work fine.

What would cause a synax error when trying to use the import code?
The actual site itself you can see in progress at
http://cressaid.brettjamesonline.com/us . The drop down menus just appear, until you load either the logos, corporate id or brochures section in folio. Then they smoothly roll down

View Replies !    View Related
Syntax Error In " Import Flash.display.BitmapData;
hi
i made small drawing app with flash drawing api, after drawn any circle , line etc.. i am exporting as jpg using php, when i'm publing in flash one error is coming.

this is my error
**Error** C:Inetpubwwwrootdssnapsnap.as: Line 1: Syntax error.
import flash.display.BitmapData;

how to solve this problem.

View Replies !    View Related
2 Player Game. Moving Cars Controls Help With Controls
hi i have the controls for car number 1 that would be the arrow keys if

(Key.isDown(Key.RIGHT)) {
this._rotation += manuverSpeed;
} else if (Key.isDown(Key.LEFT)) {
this._rotation -= manuverSpeed;
}
if (Key.isDown(Key.UP)) {
if (speed<speedMax) {
speed += accel;
}
} else if (Key.isDown(Key.DOWN)) {
if (speed>-speedMax) {
speed -= accel;
but how can i make controls for car 2 ... i wann use wasd but i cant figure out how the key.a doesnt work.

View Replies !    View Related
Drag Controls Override All Other Controls On Movie?
I have a movie that loads into the main timeline and can be dragged around using:


on (press) {
startDrag("");
}
on (release) {
stopDrag();

}

That works great except that to close that movie again I've added a little button to say on press, unload movie.

Problem is none of the buttons or links on that page will work while it is being dragged around. How can I make the links and buttons work but still make the movie draggable?

View Replies !    View Related
Flash 8 "unknown Error" On Pdf Import To Stage
I have a series of pdf images of simple maps that are about 20-30 Kb in size and when I try to import to stage or library into Flash 8 it says the import didn't finish due to an unknown error. Here's what the output is giving me, looks like something with rangecheck? Any Ideas - please help or give suggestions on what I should do.

**** Unrecoverable error in xref!

Error: /rangecheck
in resolveR

Operand stack:
PageCount 34809 6 5
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3
%oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval
-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1032/1123(ro)(G)-- --di
ct:0/20(G)-- --dict:74/200(L)-- --dict:74/200(L)-- --dict:101/127(ro)(G)-- --dict:231/347(ro)(G)-- --dict:16/24(L)--
C
urrent allocation mode is local

AFPL Ghostscript
8.00
:
Unrecoverable error, exit code 1

The import did not finish because an unknown error occurred

View Replies !    View Related
[F8] TextInput.text +TextInput.text Doesnt Add
I'm trying to running this simple addition formula and am running into a problem.


PHP Code:




Label.text = TextInput_1.text + TextInput_2.text;







By default flash is concatenating the two numbers instead of adding them as I'm trying to do.
Does anybody know how I fix this problem?
Thanks!

View Replies !    View Related
Flash Audio Import Error (Flash 8)
I'm getting an error when I try to import a .wav file to the library. I'm using Flash 8.

I've looked at the settings in the preferences section of the file. They are Bit Rate - 1411 kbps, audio sample size - 16 bit, channels - 2 stereo, audio sample rate - 44khz, audio format - pcm. The error that I get when trying to import is, One or more files were not imported because there was a problem reading them, and then Flash asks if I want to replace the file or not. It won't load into the library. What could be the problem? Do I need to have my client re-record them in a different format? I'm fairly new to Flash and audio.

I have one other file just like this that loaded fine, however, once I put it on the website, on playback, on the high notes, it cracks, but it doesn't do this on the original file.

I thought that maybe I needed to have my client stand farther back from the mic as these are homemade sound files. Any suggestions would be helpful. The website I'm working on is http://www.gandervalleycustomcalls.com/home.html. The sound that is giving me problems with the cracking is the second sound file from the left.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved