all groups > flash actionscript > march 2004 > threads for thursday march 18
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
Accessing Variables outside an onLoad function???
Posted by james_robson_25 at 3/18/2004 11:56:25 PM
Hi Out there
i have the following code as an example
something = new LoadVars();
returnedSomething = new LoadVars();
something.variable1_1 = "hello World";
something.sendAndLoad("process_script.php", returnedSomething, "POST");
returnedSomething.onLoad = function() {
variableRet... more >>
fscommand
Posted by .....james smith at 3/18/2004 11:38:09 PM
Thanks for that but how come when i put that on the main frame and then i
test the swf and projector i can still right click ?
... more >>
formatting input text dynamically
Posted by xs_jenny at 3/18/2004 11:32:05 PM
I'm trying to figure out how to format input text dynamically. I want the font
in an input text field to change in point size and become bold once an user has
typed a certain number of characters (200) into that field.
I've put the following actionscript on my input text movie clip (instanc... more >>
math.ceil not working properly
Posted by S.Rhea at 3/18/2004 11:10:24 PM
Ok, using ActionScript2.0 and using the following script:
x = 25.1;
y = math.ceil(x);
trace(y);
I get a result of "undefined". However, when I use the following:
trace(math.ceil(25.1));
I get a result of 26...WHAT GIVES???? Any ideas?
... more >>
Creat Object....
Posted by Mário Diogo at 3/18/2004 11:03:54 PM
To creat a remote stream, i have first to create a netstream object.....
For example:
remotestream = "my_sample_remote_stream"; //where "my_sample_remote_stream"
is my object..
How do i creat this object?
I´ve been watching the flash help files and for what i understand i can
creat it l... more >>
loadvars work, but when imported don't...
Posted by Pluda at 3/18/2004 10:22:50 PM
Hello there,
I'm developing a site, and I have made some litle swf wich contain my text
loaded into dinamyc text boxes.
So far, so good.
Now, I'm loading them into my main swf using loadmovie and they apear, but the
text doesn't respects the utf-8 encoding...
If i run them outside ... more >>
on load
Posted by webgaluk at 3/18/2004 10:16:50 PM
Have created a text field which I'd like to make invisible when the screen its
on is loaded. Have created a button to display and hide the text box when
pressed & have this working ok however the text field is always visable when
page loads & there doesn't seem to be an option to add action sc... more >>
prototype in Actionscript 2.0
Posted by epsnowden at 3/18/2004 9:52:57 PM
How do i define new methods for a predefined class in actionscript 2.0? For
example in actionscript 1.0 I have this code:
MovieClip.prototype.fadeClip = function(speed, fadeLevel) {
this.onEnterFrame = function() {
if (this._alpha == fadeLevel) {
delete this.onEnterFrame;
} els... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
setInterval problems
Posted by BadBadNeil at 3/18/2004 9:35:58 PM
Here is my great delema. I have been working on this project for days with no
breakthrough as to why this is happening.
[b]The PROJECT[/b]
I have a main scene that loads various swf's into a clip called "container".
Each swf is a section of a long demo of a product. I have used intervals t... more >>
My 3rd party app...
Posted by powerofq at 3/18/2004 9:34:40 PM
Hello all,
I'm just finishing off a new 3rd party developer app that works with Flash,
and I'm trying to determine the demand for it.
The features of this application include..
- Bolts onto any Flash movie.. either projector OR BROWSER movie. (Runs on
the client).
- Turns any mov... more >>
How to detect which OS user is running?
Posted by zehnmaster at 3/18/2004 8:53:11 PM
I am trying to detect which Operating system a person is using, and then send
them to specific information of an interactive cd. Any idea how to detect which
OS someone is using? I am using Flash MX Professional.
Thanks in advance.
Steve
... more >>
Assigning actions to dynamic MCs
Posted by Dinghus at 3/18/2004 8:11:34 PM
Flash MX
I generate a bunch of Movie Clips dynamically. Now I want to change them when
they are rolled over. How do I get that to work?
for(i=0;i<=10;i++) {
attachMovie("myMC","newMC"+i,i,{_x:0,_y:i*20});
}
I've tried putting code like this inside
this["newMC"+i].onRollOver =... more >>
Enter key
Posted by snootches at 3/18/2004 8:02:20 PM
Does anybody know how to detect whether the keypad Enter key is being pressed,
as opposed to the main carriage return Enter key? They both seem to be showing
keycode 13 instead of 13 and 108.
Thanks in advance!
... more >>
pass variables to swf from html
Posted by dodo2 at 3/18/2004 7:49:01 PM
Hi, All
I was trying to pass parameters to swf from html, something like:
<param name="movie" value="demo.swf?username=user">
...
<embed src="demo.swf?username=user
....></embed>
I published this swf for flashplayer7 ActionScript 2.0; turned out it works
for PC/IE but not for ... more >>
Load movie at specific size
Posted by chrscote at 3/18/2004 7:43:23 PM
I have a flash program that opens a separate flash window to hold other items.
When certain items are placed in the window, they will load another movie
within it. However, some of the movies were developed at a larger size than
the window itself. Is there a way to load a movie to a specifi... more >>
Accessing XML Socket from MC
Posted by powerofq at 3/18/2004 7:16:49 PM
Hi all,
Is it possible to access the xmlsocket connection of _root from a loaded MC?
So that the timeline of MC2 can use a sendXML using the xmlsocket of MC1? If
so, what's required?
Thanks,
TB
... more >>
Can a SWF close the fullscreen HTML containg it ?
Posted by zakopilias at 3/18/2004 6:58:53 PM
Hello helpers
I inserted the following JAVASCRIPT code into my index.html:
[h]window.open("loader.swf","fs","fullscreen=yes")[/h]
Loader.swf is embedded into index.html.
Thus I got a fullscreen SWF homepage.
My problem arised when I wanted to enable the surfer to close this window.
To do... more >>
Media Class Buffer?
Posted by djrez3 at 3/18/2004 6:18:32 PM
is there a way to set the buffer time on the media class?
and does the media class use the netstream inherently or is there a way to bind a netstream to it to set the buffer?... more >>
Horizontal Line in a text filed
Posted by Scott Stroz at 3/18/2004 5:58:31 PM
Is it possible to have a horizontal line inside a text box?
If so, how?... more >>
FlV video slider
Posted by CPettit at 3/18/2004 5:36:59 PM
I am looking to figure out how to create a "slider" to scroll externally
loaded FLV videos in MX 2004 Pro forward and backwards, like any media
player does it but without using the media component.
Can anyone help point me in the right direction?
thanks
Chris
... more >>
MC Control Problem
Posted by RobbieSoule at 3/18/2004 5:09:11 PM
Hi!
I'm having an AS problem with what I think should be simple. I have an MC
with an instance name of "locations". (without the quotes.) I have a
series of graphics on the timeline of this MC, located at frames 5, 10, 15,
and 20. (With a Stop action at each frame.)
I am trying to have t... more >>
exploring files on cd (browse)
Posted by sscoder at 3/18/2004 4:53:57 PM
Hello. I hope someone can help me with this. I'm using Flash MX.
I created an autorun cd which loads a Flash file. I would like this intro to
have a button called 'explore cd'. This button will let the user see the files
on the cd and select the individual files. Is there a way to program an... more >>
capturing enter
Posted by sschofield123 at 3/18/2004 4:34:37 PM
I have a text box whose contents i want to send elsewhere if the user presses
enter. I hoped to do it with a .enter but this doesn't trigger. (thanks for the
/n, it worked a treat)
txtMessage.enter = function() {
trace ("Enter entered");
txtMessages.text = txtMessages.text + "\n Susie ... more >>
Loading images into html enabled textfields
Posted by m_andrews808 at 3/18/2004 4:29:38 PM
hello!
I recently got a copy of Flash MX 2004 Pro and am trying out some of the new
features. One of the features I'm most interested in is the added support of
<img> tags in an html enabled textfield so I wrote a quick test to try it out:
I added a textfield to the stage, gave it a vari... more >>
when is a font loaded?
Posted by lingoingo at 3/18/2004 4:21:12 PM
I was trying to use a loader for my project, but I didn't want to slpit
the project into too many movies. Before the loader is visible 64 kb
areloaded for the first frame. The only thing I can think about beeing
such big are the fonts in the movie, which are used later in the
flash-movie.
... more >>
How do i control movie size
Posted by eaglegreen05 at 3/18/2004 4:14:47 PM
how can i control the movie size of my projector file so that my movie is not cut off right now the top is being cut off.... more >>
Call javascript function from Flash
Posted by Prem at 3/18/2004 3:16:45 PM
How do I call a javascript function from within a Flash and pass the x and y values to it based on a event.... more >>
throw a line
Posted by sschofield123 at 3/18/2004 3:07:04 PM
how do i throw a line? i want to concatanate text but on the next line so that
eg. gives
here's line 1
here's line 2
What should <CR> be? thanks in anticipation
txtMessage = "here's line 1";
txtMessage = txtMessage + <CR> + "here's line 2";
... more >>
flip MC horizontally using actionscript?
Posted by nediamnori at 3/18/2004 2:50:58 PM
does anyone know if there is a way to do this? this will be for player in a
game. instead of walking backwards I want him to turn around.. I tried to do
this by changing the animation in the MC itself and I can get turned around but
the animation will not play..
any ideas?? thanks ... more >>
Gather Info from XML at runtime
Posted by Loney at 3/18/2004 1:51:33 PM
Please suggest how to solve these two problems:
1) I have an XML file representing a complex structure, with a lot of
attributes and branches. I decided to use a class to navigate through that
structure, gathering the info I need in a simple manner. Below is the class
definition (the most ... more >>
Any Ideas How to do this?
Posted by grob at 3/18/2004 1:42:47 PM
I have a teaching lesson where various animated teachers take portions of
the lesson. I also have a movie slide controller, so that the user can
slide forward and back to various parts of the lesson.
I am using a variable to correctly display the current teacher animation,
and this is set at ... more >>
Carry over of text
Posted by Neel73 at 3/18/2004 1:04:33 PM
Hi,
Can any one tell me how to display a text got from one scene through the input text field, in another scene
Thanks,
Neel...... more >>
movieclip fade on mouse over
Posted by James Brown at 3/18/2004 12:58:03 PM
Hi there.
I have a movie clip (on frame load it's alpha value is 50% ) that I want
fade up the alpha value (to 100%) on mouse over and fade back down (to 50%)
mouse out.
Does anyone have any script to do this.
Flash MX
Regards
James Brown
... more >>
Draw polygon without lines.
Posted by lingoingo at 3/18/2004 11:38:30 AM
Do I have to use alpha = 0 for the lines or is there a better way?... more >>
Make a pause around setinterval
Posted by purple_am at 3/18/2004 11:27:27 AM
Hello
Can anyone solve this for me.
I have made a slide show and got play and pause button
the play but got a setinterval script
play.onPress = function() {
autoAdvance();
setInterval(autoadvance,5000);
function autoAdvance() {
if (loadpic<6 && !fadeIn && !fad... more >>
how to disable right click??
Posted by freaxz at 3/18/2004 11:14:31 AM
how to disable right click in flash movie??? i want to disable right click
inside flash movie when i publish it as projector.. and i use flash as
interface for kiosk, and i use VB for system.. and the flash movie i used is
not inside html or web based so.. it's just single .swf file...
and... more >>
for loops and math???
Posted by Brian at 3/18/2004 10:54:36 AM
I am trying to do the following and don't really know how to do it. I
want to calculate the something where I am adding an 8th of and inch for
every 10 years over someones age of 30. I was thinking i could do this
with a for loop, but am not sure how to script this.
Right now I have the fol... more >>
ready made simple form
Posted by Mic at 3/18/2004 9:46:17 AM
Hello again....
I am not a good programmer and I need a simple form for my flash site. I
tried understanding the flash tutorial but almost lost my hair while
reading it.
where can I find a ready made form for Flash MX or 5 with the
coresponding php, asp or what ever script.
thanks
... more >>
Displaying Devnagari Text in Dynamic text box
Posted by Ashwini_D at 3/18/2004 9:35:04 AM
Hello.
I have developed a movie wherein I'm fetching some text strings from ms-access
database through ASP page and then loading that asp into flash by loadVars
method.
Here, I'm fetching multiple recordsets some in english fonts and some in
devnagari fonts and displying them in dynamic te... more >>
MC moves along with mouse pointer.
Posted by chen_ping at 3/18/2004 9:16:43 AM
Hi all,
I'm trying to wirte a simple script pls help.
I placed a graphic into a moive clip. And i place the movieclip from the
library onto the main scene. I'll like the moive clip to do the following:
------------------------------------------------------------------
if mouse pointer ... more >>
I cannot assign vars form external text...
Posted by ucetincan NO[at]SPAM yahoo.com at 3/18/2004 8:07:15 AM
Hi everyone;
I've been crawling in flashAS newsgroup for ages and couldn't get any
results for my question, or maybe I'm an idiot to extract the answers
from these posts, sorry to bother you...
I have a text file that contains dozens of cd specs. Text file is like
this:
&cd01=spec1 &cd02=s... more >>
Mix two fonts in text area
Posted by JohnT NO[at]SPAM eCard at 3/18/2004 7:57:49 AM
I need to display some text in textfiled with two fonts:
i embed these fonts, but doeson't display in text field
textField.html = true;
textField.htmlText = "<font face='Font1'>some text</font> - <font
face='Font2'>other text</font>";
... more >>
Two masks on the same screen
Posted by shiftlock at 3/18/2004 7:43:07 AM
I tried to put two separate masks that will appoear at the same time like this:
layer 1: mask1
layer 2: image 1 behind mask 1
layer 3 : mask 2
layer 4 : image 2 behind mask 2
the first mask and the image behind it appeared well but the second mask and
the image behind it did not appe... more >>
HTML in flash... tags that dont get removed
Posted by _gir_ at 3/18/2004 5:44:16 AM
i need some sort of way to mark sections inside a html text field... so i need
to do something like this:
<font face="verdana">some or other tex, blah blah [b]<marker>[/b] marked text
section [b]</marker>[/b] </font>
The problem is flash removes EVERYthing it doesnt understand, is there ... more >>
convert swf file to fla file
Posted by mateenmohd at 3/18/2004 5:18:10 AM
There is any way (method) can convert swf file to fla file ?
swf file can change into fla file in flash or by any other software ?
Regards.
Mateen
... more >>
how to save text in text file from flash
Posted by kaliki at 3/18/2004 5:17:12 AM
please give the solution, is it possible or not
prasad... more >>
Saving data on local PC
Posted by FireSt at 3/18/2004 4:56:21 AM
Greetings,
I have to create flash UI for shoping sistem. I can create most of
the project but maybe I will have to make it saving data. I know that Flash MX
can save variable using local(). If I create an EXE file I will be able and to
use the FSCommand->save. But I want to kno... more >>
is iInline coding possible in Flash MX?
Posted by rsassine at 3/18/2004 4:51:41 AM
This does NOT work in Flash:
var1 = "b._visible = false"; //b is a button
var t = EXEC_THIS (var1);
Many other language support this kind of code.
... more >>
loading main movie vs external movie
Posted by ~J at 3/18/2004 4:01:44 AM
Im working with a main movie that loads in external swf files using loadMovie.
Why is it I can make a preloader for the main movie that can load a portion of
the movie before I can tell it to begin playing...
...but when I load external files into the main movie, it seems I have to load
... more >>
need code for dragging
Posted by David Mainstreet at 3/18/2004 3:18:01 AM
I need code to allow users to drag various objects into a box. Once the object
is dragged to the box, I need to put the item back into its orginal place ready
to be dragged again. Also, if the user changes their mind in mid-drag, they
need to be able to switch to a different object to drag to... more >>
Beyond FSCommand ???
Posted by JamesDee at 3/18/2004 2:35:08 AM
I have two swf movies that are chat buttons, one for online and one for
offline. Both have differant names. How can I get them to execute a simple
javascript function or URL that opens a window without scrollbars etc. without
having the ID limtitations, since their movie names are differant... more >>
Tree Component V2 - Child BackGround
Posted by SHIFT_nismo at 3/18/2004 1:50:53 AM
Is it Possible to Change the Background color of the Child Nodes?
I am loading the data in from XML, i could set a tag in the xml to change the
background color but i cant find any documentation on that, if it is even
possible.
... more >>
Dynamic data +drag and drop
Posted by samoth at 3/18/2004 1:32:25 AM
Hi,
I have this movie, here I:
1. duplicate X movieclips
2. for each movieclip I create a drag and drop dynamicly (onPress = function()
{startDrat)
3. when dragging the MC I want to drop the movie clip on another movieclip
(_droptrarget)
4. If the movie clip is not dropped on the t... more >>
|