all groups > flash actionscript > march 2004 > threads for tuesday march 2
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
Changing Frame Rate w/ActionScript
Posted by thedonsmoke at 3/2/2004 11:58:13 PM
I can't seem to find a function or a method that can change a movie's frame rate w/ ActionScript. Does one exist?... more >>
Flash Button URL Problem
Posted by Sorry_nickname_taken at 3/2/2004 11:15:07 PM
Hello,
I am having problems with flash buttons that I've made. They're really flash
movies that I have tried to convert to a button. Anyway, I can't add urls in
Dreamweaver or Flash. I already tried the <a herf="url"> Flash Button <\a> or
what ever it is and it only works on Internet ex... more >>
duplicateMovieClip problem
Posted by PierreAlain at 3/2/2004 11:04:27 PM
- I have a clip collection somewhere in my movie, adress stired in
_global.Album
- I have a clip elsewhere in the same movie where I want a copy of a clip
inside the "collection" clip.
I put traces. As I can see, the adress of the origine clip is fine, but it
seems the new duplicated clip isn... more >>
transformation matrix
Posted by Dave_090 at 3/2/2004 10:12:47 PM
Hey,
I posted this before and don't think I got a response so I'm trying a second
time.
What do all of the letters in the beginGradientFill matrix indicate? I've
tried experimenting with different values but I can't make sense of any of the
results I'm getting.
any explanation would be... more >>
Returning multiple parameters from .Net Webservic
Posted by Aalok at 3/2/2004 9:55:11 PM
I have a very simple C# .Net web service that has the following method
[WebMethod]
public string Test(out string p1, out string p2)
{
Result aResultL = new Result();
p1 = "test1";
p2 = "test2";
return "test3";
}
And I call it from the action script liek foll... more >>
asfunction help with components...
Posted by tgleaton at 3/2/2004 9:52:19 PM
Hello,
I am trying to figure out how to asign text in a scrollPane component actions
to load other movies into different levels in my flash movie. Basically, I
have a scrollPane component. It has a lot of text in it. I want to be able to
have certain parts of the text act like buttons t... more >>
How add custom properties to built-in objects?
Posted by iweiss at 3/2/2004 9:48:31 PM
Hi,
I am just migrating a project to Actionscript 2.0 and ran into a problem: In
1.0 I was adding a custom property to XML nodes like that:
myXMLnode.customProp = "hi";
If I do something like this in 2.0 I am getting en error because the property
does not exist in the class. I know h... more >>
XML Loading Issues
Posted by elliott_m at 3/2/2004 9:24:43 PM
Question regarding loading XML into a Flash Document.
I'm loading XML data into Flash, then upon success, sending it to another
frame where it loads another ASP file containing a single variable called
"feature." I run a test a few frames later to see if feature is loaded, if so,
it sends ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Strange problem...can't figure solution
Posted by CCWebhead at 3/2/2004 9:20:39 PM
I've been building sites using template files for some time now. I've never had
a problem with using flash files in those template pages. However, now I am
facing an issue where the flash works fine when browsing directly to the
template page, but viewing the site where the template page is in... more >>
onEnterframe issues
Posted by ldebono at 3/2/2004 9:16:18 PM
I am using onEnterframe in the 17th frame of my movie to control the _x
position of an empty movie clip. The empty movie loads and positions properly.
When I use _root.onEnterframe the script inside does not work, not even a
trace command. in addition, setMask will not work in this frame eve... more >>
Window component, it's content and listeners
Posted by emadsen at 3/2/2004 9:10:42 PM
I am creating a Window component and setting the content as a movieclip in my
library with linkage of "win_setup"...
setupWindow = mx.managers.PopUpManager.createPopUp(_root,
mx.containers.Window, true, {contentPath:"win_setup", title:"Setup"});
and I can add a listener to tell me when t... more >>
get _root properties?
Posted by yn at 3/2/2004 8:39:40 PM
Ey and thanks for reading.
First off, I'm trying to get the _wdith and _height properties of my root most
swf file. I know how to target a movie clip FROM the main root timeline to
navigate down into empty_mc's or whatever the structure is at hand. However
what I am trying to access is the... more >>
textfield._alpha isn't working in flash mx
Posted by kit_hoffman at 3/2/2004 8:36:50 PM
textfield._alpha isn't working in flash mx. I tried to put the text field into
a movie clip and change the alpha value of it, but that doesn't work either. it
only seems to work with the shapes in the MC, not the text. any ideas on how to
get around this without tweening?
... more >>
ActionScript 2.0 Tutorial Please
Posted by Quake_92 at 3/2/2004 8:35:33 PM
Can somone please give me a link to a [h]ActionScript 2.0[/h] tutorial
Thanks... more >>
Check if mouse in movie clip...?
Posted by MyFlashMXIN at 3/2/2004 8:18:18 PM
Is there any easy way to check if the mouse is inside a movie clip...
I'm wanting to check the mouse location, if it's not in my movie clip (drop menu) then remove the movie clip.
Thanks... more >>
How to implement MVC.. Flash Example
Posted by jeffczyz at 3/2/2004 8:00:13 PM
I've been reading up on MVC as I've heard that is the "Best Practice" for
building an RIA with Flash. Can someone provide me an example of how that might
be implemented?
Is this correct?
Model: Database with Stored Procedures
View: Flash Interface, Movie clips etc.. no code or methods... more >>
Help, Target Frame Error
Posted by stephen33 at 3/2/2004 7:59:01 PM
I have a new state that I am adding to a flashmap, and have a major problem
with the action script not being able to find the Target Frame. This stops the
state from functioning. The rest of the map is functional, I need help. I am
64 and semi retired with one eye, if I can't fix this proble... more >>
Problems with movie clip control
Posted by justjd at 3/2/2004 7:17:45 PM
I am making an advanced business portfolio in flash, which means I need movie
clips with mouse over actions. I have tried several ways of doing this :
(i.e. chip.onRollOver = function() { play(); })
I am not sure of the syntax but I have tried variations of this and none have
worked. I jus... more >>
pass variable to custom function not working MX
Posted by amphibianZ at 3/2/2004 5:58:02 PM
I have an app that I built in Flash 5 that I want to output in Flash MX (not
2004, though) but part of my code, which works fine as Flash 5 swf, breaks in
Flash 6 swf. I am loading text from an external text file, and then passing the
text contents of each variable to a function (to strip line... more >>
Making individual preloaders
Posted by Fifty50 at 3/2/2004 5:43:44 PM
http://homepage.mac.com/curtdog/jaypeak2004/
Hi all, I've made a preloader which looks at the parent timeline and won't
proceed until all the bytes have been loaded. here's the code i used:
iz = _parent.getBytesLoaded();
ttl = _parent.getBytesTotal();
per = Math.floor((iz*100)/ttl); ... more >>
tell me whats the problem here
Posted by Flasheik at 3/2/2004 5:39:30 PM
please go to www.firstacademy.net/dev/
i loaded external swfs on 2 scrollpane components. It worked pretty fine
locally. but when i uploaded it, it seems that the external swf's loads
first prior to the coomponent carrying it. All are messed up!!
Help me with this please.
Thanks
... more >>
Mousedown/OnRelease for each dynamically generated movieclip
Posted by GSB at 3/2/2004 5:09:10 PM
I am dynamically creating movieclips on stage with this code. Each movieclip
has a textfield txtInfo inside that will display some information.
for (var i = 1; i<j; i++) {
myClip = _root.attachMovie("mcInfo", "mc_info"+i, i);
eval("mc_info"+i).txtInfo.Text = "Assign Text depending on i ";
}... more >>
Help please with 'if text file changes'...
Posted by trints at 3/2/2004 5:05:26 PM
I need to have a .swf that loads an image and text from a text file that looks
like this:
'john' http://mysite/1.jpg
I need the .swf to moniter for changes in that same text file every 2 seconds.
If the text file changes to:
'sue' http://mysite/2.jpg
I need that text and that image load... more >>
Questionnaire/Competition
Posted by stuup at 3/2/2004 4:40:49 PM
Hi guys, my apologies if this quesion has been asked before or is a silly one.
I have a client who wants to create a questionnaire type compeition in Flash.
It will be a multiple choice questionnaire that will add your score you at the
end of the 10 questions. Can this be done easily? Do I nee... more >>
Positioning objects(movie clips)!?
Posted by PeterLev at 3/2/2004 4:31:17 PM
sorry for clumsy english..
This is site: http://www.nevcos.ru/promo/vorsinka/. Anybody know about method
align object(bear, 1000, jacket, gloves and child)?
How i can make positions objects in flash relatively width of browser.
For instance, if we modify width, objects in flash displace rela... more >>
Join 2 text fields
Posted by rmethod1234 at 3/2/2004 4:23:31 PM
Hello all,
Just a quick question. I have two text fields that each contain a number. I
want both text fields to be joined to create one number. For example, the
following code below traces a 150:
trace(_root.labor_time.txtHours.text+_root.labor_time.txtQuarterHours.text);
Now, i want t... more >>
Pop Up window in flash
Posted by Brian NO[at]SPAM winmediainc.com at 3/2/2004 4:20:49 PM
I am trying to create a pop up window in the opens from inside the flash
document.
getURL
("javascript:NewWindow=window.open('http://brianbehrens.net','brian','width=758,
height=420,left=0,top=0,
toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');
NewWindow.foc... more >>
Since when does ActionScript 1.0 not work right?
Posted by ChrisFlynn at 3/2/2004 4:19:14 PM
Am I wrong in thinking the following code on a button in Flash MX 2004 should
control a MovieClip called "greekTxt"?
on(rollOver){
_root.greekTxt.gotoAndPlay(10);
}
on(rollOut){
_root.greekTxt.gotoAndPlay(25);
}
Because, right now, it doesn't. Even when I set the publish setti... more >>
hang the scrollpane author
Posted by oopiewanCodeknowbie at 3/2/2004 4:18:27 PM
To make a long story short, I spent a LOT of time debugging a fairly complex
project of mine where mc's that I used setcrollcontent() on would vanish. It
turned out to be a grievous error on the part of the person who coded the
scrollpane. I hope the person who wrote this reads this.
You ... more >>
just testing. ignore this.
Posted by Cindy at 3/2/2004 4:00:50 PM
Just testing my connection. Please ignore this.
... more >>
If test fails?
Posted by chrism59 at 3/2/2004 3:30:34 PM
I am using the sendAndLoad method to update a database. If the update is good I
return "Good", if the update is bad I return "Bad".
The results return properly. I checked them using a trace statement. But in
the if statement the test always fails! the condition is:
if (returnResult.msg == ... more >>
Menubar component problems
Posted by madtiger at 3/2/2004 3:14:48 PM
Greetings all,
I have been pounding away on the new MX2004 flash, and I have run into a
little snag. I am trying to use a menubar component in multiple .swf files, and
it loads and populates beautifully in the first file I open.
Problem is, when I use a menubar link to open another flas... more >>
how dynamic?
Posted by readyToGo at 3/2/2004 2:28:17 PM
Hi,
Many text field names are recorded in an array. And I want to write a function
to create text fields named as in array.
However, even after creating a text field I could not acces and change it's
alpha value.
fieldname = "aboutus";
_root.createTextField(fieldname,1,1,1,100,20);... more >>
Works in Flash, but not in Flash Player
Posted by msum1park at 3/2/2004 2:17:45 PM
I have 2 swf, contact_loader.swf and contacts.swf.
The first swf contains only a scrollpane that's used to load contacts.swf.
contacts.swf is just a simple flash containing only static text.
Problem now is, when I test it using Ctrl-Enter in Flash, it works! The loader
is able to load the ... more >>
Can an array be in an external file?
Posted by Cindy at 3/2/2004 1:51:45 PM
Hi.
I'm using a bunch of arrays in my flash file.
Can they be put into an external text file and loaded into flash dynamically at run-time?
If so, can the arrays text file be changed and have the flash movie updated without having to re-generate the swf?
If it can, what is the syntax? I've... more >>
DB Connectivity
Posted by Manoj vn at 3/2/2004 1:40:43 PM
Is there is any method to connect flash to a data base?... more >>
beginGradientFill() > matrix
Posted by Laiverd.COM at 3/2/2004 1:17:32 PM
Hi,
I'm having some difficulty understanding the matrix properties for the
beginGradientFill method. So far (I think) I have found out the following.
matrix =
{a:value,b:value,c:value,d:value,e:value,f:value,g:value,h:value,i:value}
in which
a=xSize
b=vSkew
c=??
d=hSkew
e=... more >>
loading a movieclip if and when needed
Posted by kudhu at 3/2/2004 1:09:58 PM
hello.
could someone please tell me how to load a movieclip from the library only if
it is needed and therefore when it is needed.
i've tried using attachmovie without "export on first frame" checked and it
only works for the first clip that i've attached to the parent clip.
consecut... more >>
Change text color on mouse over
Posted by Noshorn at 3/2/2004 12:51:02 PM
I belive this is a almost stupid simple question, but I've just started useing
flash, and I now want to know how to change the color of a text-object, on
mouse over (in java script terms ;-) )
Thank you for any help!
... more >>
movieclip - textboxes - problem
Posted by Thomas Finke at 3/2/2004 12:43:46 PM
Hi,
I'm having a movieclip "feld0" containing a dynamic textbox "text1".
why does only the text "Home" in feld0 appear.
I can't see the other textboxes, that should show me "Gallery"...why?
for (a=1;a<6;a++) {
duplicateMovieClip(_root.feld0,"feld"+a,a);
_root["feld"+a]._x=95*a;
_root["fel... more >>
Writing in to a xml file
Posted by Manoj vn at 3/2/2004 12:31:35 PM
Can i write a text content in the swf to a xml file. Can i use the same xml file for authentifications ... more >>
creating textField on the fly
Posted by ED_R at 3/2/2004 11:59:20 AM
How can I create dinamics textField?
//that code don't works
_root.createEmptyMovieClip("screen", _root.depth);
screen.titleTBox = new TextField();
screen.titleTBox.text = "hey";
trace(screen.titleTBox.text)
... more >>
button animation
Posted by XFlashmanX at 3/2/2004 11:58:44 AM
Hi.
How can I use the tween animation for button (when mouse over, circle spins).
I have also made a gif animation and imported it into lib, so I would set it in
mouse over frame. But it doesn't work (gif won't spin).
What's the solution? I don't know....
Thanx in advance,
Benjamin
... more >>
a simple chars questions
Posted by iperzazie at 3/2/2004 11:50:15 AM
Sorry, must be a very simple question, but how can i deal whit a string full of double quote ( " , char 34, quotation mark) ?
Thanks in advance
iperzazie... more >>
problem with key.isDown
Posted by adec at 3/2/2004 11:40:03 AM
Hi,
Some people at work asked for an fdisk simulator, so they could run it whilst
they had customers on the phones, so imagine the screenshots from fdisk.
On the first screen you have options 1 - 5. if you select 1 it jumps to the
relevant frame / screenshot, and you are now presented wi... more >>
newbie Flash/XML question
Posted by mark_hutchinson at 3/2/2004 11:39:19 AM
I have a working web service and a working flash test which passes 3 strings.
The web service responds and I can update a TextArea.
However, I now want to extend the Flash page to send an XML file (located on
the client PC) to the web service.
What is the best way to send the file (which... more >>
A simple Loop, but problem with positioning
Posted by Cindy at 3/2/2004 11:05:57 AM
Hi. I've tried many different times to get this thing to work, and I've given up.
Could somebody please tell me how to do this:
I have a movie clip on my main timeline, given the instance name of "myText". I have script on the first frame of the
main timeline that should loop and duplicate thi... more >>
how buttons inside a MC go backward?
Posted by scmk at 3/2/2004 10:20:32 AM
Hi there!
I?m programing 10 buttons inside a MC, each button moves the timeline to a
desired frame, where there's a similar set of buttons to move the timeline
forward again. Now, the question is can I move backward if I change frame 10 to
frame 1? And is it even possible to move backward?... more >>
delaying code
Posted by geut at 3/2/2004 10:02:39 AM
how can i delay the execution of a line of source code, for, let's say, 1 second?
please,
thanks... more >>
Problem with netscape
Posted by Flasheik at 3/2/2004 9:28:10 AM
Flash published at 100% x 100% does not load properly on Netscape 7.1.
Instead of a movie covering the entire browser window, I get a small movie
at the top center part of the window.
Anybody who had similar problem? How do I fix this?
Thanks
... more >>
Problems with loadVariables and textfile linkage
Posted by mrmille at 3/2/2004 9:17:34 AM
Hi all!
Well, my problem is pretty simple but still complex
Im loading textfiles displaying on a newspage.
I got this project handed over to me from an other developer who quit on our
company so im not that very familiar with the code.
[b]The problem[/b]
When i load the the textfiles... more >>
working with registry (kglad & others)
Posted by rjv_rnjn at 3/2/2004 8:20:49 AM
I'm new to ActionScript and am on a task to make the swf file run on a machine
for x no. of times after which it should ask for authentication. I've thought
of placing some registry entries and then try to play with them. How do I do
that? Or is there some other elegant method to achieve this?... more >>
interval function not working
Posted by wimw at 3/2/2004 7:30:50 AM
Hello,
Does anybody have an idea why the delay function in the script below is not
working?
I'm trying to slowly move an image horizontally.
Another movie generates the value for "p'".
If p==2, the trace "test 01" is executed, so that's all right. After that, the
delay function should be... more >>
Buttons dont work when loading movie
Posted by Xiajain at 3/2/2004 6:54:46 AM
Hi Support Team,
I am trying to make a website in flash that displays some research i've done.
I have some buttons that load different swf files using loadmovie. One of the
swf files that I want to load is a simple slide show. (I also tried using the
load_image.fla flash file that came as ... more >>
Creating Menu Items
Posted by thillerson at 3/2/2004 6:21:37 AM
I'm using the attached code to add menues to a menu bar. The Separator doesn't
show up, and although it's not in the code, radio items don't work either. What
gives?
P.S. View points to the menu bar.
demoMenu = view.addMenu("Demo");
demoMenu.addMenuItem({label: "Exit", instanceName: "d... more >>
how can LoadMovie become to button
Posted by HKSunny at 3/2/2004 5:49:16 AM
//You can copy all to flash script editing
//by this way very simple to do loadMovie
_root.createEmptyMovieClip("test", 1);
loadMovie("1.jpg", test);
//on here i want mark button but can't, no error on windows, not any action
test.onRelease = function() {
trace("onRelease called");
... more >>
button > graphic > movie clip gotoAndPlay
Posted by nineveh at 3/2/2004 5:39:27 AM
I have a button inside a graphic which is then inside of a movie clip (for
fading). In the graphic symbol I have the following syntax applied to the
button:
[b]on (release) {
gotoAndPlay("Scene 1", 1);
}[/b]
When pressed, I want the button to play frame 1 in Scene 1. However, when... more >>
Array Problem with custom classes
Posted by Brad NO[at]SPAM HIS at 3/2/2004 4:30:57 AM
I have tried to store instances of a custom class in an array. When I
retrieve the object
actionScript seems to have forgotten what type of object it was.
In the sample code below: Result is a custom class to hold test results.
Details is an array of
test result objects. The code creates... more >>
Removing an action
Posted by JMPX at 3/2/2004 4:21:18 AM
I'm a newbie so please bear with me.
I'm trying to remove a stop action.
I highlight the frame containing the "a", then open the "Action - Frame"
panel, where "stop();" is displayed(it is the
only text in the panel). I highlight the text, right click the mouse and
select "delete" to remov... more >>
How to create Live Preview without custom UI
Posted by sharetop at 3/2/2004 4:19:03 AM
I create a custom component, it run ok. so I hope create a Live Preview,but I
haven't custom UI, only with the flash's parameter ui, how can I access the
property/parameter panel?
pls give me some example code.
thank you very much.
... more >>
Can i use...Flash.exe open all Application.exe
Posted by rongscd at 3/2/2004 3:24:20 AM
Help me please...
i have flash projector....example my projector name...Main Menu.exe
i use this script on my button....to open application..name... test.exe
on (release) {
fscommand("exec","test.exe");
}
but not work....how can i do? what ' s wrong?
Thank you..
... more >>
loadMovie slows root mc
Posted by jcush at 3/2/2004 3:23:22 AM
I'm using movieclips as navigation buttons with rollover and rollout animations
and this code:
on release
_root.gotoAndPlay("myFrame")
myFrame contains this code:
loadMovie("myMovie.swf" , "placeholder")
myMovie lasts about 36 frames before it settles into a stop() command. As
... more >>
goto frame in movie clip from main timeline
Posted by rico starr at 3/2/2004 2:38:45 AM
How do you go to a particular frame in a movieclip from a button that is on the main timeline.... more >>
getURL, fscommand and .bat files
Posted by Leo D. at 3/2/2004 2:08:03 AM
As an alternative to getURL, I am usin fscommand:
on (release) {fscommand("exec", "myBatFile_exp.bat");}
to open a .bat file that contains:
@echo off
start exp.doc
Anyone ever used this to open MSWord docs on a CD with a Flash projector?
It seems to work except I don't like see... more >>
Need help loading a movie then going to a frame.
Posted by dggreyscale at 3/2/2004 1:58:26 AM
I am loading an swf via loadMovieNum. My question is, is it possible to load an external movie and then go to a certain frame on that movie from clicking a button on the main movie?... more >>
Help on actionscript, newb question
Posted by Into The Blue at 3/2/2004 1:53:01 AM
Ive got a question, i cant import a song that is mp3 format into one of my
flash animations. I try to import it, and it gets cut off a few seconds after
it begins to play. the song is 1:10 minutes long. I dont think im doing
anything wrong when im importing it, so heres the code i have on the ... more >>
Actionscript question.
Posted by castlestudio at 3/2/2004 1:12:11 AM
Is there an ActionScript 2 variable that will, on release, play the remaining
frames of a scene, and the go to the corresponding scene associatd with the
button?
Example:
"Scene A" plays to frame 15 of a 30 frame scene and stops. At frame 15 the
user has an option of 3 buttons, Each ... more >>
XML loosing special chars
Posted by Chizl at 3/2/2004 12:53:59 AM
We have an XML file that is loading both English and Spanish to display on a
screen. The word Yes or S? in Spanish looses the accent " ? ".. We tried
using encoding="ISO-8859-1" and encoding="UTF-8", but neither seem to work.
Any one else have this issue and how did you resolve it?
... more >>
Article on <img> tag?
Posted by jelampitt at 3/2/2004 12:13:22 AM
Perhaps someone out there can help me find this article I saw online the other
day regarding the use of the new <img> tag support in MX04.
It's not the documentation in the LiveDocs or in Flash.
I swear I saw some sort of online example about using the new supported tag
and some examples... more >>
|