all groups > flash actionscript > april 2006 > threads for thursday april 13
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 SessionArray for e-learning
Posted by magvdd at 4/13/2006 11:42:52 PM
:) Hi to all!
I have a big problem 'cause i am a beginner. So, my problem is:
I have a quiz with 10 questions. This elements where taken from the
menu->window->learning interactions. So, the Flash Help says that I can get
some more parameters than the simple result, for example: interaction_... more >>
Re: Nested Buttons
Posted by Damnnationx at 4/13/2006 11:36:53 PM
Takeing a guess here but i think i know what hes trying to say....
he has a button say called Dave_BUT in this button he has a text like a
label. now i could be wrong but what i think he is saying is that when he trys
to scale the buttons text from 1 point to another it goes wrong as it pas... more >>
Database Connection without scripting language
Posted by pajr at 4/13/2006 10:56:18 PM
Is it possible to connect to a database from actionscript without using a
scripting language?
I've had a hard time getting a concrete answer. I know how to connect via php,
jsp, asp, cold fusion, but can actionscript make any kind of direct connection?
Thanks.
... more >>
multicolumn text layout
Posted by John Doe at 4/13/2006 8:56:43 PM
hi:
i have a Flash movie (MX2004) receiving a string containing several
lines (carriage return separated). i need to show the text in 2 columns
i'm guessing the problem has probably been solved before and i don't
need to re-invent the wheel
thanks in advance for any ideas/suggestions
... more >>
Create new file
Posted by hamid_m at 4/13/2006 8:11:24 PM
Hi all,
is there any way to create new file and write some code in it by flash (swf) or exe flash file?
i want create a new txt file with forms filed that fill in swf or exe(flash) file
thank you... more >>
access an object of different class!
Posted by gberkman at 4/13/2006 7:51:25 PM
hi again, consider two classes : Node and Polygon. I have written something
like this :
var node_1:Node = new Node(2,4,7);
var node_2:Node = new Node(3,1,5);
//
//node_1 and node_2 is actually arrays, that is, node_1 = and node_2 =
//
var polygon_1:Polygon = new Polygon(node_1, nod... more >>
load movie into specific frame
Posted by squirrelBitMe at 4/13/2006 7:41:18 PM
I want to load a movie clip (movie_Scene 1.swf") using the loadMovieNum action
and specify it to go to and stop at frame #7 but I don't know how to do it.
Here's the start of code:
on (release) {
loadMovieNum("movie_Scene 1.swf", 1);
}
Please help! Thanks!
... more >>
Array trouble!!!
Posted by AESS1981 at 4/13/2006 7:32:10 PM
This is the actionscript in frame 1 of my movie:
this.createEmptyMovieClip("image1", 1);
image1._x = 150;
image1._y = 0;
this.createEmptyMovieClip("image2", 2);
image2._x = 300;
image2._y = 0;
this.createEmptyMovieClip("image3", 3);
image3._x = 450;
image3._y = 0;
var new... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Navigating a SWF file with inline link in text
Posted by Guy Verville at 4/13/2006 7:03:01 PM
Is it possible to navigate a SWF file with a link in a text? I want to mimick
the <a href.....> function.
Hard coding the text would make it simple since you can apply invisible hit
area. But what if the file comes from an XML source?
... more >>
Load a external jpg in BitmapData
Posted by jm at 4/13/2006 7:00:07 PM
Hello Everybody,
I search a way to load a external jpg from my server in my swf to use
it with the BitmapData-Class.
The Method loadBitmap only works with images from my internal library.
What do you think is the best way to solve this problem.
For me it seems to be a little bit stupid to loa... more >>
Class classic question
Posted by zoldol at 4/13/2006 6:40:30 PM
Hi all. Why can I get the value of respective object on onRelease event?
Here is my class:
class TestClip extends MovieClip{
private var _nClipNum:Number;
private var _sTargetPath:String;
function TestClip(nNewDepth:Number, sTPath:String){
_nClipNum = nNewDepth;
_sTarget... more >>
Load next movie in Array
Posted by AESS1981 at 4/13/2006 6:26:37 PM
3 empty movie clips load in the 1st frame of my movie:
this.createEmptyMovieClip("image1", 1);
image1._x = 150;
image1._y = 0;
this.createEmptyMovieClip("image2", 2);
image2._x = 300;
image2._y = 0;
this.createEmptyMovieClip("image3", 3);
image3._x = 450;
image3._y = 0;
v... more >>
Formatting paragraphs strategies
Posted by Guy Verville at 4/13/2006 6:07:59 PM
As i understand, padding paragraphs isn't supported in Flash. I'm not happy to
just put a full line height after each paragraph, especially because the texts
on my site will be loaded from a XML source.
You'll find on my http://www.guyverville.com/test, an example on the Ego
section. The X... more >>
countdown
Posted by jimmy_milk at 4/13/2006 6:06:50 PM
How can you have a timer that counts down from a minute and when reaches 0 it goes to frame 2?
Thanks for your time
Jason... more >>
nudge and wander...more help.
Posted by bB_ at 4/13/2006 5:42:16 PM
i posted in site design about this when its really an actionscript issue. im
hoping uze guys and girls can help me out.
i'm creating a website..and i want a small logo to randomly wander about the
screen when it is nudged by the mouse and then slow down adn come to a halt. an
example of th... more >>
Dynamic scrollbars
Posted by biiin at 4/13/2006 5:34:50 PM
Hi!
I have created a dynamic scrollbar with the code :
_root.createEmptyMovieClip("textHolderMC",1);
textHolderMC.loadVariables("boende.txt");
textHolderMC.onData = function() {
tf.text = this.boende;
sb.setScrollContent("tf");
};
But now i need an other one on the same page,... more >>
Play a series of movie clips on a timeline
Posted by jacky at 4/13/2006 5:18:32 PM
I am trying to combine thirty movies on one timeline.
I would like one movie to play and then move to the next movie play and so
on.
Each of these movies has several instances of at least two different movie
clip symbol.
Each of the Movie clips symbol has a stop in the last frame.
I... more >>
Differences between declares as Object or as MovieClip
Posted by FabioIKO at 4/13/2006 5:01:41 PM
What is the big difference between declare as an Object or as MovieClip?
I can get the same things in both cases.
What is better?
Thanks... more >>
Differences between declares as Object or as MovieClip
Posted by FabioIKO at 4/13/2006 5:01:36 PM
What is the big difference between declare as an Object or as MovieClip?
I can get the same things in both cases.
What is better?
Thanks... more >>
I NEED HELP PLEASE!!!!!
Posted by cc_sweetie_21 at 4/13/2006 4:48:10 PM
I need some one's help so badly........ I have been trying to do it on my own
but I can only seem to solve one or 2 problems.
Im making my own mp3 music interface player; it has 2 songs to be played and
has a grey rect. backgrd, a play,pause, stop, forward,backward, volume,seekbar,
and mute ... more >>
Design Suggestions, Please
Posted by Red Rojo at 4/13/2006 4:44:28 PM
I want a quiz to be part of my Flash piece. What's the best way to begin
thinking about integrating something like a Flash Quiz Template?
Would I be copy the Quiz Template into my timeline and adjust the scripting
so, for example, frame numbers in the Quiz would correspond to frame numbers ... more >>
Flash and HTML interaction
Posted by codescodescodes at 4/13/2006 3:31:33 PM
Hi everyone. I'm creating an audio player that has to interact with an HTML
page. I want to embed the audio player in the HTML page, which is relatively
simple. But I also want the user to be able to choose a song from a pull down
menu created with HTML and pass that value into the Flash au... more >>
Can't unload a movieClip
Posted by Guy Verville at 4/13/2006 3:04:45 PM
You'll find attached a stripped piece of code coming from my
http://www.guyverville.com/test.
When you press "Ego", a swf file is loaded into the empty Movie clip
"ConteneurPage". For test purpose, i've harded coded the loading in the "if"
statement.
Pressing another button should unl... more >>
Help with a password field
Posted by I have no screen name at 4/13/2006 2:52:07 PM
I have a Flash site I'm working on that has a private login area. The login is
not meant to be high security, we just want to limit access to current and
potential clients who we give a password to.
http://www.pepperbox.ca/forumdemo.html
What I need help with is the client login window. Th... more >>
Nested Buttons
Posted by nipiv at 4/13/2006 2:45:08 PM
Hi guys,
i am a fresher in actionscript... i have a problem with my flash file
i have a problem with a nested button... i have a main button But_main and
which has 2 buttons in it.
the problem i am facing is:
before telling u the problem i will give u a brief about my flash file.... ... more >>
email link from button...
Posted by TiJayOldroyd at 4/13/2006 2:38:02 PM
My WAG is the attached code, but I could be wrong...is there a proper way to do
this?
this.mailto_btn.onRelease = function() {
getURL("mailto:tijay@outcomemedical.com")
}
// or it may be
this.mailto_btn.onRelease = function() {
mailTo("tijay@outcomemedical.com... more >>
Help with my Function Please
Posted by gurthWERM at 4/13/2006 2:17:27 PM
So, I've written a function to handle assigning skins to list box scrollbars
when a button is pushed. I have two sets of skins, each named the same but with
different prefixes. I pass the prefix and the target list component instance
name, then run the assignments and redraw the target list co... more >>
Instanciate an object...
Posted by ::: robman ::: at 4/13/2006 1:48:44 PM
Hi all
Can i instanciate from actionscript an external object/classes done in C or
others languages????
Thanks
Bye
... more >>
navigating in a loadedMovie
Posted by Asesino at 4/13/2006 1:41:41 PM
I have a movie that is loaded on my main timeline into an empty movie clip.
This movie
has navigation movie clips that act like buttons. My problem is when I test
the whole thing, the navigation in my loaded movie does not work in my main
timeline
Here's my breakdown.
Main Time ---->... more >>
Instantiating classes inside classes
Posted by t_wooton at 4/13/2006 1:39:10 PM
I have a class called spaceship in which i have instanciated another class
weapon. However, when i call on a method of weapon (which at this point is just
simply trying to trace "hello"), it doenst work. The compiler obviously didn't
flag anything, but i also get "undefined" for all my weapon ... more >>
Two actions for one button
Posted by Stefan_Lesik at 4/13/2006 1:35:27 PM
Hi, I've used this script for a button that opens a menu and moves a movie
clip. Can anyone tell me whats wrong with it? Thanks
on (release) {
gotoAndStop ("step3");
}
on (release) {
yTargetMC = -224;
}
... more >>
Keypress Problem - Interactive Media Centre
Posted by bowsaw at 4/13/2006 12:36:40 PM
I am creating an interactive media centre controlled by mouse,keyboard, and IR
remote control, I have six main menu items created in flash. I have set item
one with keypress "1", item two with keypress "2" etc....The menu items can
also can be clicked by the mouse. The flash menu is embedded i... more >>
Printing with Flash Player 8
Posted by QFla at 4/13/2006 12:24:32 PM
I have been using the print() in Flash MX and it was working fine as i required
that is the image was printed int he center of the page. But, now with the
latest Flash Player 8, it is being print from the top of the page, how to get
this center with the player? Do, i need to add the latest pri... more >>
Check if what the person typed in is correct
Posted by Smidget_904 at 4/13/2006 12:14:58 PM
Hey there!:D
I am making like a quiz kind of game where you get asked a question and you
have to type in the answer. The whole answer.
So how would I make a box appear that checks if the person typed in the right
answer? I also need the code to change each question
Thanks!
--Smid... more >>
multiple onPress problem
Posted by uhater at 4/13/2006 12:06:36 PM
hello
i use a small custom button witch on press and on release broadcasts 2 events
press & release via eventDispatcher ..
problems begin to appear when user clicks many times on the button
for example when i click 10 , 15 or 20 times (it's random ) flash stops
executing functions put in... more >>
Chain animation
Posted by Sukider at 4/13/2006 11:42:02 AM
I have 5 movie clips on my scene 1.I want when the animation of my first movie clip ends second movie clip will start animating and so on with other movie clips.thx... more >>
I need a suggestion for my final thesis
Posted by The 350Z at 4/13/2006 4:43:54 AM
I need your suggestion really bad.
The project is about building a network entertainment system. A user will need
to build a system by dragging and dropping items on the list to a floor map
that is done in isometric view. After that they need to connect each items to
make the system work.
... more >>
Flash 8 POST GET adds font information
Posted by pgwipeout at 4/13/2006 4:04:41 AM
A new glitch i have encountered in flash 8 that didnt happen in flash mx, when
using LoadVariables with POST or GET it appends the font information to the
POST, causing my php script to malfunction: TFORMAT LEADING=\"2\"><P
ALIGN=\"CENTER\"><FONT FACE=\"CasablancaAntique_16pt_st\" SIZE=\"16\" ... more >>
Preloading multiple files initially.
Posted by DadrianKaelan at 4/13/2006 3:57:45 AM
I've taken the advice of many people and seperated many of my elements for a
web site out into separate swf files in order to reduce overall file size.
However by doing this I've ran myself into a big problem -- and since I don't
typically worry about preloading tactics until the end of my pro... more >>
sync multiple sound clips
Posted by markaltman at 4/13/2006 3:35:34 AM
I frequently use sound clips in my flash programs. Flash allows programmers to
play more than one sound clip at a time, and I've been able to use that
functionality to create some interesting programs (I created one program that
allows the user to manipulate the volume of different nature soun... more >>
getURL POST and posting associative arrays
Posted by abeall at 4/13/2006 1:01:05 AM
I am attempting to send some rather complex POST data via getURL. Here's a
chunk of the data:
mc.one = "blah"
mc.two = "boo"
mc.three = new Array()
mc.three = "one"
mc.three = "two"
mc.three = "three"
mc.getURL("foo","_blank","POST");
The problem is the developers' .aspx pag... more >>
using variables in varable names
Posted by Uncy Herb at 4/13/2006 12:30:51 AM
Hi all,
I want to know if it is possible to use a variable (such as i - being a
counter with values 1..3) that will be 'seen' by actionscript as its value when
used in another variable's name.
So I want to be able to call Pic1_mc, Pic2_mc, Pic3_mc by using i instead of
1,2,3... so so... more >>
Controlling WMV Video Files?
Posted by BSquared18 at 4/13/2006 12:20:43 AM
I have access to Flash MX 2004 Professional and might be described as an
"advanced beginner' in the use of ActionScript.
I will be supplying a client with a dvd disc containing several .wmv
video/audio files, so this is not an internet streaming application. One simple
approach is to just ... more >>
Use of Scrollbar for movieclips
Posted by Saymaad Mansoor at 4/13/2006 12:00:00 AM
I have created a script that duplicates movieclip in an other movieclip with
instance "mainmovie_mc" the problem is just that mostly the clip becomes bigger
then the stage can some please give me a script or tell me how to create one
that checks the movieclip after every duplication and if the... more >>
choice of 10 random tint colours
Posted by krustafarian at 4/13/2006 12:00:00 AM
can anyone show me how to do this..
i've got a square graphic which exists on a few frames of my movie, called it
'box'.
everytime i go to one of these frames i want the square to be a different
colour.
i only want it to be a choice of 10 set colours, and choose one at random.
thanks... more >>
mysql / flash
Posted by lepermike2 at 4/13/2006 12:00:00 AM
hi;
I've tried to make a flash webshop with an mysql database, it all works fine
and the data gets into flash with the help of a php page! the only problem is
that flash don't show the image I call? Someone told me to use a Variable but
still it don't work? what do I wrong? thx
System.... more >>
stop
Posted by Sukider at 4/13/2006 12:00:00 AM
I want to stop my movieclip for a period of time and then continue animating.Is there any actionscript or I need to add more keyframes?... more >>
Control sound in timeline
Posted by arp at 4/13/2006 12:00:00 AM
Hy,
I've some mc called, one a time, with attachMovie named mcTarget, each of
this has one speaker track sincronized with the animation on the stage. For
this reason sound is put directly in timeline in stream mode
(proprieties>>Sincr: stream). But now I cant control the volume of these
sou... more >>
How do you disable "PrtScreen" ?
Posted by lustAufDesigns at 4/13/2006 12:00:00 AM
Hi...if you just look at your keyboard, you'll notice that there is a keypad
with "PrtScreen" or "PrintScreen. Now, I need to disable this keypad, so the
user can't copy the whole screen when they open my .swf files...
If you have done so before, or if you know how to do it...please help
m... more >>
I can't apply my textFormat
Posted by Kevin Favro at 4/13/2006 12:00:00 AM
Hello, this should be pretty straight forward. I have a master .swf that sets
up a preloader, then tells a specified .swf to play on _level50. when
bytesLoaded = totalBytes, _level50 is set to _visible = false. within the
preloader.swf, I set up a TextFormat class, and then applied it to a ... more >>
Need help to load a FLV
Posted by CONCRETO_com at 4/13/2006 12:00:00 AM
Hi friends:!!!
the problem: I have a FLV within a swf file (name it "video.swf") . This
"video.swf" must be loaded in another swf (for this example: "media.swf").
"media.swf" works like a container for various swf files (includes
"video.swf"). But, "media.swf" must be loaded in other swf tha... more >>
Re: mysql / flash
Posted by lepermike2 at 4/13/2006 12:00:00 AM
he still don't show it?... more >>
Playing Sounds From An Array
Posted by oldwease at 4/13/2006 12:00:00 AM
Some other posts make reference to playing a series of sounds (MP3 files) from
an array. Can anyone provide sample code for this , i.e., stepping through the
array and automatically playing the MP3's in sequence?
I have tried using a "for" loop, with each sound event designed to be
trigge... more >>
Re: mysql / flash
Posted by LuigiL at 4/13/2006 12:00:00 AM
If I bypass the LoadVars and just test with the attached code, it works just fine.
myArray=[];
myArray[1]="<img src='01.jpg'>";
var image:String = myArray[1]... more >>
text Autosize problem
Posted by Burak Delice at 4/13/2006 12:00:00 AM
hi,
i want to assing a text to Dynamic text object but it didnt fit it as
Vertical.
i used below code when button pressed
ActionScript Flash:
theTip.autoSize="left";
theTip.text="wswswsw swww w w \n\r sfwef sef es";
a little Sample FLA:
www.delizade.com/AutoSizePro... more >>
Is Any Body Knows?????
Posted by Workin Flex at 4/13/2006 12:00:00 AM
It's my code written in AS2.0 about use the custom RectBorder class to write a
new Button Component......
import mx.core.ext.UIObjectExtensions;
public static function
classConstruct():Boolean {
UIObjectExtensions.Extensions();
... more >>
|