all groups > flash actionscript > may 2005 > threads for monday may 23
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
formatting html text loading in dynamic textfield
Posted by (_seb_) at 5/23/2005 11:20:47 PM
I have built this PHP content management system where my client can
write their own text and format it simply with line breaks.
My system writes a <br /> tag at every line break, so the resulting file
is a plain text with <br /> tags in it, that looks like this:
Lorem ipsum dolor sit amet, c... more >>
I still don't understand how to load text in an MC!
Posted by (_seb_) at 5/23/2005 7:17:56 PM
I have not yet managed to understand how to load external text in an MC.
I have done it several times successfully by copying and pasting some
scripts found here and there, and by trial and error, I got the scripts
to work.
But the more I look in my Flash MX Bible or at these scripts I've us... more >>
menuBar component breaks buttons
Posted by Qasper at 5/23/2005 11:29:21 AM
Interacting with the menubar component breaks buttons. After doing the
following basic setup, a button works fine until you interact with the
menubar. After that, the button receives "rollOut" instead of
"release" when you click it without moving the mouse.
Try it:
1) Create a new menuBar ins... more >>
scrollPane in movie clip
Posted by DelrayBliss at 5/23/2005 12:49:03 AM
Ok,
I am new to this component thing. I am working on a template. On the main
stage are my four movie clips, corresponding to their pages, which are loaded
by frame labels and actionscript. Within one of these, I want to create a
scrollPane that opens an external .swf OR a movie clip fr... more >>
line weight
Posted by andros at 5/23/2005 12:33:36 AM
I have some MCs which contain only lines. I would like to have the thickness of
these lines changed via actionscript.
For example..when a user moves their mouse over the clip..the thickness of the
lines chnages to a Wider amount.
Ideas?
... more >>
Send mail in Flash using PHP
Posted by Coder III at 5/23/2005 12:00:00 AM
Hi there friends,
I am trying to send email in flash using php?
I am totally new to flash and quite familiar with PHP.
There is a Submit (image) on the Contact form. If I try to add actionscript on
the On Release it gives errors and tell me I can not do this must use a button.
The prob... more >>
Preload multiple FLVs
Posted by .:}x-=V!P=-x{:. at 5/23/2005 12:00:00 AM
I have MXpro2004 and I was wondering the best way to preload multiple FLV
files. I would like to preload the next flv while the first one is playing.
I have 20 FLV movies that I want to play back to back. these are defined via
xml array.
I am using the mediaDisplay component to view the F... more >>
help me :(
Posted by Chris Chatterton at 5/23/2005 12:00:00 AM
hi, hope this makes sense
i have created a drop down menu which contains about six buttons. This works
fine, but i am having problems when i try to link these buttons to go and play
at a flagged frame in the main scene timeline. is there a way to get these
linking?
help
chris
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
loading movieclip
Posted by mheddle at 5/23/2005 12:00:00 AM
I am trying to swap movieclips on mouse click. Either that or load a movieclip
in my library into the area of another movieclip on the stage upon mouse
click. I can only load an external swf, not one in the library nor on the
stage.
... more >>
Open New window
Posted by motoman81 at 5/23/2005 12:00:00 AM
How do I open a new web browser window using a geturl script in flash. Please help. Thanks!... more >>
PHP Search
Posted by jsauger at 5/23/2005 12:00:00 AM
I have been trying to pass a variable from Flash to a PHP search with no
luck?finding articles dealing with the issue is even harder.
I have a SWF file as my header. The header contains a search field and submit
button which need to pass the search string from the SWF to a PHP search
engi... more >>
dynamic text backgrounds?
Posted by yertari at 5/23/2005 12:00:00 AM
Hi
I have just mde a dynamic text field with a scrollbar, which will show the
main text content for the page. Firstly, is there a way of setting it to
transparency, so i see the bacckground image of the site, or alternatively can
i add a background image to the text field??
Also, is t... more >>
Sequence mc's
Posted by NoNameNoPackDrill at 5/23/2005 12:00:00 AM
I have a number of action script enabled mc's on the stage in a sequence which
is determined by user input to my script, then on the click of a button I play
the first mc - what I want, I think, is that this mc 'tells' my main script
that it has reached its last frame, so the script can then t... more >>
Pop
Posted by canase at 5/23/2005 12:00:00 AM
Ok here is the code for my popup. it goes to the set size but it still shows
the menubar, toolbar, etc. and its still resizable. Is there anyway to gix
this?
//<script language="JavaScript">
//window.resizeTo(682,756)
//window.toolbar(0)
//window.menubar(0)
//window.resizable(0)
... more >>
Help: Assigning Array Value to Dynamic Text
Posted by designbymichael at 5/23/2005 12:00:00 AM
I know that you can assign a variable to a dynamic text field by typing in the
variable name in the Var box on the dynamic text instance. However, it doesn't
seem to let me use an array variable e.g.: myContent[2]
I'm essentially grabbing XML data and assigning them to array variables for
... more >>
MC rotation with limits
Posted by theronM at 5/23/2005 12:00:00 AM
I am creating an interactive driving simulation and want to set limits on how
much my steering wheel rotates.
My existing code works to rotate the car's steering wheel 360-degrees, but I
want to limit it to approximately 270-degrees (or about that of a real car's
steering wheel).
Here ... more >>
Please help! Complicated solution or not?
Posted by chowin at 5/23/2005 12:00:00 AM
Hello I?m Joe. I need some serious help on the next phase of my website.
Here?s the situation. I?d like some background symbols of my website to change
color when the viewer clicks on any button to navigate through the site. I?d
like the color change to fade (for example a fade from green to ... more >>
textbox line length
Posted by OS_Design at 5/23/2005 12:00:00 AM
hi
how to get multiline input text line length for each line?
... more >>
Help with button problem
Posted by FreeJack013 at 5/23/2005 12:00:00 AM
OK, I'm pretty new to actionscript programming, so any help with this would be
appreciated. What I'm trying to do is have a random image pop-up, center stage
with the name of the object pictured below it - missing the first letter (so
far, I have been able to figure all this out)
My probl... more >>
Every question must be answered (else error message)
Posted by highlander_1 at 5/23/2005 12:00:00 AM
I have 10 questions, 10 rows and 2 colums each with the answer YES or NO.
I?m using radioButtons.
The problem is that every question MUST be answered before the result can be
viewed
If not, I would like to show a error message that says:
"Please every question must be answered" and the qu... more >>
properly display a TradeMark (TM) symbol
Posted by J0NNYrotten13 at 5/23/2005 12:00:00 AM
I am trying to display a TradeMark symbol ( ? ) but it is in text that is being parsed through XML and I can't seem to get it to work. anyone encounter this/have any suggestions???... more >>
Username and Password
Posted by Corewibe at 5/23/2005 12:00:00 AM
Hello!
I would like some help to do an Username and Password login in flash.
please help... more >>
Preloading External images
Posted by Campus Drive at 5/23/2005 12:00:00 AM
ok so what I'm doing is using a MCbutton in anothing moive clip using the
MovieClip.loadMoive(img); function to send a the image to the target. I have
also setup a preloader to 'watch' the progress of the image in the target_mc
but the image loads and the preloader dosent show.
Code on the... more >>
Outer glow created programatically with actionscript
Posted by RedBox at 5/23/2005 12:00:00 AM
Is it possible to create an outer glow of a symbol using actionscript? For
example an outer glow around some text or maybe a circular button with a outer
glow?
I just want to see if I can avoid having to import it in as a graphic.
Cheers
... more >>
function return problem
Posted by lawofseven.com at 5/23/2005 12:00:00 AM
Hello
I'm sure the answer is going to be annoyingly simple . . . but I am stuck:
How can I get the following function to "return body" only after the
bodyReturnLV.onLoad function has run.
Thanks in advance
function loadBody (table:String, storyID:String):String {
bodyReturn... more >>
text in a button
Posted by vinnio at 5/23/2005 12:00:00 AM
Hi,
I want to load "text" in a button. Not from an .txt file but intern in flash.
Something like this in a keyframe ButtonNumber = "1".
I want to load this in different buttons but in the same button-graphic. How
can this be done ? Thanks!
... more >>
Yet another Newbie
Posted by Newbie05 at 5/23/2005 12:00:00 AM
Okay... I'm ashamed to say I've spent several hours trying to figure out how to
do this simple task! Yet after many fruitless google searches to find an
example to mimic I'm forced to ask a kind soul on here for a help.
I'm sending a variable from a flash movie to a new php page -- which con... more >>
Communication between objects
Posted by ChrisCote at 5/23/2005 12:00:00 AM
Sorry for the number of posts today, but I haven't done object-oriented
programming before and am trying to get my feet wet.
Anyway, I have 2 objects made from custom classes in my app. One of these
objects contains the data for a steplist that a user should perform while
another holds ... more >>
HELP!! Still having problems with Flash-ASP
Posted by chrscote at 5/23/2005 12:00:00 AM
I am getting very frustrated with this issue...I have a simple Flash form
consisting of a text box named name_txt and a submit button. I also have 2
dynamic text boxes below this to display the text that is sent to and received
from the ASP page.
In the Flash file, I have:
var LVSend, L... more >>
Capturing button clicks
Posted by DJWilliams at 5/23/2005 12:00:00 AM
Hello!
I'm totally new to this forum (posting wise) and am fairly new to action
scripting. I'd truly appreciate some help with a problem I'm facing...: I
have 5 buttons. One is a reset (resets all button values), but the other 4 I
need to capture the number of times the user clicks e... more >>
depths and movieclips, loaded and on stage
Posted by Jon Moyles at 5/23/2005 12:00:00 AM
first question: does each movieclip have depths within it? when i set the depth of a
movieclip within a movieclip, can i put it on top of the movieclip it is in?
second question:
can i duplicate a movieclip and put it underneath the movieclip that created it?
i'll give an example (of how i ... more >>
reading data from a txt file
Posted by ShockedPix at 5/23/2005 12:00:00 AM
I've looked through my books and cannot confirm or deny if this is possible.
Can flash read data from a text file? I'd like to use this to update an area
of the site with news information that the client can upload themselves as s
imple text document.
Thanks in advance.
... more >>
One action for multiple clips
Posted by animee at 5/23/2005 12:00:00 AM
Hey there,
i have a problem.
i want to assign the following action(s) to ten clips. (square1 - sqare10)
square01.onRelease = function() {
// disable dragging
this.stopDrag();
// check dragger direction
// user drags to the left
if (this.hitTest(hitL_mc)) {
with (this) {
_x = ... more >>
BIG ACTIONSCRIPT PROBLEM!
Posted by -KhAo- at 5/23/2005 12:00:00 AM
I want to make the user browse for a file URL in flash, the script for this is
fl.browseForFileURL("URL");
I put this, nothing happens, this script is supposed to make a dialog box
appear and the user can choose a file... the thing is that, this script doesnt
even seems to be a script beca... more >>
Ui components
Posted by andretty at 5/23/2005 12:00:00 AM
Hi
i'm trying to make a program which enables the user to input data with aid of
2 scroll bars. The output must be a line which changes size and angle according
to the user input.
I have studied the sample files which come with the Flash Help but i didn't
understand all what was written th... more >>
Door With Warp Point
Posted by xero righart at 5/23/2005 12:00:00 AM
i want it to where my char walks into the object and then goes to a diffrent slide so it like going to
another area... more >>
Date results in gotoAndPlay
Posted by Rai_Kane33 at 5/23/2005 12:00:00 AM
I want to be able to jump to a frame dependant on the system clocks date.
I have created a calander and on each frame is a date so frame 1 is January
and frame 2 is February etc with frame lables the default is obviously jan..
however I want to goto may streight away..
can anyone help.
... more >>
Load text in a button. help!
Posted by vinnio at 5/23/2005 12:00:00 AM
Hi,
I want to load "text" in a textarea in a button. Not from an .txt file but
intern in flash.
Something like this in a keyframe ButtonNumber = "1". or
ButtonName.ButtonNumber = "1"
I want to load this in different buttons but in the same button-graphic. How
can this be done ? Thanks... more >>
Moving movie clips on betwin to points
Posted by sharpOverride at 5/23/2005 12:00:00 AM
Don't know if I make myself clear...
I have to points for example x1 = 0, y1 = 0 and a second one x2 = 200, y2 =
300;
I want to be able to make the object move acording to the mouse x or y
movement...
Like when you have to climb on a slope with a certain degree ... ??? I tried a
co... more >>
stopDrag Only Works On Button
Posted by AwesomeDigital at 5/23/2005 12:00:00 AM
Why des startDrag work when you place it in the code of a button like this
on (press) {
startDrag(this);
}
But not when you name the button and put the code in you main timeline like
this?
invisible_btn.onPress = function () {
startDrag(this);
}
Thanks
Mathi... more >>
loading external programs
Posted by rpoclt at 5/23/2005 12:00:00 AM
Hi, I'm fairly new with Flash. Can anyone tell how to create a button so than
an external program launches when the button is clicked? I know how to create
the button...I just need help with making the button launch an external
program. Thanks.
... more >>
gotoAndStop referencing frame names
Posted by JoBelk at 5/23/2005 12:00:00 AM
Im trying to do a really simple bit of actionscript. I have 3 frame names,
"menu" "submenu" and "square".
On the "menu" frame is a button called shapes_btn and when you rollover it, it
goes to the "submenu" frame and reveals a button named square_btn. I then want
to click on the square_btn ... more >>
Flash is telling me I need to add an '{'
Posted by J in FLA at 5/23/2005 12:00:00 AM
I am getting the following error
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 3: '{' expected
x:Number, y:Number):MovieClip {
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 11: Unexpected '}' encountered
}
The "{" is there and I don't know why the error is coming up.
... more >>
follow the mouse
Posted by jessedudan at 5/23/2005 12:00:00 AM
Hello-
I would like to create something similar to this...
http://www.exclusive-properties.co.za/broadindex.html
It seems simple enough, but how do I get something to follow my mouse,
horizontally and vertically? Can I also adjust the speed at which it follows,
and adjust the ease a... more >>
How to load a movie clip fom the library
Posted by emlink at 5/23/2005 12:00:00 AM
Hello! I am trying to load a movie clip from the library into a containter on
the time line, not from an external .swf or .jpg, anyone know how to do it? My
target clip is called emptyClip and my movie is called lifestyle1mov
Thanks in advance!!!
... more >>
separate window, having fixed size.
Posted by barbiturat at 5/23/2005 12:00:00 AM
I need, when i clicking on button, must open separate window, having fixed size.
how to do that with Action Script?... more >>
Function call
Posted by Jonas Ogaard at 5/23/2005 12:00:00 AM
Hi!
I'm trying to do a simple thing as creating a function within an object, say
myObject, inserting an instance of this object into the _root stage of the
movie then calling the same function from _root. This will not work!
Let's say the function of myObject is called myFunction:
fu... more >>
hand cursor problem with anchors in html text field on safari
Posted by mab123 at 5/23/2005 12:00:00 AM
On Mac OS X, create a new FLA that has a dynamic text field on it. Give that
text field an instance name of "test." Add the following actionscript:
test.htmlText = "<a href=\"http://www.google.com\" target=\"_blank\"> Google
</a>";
Now do a publish preview using Safari. When you roll the... more >>
Quiz YES or NO and with a error message
Posted by highlander_1 at 5/23/2005 12:00:00 AM
I have 10 questions, 10 rows and 2 colums each with the answer YES or NO.
I?m using radioButtons.
The problem is that every question MUST be answered before the result can be
viewed
If not, I would like to show a error message that says:
"Please every question must be answered" and the que... more >>
LoadMovie Problem
Posted by eyahav at 5/23/2005 12:00:00 AM
Hi,
I have a wierd problem...
I have a "main" file, from which I use LoadMovie to load an external SWF
(clip_final.swf) that is located in the same folder.
however, when I play the clip_final.swf directly (by double-clicking it), it
is different that the movie that is loaded by the Loa... more >>
using hittest, no error message no effect
Posted by orisma at 5/23/2005 12:00:00 AM
If you take a look http://orisma.youmortals.com/girl_turn4.rar
(zipped).....heres the code i tryed using on it own
//disable her from walking on bulidings and stuff
onClipEvent(load){
b = this.getBounds(this);
function move(x,y){
h=false;
if(!_root.map.hitTest(_x+x+b... more >>
Can't pop up a Window
Posted by CDXX at 5/23/2005 12:00:00 AM
I cannot make the following code pop up a window.
import mx.managers.PopUpManager;
import mx.containers.Window;
var c:MovieClip;
this.x_btn.onRelease = function()
{
_root.c = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window,
false);
_root.c.title = "He... more >>
positioning frame when movie loads
Posted by jrpugh at 5/23/2005 12:00:00 AM
I have a flash menu I want to use in multiple CFM pages. The menu must
maintain its position as it loads new pages. I will not be using frames so
each time a new page is loaded it will reload the menu, starting at frame 1. I
have created a txt var file it will load that I can write the menu... more >>
Why enter an 'application' screen script rather than first frame script?
Posted by sfdesigner2 at 5/23/2005 12:00:00 AM
What's the difference between entering Actionscript on the 'application' screen
and the timelines first frame? I've noticed the error checker seems to like
when I place my functions on the timeline. If I place functions on the
'application' screen it says ""Statement must appear within on/onCl... more >>
Animation Scroll
Posted by BlackHawkGS at 5/23/2005 12:00:00 AM
Hey, before I get to my question I just want to say that I'm new to Flash and
starting to get the basics down.
My main question is how I can get an image to scroll continuously upwards.
Thanks in advance_
... more >>
Media Controller will not resize!
Posted by Cadillacula at 5/23/2005 12:00:00 AM
I am simply trying to shrink a media component: media controller down to the
width of 164PX.
on the stage it does it and looks pretty, but when I test the movie the bar
expands out, notpaying attention to teh width I set for it.
yuck! and help!
... more >>
need to make a variable a frame label inside a gotoAndPlay
Posted by fiuOY at 5/23/2005 12:00:00 AM
Hello,
what is the syntax for gotoAndPlay(frameLabel) if frameLabel is a variable.
See my labels are numbers, so when frameLabel is 3, I need it to go to the
frame labeled 3, and not frame #3. Make sense? How can I do this?
Thank you
... more >>
Stop Sound at end and repeat without sound
Posted by Speegs at 5/23/2005 12:00:00 AM
I have a flash movie, and it has a movie clip with sound, how can I get the movie clip to play once with sound but when it repeats not to repeat the sound?... more >>
Centering the screen
Posted by sczos911 at 5/23/2005 12:00:00 AM
I am making a program for a client and he wants to force full screen, but I am
not keen on that idea due to the fact that not everyone has the screen
resolution the program is created for. My second option is to have the screen
centered upon the launch of the CD-ROM. Is there some action scr... more >>
Help with on(mouseOver)
Posted by i_am_jebus at 5/23/2005 12:00:00 AM
Hello,
I am creating a Flash intro for a website. At the top of the file is a little
bar in which the user hovers the mouse over. Depending on which button the
mouse is hovering over, i want the movie to jump to a specific frame. All is
good so far.
Only problem is that after the mouse... more >>
Scroll bar on text box
Posted by Lifeasalounge at 5/23/2005 12:00:00 AM
I have a text box with lots of text that has a scroll bar attached to it. I am wondering is there anyway i can insert an image in the text box so that it scrolls with the text??
Please help... more >>
|