all groups > flash actionscript > september 2004 > threads for monday september 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
Flash MX DataGrid Custom Sorting
Posted by Antoshka at 9/13/2004 11:53:25 PM
I'm trying to create datagrid, from XML and then number each record.
But I also need to sort that Datagrid.
E.g. I have:
| ID| FRUIT | COLOR |
=====================================
| 1 | Apple | Green,Red,Yellow |
| 2 | Pear | Green,Yellow |
| 3 | Strawbe... more >>
FLASH BUTTON EVENT QUERY
Posted by Jimmy Mc at 9/13/2004 11:50:51 PM
am making a website in flash..
i have an instance of a button called
prices_btn
when the user clicks the button, i want another flash file to load up (i.e
another swf file..in another window)
anyone know the ActionScript for this...
assuming both flash movies are in the s... more >>
Wy does my textField backgroundcolor don't work?
Posted by Sir Zaire at 9/13/2004 10:33:13 PM
Hello !!
i?m trying to assign a backgroundcolor to a dynamic created textfield, but it
doesn' t work...
Can you please help me?
the code i'm using is :
tit = new TextFormat();
tit.embedFonts = true;
tit.font = "RussellSquare";
tit.size = "14";
tit.underline = false;
tit.lef... more >>
loaded image _width & _height reports 0
Posted by Whittaker007 at 9/13/2004 10:32:24 PM
Hi there,
I am loading images into my movie by creating an empty movie clip and creating
another empty clip inside that which gets replaced with the loaded image like
so:
var image = this.createEmptyMovieClip("image", 1);
var temp = image.createEmptyMovieClip("temp", 1);
temp.loadMov... more >>
frame rate
Posted by alicethomas78 at 9/13/2004 10:26:45 PM
I created a short animation whose frame rate is 12 f/s. This animation is
external flash file which is supposed to load into the main flash file.
The frame rate of main file is 20 frame /sec and my animations are 12
frames / sec. Since the animations live inside the main, the main
is ove... more >>
Need help with simple gotoAndPlay
Posted by holowugz at 9/13/2004 10:11:54 PM
ok in my little thing i have 2 scenes and i need them kept seperate but when i
used this script:
on(Press){
gotoAndPlay("Scene 1", 5);
}
it not only played all of scene one from frame 5 (what i wanted) it then
played all of scene 2 as well how the hell do i make it so it only play... more >>
buttons not behaving
Posted by jamie.heaney at 9/13/2004 9:04:23 PM
At http://www.portsmouth1009.com/helpfla.html you'll find the .fla for this.
The code seems to be exactly the same. Can anyone offer an explanation as to
why the inquire button does not behave the same? ty.
... more >>
Simple Duplicate MovieClip issues
Posted by steveJo at 9/13/2004 8:49:58 PM
This is a simple box displaying gallery numbers for image galleries.
Here is what I'm trying to accomplish:
I have a square button/rectangle that by default says 'Gallery 1'. The 1 is a
dynamic text field with
var ID as gallery_text.
I used to have two arrows that the user could jus... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
hopefully simple preloader question
Posted by brian_z at 9/13/2004 8:49:25 PM
How could I make this preloader script play my movie when it is %50 compeleted
loading?
total = int(_root.getBytesTotal());
download = int(_root.getBytesLoaded());
if (total == download) {
_root.gotoAndPlay("welcomeScene");
} else {
play();
}
... more >>
problem using removeAll() and cellRenderer
Posted by darrendb at 9/13/2004 8:15:33 PM
I've created a custom cellRenderer for a list component. so far, so good.
But if I try to call the removeAll() list method, I get mixed results.
From the main timeline-frame actions I can call myList.removeAll() and it
works correctly.
But if I call myList.removeAll() from within a listenerO... more >>
AS - loading swf onto stage, displays incorrectly
Posted by andrewa at 9/13/2004 8:11:44 PM
I have the unfortunate task of working on another programmers code and can't
figure out why it doesn't work. The project is for a CDROM. It has one main
page of FLASH with several frames. Each frame calls an XML file for the text
and loads an external SWF (sometimes two SWF files depending on... more >>
Problem with load ID3 tag in mp3
Posted by HUAUCKE at 9/13/2004 8:07:23 PM
Hola, I did a movie to load from a .txt them mp3 by means of Asfunction
Then a function assembles "cargar_mp3" that loads them mp3, he executes the
action Setproperty and it can read the tags of mp3.
The topic is that I do not achieve last this to do it in the servant. I do
not achieve that me... more >>
Stop loop on frames 1-8 only
Posted by leslie herrera at 9/13/2004 7:47:55 PM
I would like to know how I can stop the loop on frames 1-8 only. Would like the loop to continue on the other frames. Thanks!... more >>
Creating multiple textfields runtime
Posted by rushpatel at 9/13/2004 7:47:19 PM
I am loading data from external text file. I want to generate textfields as per
the number of rows in the text file.
For example:
sample.txt has 15 records.
While reading sample.txt it should generate 15 textfields dynamically at
runtime.
I also need to generate 15 buttons at runtime ... more >>
xml connector on cd-rom?
Posted by timsilva at 9/13/2004 7:42:54 PM
Hello all,
I am tryhing to use the xml connector to import an xml dataset into a flash
piece for a cd-rom since I can't really use flash remoting on the CD-ROM
application. But, I've read that the XML Connector is a web service so requires
an Internet Connection. Is there a way to do this ... more >>
script masking pegging cpu
Posted by Dancinkid6 at 9/13/2004 6:51:52 PM
i created the following script to dynamically mask some movieclip.
the movie is not big, about 600x100. eveything works good, except as the time
going on when the mask area increases, the cpu time goes up to 80%-90% then
drop down after the animation is over. is this normal? anyone has any
e... more >>
back button help to scene and frame
Posted by shush at 9/13/2004 6:51:46 PM
Hi Iam creating a website in Flash, I have a back button in a movie clip and
when pressed I want it to go back to scene1 and a certain frame on the main
timeline leve how do i go about doin this please, i cant seem to make it
happen. Also I have a few movie clips that i want played at a certai... more >>
reloading XML for new page
Posted by SkinDC at 9/13/2004 6:19:47 PM
Hi, am putting together image gallery using xml and am try to apply a newPage
function to it. I am using the following code at present thinking it would
reload the XML data starting at the image which relates to the variable "i".
But it doesn't seem to work! Anyone help!!!!
newPage = funct... more >>
Set a SO to the value of _currentframe
Posted by blackvegas at 9/13/2004 5:56:23 PM
How would you go about setting a sharedobject variable to the value of the
current frame number
I've tried
myBookmark_so.data = "_currentFrame";
myBookmark_so.flush();
trace(""+myBookmark_so+"");
Obviously I'm doing something wrong. Any help would be appreciated.
Thanks
... more >>
Next and Previous Frame
Posted by w00fdog at 9/13/2004 5:35:11 PM
I would like to create forward and backward navigation buttons in my Flash
movies that would jump, say, 20 frames at a time. The Action Script code to go
the next frame is nextFrame(); and for the previous frame it is prevFrame() and
both these commands move one frame at a time;. Going backwar... more >>
Flash Playback Controls
Posted by w00fdog at 9/13/2004 5:24:17 PM
The playback control buttons I have added to my Flash movie are limited in that
the ActionScript attached to them can only:
? play the movie
? stop the movie
? go to a specific frame in the movie
? go to the previous frame
? go to the next frame.
I would like to add a slider playback ... more >>
button validation
Posted by Muhly at 9/13/2004 4:57:57 PM
I have built a word search puzzle for a learning object. Each word in the
search is a button. The student clicks on the word (button), and a movie clip
plays circling the word. What I want to know is if there is a way to
"validate" each button has been pressed, then play a movie clip to say... more >>
exe from exe
Posted by Dhanamurugan at 9/13/2004 4:57:33 PM
hi i want to open an exe file from another exe. is it posible? if yes could you pls explain me how to do?... more >>
Flash MX DataGrid Sorting
Posted by anton NO[at]SPAM vodius.com at 9/13/2004 4:45:56 PM
I'm trying to create datagrid, from XML and then number each record.
But I also need to sort that Datagrid.
E.g. I have:
| ID| FRUIT | COLOR |
=====================================
| 1 | Apple | Green,Red,Yellow |
| 2 | Pear | Green,Yellow |
| 3 | Strawberry | R... more >>
how many code lines support an as file????
Posted by cabp ms at 9/13/2004 4:37:24 PM
Hi every body, i have a simple question about as files:
I'm using some as files in my application, I tried to load them dynamically
but -as you know- it's impossible, i did it with a switch statement, inside
each case i put the code that previously were in the as file, now in my as
file i ha... more >>
Pop-Up Windows Trouble
Posted by normsbait at 9/13/2004 4:33:54 PM
I am having some problems with Pop-Up Windows. I have a gallery built in flash
and I am trying to get the larger image to load into it's own pop-up window. I
built the larger images in Dreamweaver MX 2004, and I currently have them
linked, but when you open the larger image it opens in a new... more >>
Coding problem. But don't know why.
Posted by Keffcop at 9/13/2004 4:05:51 PM
Hi. I have created a test movie that slides a mask across the screen when a
button is pressed, covering the old content, and then slides back again,
revealing the new content. It works fine in my sample movie. But when I tried
to copy the effect into my actual site it doesn't work after adjust... more >>
sound objects
Posted by BlairM at 9/13/2004 3:27:10 PM
Hello.
Sorry about the bad title, but I wasn't sure how to sum up my problem in a
short phrase.
I've got a small Flash movie that has 8 sound objects. All the audio clips are
located in separate movieclips on the main timeline. Two of the of the tracks
play continuously, while the othe... more >>
XML, Duplicating MCs, Crashing projector
Posted by LargeNose at 9/13/2004 3:15:19 PM
Hello all,
I've just spent the last 5 or so weeks making an application in Flash for a
big client of ours. I've reached the final stages of testing and buffing and
have come across what is perhaps the most irritating bug of my 5 yr
Flash/Director development career. My patience is growing ... more >>
Pre load swfs and playing later
Posted by gatesey at 9/13/2004 3:07:50 PM
Hi
I have created a movie into which I want to preload another movie. I have used
the following action script to pre load the second movie into an instance of a
movie clip instance name: thisone (I have done this so that the new movie
appears within the movie in a certain place not the top... more >>
loading images
Posted by mar_design2 at 9/13/2004 2:43:00 PM
Check out my website;
www.daroffdesign.com and click on "take a sneak peek"
that's the website I am currently working on but takes forever to load. All
the images are located in the library and set so when you click on the
thumbnails it goes to the frame where the larger image is located. I... more >>
add string to local_SO in flash 7?
Posted by - = v i p e r = - at 9/13/2004 2:25:26 PM
In flash ?6 you could add a string to a local_SO by:
btn1.onRelease = function() {
local_SO.data.name+ = in_txt.text;
};
but in flash 7 I get: undefined
Why?
Thanks
/Andy... more >>
How to...
Posted by _Icarus_ at 9/13/2004 2:14:19 PM
Hi Guys
I have a bit of a dilema where I'm not even sure to begin and I'm hoping
someone can point me in the right direction.
Here is what I need to do:
http://www.bconnex.net/~davel/AVR/avr.htm
The problem is I need to adjust the the RPM slider value and change the field
vol... more >>
Error In Actionscript
Posted by chocopoohbear23 at 9/13/2004 2:08:14 PM
I really need help please. I want to create a fly in animated menu, so I found
some tutroials on how to do it. I follwed all the instructions and then when I
wanted to test the animation I got an error and it didn't work. How do I
resolve this please help.
Error:
**Error** Symbol=Gui... more >>
HELP interaction with coldfusion.
Posted by chrism59 at 9/13/2004 1:47:57 PM
I am using a frameset (Top, Bottom) and java to trigger a browse file function.
The user click on a button, in flash, and browses for an image to upload. The
selected imige file name and location are returned to flash. (THIS WORKS)
I then create a loadvars with the serverlocation to store th... more >>
Positioning something below the lowest line of a dynamic text field?
Posted by Ken Fine at 9/13/2004 1:42:29 PM
I have a dynamic text field that I've created in the authoring environment.
It's empty, but has a variable name assigned to it, and I use that var to
load content dynamically into this field at runtime.
The field takes caption info, which is sometimes quite long, sometimes quite
short.
Cu... more >>
passing HTML tags via XML, how to?
Posted by Ken Fine at 9/13/2004 1:39:05 PM
I have a Flash movie that reads photo, headline, and caption information in
from an external XML file and loads it into a dynamic text area.
In Flash 7, text areas can now take minimal HTML formatting (<b>, <a href=,
etc.)
I'd like to be able to pass these HTML files via my XML. However, I'... more >>
Fla file for this script?
Posted by Amoresweden at 9/13/2004 1:33:20 PM
// flash 7, total frames: 1, frame rate: 30 fps, 972x575 px, compressed
frame 1 {
itl = this;
itl.differ = 20;
itl.maxi = 1.5;
itl.mini = 0;
TextField.prototype.tween = function (prop, propDest, timeSeconds,
animType, delay, callback, extra1, extra2) {
... more >>
Dynamic Referencing
Posted by Mr.ACME at 9/13/2004 1:28:26 PM
Hi,
i'm really sorry about asking something easy like that, but i try to solve the
problem for hours now and begin to think, i'm just too stupid.
So:
On my _root Timeline there is a movieclip called GSPORTFOLIO. In that clip i
define the variable
_global.activeMovieClip= GSPORTFO... more >>
Random Balls
Posted by evilpixel at 9/13/2004 1:07:10 PM
Hi, I am trying to create a movie where I have a pulsating circle in the middle
of my movie, and random balls come out of the circle and shoot across the sceen
at random time and go in all different directions. I have 4 balls called
mcBall1 mcBall2 etc. Does anyone have any idea how I can do s... more >>
Flash and formmail.pl (an specific situation)
Posted by Manare at 9/13/2004 1:01:55 PM
Hi everybody.
I've been using formmail and Flash to create Forms for a long while.
However, I've stepped into a problem which I would like you to give me some
opinion/advice.
I won't include code of formmail or host configuration because I already
tested it with a plain HTML example form a... more >>
changing of cursor
Posted by e_jogendra at 9/13/2004 11:57:30 AM
Is it possible to change the cursor for a botton.
In explanation on button the cursor generally convert to "hand". Could i change it to "arrow" without using any image.
Thanks
JNS... more >>
make a mc visible after pressing four buttons
Posted by kleline at 9/13/2004 10:56:51 AM
i want to make visible a mc, only after a serie of four button are pressed?
any idea?
thanks... more >>
Resizing SWF
Posted by amirbilal at 9/13/2004 10:47:12 AM
Well,
I have to make an swf file which will dynamically load an image, the size fo
the swf file needs to be same as of the image being loaded.
I have the image name, height, width in actionscript. Now I want that the size
of the swf movie to be changed to the above height and width. Is ... more >>
Drag Handles
Posted by pauland at 9/13/2004 10:36:57 AM
I'd like to implement some drag handles in my interface. For example, I might
present a photograph. In edit mode, one click on the photgraph would show the
outline plus drag handles. Dragging the handles would resize the photograph.
Currently my approach would be to show a thick border aroun... more >>
Populate list component with data from local_SO
Posted by - = v i p e r = - at 9/13/2004 10:23:45 AM
Can anyone tell me how to get the data from a local_so into a list component?
Thanks
/Andy... more >>
Creating XML from Flash
Posted by Arul Prasad at 9/13/2004 8:10:35 AM
Hi all,
I have a requirement, where I need to create a XML document, from Flash.. This
XML has a node, which will carry some html. I want to add this text to a CDATA
section, in the node. Can anyone help in letting me know how to create a CDATA
node, using the XML object. I see that the ... more >>
how to get the current time in Flash
Posted by cherryyeung at 9/13/2004 7:47:11 AM
I want to change the background during different time, so I want to know how to get current time in Flash actionscript. Any body can help me?... more >>
how to get child mc name
Posted by bestjamie at 9/13/2004 6:55:58 AM
there is a mc name testa.
testa.attachmovie ->testb.
now testb._parent =testa
but testa._?=testb ?
I have tried testa._child or testa._content but not realize.
My objective is get testb._name.
thanks very much!!!
... more >>
passing parameters..???
Posted by tan_sh at 9/13/2004 6:22:22 AM
Check out this code:
on (release) {
getURL("javascript:openNewWindow(My.swf',New
window,'height=600,width=800,toolbar=no,scrollbars
=yes,resizable=yes,fullscreen=no') ");
}
everything here is fine. It opens finely.
But...
i want to pass parameters where if i click a button in... more >>
Dragging control could be other than center point
Posted by e_jogendra at 9/13/2004 5:43:42 AM
Hi every body!
This is very common experience and expect most of us face this kind of
situation.
Suppose i am developing a scroll bar and when i drag the handler, the handler
should drag from the mouse point not from the center point of the movie clip,
Just like scroll bar available in... more >>
Preloader Problem
Posted by newbie_penkar at 9/13/2004 5:22:30 AM
Hi guys,
I really need your help. I am a beginner in actionscript.....no experience at
all in it. I have these flash files on to the internet on my company's
website.... but the preloader for these files just does not start immediately.
The movie just loads entirely and then the preloader... more >>
Loading Images into Flash Library dynamically
Posted by AnuSatish at 9/13/2004 5:16:56 AM
Hi ,
I have got an ASP file, which is used for uploading images , create a folder
and save the uploaded images in it. Also, the file would make a copy of a Flash
file (SWF) and store it in the same folder. As of now, my SWF file uses
loadMovie command to load the images from the current di... more >>
strange input text problem, please help
Posted by metalyric at 9/13/2004 4:32:59 AM
hi all,
i already posted this message to a few other forums, but nobody could suggest
any solution. if you have any ideas, you will be greatly appreciated.
i have a chat-like swf. here is the code:
FRAME 1:
time = "00:00:00";
createTextField("txt", 0, 0, 0, 190, 190);
txt.borde... more >>
Using dynamic variables
Posted by BuG56 at 9/13/2004 3:44:03 AM
hi, i have read much of loading variables from a text file, and would like to
learn how. i am using flash 5, can anyone tell me what script i need to use to
acess the text file, and how i format the text file itself?
... more >>
bg music wif mute sound...
Posted by chococrepes at 9/13/2004 2:57:41 AM
hi. wants help in flash regarding a background music tht has mute button tht
toggles btwn play and stop. i've eventually done tht. but the qn is wat wif its
wif different different scenes? i've put every button of the mute toggling in
every scene. but the music tends to overlap. does anyone he... more >>
sound objects stop playing
Posted by BlairM at 9/13/2004 2:50:41 AM
Hello.
Sorry about the bad title, but I wasn't sure how to sum up my problem in a
short phrase.
I've got a small Flash movie that has 8 sound objects. All the audio clips are
located in separate movieclips on the main timeline. Two of the of the tracks
play continuously, while the othe... more >>
variable in a variable?
Posted by jay NO[at]SPAM grunt at 9/13/2004 2:13:58 AM
Hello all,
I have a little quandry I was hoping someone here could help with. I have a
movie that on entering a particular frame a movie clip is loaded with data
fields that are filled from an external .txt file. One of the selections is a
little slide show that sits in another frame of ... more >>
java
Posted by homegrownideas at 9/13/2004 2:10:59 AM
i guess i didn't word my question right, in actionscript there is a section to imput html codes, and I was wondering where the one for javascript was... more >>
blog/content managment application intagration
Posted by talltyler at 9/13/2004 1:32:18 AM
I have to make a site with all the features of somthing like movable type but
in flash. So I thought I would ask what is the best way to connect something
like this together. many of them have rss conversions of all the content but I
still will have to deal with posting some how and it seems l... more >>
javascript+flash?
Posted by homegrownideas at 9/13/2004 12:50:08 AM
where would you insert a javascript in flash mx?... more >>
can I export frame 1 to jpg?
Posted by bestjamie at 9/13/2004 12:44:54 AM
I want realize it by AS.
Is it can be realized?
Please help me
Thanks.
(I want the jpg include which on stage by attachMovie)
Thanks very much!!!... more >>
|