all groups > flash actionscript > may 2005 > threads for friday may 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
Using Learning Interactions - Need a Multi-line label for checkbox
Posted by Christopher Hayes at 5/13/2005 3:18:43 PM
Flash MX 2004 Pro, publishing as v7
I'm using the Learning Interactions Library from Macromedia. On the
Multiple Choice component, it uses Checkboxes, which have a label. You use
the label for possible answers. The labels won't allow you to have
multi-line text, which I need. Is there a... more >>
loading text in text field
Posted by (_seb_) at 5/13/2005 12:43:00 PM
Hi all
I have succesfully loaded external text files in text fields in the
past, using something like this:
load_txt = new LoadVars();
load_txt.onLoad = onText;
load_txt.load("texts/main.txt");
//loading text function
function onText() {
txt_d.text = load_txt.varText;
}
but wit... more >>
Preloader doesn't preload called movie?
Posted by MonkeyPiePdx at 5/13/2005 12:00:00 AM
I have several large movies (2-3 mb each) that are loaded at certain frames
using 'loadMovieNum' and the preloader I have on the parent movie doesn't load
these - which I guess makes sense - but I'm not sure what to do in order to get
these to load before they get to the frame that loads / pla... more >>
Accelerating/Decelerating Through the Timeline
Posted by frosto at 5/13/2005 12:00:00 AM
I am trying to create an interaction where the user (first person view point of
driving in a car) can "accelerate" and "break" through a timeline. I have a
looping mc that acts as the road/street lights going by. Any ideas? Thanks.
Dan
... more >>
Using removeTextField()
Posted by DIszastre at 5/13/2005 12:00:00 AM
Can anyone explain why I cannot get the "removeTextField()" to work all the
time?? I am creating a TextField at runtime using the ActionScript:
this.createTextField("cMagnitude",this.getNextHighestDepth(),546,195,100,30);
the TextField is being successfully created. Then, at a later frame... more >>
Newbie: Cross Fade Action Script
Posted by Al_NZ at 5/13/2005 12:00:00 AM
Hi Folks,
Apologies if this is a dumb question.
I am rather new to ActionScript and I want to fade between a bunch of images
in a directory. Only images will be in thi directory which the user can update.
How would I go about doing this with action script?
Thanks
-Al
... more >>
Scroll Text
Posted by canase at 5/13/2005 12:00:00 AM
I know there are many examples in the forum but I can not figure out what is
going on with mine. The link to download the file is here
http://www15.brinkster.com/canase/resume.fla Can anyone please check it out
for me and see whats going on with it.
Thanks
... more >>
Window Help
Posted by canase at 5/13/2005 12:00:00 AM
Ok I have my image opening in a new window. the code in the html file is
//<script language="JavaScript">
//window.resize(643,533)
//</script>
And in my flash file just a getUrl. My problem is, the window is not opening
in that size, its going full screen and I can't get rid of the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Depths and movieclips not attached dynamically
Posted by Scott Villarosa at 5/13/2005 12:00:00 AM
Does an MC have to be given a specific depth (via duplicate MC, attach/create MC, etc) before you can manipulate its depth level? What I mean is normal movieclips that appear on the stage in my movie (not attached dynamically) are not reacting to getNextHighestDepth() and always return 0 for their d... more >>
Trying to load text from a php
Posted by Marta H at 5/13/2005 12:00:00 AM
I am trying to load text from a a php I have this code:
c = new LoadVars();
c.onLoad = onText;
c.load("prueba.php");
function onText() {
txPrueba.text = c.animacion01;
}
and prueba.php is:
<?php
$rString = "animacion01=CASA";
echo $rString;
?>
But when I run the flash... more >>
Using StageListener.onResize within a Class
Posted by Aware at 5/13/2005 12:00:00 AM
I have created a class to dynamically create a menu. Within one of my methods I
have the following code
stageListener = new Object();
// Listen For a stage Resize.
stageListener.onResize = function(){
trace(Stage.width);
createMenu(makes);
}
Stage.addListener(st... more >>
Problem with Input text and buttons.
Posted by seancor519 at 5/13/2005 12:00:00 AM
Ok, well, here's my problem. You know how when someone clicks on an input text
box, and the blinky cursor thing is in the text box? Well, I figured out that
when that is in the text box, it messes up buttons. After you click a button,
you have to move the mouse to click the button again. Sinc... more >>
Passing variables to URL
Posted by BA-Tex at 5/13/2005 12:00:00 AM
I have a text field, I want to create a link from it to a website
http://www.myfantasyleague.com/2005/live_scoring?L=25707&W=1&FRANCHISES=0007_001
1, where the 0007 and 0011 are the franchise ids,but will change for each week,
I am already getting the franchise ids from an XML file.
Here i... more >>
Constantly update variable
Posted by fleury29 at 5/13/2005 12:00:00 AM
:confused;
I want to recreate the windows as a flash joke...I need to get the time in the
corner to update w/ the system clock. I got the clock working, I just need it
to update. I tried "on (rollOver){..." but it only updates when I go off the
form then back on help me plz
... more >>
Shared Object and Multiple Swf's
Posted by Ryan Schwecheimer at 5/13/2005 12:00:00 AM
I would like to know how to have a shared object be used by multiple movies. I
have a Main.swf that loads news.swf. What I would like to do is set a shared
object in Main that all other sub movies can access. Anyone know how to do this?
... more >>
how to call js variable in actionscript
Posted by ladieheartz at 5/13/2005 12:00:00 AM
hello..i need help on..
ok let say this variable is in js:
//
var suc = document.applets["WriteFile"].write( strLogin, strTest, strJournal,
strReward ) ;
if( suc == false )
{
alert( "ooopps") ;
}
//
how can i call d "suc" variable in actionscript?
thanx ;)
... more >>
creating a rollout movie clip?
Posted by Greg Garza at 5/13/2005 12:00:00 AM
I've seen a few flash sites that have a rollout movie on their buttons, it
creates a really fluid look between mousing over other button/links. I haven't
seen a "out" option for the button editor so I assume this needs to be done
through actionscript. Does anybody here know how to do this?
... more >>
Tween Class Problem. PLEASE HELP!
Posted by JarrettGreen at 5/13/2005 12:00:00 AM
I have two .swf's one is a "container" that loads the other .swf into a
placeholder moviClip - all of that is fine. I use the Tween class in both
..swf's to move simple things with code rather than with the timeline. When the
container clip loads the other movie file, it doens't read that AS. ... more >>
Event Fire When Browser Focus
Posted by mzscott at 5/13/2005 12:00:00 AM
Hello All,
Does anyone know of a event which fires when a browser looses focus.
Specifically if the browser window is minimized and then brought back to focus
is there a event which can fire telling me that the window itself has been
focused?
Any help would be greatly appreciated.
... more >>
Variable resolution movies
Posted by iyervish at 5/13/2005 12:00:00 AM
Hello,
I'm making an internet application on Flash and I want the movie (when opened
in a browser) to behave like an application window, so that people with higher
resolution screens can make use of it.
In other words ,as opposed to specifying the swf resolution as something fixed
(s... more >>
Help with a line of code that needs to be converted to work in flash player7
Posted by daveluff at 5/13/2005 12:00:00 AM
Hi people,
I have these lines of code.
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
They work in flash player 6 but not 7.
It seems to be thi... more >>
Silently and invisibly load in a swf.
Posted by a little ant at 5/13/2005 12:00:00 AM
Usually on mouse click (in a certain area) this happens which plays an
animation.
myMCL.loadClip("animationSwf.swf", "aSimpleMC_mc");
However, it takes a few seconds to load and the delay doesn't help.
When I load up the main swf which houses aSimpleMC_mc - how do I script it to
prel... more >>
Creating custom scroll bars
Posted by shawnoel at 5/13/2005 12:00:00 AM
Hello and thanks for taking the time to try and help!!! Okay. I'm going to
explain this as well as a newbie to actionscript can. I have a text box that is
created from this code:
_root.createEmptyMovieClip("dataHolderMC",1);
dataHolderMC.loadVariables("textFileLearning.txt");
dataHolderMC... more >>
Datagrid Cell Colour
Posted by phil ashby at 5/13/2005 12:00:00 AM
Hi all,
Any idea how I can change the colour of a single cell in the Enhanced Datagrid
component dependant on the content of the cell. eg. A = Red, B = Green, C =
Blue etc
I think cellrendering might be it, but I read and re-read the help and just
don't get it!
Cheers
Phil
... more >>
i need to send an mail using flash to Lotus Notes
Posted by Jalpet at 5/13/2005 12:00:00 AM
I need to send an email using flash. i am using the " mailto: " but i have 10
lines of content with my address, these all lines are coming in a single line.
I don?t want like that, I want as it is. I tried with html tags like \n <br>,
even though its not working. is that possible? Please he... more >>
Mouse over event in flash
Posted by anira1980 at 5/13/2005 12:00:00 AM
hi
I want to know in which version of flash i can do mouseover events and also i
want the code . I also want to know how to pass parameters from flash to html
page and vice versa.
thanks in advance
anira1980:confused;
... more >>
centered pop-up window
Posted by cptkirk at 5/13/2005 12:00:00 AM
Hi,
is it posssible to trigger a centered pop-up window from a button in a .swf
Thanks... more >>
animations stop playing on button rollout?
Posted by Greg Garza at 5/13/2005 12:00:00 AM
Hi guys,
I'm working on a flash site that plays some looping animations as soon as the
site loads. In addition, I created a menu that loads 2 seperate movie clips
through "attachvideo()" on rollover, and then removes them on rollout.
I got that part down just fine but, the problem i... more >>
Why can't I pass a simple variable to a function??
Posted by karma-lab at 5/13/2005 12:00:00 AM
In the first frame of the timeline, I declared a function:
function doBlockScreen(handleClick:Boolean) {
... more >>
Array and dynamic text
Posted by cristianregep at 5/13/2005 12:00:00 AM
I have some dynamic texts which should take some values of an array. I have put st[1] for a dynamic text but it does not return the value st[1] it only leaves the place blank... more >>
Save and load files
Posted by lmy2005 at 5/13/2005 12:00:00 AM
Hi!
I'm writing a flash application that need to provide option for user save
file. What method of actionscript i can use for this?
Then, I need to write the option for user to browse the file that they already
save and load the file, how can i do this?
Thanks!!!
... more >>
download pdf button not working
Posted by Pamela Morejon at 5/13/2005 12:00:00 AM
hi.
im trying to geat my 'download pdf' button to work and it's not working.
basically it goes to a 'page not found' page. i think i might have to launch
the site in a new window and then it will work?
this is my code:
on (release) {
getURL("www.tiffanytuttle.com/flaunt-2004.pdf", _... more >>
Help with NetConnect and functions?
Posted by GregNeumayer at 5/13/2005 12:00:00 AM
Hi,
I can't seem to get netConnect to play my flv when inside a function. What am
I not understanding? I'm sure I've either got a painfully stupid mistake, or
there's something about using functions that I don't understand. See examples.
On frame one of my timeline, this plays my video:
... more >>
Translating from Visual Basic to Actionscript
Posted by andrew329 at 5/13/2005 12:00:00 AM
I was wondering if it was possible to create a private sub statement or
something like it in actionscript. I have pasted the following code below, and
I am curious to see if there is a way to do this.
Private Sub Button55_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) H... more >>
Create Button Group
Posted by john.gooch at 5/13/2005 12:00:00 AM
I have a movie that has multiple submovies that are selected by clicking on
buttons ( makes sense, eh? ). To make is easy for the end-user to see which
submovie is currently selected, I made the buttons toggled( toggled = true ) so
they can just look to see with button is toggled down and that... more >>
quick question about loading images
Posted by sneskid at 5/13/2005 12:00:00 AM
im having alot of trouble loading local jpg images into my movie
Say i have a jpg in the same directory as the swf file, and i do
mc.loadMovie("x.jpg");
shouldn't that work?
Also, can you make the php script return an entire jpg file and then display
it in an mc from the loadVars object?... more >>
Opening External Files
Posted by mathew_lyons at 5/13/2005 12:00:00 AM
I neeed to open an external file (in this case its a HTM but i would like to
know ho to do all!) from a flash standalone player but cant work it out. I also
cant understand the help file!! IOf any one has any idea please help. Its quite
urgent. Thanks
... more >>
Ways to search through an Array, string or...
Posted by Mr Helpy mcHelpson at 5/13/2005 12:00:00 AM
I need a way to search through an array or a string for a number of occurences
of a letter or number.
Is the best way to do this to use String.indexOf(x);, then delete the first
"x" and run the script again with a counter. Seems like there is a better way.
Helpy McHelpson
... more >>
flash protection
Posted by wes eyefusion.be at 5/13/2005 12:00:00 AM
Hey,
Lately i was working on a swf protection.
I invite some testers to try to download de swf .(and be able to play it
locally)
Tip: It is a container swf that loads another swf.
Of course you can use decompilers to see actionscript code.
Also you're free to use http-live-headers ex... more >>
Flash in Visual C++ .NET
Posted by Pcmaan at 5/13/2005 12:00:00 AM
Hi,
i'm trying to develop a C++ windows application with Flash as embedded ActiveX
control.
It all works ok except for one thing: the SetVariable function which is
available in C# an VB.Net is not there for C++
So how could i get data to my control ?
Thanks a lot !!
Pcmaan
... more >>
Open link in new browser?
Posted by tedtanic at 5/13/2005 12:00:00 AM
:confused;
Where can I find the ActionScript for having a button open a new scene in a
new browser window? Like when a website has an intro page, but when you enter
it and navigate it all takes place in a pop up window in front of it? Thanx.
PS - Also, is there a script for a button to... more >>
Customer web browser window
Posted by dannymcn at 5/13/2005 12:00:00 AM
Hi
We've been developing a simple flash movie that shall be viewed in a pop-up
window:
http://www.designmachine.com/charlex-specs/
Simple enough ? but, we were wondering if anyone knows a way to create a
custom/invisible browser window. So that IE/Safari/Netscape window is
invisible/su... more >>
Data Retrieving and Sending through XML
Posted by Rajula at 5/13/2005 12:00:00 AM
Hi to all
I need help on data retrieving and sending in the xml. My concept is I want to
make a form that would be connected to xml.
When i fill the form if i want to retrieve the Data to be shown. if any one
have example file this plz send to me.
Thanx
... more >>
preloader help please
Posted by Pamela Morejon at 5/13/2005 12:00:00 AM
hi.
im setting up a preloader. i inserted my 'loading...' animation into a movie
clip and appied the following code:
onClipEvent (enterFrame) {
if (_parent.getBytesLoaded() == _parent.getBytesTotal()) {
_parent.nextFrame()
}
}
i also placed a stop action on the first ... more >>
What exactaly happens in frame loops
Posted by TAGDigital at 5/13/2005 12:00:00 AM
Hi. I'm new to flash , coming over from a strong Director Lingo background. I
have been looking thru some of the examples in the help files. I am a little
confused how code in a frame loop is executed. When something like this (see
below) is in a frame does it execute on every pass? If on a s... more >>
|