all groups > flash actionscript > march 2006 > threads for friday march 31
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
Convert string into Actionscript Code
Posted by saavedrajj at 3/31/2006 11:10:03 PM
I need one function that converts string into actionscript code,
i've been searching but I don't find anything. I'm using Flash 8.
Example:
myString = "Number(var1.txt) * Number(var2.txt) + 1000";
result.text = desiredFunction(myString); // is equal > result.text =
Number(var1.txt) ... more >>
Conflicting loadMovie files
Posted by beevyarr at 3/31/2006 9:59:11 PM
Working in Flash MX 2004, I have a page w/ which I have loaded 3 movies into
different emptyMovieClips.
One movie is a scrolling navigation whose buttons load a product ID variable.
This variable affects which frame labels of the other two movies get played.
My problem is that one of ... more >>
WHO TO: detect which button is pressed down
Posted by MnemonicFish at 3/31/2006 9:29:01 PM
Thanks fot taking the time to helpout.
Okay I have 5 nav buttons, which have the following functions, rollover,
rollout, press and release (please see code attached)
Once a button is released it calls function getUrl and its state stays down, I
want it to stay down untill the user hits a... more >>
accessing var defined in function
Posted by abeall at 3/31/2006 8:54:43 PM
In this case...:
function myFunc(){
var myVar;
myOtherFunc();
}
function myOtherFunc(){
//access to myVar?
}
...is it possible to edit myVar from myOtherFunc? If I had built myself the 3k
lines of code I'm dealing with I would have avoided this in the first
place(myVar being ha... more >>
referencing a variable throughout different timelines
Posted by (_seb_) at 3/31/2006 8:29:38 PM
I have the following code, which resides, in the timeline, at: _root.myLoader.theLoader.control:
var loadImages:LoadVars = new LoadVars();
loadImages.onLoad = function() {
if (this.totalImages != undefined) {
imagesToLoad = new Array();
for (var i = 0; i < this.totalImages; i++) {
... more >>
action script to turn on or off the layer (div)?
Posted by micheal_newby at 3/31/2006 8:21:18 PM
Hello,
Is there anyone who had discovered how to turn off or on a layer <DIV> with
actionscript?
For example i have created a layer that goes over the flash animation. But i
want to use a button
in flash that hides this layer. Is this possible and does any one have the
actionscript code... more >>
file upload w/ php - can't set session vars on the Mac
Posted by ShazamFu at 3/31/2006 8:12:01 PM
Hi, I've got a file upload module that works great on the PC. It allows the
user to upload .jpgs. It calls a PHP script to do the actual uploading. After
the uploading is complete, the user is redirected to a page where thumbnails
are displayed of the images that they just uploaded.
L... more >>
Need Help - Navigating with a mouse click
Posted by WolfmanVancouver at 3/31/2006 6:52:12 PM
Hi if anyone could offer any help that would be greatly appreciated.
I have a product demo that I am currently working on. The demo is currently
controlled by either hitting the space bar or enter key to advance the
animation. I would also like to have the file advance by using a single or
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Generating Buttons with Actionscript
Posted by Dieter Kahl at 3/31/2006 6:41:00 PM
Hi,
is it possible to generate buttons with actionscript?
And what is the code or where can I get more information?
Thanks
Dieter... more >>
actionscript and variables
Posted by Armo_Director_user at 3/31/2006 6:29:29 PM
I have a flash movie with actionscript that runs in frame one. I have nested
movies (animated buttons) with actionscript in their frames as well.
What I need to do is have the button set a variable to a "previous" when
clicked on, send a call to a function in the actionscript of the movie th... more >>
CGI Http_Host Variable
Posted by patb96 at 3/31/2006 5:08:11 PM
Just wondering if I can tell the what the HTTP_HOST variable is of an swf
file. If i cannot... is there a way to call a webservice using a relative
path. The URL of the webservice resides in the same folder as the SWF. I have
a testing and production server and wanna dynamically generate ... more >>
Array's disapearing from attachMovie movieClips
Posted by MCR at 3/31/2006 5:06:47 PM
I am readin in a XML file containg a personal chart structure in the form of a
Spider Chart. So I read through the XML structure and dynamically attach MC's
with attachMovie and then use recursive function calls to produce all the
children of each node of the spider diagram. Each MC that has c... more >>
Flash6 to Flash8 problem
Posted by Rallim at 3/31/2006 5:06:40 PM
:disgust;
I know there are tons of post about this and I tried to solve my problem by
reading them but I'm missing something. I need a fresh pair of eye to look at
this code to see how to make it work in Flash 8
I'm stumpped!!!! HELP ANYONE!!!!!!
here is a link to the FLA
www3.sympa... more >>
Show/Hide layer with button
Posted by gv0523 at 3/31/2006 3:58:07 PM
Forgive me if this is a stupid question, but I am a Flash newbie...
I have created a object with a number of layers. It's basically a map and
each layer is a set of locations that a team is responsible for. I have
created a button for each of these teams, and my question is this:
Is t... more >>
Curved text
Posted by gigisfarleaza at 3/31/2006 3:21:43 PM
Can someone tell me hai can i curve text in Flash ? withouth breaking him apart an arange every leter by hand....... more >>
load movie flicker on load
Posted by guido626 at 3/31/2006 3:11:39 PM
Below is the standard behavior script that flash has made for me while loading
an external swf. I'm using several of these statements loading 6 swf's on my
page. Problem is, they seem to flicker/reload while each of them load. They
stop when all 6 of them are loaded. Can anyone tell me if t... more >>
Does screenweaver stop fscommands?
Posted by RobGT at 3/31/2006 2:50:18 PM
Subject says it all really.
I'm wondering if my exe file (flash movie compiled using screenweaver) is
not successfully using fscommand because of screenweaver somehow?
If someone knows - please advise.
Cheers,
Rob
... more >>
Is this possible to do?
Posted by Hermet at 3/31/2006 2:46:31 PM
I have a flash application. It has a dynamic text field. When I run the
application an swf movie loads into flash. The swf movie has a button on it. Is
it possible to make the button (on release) load some text into the dynamic
text field? what do I write inside the button's AS window?
... more >>
Returns on dynamica texts.
Posted by JimmySlam at 3/31/2006 2:02:48 PM
I have a text and I want to add a ENTER (RETURN to the next line) I really
dont want to add a enter on the XML because i will look messy when I check
the XML. is it any way to add a enter like on C is "\r". or on VB is &vbrtrn
(or something like that).
Anyone knows that is the code for a ... more >>
Chained List
Posted by delatroy at 3/31/2006 12:42:06 PM
Im looking to build a multi-user game in flash. Does action-script support a
chained-list? I need some kind of way to manage six users in one animation.
Refer to this URL to get a detailed example of a chained-list in C. >
http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?t... more >>
load from external txt file
Posted by Denesh Kumar at 3/31/2006 5:08:15 AM
Hi,
How want to load text from text file into dynamic text box of a movie ???
reply me
... more >>
How do you expire a SWF?
Posted by SunSeekerNC at 3/31/2006 5:00:40 AM
Hi:
I want to be able to:
(1) expire a swf within a certain number of days after it is first run.
I know I can use getDate() to determine the current date. However, how to I
have the swf (1) determine the current date (2) save this info somewhere and
(3) have the swf expire (say 60 ... more >>
XMLSocket vs. the Enter key
Posted by blemmo at 3/31/2006 4:04:06 AM
Hi forum,
I came across a strange problem with a function that makes use of a XMLSocket.
The function just connects the socket; after that the socket's events should
handle the connection. Now I have a textfield for user input (just a name), and
a "connect" button. The 'connect' function i... more >>
Giving actions to dynamic text link ?
Posted by billy nugz at 3/31/2006 3:44:35 AM
I have a scrolling dynamic text feild with a few hyper links in it. Instead of
just having a hyper link can I give certain protions of that text actions like
normal buttons?
If NO
Is there a way to scroll movie clips using the scrollbar component ?
(scrollbar component from flash excha... more >>
goto and play issue
Posted by Jimmathy at 3/31/2006 3:04:39 AM
I want to make it so that when the right arrow key is pressed that a movie clip
goes to and plays at a frame labeled "rhit". But here's the problem, I also
wan't it so that if another movie clip called "head" is at the _y location of
125 then it also goes to and plays at a frame labelled "smac... more >>
Resizing loaded Flashpaper - I give up!!
Posted by rodolfo1216 at 3/31/2006 2:25:50 AM
I can't believe it, I just can't believe it. This is hard. All I want to do
is load an swf file I made with Flashpaper into a movie I'm making. It loads
in okay using loadMovie, but I can't figure out how to resize it. Can anyone
tell me how to resize a flashpaper swf? why is this so hard... more >>
pass variables to Flash
Posted by turlon at 3/31/2006 12:00:00 AM
I am attempting to pass a variable to a flash movie on each page of an
e-learning course, the pages of which are generated by a tool called Lectora.
(It produces html and js pages that are SCORM compliant - handy seeing as I
dont know how to go about this using just flash) Each page contains a... more >>
How can I know the size (Y) of a dynamic text?
Posted by JimmySlam at 3/31/2006 12:00:00 AM
Im triying to find out on the fly the size of several textboxs that are
dynamic... Can I do it?
... more >>
unique URL
Posted by jonnybennett at 3/31/2006 12:00:00 AM
Okay this isn't strictly a flash question, but it is for a flash site I am
working on, so needs to be maniplted for flash.
I have seen many sites that offer their users a unique url...
eg... www.websiteoftheyear.com/james
This will then load a page but with their personal settings, howev... more >>
Strange keyPress problem
Posted by OniLink at 3/31/2006 12:00:00 AM
First of all, I'm using Flash 8, but I'm exporting to Flash Player 6.
I have this code on a movieclip:
on (keyPress "<Up>") {
trace("UP!");
var focus:String = Selection.getFocus();
if (focus.indexOf("input") != -1) {
_root.searchItems();
}
}
The trace never returns! I c... more >>
Two different frame rates in one movie
Posted by tegan719 at 3/31/2006 12:00:00 AM
Hello,
I have a movie clip of a 3d logo in my main time line that I would like to run
at a slower frame rate than the main movie. What's the actionscript for this?
Or do i need to load it as a seperate swf?
Thanks
Tegan
... more >>
Run one exe file from another
Posted by RobGT at 3/31/2006 12:00:00 AM
Hi,
I need to add some code to a button in a flash movie (an EXE - not a movie
running in a browser window) that will launch a second flash based exe.
No browsers involved.
I have tried using an FS Command, but all that does is throw an error saying
"unknown command"!!!
Please help.
Chee... more >>
getPixel32 bug or something?
Posted by katopz NO[at]SPAM sleepydesign.com at 3/31/2006 12:00:00 AM
import flash.display.BitmapData;
var out_bmp:BitmapData = new BitmapData(10,10,true,0x33FF3300);
trace("get : 0x"+out_bmp.getPixel(0, 0).toString(16)+" ("+out_bmp.getPixel(0,
0)+")");
trace("get32 : 0x"+out_bmp.getPixel32(0, 0).toString(16)+"
("+out_bmp.getPixel32(0, 0)+")");
result is... more >>
fading in/out external movie clips
Posted by blueprnt at 3/31/2006 12:00:00 AM
Hi,
What I am trying to do is load a external swf into a movie clip (blank_mc) on
my main time line.
So something like this
this.menu1_mc.onPress = function()
fade out movie loaded into blank_mc
unloadMovie("_root.blanc_mc");
fad... more >>
Data in Objects
Posted by doug777 at 3/31/2006 12:00:00 AM
Is it permissible to have data that needs to be resolved in objects?
E.g. is this allowed?
var var1:String = "Hello";
var str2:String = "World";
var myObject:Object = {var1:1+1, var2:str1 + " " + str2};
A trace would return
2
Hello World
or would there be an error?
Doug... more >>
Embedded Video Object Sound Control
Posted by ropeGun at 3/31/2006 12:00:00 AM
Hello Flash AS Gurus,
I am streaming in FLV's (eventually with sound) into an Embedded Video Object
instance on my stage. I am using NetConnections and NetStreams to load in the
FLV's into the instance. I would like to make a "mute" button where the user
can click and mute the FLV's sound ... more >>
Help
Posted by n-Qube at 3/31/2006 12:00:00 AM
Does any one have an ideas how this site was createdhttp,://www.cookie.pl/? is it possible to achieve that using tween classes... more >>
Newbie rollover question
Posted by jgeorgiou at 3/31/2006 12:00:00 AM
Hi all,
I have a simple question.
I have a movie clip which contains other 30 movie clips.
I want to write a script to the master movie clip (or somewhere else) to
detect the rollover handler for each movie clip and change it's alpha channel.
Thanks in advance
... more >>
|