all groups > flash actionscript > october 2004 > threads for wednesday october 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 31
Slide CuePoint Navigation and Slider Synch Proble
Posted by S2_PM at 10/13/2004 10:56:58 PM
I created a file that uses the Slide CuePoint Navigation behavior and buttons
to navigate a flash video with cuepoints. The video control by cuepoint seems
fine, but a problem occurs with the synchronization of the slides when the
scrub bar is moved in reverse or when buttons are pressed for a... more >>
Flash Movies and Games
Posted by Proto Fury at 10/13/2004 10:54:07 PM
I think I'm putting this in the right forum... Hey, how do I make Flash games and movies? I don't know what to download to do it or anything. Please help me.... more >>
code to make rollover state stay while on page??
Posted by kimber01 at 10/13/2004 10:17:47 PM
Hi-
I am trying to figure out a piece of code is used to make a rollover state
stay active while on a page.
So if I'm on the "contact " page at a given site the rollover state stays
active so the user knows that's the page they are on.
I don't think its difficult, just can't seem to make i... more >>
symbol
Posted by homegrownideas at 10/13/2004 9:30:42 PM
i made a symbol and double clicked it and did a bunch of animation in the
symbol and want to make a button inside it to take it back out into the
movie...its like the preloader is frame 1 and the symbol is frame 2 and i want
the button to take it out to frame 3 but whenever i put a button in t... more >>
Trouble with preloader
Posted by aagraphics at 10/13/2004 9:29:43 PM
I've made two different websites with two scenes- "preload" and "Scene 2" I
used the same actionscripts in my simple preloader movies, it works for one
website not the other.
I'm using the following actionscripts
-in the first frame
if (_framesloaded>=_totalframes) {
gotoAndPlay(... more >>
help how to transfer file on cd to desktop
Posted by muscaty at 10/13/2004 8:40:27 PM
Hi,
I'm creating a CD rom with flash projector and need to create a link that
transfers zip files on the cd to the users desktop, have tried linking dynamic
text and it opens a browser window, which i do not want, would director be a
better solution? or is there some way around this,
... more >>
Scrolling a movie clip
Posted by Happy Camper at 10/13/2004 8:35:19 PM
I have a symbol that goes off the page to the right and need to be able to
scroll...
The movie clip ("scroll_mc") contains two scroll buttons, named "leftArrow_b"
and "rightArrow_b". The movie clip also contains the moving symbol, the
tweening starts on frame 2, the last frame has the cod... more >>
gallery code error
Posted by kimber01 at 10/13/2004 8:34:53 PM
I am crating a image gallery for a website, and this code is on the movieclip
containing the gallery. It wrked fine before in a previous project but is now
causing errors.
Here's the script:
onClipEvent (load) {
picnum = "one";
display = "01";
}
onClipEvent (enterFrame) {
// fi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
dynamic classes. is this possible?
Posted by ooba at 10/13/2004 7:53:34 PM
Ok, so if I #include 'file.as' this is done only at the creation of my swf and
would require me to recreate anytime I have a change to the file.as file. Also,
if I use classes, those are also included into the swf at the creation of the
swf. So, how the heck can you have functions that are ava... more >>
printing a mc that isn't on stage...
Posted by bso_71 at 10/13/2004 7:39:04 PM
Can I print a mc that isn't on my stage? I only have it in my library with an Identifier.
Can this be done?
Thanks a lot!!!!
Brenda S.... more >>
FLV length
Posted by fahnesjh at 10/13/2004 7:31:45 PM
How does one find the length of an FLV in terms of time? I'm externally loading
an FLV and I need to set up a load bar and a play head. The play head moves
according to the netService.time, but I need to know the length of the FLV to
get the proper ratio so my load bar can be a different lengt... more >>
French characters "?????" in xml document
Posted by Nixy at 10/13/2004 6:58:52 PM
I need to load an XML document that contain Franch characters like "????????".
Flash does not display those characters. It replace it by [] . How can I fix
the problem. You can view an example of my XML.
Any idea.
Here is an example of my xml:
//----------------------------------------... more >>
function format question.
Posted by ooba at 10/13/2004 6:36:20 PM
Can someone tell me what the difference is in formating a function. What I want
to know is when do you use one over the other or does it not matter. I know it
will take a little typing to answer this question so believe me when I say
thank you for your posts. Please see examples below.
// ... more >>
hittests help??
Posted by Devistator at 10/13/2004 6:26:46 PM
I have a movie clip with with actionscript attached....
onClipEvent(enterFrame) {
if (_name != "guard" && _root.lPlaying) {
_y+=2;
if (_y < 0) {
{
if(!_root.hitground)
{
vert += 1
if(vert > 1)
{
if(_root.ground.hitTest(_x,_y + 2,true))
{
_y += 1
}
else if(_root.gr... more >>
Combo box Issue in MX2004 Professional
Posted by mkay at 10/13/2004 6:24:17 PM
Can any one please help with this. The problem I am facing is when ever I use
both Next and Previous buttons to navigate my script works fine but when I
choose the combo to select a particular item and later if I click the Next and
Previous button the selected index not increasing/decreasing p... more >>
Bug with Number() ? or do I not understand usage.
Posted by Mark0015 at 10/13/2004 6:04:33 PM
I noticed that if I pass any string of numbers with at least one preceading 0,
the result is incorrect for almost anything above 10 (but not everything). For
example:
Number("08") will return 8
Number("09") will return 9
Number("010") will return 8
Number("011") will return 9
Number(... more >>
lopp to get xml node value
Posted by Nixy at 10/13/2004 5:38:36 PM
I have an xml like that :... more >>
Navigation Help
Posted by steadyvibe at 10/13/2004 5:37:11 PM
Hey, Can anyone take a look at my flash navigation and tell me why i cant
trigger all my onRelease actions for my nav all at once on the main timeline?
I have gotten it to work if i put the nav functions inside the movieclip my
buttons are in but i cant make it work from the _root timeline..... more >>
Drag and drop
Posted by abdijbier at 10/13/2004 5:25:20 PM
Hi you all,
is there somebody out there who can help me with my drag 'n drop problem?
The problem is this. I have make a drag and drop game where you have with 1
object (mc) 9 different posebilyties.Every time the answer must be right or
wrong. Let's say put de cat under the table. Answe... more >>
Passing arguments to .onRelease function
Posted by agerdes at 10/13/2004 5:14:16 PM
Is it possible to pass an argument to a function that is being created on the
fly? I am dynamically creating functions in a loop and I need to know the value
of the counter when the function was created.
Here's my code:
for(var c:Number = 0; c < passedClientArray.length; c++){
_root.... more >>
browse for & insert jpg while movie plays
Posted by auntlesley at 10/13/2004 4:43:31 PM
I want to allow a user to click a button in a Flash movie, browse for an image on their drive and insert it into a layer of the movie while the movie plays.
Can anyone help me with this?... more >>
unloading the movie
Posted by e_jogendra at 10/13/2004 3:42:16 PM
Could someone help me...
I am going to create a module timer for my elarning module. In which timer
will start when a perticular page loads to a movie clip say "containerMc" and
timer stop when that page is unload from "containerMc". I have creater 2
functions but these are not working ... more >>
XML with Flash Projector
Posted by mant19 at 10/13/2004 3:36:19 PM
Hi. I think I may know the answer to this one... but...
I have a Flash application which reads in data from an XML file. This works
fine viewed through a browser, however, when I publish this as an exe projector
file, it does not see any data.
Does anyone have a solution to this? Thanks
... more >>
shorter way?
Posted by Edwin Merced at 10/13/2004 3:29:06 PM
I am attaching sounds from a library t differnt buttons. The code is getting
huge (A-Z). Id there a shorter way to do this? Take a look at the code:
letra = new Sound();
a_btn.onRelease = function(){
letra.attachSound("a");
letra.start();
}
b_btn.onRelease = function(){
letra.attachSou... more >>
passing arguments w/ attachMovie()
Posted by ol_yello at 10/13/2004 3:21:31 PM
I want to create an instance of a custom class using attachMovie(), but I also
want to be able to pass an argument to the class constructor, something like
this:
Widget = function (idNum) {
this.idNum = idNum;
}
Widget.prototype = new MovieClip ();
Object.registerClass ("widget_... more >>
help with getURL function!!
Posted by vectorman69 at 10/13/2004 3:08:30 PM
Hi! I'm trying to open a new window with the getURL function in this way:
getURL("javascript:window.open('somepage.html')");
First, it opens a window with the url:
javascript:window.open('somepage.html') and then it opens another window. which
start blinking, and hangs everything....
... more >>
controlling the list component with acionscript
Posted by Michael Voeller at 10/13/2004 3:07:01 PM
Can I add items and values to a list component or combo box component with
action script. Like how would I go about taking an array and adding all the
values in the array to the list or combo box? Or if someone can point me in
the direction of a nice tutorial it would be much apreciated.
... more >>
Button with attachmovie() - Problems
Posted by gladiator007 at 10/13/2004 2:55:47 PM
Button name:
Q4aFalse_btn
AS for Button:
on (release) {
Q4bFalse_btn.onRelease = function ()
{
if (User_Answers_array["Question4a"] = "B) False");
Question6.attachMovie("Q4aIncorrect","newname12", 4);
Q4aTrue_btn._visible = false;
}
}
All of the MCs are locate... more >>
change text color - not beginner stuff
Posted by Bellah5 at 10/13/2004 2:43:11 PM
Ok, so I have this code (see attached)
I need to figure out a way to make the text change color on rollover. The
tough part is that the text and URL are being imported into the movie by an XML
file.
Any ideas?
cookieOne = "";
for (i=0; i<topics.length; i++) {
cookieOne += "... more >>
AS 2
Posted by Richard Hallgren at 10/13/2004 2:10:16 PM
Hi,
I'd like to start moving over to AS 2. I'm using Flash MX version 6 and the
following code:
var sName:String;
sName = 5;
I should get an error! But everything runs fine... Do i have to declare that
use AS 2 somehow? Does it ony work on professional?
Thanks in a... more >>
TextArea Component
Posted by beyondflash at 10/13/2004 1:28:48 PM
Is there a way to get the text inside a TextArea Component to Align to the
bottom of the Component?
Attached is a small fla to demonstrate what needs to be accomplished.
Any help would be greatfull
... more >>
How to manage Object and Class when execute?
Posted by Andrew guo at 10/13/2004 12:33:07 PM
Is anybody interested in porting the Flash Player to other Platform?
When prepared to implement the Flash 5th ActionScript, I found that
ActionScript support the
OOP. So the implement of ActionScript becomes much complex. What is more, the
Flash File
Format Specification is so compact th... more >>
loadMovie from within a movie within a movie
Posted by Muse Style at 10/13/2004 12:32:21 PM
Hi all,
Making a full flash site, having problems with targeting.
Making the site in several .swfs by calling them into a MC on the tier above.
There are three .swfs to consider for this problem.
The main movie swf is MSFV1
Within an MC ("content") on MSFV1, another swf is loaded -... more >>
Problem passing variables to ASP
Posted by sejohnson57 at 10/13/2004 12:23:18 PM
I'm having a problem sending three variables; emPassed, preTotalCorrect and
finalTotalCorrect, from Flash to an ASP page. I'm using the attached code on a
submit button. When the button is clicked, it goes to the evaluations.asp page,
but the only thing that gets posted is the "evaluations.as... more >>
Continual Rotation
Posted by Stevie_R at 10/13/2004 12:21:07 PM
I am trying to make objects rotate on the stage at the pushing of a button. One
button causes the sun to rotate around the earth, and the other makes the earth
itself rotate. The code works if I put it on a _root.onEnterFrame = function()
{, but I can't get it to work when attached to the butt... more >>
Set visible false
Posted by bossche at 10/13/2004 12:20:59 PM
Hey
I have a main .swf file. With the help of a menu I load other .swf files into
a empty MC called Loader_MC.
Now starting from the Main movie I want to set the visiblity of an item
"product1_MC" in the root of the loaded movie to false.
I already tried:
_root.Loader_MC. product1_... more >>
change Flash projector Window Caption or hide it?
Posted by Vladimir Shkuro at 10/13/2004 10:57:51 AM
Hello, All!
How to change Standart Window Caption of Flash projector?
"Macromedia Flash Player 7"
if it's impossible, may I to hide it?
With best regards, Vladimir
... more >>
Flash -> PHP -> MySQL special character problem
Posted by Vladimir Velikov at 10/13/2004 10:14:23 AM
Hello,
I have a Flash interface for inserting text into a MySQL database.
I use a LoadVars object to pass variables to an php script which inserts
the values into the database. A problem occurs when the user input
contains special characters such as german umlauts (ö, ü, ä). In the
database ... more >>
GIF TO SWF + VARIABLE
Posted by Rafael Maruggi at 10/13/2004 10:13:27 AM
Hi,
I need a tool to export GIF to SWF, including my variables.
please someone can help me?
... more >>
converting "2" to number 2, how?
Posted by thefungi at 10/13/2004 9:08:42 AM
I have a number text, "2", in a textfield box. How do I convert it to a numeric 2? ... more >>
getURL javascript and frameset
Posted by paolista at 10/13/2004 9:00:46 AM
Hy
I have a frameset.
This frameset is on a Domain1.
In a frame of this frameset (in the src="... ") I put a webpage(X) that stay
in another Domain2 (http://...).
The webpage(X) contain a swf movie with getURL actionscript that call
javascript functions in own html.
Why In this way all... more >>
what is wrong with flash movie link?
Posted by VaslanV at 10/13/2004 8:51:09 AM
I want to add a link to flash movie. But when I add the following script it
immediately redirects to the url without clicking.
When I replace the release code with press. But it gives "not a button" error
when I test the movie.
on(release){
getURL( "your_url.html");
}
... more >>
combobox goto frame issue
Posted by maccam25 at 10/13/2004 8:21:36 AM
Hi all,
I'm currently successfully retrieving data from a mySQL database via PHP and
populating a flash combobox.
This is the code i am using:
myData = new LoadVars();
myData.onLoad = function(){
placeTheDataIntoTheRightPlace();//call the function that handles the data.
};
myData... more >>
Re: How to avoid key press
Posted by ashish912 at 10/13/2004 8:18:07 AM
Have you tried my answer?????/
Create a hit button or place a new button outside the stage.
write
on (keyPress "<Tab>") {
trace("Tab Pressed");
}... more >>
Windows Path
Posted by ashish912 at 10/13/2004 8:15:27 AM
Hi All,
I want to store a text file on user's machine thru some exe (not Flash) at
certain path (to be decided) and retrieve thru Flash.
Where should I store it so that I can call it in Flash.
Every machine don't have a C:drive but every user must be having Flash Player
installed. That me... more >>
writing on xml
Posted by e_jogendra at 10/13/2004 7:29:26 AM
Hi
I think, this is a common problem. Can i write data on a local xml file from flash without using any serverside script.
regards
... more >>
Open popup and pass a variable
Posted by Quinnmedia at 10/13/2004 6:56:44 AM
I've been struggling with the concept of opening a new browser window, and at
the same time pass a variable to it. My latest attempt is included. The code
will open up the new window, but no variables are passed. If someone can help
me out it would be greatly appreciated.
ViewPic = new L... more >>
Full form of SWF
Posted by Teji at 10/13/2004 6:23:16 AM
I know i should not ask this question.. i m sorry my friends.. but i dont know full form of .SWF is it SHOCKWAVE FILE? or SMALL WEB FORMAT? please help me.... more >>
alternative to += ?
Posted by speedlab1 at 10/13/2004 6:10:23 AM
instead of += being "store a + b in a" is there an alternative that would be "store b at the end of a"
using this for textfield.text, tried concat(), +, didn't work.
... more >>
fscommand - HELP!
Posted by yctey at 10/13/2004 5:49:06 AM
Does anyone tested this working fine with flash version 6 or latest?
on (release) {
_root.fscommand("exec", "launcher.bat");
}
thanks... more >>
book mark
Posted by e_jogendra at 10/13/2004 5:46:38 AM
Hi everybody!
Which is the better way for developing bookmark, using cookies or shared files for CD base CBT.
Thanks
JNS... more >>
how to get width of an emptyMovieClip which loads
Posted by erinlin at 10/13/2004 5:04:01 AM
As the subject: How to get width of an emptyMovieClip which loads an external
image?
I have created an emptyMovieClip as a holder to load an external image. I need
to know the width and height of the loaded image. Can any one tell me how to
code it? Now when I trace the width of the movie... more >>
movie Clip onload
Posted by olally at 10/13/2004 5:02:02 AM
hi all
i placed 6 MCs on the stage form m0_mc to m5_mc
and i want to load images in these MCs one after the other i.e
m1_mc should load the image after m0_mc has completely loaded it's image, and
m2_mc should load img after m1_mc completely loads the image
i'm maitaining a array which ... more >>
get URL
Posted by prokopof at 10/13/2004 4:05:52 AM
hey there,
I have some intro movie in index.html page and I want to be redirected to
another web page (index2.html) after the movie ends. I put getURL function on
last cell of timeline in first scene but it doesn't work! please help! thanks
Lukas
... more >>
Write Var to .txt file using PHP
Posted by CohenLee at 10/13/2004 4:01:10 AM
Hi. I know this is a simple question but I can't find a clear answer to this in
online tutorials.
Using Flash MX 2004
I would simply like to know how to write a string to text file. What is the
PHP script for this?
Let's say the following:
var Message:String = Message_txt.text;
... more >>
How to launch the MsWord or PDF applicaiton
Posted by yctey at 10/13/2004 3:44:18 AM
How to launch the MsWord or PDF application by pressing the button in flash....
And another question..
Scenario - cd rom:
In the flash movie i have a img as button..and when i click on the button, it
prompt to a screen where actually ask me where to save the file from the cd rom
to loc... more >>
loadMovie() and preload
Posted by 4tonMantis at 10/13/2004 3:18:30 AM
I have a main movie which contains loadMovie() to load an external .swf file
onto it.
the external .swf file has a preloader inside.
The preloader works very well when it is on its own. However, when it is
loaded onto the main movie, the preloader doesn't work at all. In addition,
the whole... more >>
flash to html
Posted by homegrownideas at 10/13/2004 2:32:34 AM
i need to know how to convert a flash file to a html for a freewebs site... more >>
Auto-Focus on Text Input Field
Posted by paulpsd7 at 10/13/2004 1:34:46 AM
I have a form in Flash consisting of several text fields and a few checkboxes.
When the form first appears, I would like the cursor to appear in the first
field in the tab index order. Is this possible?
... more >>
Calling another function within the same Class
Posted by maulia at 10/13/2004 1:28:34 AM
If I have a class declared like this:
Class Car {
public function getColor() {
// some codes
getWheelColor();
}
public function getWheelColor() {
// some codes
}
}
When I have these codes below in the root scene:
var oCar = new Car();
o... more >>
Controlling components from MovieClip subclass.
Posted by baffo at 10/13/2004 1:11:05 AM
Hi all,
still having trouble with my movieclips.
I have created a movieclip symbol with some elements on it (some lines, and
two textInput components).
I have attached a subclass to this symbol, but am having trouble controlling
the textInput components added in the designer.
Whe... more >>
static text without antialias, can't achieve this
Posted by bso_71 at 10/13/2004 1:01:04 AM
I have a swf that contains a static text and I am loading it into another
movie, but I can't seem to get my text without an antialias. If I create the
swf with a dynamic text I can see my text without the antialias but my movie,
when I load this swf slows down a lot. This does not happen when ... more >>
Re: xml preloader
Posted by zeldar at 10/13/2004 12:28:32 AM
Here is how i do it i usually put the preloader code in its own scene and then
jump to the next scene with the rest of the site stuff in it.
FRAME 1 SCENE 1 [ LABEL: xmlStart ]
tempXML=new XML();
tempXML.ignoreWhite = true;
tempXML.load('url_to_xml_file');
totalBytes = -1;
FRAME 2 ... more >>
Issues with radiobutton component
Posted by zeldar at 10/13/2004 12:20:48 AM
I'm having some issues with the skinning / theming of the radio button
component.
I'm trying to change the color of the font, size, weight, and font-family....i
set these lines on my first frame and nothng seems to change. But also on top
of that i have multiple radio buttons throughout th... more >>
|