all groups > flash actionscript > november 2005 > threads for monday november 14
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Problem with linked classes
Posted by RD- at 11/14/2005 11:16:58 PM
I have to Symbols in Library:
MC1 (linked with Class1)
MC2 (linked with Class2)
MC2 have 2 instances of MC1 on a timeline
classes are:
class Class1 extends MovieClip{
public function Class1(){
trace("Class1 constructor called");
}
public function test(t){
trace... more >>
"ProgressBar" with "ScrollPane"
Posted by TawhidKhan at 11/14/2005 10:04:51 PM
Is there anyway, i can use "ProgressBar" with "ScrollPane"? I saw lot of docs for "ProgressBar" with "Loader" but didnt see it with "ScrollPane". I hope you guyz can solve it..
Thanks... more >>
Drawing Line to Path
Posted by martha_stewart at 11/14/2005 8:19:21 PM
Greeting to all,
I am currently scratching my head as to the best (or any) way to draw a line
to a path. it would be similar to a the idea of a animated pen writing text,
instead my idea is a glue bottle drawing a line of glue on the stage. The menu
would then fall onto the glue. but i ... more >>
Text Field Fading problems
Posted by stephan.k at 11/14/2005 7:52:39 PM
Hello List
I am creating a textField in a movieClip called infoBoxMC. The text appears
fine. I can place it by adjusting the x and the y of infoBoxMC. However for
some reason the _alpha of infoBoxMC does not work? I tried to use the debugger
and turn both _alpha and _visible to 0 and ... more >>
How to return an array from a function executed onLoad? (do I need a listener ... or a clue factory :)
Posted by Ken Fine at 11/14/2005 7:46:26 PM
Hoping someone can help me out of the ninth circle of scoping hell. This
question may be basic: I've done a lot of actionscript-related reading, not
so much practical coding.
I'm using xfactorstudio's Xpath implementation to parse XML and to attempt
to return an array:
myDoc = new XML();... more >>
UPLOAD securtiy
Posted by jonnybennett at 11/14/2005 7:42:19 PM
I am trying to let users upload files to my website using flash 8 and php.
However I don't want to find that soemone has upload a virus to my site. I
have put in the security measure that the user can only upload file types with
ext .jpeg or .swf, however I'd imagine it is evry easy to forge t... more >>
how to link flash menu to iframe???
Posted by IndioDoido at 11/14/2005 7:22:07 PM
hi...
i made a flash popup menu, but i cant link the buttons to a iframe window...
this is the code i used in each button:
on (release)
{
getURL("../empresa.php", "mainframe");
}
"mainframe" is the name of the iFrame, but in IE it doesn't do anything!
please...can anyone help... more >>
Weird results?
Posted by Richard Ragon at 11/14/2005 3:48:33 PM
I have a function that just goes though 5 of my variables, and see's if
there is something in these five variables..
It suppose to look for either "" or undefined and move on..
The problem is that it goes down every if and goes that way.. even
though the variable is "".
function a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
LoadVars issue and dynamic linkable text not being rendered
Posted by FayeC at 11/14/2005 2:48:20 PM
I am trying to create a scrollable text area in Flash 8.
I am following the Kirupa tutorial and I am coming across 2 problems:
The first is that if I use the code from the tutorial on the Flash 8
movie I get the following error:
**Warning** Scene=Scene 1, layer=text, frame=1:Line 1:
Case-insens... more >>
Getting started with custom classes
Posted by boyBacon at 11/14/2005 1:36:45 PM
Hi All,
I've been using Flash for around 5 years now but am only really beginning to
mess around with creating custom classes (previously, all my Flash stuff has
had to be self-contained). I have a couple of problems that seem to be stopping
me from learning the concepts (that and years of... more >>
PROBLEM: Why I cant see my entire movie clip on the stage
Posted by lou bra at 11/14/2005 1:21:44 PM
Hi people,
I?m having problems in inserting buttons along an image (that is a long masked
movie clip with goes by mouse movement). The animation is working - I mean - it
goes perfectly using mouse on published file, but at the stage i would like to
insert buttons (inside and along the movi... more >>
How can I embed an index number property with a dynamically created/placed MC ?
Posted by Ken Fine at 11/14/2005 12:08:02 PM
I'm placing movie clips dynamically using actionscript.
I'm wondering how I can write a unique index number or string data as a
property of each dynamically placed clip. This information could be used to
retrieve a unique URL wehn a particular clip was clicked.
I notice that trace(target_... more >>
problem with printing in Flash MX
Posted by pgreece at 11/14/2005 12:00:15 PM
Hello I am making an educational program in Flash MX and i have a problem with
printing.
I have given an input text where the user can write a story.
After he has written the story i want to enable him to print it.
Is there a way to do this in Flash MX(Flash 6)?
... more >>
MovieClip subclass onEnterFrame behaving badly
Posted by burtyrey at 11/14/2005 11:20:33 AM
Hello,
Been having some trouble with the onEnterFrame event in a movieclip subclass.
The onEnterFrame is set to a function call (in response to a button click) and
later the onEnterFrame is deleted.
This works fine and dandy when an instance of the subclass is dragged on to
the stage... more >>
Linking Scenes (by frame & by scene names)
Posted by ness1980 at 11/14/2005 9:18:02 AM
I have read through the discusssions and tried linking scenes by frames eg:
on(release){
gotoandplay("FrameNameInScene2")
}
however, this doesnt work either, I have tried puting _root. before it and
have tried linking by scence names and it always just goes back to the start of
that sce... more >>
loading external swf
Posted by kko_k at 11/14/2005 6:05:36 AM
Hey all! I know this question comes up heaps in these forums, but it'll be
really appreciated if you could help me out on this =D
On one of my frames, i have this script:
_root.img_mc.loadClip(this.link, "loadImgHere");
in attempt to load an external swf. this.link is a variable fro... more >>
How to use drawing API and getBounds to outline a movie clip?
Posted by Ken Fine at 11/14/2005 5:24:32 AM
Hi all -
I'm dynamically loading .JPGs into container movie clips that I create at
runtime. I would like to create an onRollOver outline effect on the outer
edges of these rectangular movie clips. It occurs to me that the cleanest
way to make this happen would be a combination of getBounds ... more >>
After LoadVars success, then what?
Posted by MarkSLC at 11/14/2005 3:28:07 AM
I have read several examples that go like this:
var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean):Void {
if (success) {
trace ("success");
}
my_lv.load("textfile.txt");
My question---where do I go from here? I mean tracing "success" is fine but I
have ... more >>
Loading 3 clips, starting 1 and pausing the other.
Posted by RooMeat at 11/14/2005 3:01:01 AM
Hi.
New to Flash and on a fairly steep learning curve ;)
I have a flash site I am creating as part of a Uni Assignment that can be seen
at http://www.ozsportsbikes.com/flash/
It seems to run OK but has a bit of a lag on slow connections when loading the
pages from the buttons.
At present... more >>
loading swf on a specific frame
Posted by dtjenks at 11/14/2005 2:46:30 AM
Hi,
Is there a way to load an external swf into an existing one without making it dependant on a mouse based event, but rather when the main movie enters a specified frame?
Thanks... more >>
dynamic gallery images not showing up
Posted by mugafuga at 11/14/2005 1:23:45 AM
I am trying to get my jpgs to load but they never show up. I am also trying to
get a preloader that runs in an onEnterFrame to work as well but I am totally
stumped.
To see the script in action http://www.michaelmorgan.biz/mm/MM.html
click on portfolio to see it not load. You can see the ... more >>
Dynamic Image Size
Posted by jonnybennett at 11/14/2005 12:44:26 AM
I can load a dynamic jpeg, however I want to know if it is possible to change
the dimensions of the loaded jpeg image rather than the movieclip dimensions
that it has been loaded into? and if so, how ???? many thanks jonnie
... more >>
Game swf files run far faster on local drive than on websites
Posted by Matazone.co.uk at 11/14/2005 12:00:00 AM
I've recently made a new game for my website, and the local version runs as
smoothly as a marble on a very flat thing, but as soon as it goes online the
framerate drops, even when you only have the flash file playing by itself.
You can see the game here:
http://www.matazone.co.uk/animpag... more >>
Are comments compiled into a SWF?
Posted by _bigmac at 11/14/2005 12:00:00 AM
I am researching Flash optimization and have an unanswered questions: Does the
flash compiler omit script comments when compiling a SWF file?
I can see no practical benifet of leaving them in considering the script would
no longer be accessible to human eyes and they would just add filesize... more >>
Playback
Posted by dsafari at 11/14/2005 12:00:00 AM
I need to control the playback head to go in reverse. Ultimately I would like
the end user to press a button (on release) the playback backsup. Similar to a
rewind, but it goes frame by frame. How can this be accomplished?
Thanks.
... more >>
Debugging XML load image
Posted by fatguy13 at 11/14/2005 12:00:00 AM
Hello can anyone help...
I am loading 14 images into flash through XML...
THe problem is that when exporting the SWF the only images that loads is the
first image and than it gives me 2 undefined within 2 different dynamic text
boxes.... any clues..
here is the code for the XML file:... more >>
add to textfield with buttons
Posted by Dave at 11/14/2005 12:00:00 AM
I would like to have a text entry box on screen that is filled out by an
onscreen keyboard.
I'm unsure how to add the text on a button press , i.e press button "a" and
add an "a" to the text box at the point where the cursor is.
I'm using flash player 6
Many thanks
Dave
... more >>
Loading URL variable
Posted by Julianous at 11/14/2005 12:00:00 AM
I need to load a variable from an URL. Let's say my flash movie is on the
flash.html page. The page will be called like this:
http://domain.com/flash.html?userName=test
I need to load the value of the variable userName on my movie, is there a way
to do that?
Thank you,
Juliana
... more >>
"Timer"
Posted by Palonsson at 11/14/2005 12:00:00 AM
Hi!
I needs some help in flash action script. I have ssen som nice "timers" on
webpages, they are counting for example how long it's to Christmas. And it's
ticking second for second... Some one have any action script for me? And if you
visit the wep page http://www.holdthebutton.com/ it's... more >>
Force upgrade to Flash Player 8
Posted by ezd_macromedia at 11/14/2005 12:00:00 AM
Well, I have Studio 8. I went to the "hype" seminar they had in LA, and now I
want to make Flash 8 do something they showed, and I can't. If a user has a
player that is less than 8, I want it to prompt them to upgrade to Flash Player
8. In the online demo, as well as at the seminar, they di... more >>
Loading images using XML
Posted by Erzek at 11/14/2005 12:00:00 AM
Hi All,
I have a school project and I need to load 5 images created in a XML file.
Here's my XML file:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Album>
<photos>
<pic>image1.jpg</pic>
</photos>
<photos>
<pic>image2.jpg</pic>
</pho... more >>
setInterval
Posted by TruLine at 11/14/2005 12:00:00 AM
I am trying to place MCs on the stage every 300ms. When I use the setInterval
function sending it a 300 as a second argument, it just sets all the mcs at
once. How do I get this to work properly. When called, it does not set three
mcs every 300ms...it sets all three at once...
if (mcx.t... more >>
Using attachMovie in AS 2.0
Posted by chrscote at 11/14/2005 12:00:00 AM
I have a Flash file in which I need to attach swf files (as icons) using an
empty movieclip. My empty movieclip has a linkage name of cabinetHolder. In
previous versions of this application, we had used ActionScript 1.0 with Flash
Player 6.0 and my code worked fine. However, when I changed ... more >>
Accessing vars set inside a function
Posted by MichaelS at 11/14/2005 12:00:00 AM
I have a 2 frame movie. On the first frame I use the loadVars method to read a
textfile (cmdata.txt) with some name/value pairs
(course=history&chapter=W&unit=1§ion=A) and put them in an array (details).
I'm able to load the props, populate the array and trace their value in the
output ... more >>
change from flash 6 to flasg 8.Can I?
Posted by pgreece at 11/14/2005 12:00:00 AM
I am making an educational project in Flash. Up to now i have used Flash
MX(Flash 6).
I have bought Flash 8 and i wonder if i can continue my project in Flash 8 and
Actionscript 2.0.
Should i change my previous code from start or Flash understands actionscript
1 and 2 at the same time?
... more >>
|