all groups > flash actionscript > january 2004 > threads for thursday january 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 31
Using Flash with .NET?
Posted by rflo at 1/22/2004 11:45:28 PM
Hi, can someone show me how I can do the same thing that I'm doing with the example below with Flash and .NET (C# or VB). It is very easy with PHP, but I'm not quite sure how i works with .NET
Flash code:
var l:LoadVars = new LoadVars();
l.onLoad = function() {
trace(this.fullname)... more >>
simple loop referencing buttons won't work!
Posted by Mikey23 at 1/22/2004 11:07:35 PM
hello all,
ok im basically just trying to set the alpha of all my buttons on the stage to 30.
my buttons are name b1,b2,b3 etc.
if i put in the code
b1._alpha = 30;
this works fine. now i just want to use a loop to go through them all, but i can't do it.
This is the code i thought woul... more >>
preloader - progress bar
Posted by domen555 at 1/22/2004 10:56:51 PM
Here is my movie:
FLA: http://freeweb.siol.net/kdoma/preloader.fla
SWF: http://freeweb.siol.net/kdoma/preloader.swf
I want to make preloader, that it checks ever frame for procent of downlaoded.
Like this: when switching from frame 24 on frame 25 it needs to check if 25% of frame is loade... more >>
looking for a smarter way to just display sequencial images
Posted by Bartman at 1/22/2004 10:39:12 PM
Hi,
Usually I'd just create a new movie clip symbol and put all my images into that, fading the 1st in, let it go for a couple seconds, fade it out, and fade the next one in and so on down the line.....
There's gotta be a better/smarter way to do this.... can anyone shed some light on this? T... more >>
Flash MX 2004 Pro DataGrid component
Posted by JCerrone at 1/22/2004 10:22:08 PM
I have chosen to make one of the fields editable and it works fine. Problem is that I cannot seem to get the new value of the field from the editCell listener. The old value is simple - event.oldValue but I get undefined whenever I try to get the new value. I've tried many ways and searched and t... more >>
help needed! im a newb
Posted by lawnchairskank at 1/22/2004 10:07:00 PM
how do i make it so that at the first frame of a animation u have to click a buton for the animation to start?
... more >>
array question help
Posted by duppdawg at 1/22/2004 9:50:17 PM
i am new to arrays and have practiced some tutorials for instance aligning information in rows and columns then categorizing them numerically, alphabetically, etc...
however, can i put multiple mcs in an array and just call the array in function. i have long code like this that could be shortened... more >>
Add .txt in flash movie....?
Posted by ReidarAxl at 1/22/2004 9:07:39 PM
Hi, i'm gonna make a lyric page, in flash... I've put a LIST from components in the movie.
And just for test, i've put in 2 song in LABLE at the list component.
And I have also added the TextArea from components in the movie.
And now I want to load from outside the movie, a TXT file where t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
button controlled movie clips, and content navigation questions
Posted by bwitt at 1/22/2004 8:57:30 PM
First off, Im more of a graphics ninja than a coding ninja, so AS probs come frequently to me.
what im tryin to do is have an invisible button that controls a movieclip, ie onRollover/with blabla /gotoandPlay X. but the problem im having is on roll out its starts from the resolution frame. if the... more >>
Array.splice is stopping the loop?
Posted by quadrant6 at 1/22/2004 8:15:21 PM
The code that follows should loop through the 'AllTopicsGroups' array checking for any item which has the 'group_id' of '21'. It should delete these items from the array.
// remove any current topic_group links from AllTopicsGroups array
for(i=0; i<allTopicsGroups.length; i++) {
if(allT... more >>
preload 25%
Posted by jamesrallen at 1/22/2004 8:01:33 PM
i would like to preload 1/4 of an swf and then start playing. This is my current code for the regular preloader.
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes;
percentDone = int((loadedBytes/totalBytes)*25);
bar.gotoAndStop(... more >>
Is it possible to do this? how?
Posted by leohans at 1/22/2004 7:51:45 PM
Im trying to do a window to show .jpg files dinamically.
How can I determine the size in pixels of the.jpg in order to do an auto-scale function?
(after I resolved that, altoFinal, anchoFinal, and the namefile for "foto4.jpg" will be recieved from caller for the function)
loadMovie("foto4.jp... more >>
Flash cookies
Posted by hoz at 1/22/2004 7:18:55 PM
Hey guys!
I'm creating a project where I want to use shared objects to remember the user's data, so next time they access the page, it appears. I believe I have the code right, but it results in Undefined. Is this b/c it won't work in testing and must be done on the actual server? Here's the code... more >>
Another "Client Curve"
Posted by joctobercanuck at 1/22/2004 5:42:42 PM
Hi All:
I asked this question yesterday and Jack was kind enough to respond quickly (BTW I couldn't get the code to work <>( :- ( !
I have an input textbox (named inp) and when a number is entered is supposed to "GOTOANDPLAY" a certain frame in the movie. Now the client wants... more >>
beginGradientFill() NOT WORKING
Posted by chrism59 at 1/22/2004 3:11:15 PM
I pass the following function a hex color "00FF00" and a MovieClip name. the clip is on the stage and visible when the function is called.
The clip changes color when the with statement is commented out and the color statements at the bottom are uncommented.
WHY can't I get the gradient to wor... more >>
addListener / onChange within component probs
Posted by weezil at 1/22/2004 2:59:30 PM
Im having a few problems capturing onChange events within a slider component.
If you put this on the root timeline, it works a treat:
_root.createTextField("myText", 10, 50, 50, 30, 20 );
myText.border = true;
myText.type = "input";
myText.onChanged = function () { trace ("Something ch... more >>
Click / Double Click
Posted by joctobercanuck at 1/22/2004 2:58:55 PM
Am I doing something wrong? Wrong coding? Wrong handler? I am rying to get the button to fire on clicking..... it WILL work on "double click"... any suggestions as to where I have gone wrong?
on (press) {
skip.onPress = function() {
gotoAndStop(269);
};
}
JB
jdb@ns.symp... more >>
Trouble telling a media component playing mp3 2 stop
Posted by 666777888 at 1/22/2004 2:32:20 PM
I am using a built in media component in FlashMX 2004, to play mp3 files. I have a few different mp3s in consistent key frames. Each has its own media player. This allows the user to click and listen to any of the files. All are in movie2.swf on _level2.
When a button is clicked to load a new .sw... more >>
Display Html variable into datagrid PLEASE HELP
Posted by Alejandro Ramos at 1/22/2004 2:02:58 PM
Hello,
I have a an array that populates the dataprovider of my datagrid.
One of the fields contains html text such us:
ProductA <br> colors <br>
I would like the datagrid to render the html instead of displaying the
code...
Is there a simple way of achieving this???
Thanks in adva... more >>
Creating Hyperlink with actionscript 2.0
Posted by ®SuicidalSanta® at 1/22/2004 1:41:29 PM
Hello, Mr. "whom ever might be reading this"
First of all, I'm a newbiee with Flash MX so don't laugh at my silly question.
I've just made my self a nice menu bar and now I wan't to move it into frontpage where I will create the rest of my site the problem is how do I make my button open a hyp... more >>
no on (rollover) AND on (relase)
Posted by Richard Atkins at 1/22/2004 1:00:12 PM
Why is it that I can't have an on (rollover) and an on (release) code
attached to the same button.
If I have either, it works, but both together the (release) code is
ignored...
on (press) doesn't work either...
on (rollOver) {
_parent.changeExample(this._name);
}
on (release... more >>
starting and stopping nested swf loaded via loadMovie?
Posted by HIT46 at 1/22/2004 12:37:50 PM
Hi everyone, got an application which does a loadMovie("flashfile.swf", targetMovieClipInstance) which all works fine. Only thing is that once the video has loaded, I cannot control it via the usual stop(), gotoAndPlay methods. Anyone any thoughts as this looked like it should be a straightforward t... more >>
Need to get variable to Javascript to swf
Posted by Aaron Reiter at 1/22/2004 12:22:21 PM
I need to get a simple variable from JavaScript into a swf. Simple enough,
right? Somehow it isn't working properly for me. Here's the JavaScript:
<script language=javascript><!--
var category='A';
//-->
</script>
and here's the Actionscript:
loadVariablesNum("javascript:var", 0);
I ... more >>
_currentframe is submovie
Posted by darignac at 1/22/2004 11:53:04 AM
Hello,
I got a problem:
My scene contains multiple frames, about 50. In every frame of my scene is a movieclip called "nav_bottom", it's the same in every frame and I want to use it for navigation through the frames. The moving throught the frames is no problem.
But there are some buttons in ... more >>
Preloader for external JPG
Posted by Night_Wind at 1/22/2004 7:18:57 AM
HEllo, anyone have idea how to make preloader in my swf movie for external JPG, usig getbytes.
If you know please could you provide me some sample of it...
tnx :)
... more >>
action script execution order
Posted by danpojack at 1/22/2004 6:46:08 AM
i got a question about execution order, please.
suppose there's a script assigned to frame 1 in scene 1 (_root timeline) as following
dots = 22;
spacing = 15;
for (i=1;i<=dots;i++) {
attachMovie("dot", "dot"+i, i);
myDot = _root["dot"+i];
myDot.dot.num = i;
myDot._x = box._x;
myDo... more >>
Sound object not playing in external swf
Posted by Mattbennett at 1/22/2004 5:03:03 AM
Hi there,
I have a sound swf that is loading into a blank movie clip in another swf. The sound works fine on it's own but not when it loads in. There's also some fade in and out code which is also working fine when the swf plays on it's own. Any ideas as to why this isn't working? Here's what I h... more >>
Draging multiple instances of multiple objects
Posted by equinox007 at 1/22/2004 4:55:27 AM
When I try this - dragging multiple instances of multiple objects onto a canvas area i have made the object instances dont stay around...
For example, i have objects TEXTBOX, COMBOBOX and LISTBOX to be dragged out on the screen (at runtime).
I first drag out TEXTBOX and place it where i want.
... more >>
Slicing a Variables String
Posted by equinox007 at 1/22/2004 3:56:22 AM
How does one perform String Slicing in FlashMX?
I only want the first character of a string that is x long.... (x is dynamic, different for every string)
... more >>
Randomising when swf appear
Posted by complexity at 1/22/2004 3:35:21 AM
Hey all,
I guess Im really asking a javascript / server side question here.
What is a good way to randomise when a swf will appear on a webpage?
... more >>
flash and 3d scripting... some help please
Posted by exorº at 1/22/2004 3:03:44 AM
ok.. to let you know, i have no idea to program 3d engines [yet]... that's why i'm here.
i have tried the flash Super Samuri tutorial and the flash 3D Classes tutorial, but i didn't gain much from it, because there wasn't much explainations. i don't have time to actually do much, so i would like ... more >>
FRACTIONS?? How can flash work them out??
Posted by Uni_student_uk at 1/22/2004 1:54:53 AM
Hey,
Im using fractions (i.e x/y) in my program and I really need a 'simple' method to work out the lowest denominator in actionscript... for example if flash generated 2/4 i need flash to know that 2/4 also equals 1/2 etc. Can anyone help me find a simle way to do this?
Cheers guys :)
... more >>
controling external swf from main swf file via buttons
Posted by toby2128 at 1/22/2004 1:17:10 AM
I will do my best here to expain what i am trying to do...
I have one main swf file which has 5 buttons that load external swf files...
in each exernal swf there is a close button.. (unload movie)
SO
in the main swf file.. for example i click on "PAGE 1" page one slides in from the s... more >>
microbians.com - navigation
Posted by Peter Fettes at 1/22/2004 1:04:56 AM
To All,
Can anybody tell me how the pop-up navigation at microbians was and can be created.
DHTML / Extensions / Flash - how?
Thank You,
Peter
Referring URLs
http://www.microbians.com
... more >>
Communicating with frame labels. What am I doing wrong?
Posted by complexity at 1/22/2004 12:13:32 AM
Hey all,
Im having some difficulty in doing some basic actionscript.
On my maintime line I have a frame label called: closeanim
Also on that timeline I have a movieclip instance name which is kart_mc, inside it I have a frame label called: closekart
All I want to do is gotoandplay the fram... more >>
|