all groups > flash actionscript > june 2005 > threads for thursday june 30
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
comboBox behaving badly
Posted by paulpsd7 at 6/30/2005 11:37:08 PM
I've got a combo box in a SWF which is loaded into another one. First of all,
to get this to work, I tracked down
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=194&thre
adid=789423&highlight_key=y&keyword1=combo%20box0.
So now the combo box opens just fine.
My ... more >>
Question about TextArea class
Posted by jujumbura at 6/30/2005 10:58:53 PM
Hello,
I am trying to implement a little discussion widget in Flash MX 2004
Professional, and one of the features I'd like is for it to expand downward as
it wraps downward. Currently, I can use setSize( ) to set a static width and
height and set wordWrap to true, but as soon as anyone ty... more >>
exe file to open a website
Posted by kevincompton at 6/30/2005 10:46:17 PM
I need to make an autorun CD. I have the text file .ini for that. However i now
need an exe that will launch an html page on the disk for me.
I know flash can do this but i dont know how exactly...any help?
... more >>
class function problems
Posted by targetplanet at 6/30/2005 10:35:59 PM
ok here is the layout. I have 2 classes, Nav and MenuBox. Nav class is
linked to a mc of navBar. I am loading the navBar.swf into my main movie.
The buttons on the navBar call a function in the Nav class that create an
instance of the MenuBox. The MenuBox class creates textFields to ho... more >>
Screen.load problem
Posted by pswang at 6/30/2005 9:51:34 PM
Hi, I have a question about Screens/Slide in MX 2004.
In the following code example, i have a screen which contains 3 slides.
I was trying to make this file goes to the second slide when initialized, but
it just doesn't work.
http://www.anatomicaltravel.com/temp/gotoslide.flahttp://w... more >>
getURL misbehaving HELP
Posted by Newbie05 at 6/30/2005 9:45:28 PM
on(release, keyPress "<Enter>") {
var c = new LoadVars() ;
c.code = code ;
code = "" ;
c.onLoad = function(success) {
if(success) {
if(this.login) {
var firstname = this.fname ;
var lastname = this.lname
; getURL("javascript:NewWindow=window.open('http://www.myH... more >>
How do you justify text in a dynamic text field?
Posted by Doug8867 at 6/30/2005 9:31:30 PM
Using Flash MX, I have several dynamic text boxes that I want the text to
appear as justified. In the .fla file the text appears that way but when it is
displayed in the swf file it is left justified. How can I make it appear
justified? Thanks.
... more >>
Help with MediaPlayback component
Posted by CoreFusionX at 6/30/2005 9:25:25 PM
Hi.
I'm trying to make a MP3 player using the MediaPlayback component, in addition
to a List component which holds the tracks.
I coded it so when you click on one track in the List, the chosen track is set
as contentPath for the MediaDisplay, yet the progress bar ALWAYS glitches up
becau... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
line/object animation problem
Posted by toriu11 at 6/30/2005 9:00:53 PM
i'm trying to animate a line that moves from point a to point b.the problem is
this: if i create a new movieclip in _root and use the lineTo/moveTo at x and
clear (and so on for x+1,+2...) properties it blinks when moved.if i use
lineTo/moveTo and then again lineTo/moveTo with background colo... more >>
need script to play next frame when movieclip in current frame is finished
Posted by lena21 at 6/30/2005 8:51:37 PM
I have 7 movie clips that I want to bring to 7 frames of one movieClip where
they play one after another.
What script can I put on frame to go next frame when movieclip is finished?
I can?t say ?go next frame? at the end of each of 7 movieclips because I also
use it with buttons.
... more >>
how can I color more than one row in a list?
Posted by Mark.P. at 6/30/2005 8:39:15 PM
Is there a way to make certain rows in a list a color to make that stand out
more? In other words if I have a list of about 20 items and I want to
highlight row 3, 8, 15 and 18, is there a way to do that? If not color each of
those rows maybe highlight it another way?
Any ideas would be ... more >>
Targeting an outside html page
Posted by dustycoats at 6/30/2005 8:37:30 PM
How do I target an html page such as google and have the user go back to the
page they left from if I am using a load movie code such as:
on(press){
_root.loadMovie("resume.swf");
}
will it go back to the page it left from or will it go to index page?
... more >>
Style for TextArea is disappearing on new frames
Posted by Jadee77 at 6/30/2005 8:32:31 PM
Hi,
Now I'm running into another problem and have been searching for an hour for
an answer but don't see it. I have the following code which assigns styles to
a text area:
myComponent.setStyle("themeColor", "haloOrange");
var xmlStyles = new TextField.StyleSheet();
xmlStyles.setSt... more >>
Crossdomain Load XML
Posted by tomyccc at 6/30/2005 8:13:56 PM
I'd like to ask how to load XML from another website (crossdomain) ?
e.g. myXML.loadXML("http://www.abctest.com/mylist.xml");
XML loaded both in SWF and HTML, when i open it in Local Drive.
But, it can't when i put these files onto Web Server.
Thanks.
... more >>
Timeline Play Status
Posted by foodguy at 6/30/2005 7:34:43 PM
When a button on a timeline is clicked, I want it to do one thing if the timeline is running, and another if it isn't. What is the best method to check if the timeline is running or not? Thanks.... more >>
pop up code is not working
Posted by dustycoats at 6/30/2005 7:03:44 PM
Can anyone tell me in simple terms what to change in this pop up code to make
it work?
on (release) {
Movieclip.prototype.openWin1 = function(url, winName, w, h, toolbar,
location, directories, status, menubar, scrollbars, resizable){
getURL("javascript:var myWin1;if (!myWin... more >>
Checking File Availability
Posted by Prosper at 6/30/2005 1:32:38 PM
A friend of mine attended the recently held JavaOne 2005 and fell in love with
the slide used to display the event pictures.
http://photos.javalobby.org/#id=7&num=33
He thought since i was better with flash i could a far better Job. I thought
so too. But i'm having a little challenge with... more >>
Script aint working
Posted by purple_am at 6/30/2005 1:31:16 PM
hi
What al i doing wrong.
I have my main swf with a movieclip (animhere ) on stage that contains an
animation and a stop(); in the fist frame of the movieclip.
Now i load another swf in the main movie.Which contains the script thats says
animhere.gotoAndPlay(2);
Which i suppose should ... more >>
secure login with flash
Posted by brian001 at 6/30/2005 1:13:13 PM
Hello - I am in the process of designing a new web page for my local ambulance
service. I am fairly new at all of this...so bear with me :-)
I have a flash navigation bar on the top with a section for
username/password. When these inputs are correct, I have it loading a webpage
(with ge... more >>
easy one but not for me
Posted by cartoonme91 at 6/30/2005 1:12:42 PM
I have 4 instances of a movieclip symbol ascending vertically in my scene.
Each instance is introduced into the scene 10 frames after the previous one and
ends 10 frames after the previous one when it reaches the top. When each
instance reaches the top I want it to go back to the bottom wher... more >>
code to create a close button
Posted by sheckay at 6/30/2005 12:56:48 PM
I'm sure this is an easy question for an experienced Flash developer. But it's
not easy to find, for some reason. Can anyone tell me the how to create a
button that exits out of the flash app?
Thanks.
... more >>
file managing in flash
Posted by hamid_m at 6/30/2005 12:39:54 PM
hi,
i want manage file in my computer by flash clip (swf or exe)
display files in special directory, copy and cut files, and more
please help me... more >>
an oddity!
Posted by yertari at 6/30/2005 12:33:39 PM
Hi,
I have an animated movie clip that i created in swish max, exported it, and
loaded it into flash mx2004
I then have a scroll pane component, which displays it. The problem is, the
vertical scrollbar does not display at all. Out of curiosity, i took all the
frames out of the movi... more >>
alt text for button on mouseover
Posted by sunnyoz at 6/30/2005 10:47:17 AM
I know this can be done.. but I can't figure it out... I have tried several
ways I have found researching the internet... and either there is something
missing, or I just can't figure out how to implement (which is more likely the
case!):o
I have created a transparent button under an imag... more >>
problem to import video file
Posted by nurizat at 6/30/2005 9:30:46 AM
hi!
i hope i'm in a correct forum.
I just knowing and using flash mx 2004 less than a month. I'm trying to import
video file in .avi format with size of 12 GB (57 minutes and 8 secs) to the
flash document but at certain length, the process failed. The import wizard
window will pop-up a... more >>
"SkecthPad" or "Painter" FLA that supports .NET
Posted by natiloon at 6/30/2005 8:53:56 AM
I'm looking for an FLA that's suitable for "SketchPad" or "Paint" software, that can be drawn on, and can also be saved and used in .NET... more >>
problem with unloadMovieNum & video content
Posted by hitparader61 at 6/30/2005 8:29:15 AM
I was hoping someone could offer some assitance I'm having with a simple
slideshow-type movie. The structure of the movie is quite simple, it simplly
loads a series of different swfs into a certain level using loadMovieNum. I
recently wanted to add some swfs that display video content (via .... more >>
Anti-aliased text in dynamic text fields?
Posted by paulpsd7 at 6/30/2005 1:00:50 AM
I'm importing text and applying external CSS styles to a text field like so:
var ss:TextField.StyleSheet = new TextField.StyleSheet();
ss.load("abbott.css");
content.styleSheet = ss;
// Formatting text field and importing content
content.multiline = true;
content.wordWrap = true;... more >>
NetStream pause in onEnterframe anomaly
Posted by raylaur at 6/30/2005 12:56:53 AM
I have a netStream pause action in an onEnterframe function. The function is
set up to monitor video time and at certain times load a sound file. If the
sound time exceeds as certain amount, the video is paused(true) until the sound
completes and then the video plays again with pause(false). T... more >>
onData=function
Posted by krustafarian at 6/30/2005 12:46:15 AM
hi, i'm using this script (which is working well) to ensure my external text
loads before progressing to the next frame....
_root.text1_box.loadVariables("http://www.mywebsite.com/text1.txt");
_root.stop();
_root.text1_box.onData=function(){
_root.play()
}
first question...
if i ... more >>
Trying to create an input mask with a text field
Posted by MichaelBlum at 6/30/2005 12:00:00 AM
I have been searching everywhere for some way to have a masked text input in
flash and it's been a harrowing 3 days of failure, embarrasment, and
humiliation. I finally stumbled upon kglad's code which creates a mask for a
decimal number "999.99" and it looks like I might be able to use it to... more >>
how to unload a movie
Posted by sa1794 at 6/30/2005 12:00:00 AM
I'm working on a flash project which involves loading and unloading child
movies. Basically I have a parent movie which contains a blank movie(target
movie). When I click one of the buttons in the parent movie, the child movie
loads up and covers the entire screen. There's a "back" button whic... more >>
Can scrollbar work on images?
Posted by rclifto2 at 6/30/2005 12:00:00 AM
I'm certain this can be done but have failed after attempting three tutorials.
There seems to be a number of tutorials on scrolling text, but I can't seem to
find one on scrolling an image. One tute stated its method worked on text &
images, but I tried it 3 times without success.
My goal:... more >>
onLoad called before loading?
Posted by nachokb at 6/30/2005 12:00:00 AM
Well, I'm trying to build some experience with Flash, and keep finding
frustration all the time (since years ago, every once in a while I need to do
something in Flash, only to find that the simplest thing in the universe is
extremely complicated... frustrating).
Well, rant apart, I'm havi... more >>
A way to make scrollbar auto appear depending on text?
Posted by Jadee77 at 6/30/2005 12:00:00 AM
Right now I have a TextArea loading XML and a UIScrollbar to scoll it if
needed. I really want the scrollbar to only appear of the length of the text
is greater than the TextArea. I have searched and searched archives. I have
also tried to use the scrollpane instead (looking for a way to lo... more >>
subtracting dates
Posted by burritobot at 6/30/2005 12:00:00 AM
Anybody have an AS script that will subtract one date from another? Something
the will work like below.
Much appreciated,
Joe
function subtractDate(date1, date2){
//code
return difference;
}
... more >>
Menu bar
Posted by atomneve at 6/30/2005 12:00:00 AM
Can anyone tell me how to label and link urls with menu bar component?
Buttons are labeled in "values" ?
how do I link?
is there a tutorial somewhere?
thanks... more >>
Disable right click menu?
Posted by ....hooligan at 6/30/2005 12:00:00 AM
I know you can disable the right click menu from a html page by setting
<param name="menu" value="0" />
but how do i disable it in a projector file or the swf. And also how do i
add menu items to the menu? And add functionality to them.
Thanks in advance
... more >>
Flash5 - What for operator is /:?
Posted by James Kirk 2 at 6/30/2005 12:00:00 AM
Does anyone know what does operator /:? I found it in some old flash 3d
animation - still in Actionscript 1. I have looked in every book and pdf I have
about flash at home, asked every friend and searched Google, but - no result.
You can find the snipset of code e.g. on
http://www.moon-soft.... more >>
Making a resizable box
Posted by fizznotch at 6/30/2005 12:00:00 AM
I need to create a rectangle that the user can resize (keeping the original
proportions) by dragging either any corner or any side of the rectangle; also
if they press inside the rectangle, it should drag the whole rectangle without
scaling it. There has got to be some simpler way than what ... more >>
loading images
Posted by Ineedsleep at 6/30/2005 12:00:00 AM
how would I get the user to load an image to a movie from their hard drive then
in to a flash document that will be like a poster type thing then send it to
their email account?
not asking for any one to write all the code out just explain a few of the
principles etc with some key info cos... more >>
Another loading variables from text file problem
Posted by MaxVT103 at 6/30/2005 12:00:00 AM
I know this has been posted so many times before but its just not working for
me and anything I read from other post hasn't worked either. All I am trying
to do is load variables from a text file and all it seems that I can do is load
1 variable then quit. I have tried loops and the examples... more >>
scripted mc animation
Posted by daveluff at 6/30/2005 12:00:00 AM
Right nice and simple :)
I have a movieclip that must animate to a set postion on the screen.
The start position will be random, but the end position will always be the
same.
The animation will be triggered by a mouse click.
Cheers,
Dave
... more >>
Classes
Posted by Bobby Rae at 6/30/2005 12:00:00 AM
Howdy Y'all,
I'm trying to get my head around this issue. I am currently using Flash MX
(haven't be able to upgrade to 2004) and I want to convert the following into a
reusable class for 4 buttons:
function onStatusHome(){
bg_color = new Color(_root.homeBtn.bg);
bg_color.setRGB(0xF... more >>
getUrl into a defined window
Posted by Forrest Gump at 6/30/2005 12:00:00 AM
This the code that I am using for a button. it opens a new window, however the
toolbars are included. I simpley want a 600 x 600 resizable window with
scrollbars, without the toolbars.
on (rollOver) {
namelabel = "John";
}
on (rollOut) {
namelabel = "";
}
on (release) {
... more >>
won't play???
Posted by krustafarian at 6/30/2005 12:00:00 AM
hi, thanks to kglad who helped me with this script..
i'm loading 3 external .txt files into 3 movie clips and making sure they load
before going to next frame:
only problem is.. once it's loaded all three external txt files it stays on
the frame instead of playing! am i doing something wrong... more >>
|