all groups > flash actionscript > june 2005 > threads for wednesday june 22
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
flash mx 2004 pro actionscript problem
Posted by 3tBSI at 6/22/2005 10:59:23 PM
:D:confused;
i just got flash mx 2004 pro,so when i put an action on a button,when everi
test the movie,therea an error,for example,if i dod the action:nextFrame();
when i test my movie,an error will say"Statement must appear within on
handler
nextFrame();"
so can somebody ... more >>
Dragging within a movieClip
Posted by johnvsc at 6/22/2005 10:17:41 PM
hey everyone
can i constrain a draggable movieclip to only the area of a movieclip, not
just it's bounding box... eg, if i had a game where i wanted the user to drag
an object along a winding path of say 2/3 pixels in width, how would i do that?
I would think that i can use the path for a ... more >>
Centering External JPG in Movie Clip
Posted by WebIslands at 6/22/2005 9:38:52 PM
Hello All,
I have created an SWF, and place a MC on it. I then loaded an External JPG
into the movie clip. The JPG Loads fine, except the center of the JPG loads to
the bottom right corner of the MC. I know this because I move the center of the
MC to the Top Right corner and it looked grea... more >>
SCORM/AICC question
Posted by isd123 at 6/22/2005 9:02:00 PM
Hi,
I've used Flash's quiz templates and would like to hook them up to an LMS. I
exported using the "flash with AICC/SCORM" tracking options and integrated this
with the html files found in the "learning extensions" folder. Okay, so now the
LMS expects either the imsmanifest.xml (scorm) o... more >>
Can this be done in Flash?
Posted by Fechan at 6/22/2005 8:28:31 PM
HI everyone!
We're working on a project that has over 100 exercice (3 to 5 questions and
answer fields per exercice) that have to be recorded in some kind of DB(or
XML?) on the user's computer (our client doesn't want the user to have to
connect to the net).
First of all, is this possible... more >>
loosing scroll code linx in external swf
Posted by miker17 at 6/22/2005 8:16:33 PM
Hi,
A scrolling mc works fine on it's own. However, the links are broken when
loaded from another swf. Please look at this code. I've tried relative and
absoute linx.
Will be a big help. Thanks!!!
Scroll function in external swf::
y = getProperty("_root.scroll.content", _y);
if... more >>
Load Images in a MovieClip....
Posted by harris2001 at 6/22/2005 7:32:28 PM
Hi, I am trying to load a image in _root.pano.pano1 and then duplicate it but no matter what method i use it doesnt work, please Help!, thank you... more >>
Adding additional selection values to an array
Posted by designbymichael at 6/22/2005 7:05:48 PM
I've got two UI list components: moduleSelectBox and selectedModulesBox. The
first list component (moduleSelectBox) is populated by an XML file and the
second list component (selectedModulesBox) is populated with the selected items
in moduleSelectBox using a button and an on (release) event.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Let a MC play to the end
Posted by owanomono at 6/22/2005 12:46:13 PM
Hi!
This is real easy (not for me, though): I have a button on frame 2 in the
scene, that when clicked starts a mc on frame 2 to play. MC is named "waver":
on (press) {
waver.gotoAndPlay(2);
}
However, everytime someone clicks the button, the mc starts playing all over
again. Ho... more >>
applying tint programmaticaly
Posted by mason phoenix at 6/22/2005 12:21:05 PM
Hi,cand someone tell me how can i change or apply tint to a button or movie clip in actionscript?
Thanks you very much.
Cheers... more >>
Combo Box Help
Posted by DEI#8 at 6/22/2005 11:57:42 AM
:confused;
I am attempting to use the combo box in slide show format and need to be able
to select from the box and go to that slide. Does anyone have a code for this?
DESPERATELY NEEDING HELP, not just in this but I guess brain surgery too.
... more >>
Save file to HD (XML)
Posted by Andreas Buchner at 6/22/2005 10:59:15 AM
Hi!
Is there any solution to save XML data to the PCs harddisk? My problem: I
want to create a Flash standalone app and the results should be saved to
harddisk for later access and access from other software. Is there any
solution to handle this?
Regards,
Andi... more >>
Passing Parameter
Posted by OOC at 6/22/2005 10:51:02 AM
hihi...
how can i obtain the (x, y) values from an object location in the flash and
then from this value, i will get the value references in the database and parse
the value back to the flash and show the background picture of the location.
???
ooc
... more >>
Counter HELP PLEASE :)
Posted by Vinzzzzzzz at 6/22/2005 9:47:35 AM
Hi guys,
firstly, this is my first post and i'm a total newbie in flash..pardon me :)
ok here goes...
i wanna create a fast forward and a rewind button for flash..
when i click on the fast forward button it goes to the next .swf file i wanna
load..
for example my movie started at 1.swf... more >>
dynamically loaded image won't show
Posted by ivanpio at 6/22/2005 9:02:38 AM
Hi, I tried to dynamically load an image in a MC (first time it works), and
then I need to swap the image in the MC. I tried to unloadMovieClip,
removeMovieClip and reload the MC with the new image.
The absurd thing that happens is that the image will show only if I manually
resize the bro... more >>
making dynamic text look like static, at runtime
Posted by mason phoenix at 6/22/2005 8:59:27 AM
Hi, i've noticed that at runtime dynamic text look different then static text, static text looks better, but i still need to have dynamic text, is there a way to make dynamic text look like static?... more >>
how do determine when my movie has loaded
Posted by yertari at 6/22/2005 7:55:12 AM
Hi,
Using the below command
loadMovie("ar_ad.swf", "arena_loader");
what would be the commands i would use to determine when it had finished
loading?
I have read through various tut's and in my books, but i cant seem to grasp
what i need to use
Any help would be cool,
Thanks
... more >>
Adding AI to Games
Posted by andrew329 at 6/22/2005 1:20:28 AM
I know I have been jumping around a bit in my questions in the forums here, but
I was wondering how you could add artificial inteligence to a game so that the
computer skillfully selects buttons based on previous players' selections.
Artificial inteligence in actionscript is very complicated, ... more >>
Dynamically Loading .jpg 's
Posted by jujumbura at 6/22/2005 12:14:33 AM
Hello,
I am posting because I am quite confused about how to approach a feature I'd
like to implement on a flash app. My app needs to be able to load in images at
runtime, in jpg format. Furthermore, these pictures need to be scaled down to,
or up to, a static size.
As I understand... more >>
Help with creating Flash Painting/Drawing package.
Posted by sccs at 6/22/2005 12:00:00 AM
I have been asked ti create a some kind of paint /drawing package for the web
using Flash. I need the user to be able to pick a colour and brush size and be
able to paint on to a picture.
I have been using Flash for a while but never done anything like this. Any
help, advice or links would ... more >>
Loading Movies
Posted by daveGlasgow at 6/22/2005 12:00:00 AM
Loading movies
--------------------------------------------------------------------------------
Hi
I have created a flash movie with a movieclip (content_mc) with a number of
empty moviclips sitting along its timeline (red_mc, green_mc etc)
I am trying to randomaly load images and ... more >>
how do you run a script automatically?
Posted by macron at 6/22/2005 12:00:00 AM
(apologies - i posted this in flash general discussion also, when i think it
probably belonged in actionscript instead).
i have an index.fla file, which has several buttons with scripts attached (for
loading 'home', 'contact info', etc), as in
function loadSWFhome(){
loadMovieNum("prel... more >>
using "go to and stop"
Posted by Battletards at 6/22/2005 12:00:00 AM
Hey, quick question.
There's a MC called player on both frames 1 and 2. (1 is where the following
script is. this script is in the MC player on frame 1)
Okay, when I say
_root.gotoAndStop(2);
It works just fine, but it doesn't then change the location of the MC player ... more >>
m.onPress=f; - passing parameters to f ?
Posted by aa at 6/22/2005 12:00:00 AM
If calling a function on an event precludes the usege of ():
m.onPress=f;
how shall I pass parameters to f ?
... more >>
Actionscript and xml
Posted by Human Bean at 6/22/2005 12:00:00 AM
Hi, I need to understand how to create an image loader from an xml file using
Actionscipt.
I've already used other methods in the past, but apparently this one is better
and easier.
I need something like this (in the site, click on "Descripci?n"; an image
navigator will load on the right... more >>
load external movie
Posted by sazarelli at 6/22/2005 12:00:00 AM
Hello
I have a flash movie with an empty movie clip and have given it an instance
name. In the same movie and scene i want to be able to click a button and then
load an external movie clip.
I have spent the whole day reading through various code snippets and forums
and have tried many ... more >>
Class Member Scope Problem
Posted by JoeBazz at 6/22/2005 12:00:00 AM
A thing that I find difficult to grasp is to handle this kind of situation:
ActionScript:
class a extends UIComponent {
(...)
private function createThumb() {
(...)
//if I call this function recursively here, it works:
createThumb();
with(some_mc) {
(...)
pbar_e... more >>
this.createTextField
Posted by Aybra at 6/22/2005 12:00:00 AM
Hello all,
I'm trying to pass this:
this.createTextField("random", 20, 96, 240, 275, 442);
through PHP, i've got it to work with normal flash, but what i'm trying to do
is, depending on what is sent to my DB have it kick back a text box with about
3-4 lines in it..
Unfortunatly ... more >>
Button Component RollOver
Posted by maulia at 6/22/2005 12:00:00 AM
I can't seem to detect rollOver of the Flash Button component. (it's fine if I
make my own button).
I've tried using eventListener("itemRollOver") -- works with List, ComboBox,
but not Button.
I've also tried focusIn - doesn't work well
I've tried .onRollOver() -- only works for custom b... more >>
shared fonts with createTextField() is possible?
Posted by Gustavo Thiesen at 6/22/2005 12:00:00 AM
hi!
im trying to do a code that uses embed fonts from a shared library.
how can o do that?
im using a fonts.swf file that works perfectly if i place a text inside the
stage in other movie.
my problem is how to make this text using the "createTextField()" via
actionscript, without put in th... more >>
pushing a button from actionscript
Posted by cjm01 at 6/22/2005 12:00:00 AM
Hi all,
I'm trying to generate a button press event from code; the goal is to invoke
the button press method by means of a single key press on the keyboard.
It's important that the down state is held until the key is released. The goal
is to try and make a flash piano that can be played ... more >>
Problem with form variables and 'if' statement
Posted by Clare73 at 6/22/2005 12:00:00 AM
I mentioned in an previous post about setting up a form in Flash MX where a
user can fill in the form and the results will be shown both as text and also
shown as a graph. So far I've managed to put together this:
The radio buttons that will be filled in:
function radioDisplay (component... more >>
flash video !!!! how?
Posted by aquarian911 at 6/22/2005 12:00:00 AM
hi
i recently bought a web cam and am trying to make a flash coomponent to make
it run,
i included new video object from the library and not sure what the next step
is,
if anybody can help me.
Please
... more >>
Flash Action Script 2
Posted by tvsrinivaskumar at 6/22/2005 12:00:00 AM
Hi
I want to learn Latest version of Flash Action Script 2. Can anyone give me the link where I can learn the stuff online in Macromedia Website.
Thanks In Advance... more >>
setInterval in loop
Posted by hatsi59 at 6/22/2005 12:00:00 AM
Hi All,
I have some code that stops my movie clips:-
clips =[this.mainMenu_mc.module1_mc,
this.mainMenu_mc.module2_mc,this.mainMenu_mc.express_mc,
this.mainMenu_mc.module3_mc,this.mainMenu_mc.module4_mc,this.mainMenu_mc.module5
_mc,this.mainMenu_mc.module6_mc,this.mainMenu_mc.quiz_mc,this.m... more >>
|