all groups > flash actionscript > september 2005 > threads for wednesday september 14
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
Building Components from scratch
Posted by cleeeek at 9/14/2005 11:33:32 PM
I'm building a set of components from scratch.
I have 2 components that both have custom setSize(), width, and height methods
that redraw themselves based on the variables __width and __height, which I set
when the component is initialized by setting them equal to _width and _height.
Af... more >>
Need help with formatting text
Posted by bwm_razel at 9/14/2005 10:45:10 PM
Alright I have this function that I'd like to use to create some bulleted text
in an already placed dynamic text box. I allowed enough parameters to have 7
bullets, because I doubt I'll ever need more than that. Now the problem is, if
I would like to use 5 bullets instead of 7, the function do... more >>
Web Services
Posted by Ryan Bellerose at 9/14/2005 10:19:58 PM
How do I get the returned data to display in a dynamic text box? I am currently
only know how to trace the result. Here is the code:
---------------------------------------------------------->
import mx.services.*;
result_btn.onPress = function() {
var siteService = new... more >>
FLVPlayback help in FLASH 8
Posted by CarTV at 9/14/2005 10:16:53 PM
Anyone have some advice on how I can make the new seekBar._visible = false when it is placed on the main stage and the actionscript is placed in an include file?
-bill... more >>
Bitmap Background Fill Swapping/Modifying
Posted by jcard10 at 9/14/2005 9:54:17 PM
Are there ActionScript classes/methods that assign a bitmap as the fill of a
movie clip? And then swap a bitmap fill with a different bitmap and modify the
bitmap fill properties, like scale and tiling properties? All with only
ActionScript?
If so, please advise me on what classes/meth... more >>
mcListener not McListening
Posted by mermagen at 9/14/2005 9:50:16 PM
could someone tell me what I am doing wrong here?
function buildNavigation() {
this.row = 0;
this.column = 0;
this.createEmptyMovieClip("navigation", 5);
navigation._x = navClipX;
navigation._y = navClipY;
//attach scroller to thumb... more >>
how do i get the current frame number playing?
Posted by JaredCunha at 9/14/2005 8:54:27 PM
Would anyone know, or be able to refer me to a tutorial on how, to create a
timer that runs in the first frame. It needs to calculate the current frame as
the playhead advances.
I have some attached movie clips playing in a droptarget, and when the user
clicks a button, the slide goes from... more >>
Launch a folder from projector?
Posted by rice lake at 9/14/2005 8:49:52 PM
Hello,
I'm wondering if it is possible to simply open an windows folder from a
projector file? I don't want to open a specific file, just a folder window to
reveal the files inside. This is for a cd-rom.
Does anyone know if this is possible? I've tried the fscommand exec (didn't
work for... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Array Help? - v2
Posted by Roks-1 at 9/14/2005 8:43:31 PM
Hello,
I was wondering if anyone could tell me why, when I add these two lines of
code to my script it no longer will draw the lines correctly and in the right
order?
_global.aTemp.push({Order:myArray[j].Order});
_global.aTemp.sortOn("Order", Array.NUMERIC);
I initialize the array ... more >>
Sound Help
Posted by demdps at 9/14/2005 8:11:18 PM
I have a several diffrent movie's ( Becouse of the size I made each scene it's
own movie) If I have music in the background is there a way to get that music
to continue playing accross each diffrent movie as they load and keep playing??
For instance:
If I am playing Pink Floyds Money to ... more >>
Using arrays.
Posted by NetGeek911 at 9/14/2005 8:10:30 PM
Hi,
I was thinking about somthing:
Is it possiable to do this: create a button,lable and a text box.
When the user clicks the button it saves what ever was in the textbox to an
array. Then the lable automaticly reads the lable and shows what ever the
button saved.
Is that possabl... more >>
ActionScript Changes in Flash 8
Posted by gravitonmatrix at 9/14/2005 7:58:22 PM
I have a project that works perfectly in Flash MX 2004. I brought it into Flash
8 so I could use the new text rendering features. However, when I save it to a
SWF file, I get these errors:
**Error** Scene=Scene 1, layer=script, frame=1:Line 46: Syntax error.
daysLeft = "0" add daysL... more >>
problem with variables with flash player8
Posted by samssa at 9/14/2005 7:58:14 PM
Hi,
I've a problem : when i've istalled flash player 8 my site become unstable!
the script work right well with flash player 7.
The site use interaction between flash and xml,
i've inserted a function that post variable when load a external movie, like:
function launchProject(_arg1) {... more >>
ExternalInterface requires file(s) to be on web server? Why?
Posted by squealie at 9/14/2005 7:55:41 PM
Hi,
When using the new Flash 8 ExternalInterface for calling functions between
Flash and Javascript... (see 'Creating interaction with the External API' in
Flash 8 Help) Flash forces you to upload the files (swf and html) to a web
server before it will work. If you try to access the files... more >>
Using text with xml?
Posted by thejokerman05 at 9/14/2005 6:41:01 PM
I use xml to make a slideshow, and I have some descriptions of the different
images displayed. My problem is that I now want to control the text, adding
bold text and line brakes and so on. How do I achieve this with xml? Please...!?
Here?s how the xml file looks like, I would like to add ta... more >>
Embedded MovieClip Positioning
Posted by Jaleho at 9/14/2005 6:14:37 PM
I have a mc on the stage. Inside it is another mc which is offset and scaled.
inside that is another mc which is offset and scaled. Inside that is another mc
(mc_1).
Now, I have another mc on the stage. Inside that is another mc(mc_2).
With all the offsetting, scaling, reference points, ... more >>
flashVars not reloading, using external text file, I update the file, the values are the same.
Posted by Eweb7 at 9/14/2005 6:04:31 PM
The text file loads fine.
However the user does not see the change after the file was rewritten, and
user reloads the page.
If the user clears his/her browser cache and reloads the page it will show the
new values(Vars)
My question:
Is there a way to solve this problem?
Here is ... more >>
move mc's in array
Posted by pickle jar at 9/14/2005 1:09:22 PM
Hi all,
I have a .fla that has a load of imgs in an array, each image has its own
instance of a mc.
I move the _x coordinates of the holding mc and they all scroll.
You can drag and drop the images onto a canvas and when this is done it will
remove the images from the arr... more >>
actionscript in MX 2004
Posted by Broncho at 9/14/2005 12:55:17 PM
Hi,
In Flash MX I was used to the normal mode, but now I have MX 2004, but I can't
find out how i load the action script panel in normal mode, It's always being
showed in expert mode.
How I can get to the normal mode?
Thx!
... more >>
Tree Component
Posted by ANK... at 9/14/2005 12:43:28 PM
i want to know that is it possible to add attribues into tree component?
if yes then please tell me.... more >>
Images won't load on low bandwidth
Posted by h.risley at 9/14/2005 11:38:16 AM
Hi,
I am using LoadMovie to load a JPEG (non-progressive) into a freshly created
empty movie clip. This works fine on high bandwidth connections but when
testing in low bandwidth the percentage loaded counter goes up to the top but
image doesn't display?
This script sits in frame one o... more >>
search application
Posted by icarusdown at 9/14/2005 10:30:50 AM
I don't know what is wrong with my search application code. The selection is
sometimes showing sometimes not. Can someone please take a look!
var nLastMatchIndex:Number = 0;
function findSearchString(sSearchString:String):Void {
var nIndex:Number;
nIndex =
tSectionContent.text.to... more >>
Getting Button to Play Separate Movie
Posted by kenmatthews at 9/14/2005 10:19:28 AM
I am troubleshooting how to make a button in my current movie (movie.fla) move
on and play the second move (movieInner.fla). This is the code I have on the
button. I have only seen explanations for going to a different frame within the
current movie, but not to a separate movie (ugh!).
on ... more >>
open mail program from projector
Posted by Che28 at 9/14/2005 9:37:55 AM
Hi there,
i?m working on a CD-Rom and want the projector to open the user?s mail client
with a new mail and preset address and concern. I?m not shure, if i?m right,
but the "mailto: ...." doesn?t seem to work. Anybody, any idea? Please!
... more >>
Divide screen in 30 equal parts to load mc in it
Posted by 600trans at 9/14/2005 9:37:46 AM
I relativly new to actionscript for FL MX 2004. How can iI divide my screen in 30 equal parts so I can load with actionscript the mc
I created in each of those part ?... more >>
Catch loadMovie error
Posted by phil ashby at 9/14/2005 8:19:59 AM
This should be pretty simple, but I can't seem to find it in the help anywhere.
I'm using loadMovie eg. loadMovie("myMovie.swf",myTargetMC) and want to catch
whether the myMovie.swf is found.
If it's not, then an error is shown in the output window (Error opening URL
"file:///C|/DOCUME%7... more >>
Flash 8 FileReference & browse(); questions
Posted by Ian Kelleigh at 9/14/2005 8:15:50 AM
I was playing around with the new browse() function and noticed that it
seems to try to load an image (or file) to the movie's static location.
As in, it doesn't get a path to the file, it just loads it into memory
and then if you were to refer to that file again, it needs an on line
host fo... more >>
Loading external images to an MC
Posted by mr.eddy at 9/14/2005 7:03:09 AM
If I load a jpeg into an MC with loadMovie(), the MC flickers between the image
change. What's the simplest way of avoiding this? Having two MCs overlapping
and loading the image into the MC in the back and then hiding the front one?
This method seems stupid since I'd have to switch between th... more >>
Background Loading - Any Advice?
Posted by GmR at 9/14/2005 1:13:10 AM
I have developed a Flash site for a client
(http://www.argentphoto.com.au/new/flash/. He has asked if I can add a way
(mainly for dialup users) for the entire site to download in the background, or
if they were to go and get a coffee... At present the swfs for each area load
on demand.
... more >>
#include not working on Mac
Posted by tolmar at 9/14/2005 12:56:02 AM
For some reason, the "#include" functionality is no longer working on a Mac in
Flash 8.
It works if the included file is in the same directory as the FLA, but when I
try to include a file like the following:
#include "hard_drive:flash_scripts:motions.as"
I get an error that the file c... more >>
very strange property behavior
Posted by abeall at 9/14/2005 12:53:45 AM
this is copy pasted code:
m._alpha = 15;
trace(m._alpha);
output:
14.84375
What is going on here? Naturally there is alot of other code involved, but
I've run into this problem a number of times before, so I'm sure some guru out
there has an idea what it is. It is extremely st... more >>
Problem with dynamically created text field
Posted by allan_h at 9/14/2005 12:00:00 AM
I am writing a class in ActionScript 2.0, and I want to put text into text
fields. I need to create a movieclip to hold the fields, so I can also load
another movie as well.
Here is a summary of my script:
thisDrag=_root.createEmptyMovieClip("Actions", 100);
thisDrag.TextBoxes=_root.crea... more >>
how to control mx.transitions
Posted by SteveStall at 9/14/2005 12:00:00 AM
=20
Hi there,
=20
Is it possible to control the end of the effect build with =
"mx.transitions"?
=20
My idea is to be able to run a function when the animation ends
=20
Best regards,
=20
Steve
=20
=20... more >>
Movie Clip Navigation
Posted by senhf2 at 9/14/2005 12:00:00 AM
I have been trying to move from the first frame one movie clip in my project's
main timeline, to the last frame in a different movie clip on the main timeline
I have tried various statements, but nothing has seemed to work.
examples:
_parent.Movie1_mc.gotoAndStop("Frame2");
_parent._Movi... more >>
getURL & Javascript Problem
Posted by DJenders at 9/14/2005 12:00:00 AM
Ok, not sure anyone has run into this one and can not find an answer a week
after finding the problem.
I am creating an online advertistement that calls a javascript function on the
page to rewrite a DIVs content. Basically turning a floating ad into a static
version after X amount of seco... more >>
Velocity Limit.....
Posted by addicted ta mx at 9/14/2005 12:00:00 AM
hi people........
i can imagine this isn't a hrad question for alot of u but never-the-less.....
i'm stumped :confused;
I am making a Space Invader/Raiden DX game and i have a scolling background
that gets faster the longer u hold down the key(velocity)....now on the first
frame i hav... more >>
I give up
Posted by aisling239 at 9/14/2005 12:00:00 AM
I have been trying to write the html code to make it so when a user clicks on an image it goes to the specific frame within a .swf in which that picture is located.
First I am unsure whether i... more >>
SWF actual movie size at runtime
Posted by Sson at 9/14/2005 12:00:00 AM
hi
is there any way to get swf actual movie size at runtime?
me use MovieClipLoader to load an external swf movie
how to obtain the external swf movie' actual movie size?
thnx a lot... more >>
Displaying a variable from a shared object
Posted by desziner at 9/14/2005 12:00:00 AM
I am attempting to create a bookmark in my e-learning application. So far I
have been able to write and retreive the name of the swf file to a shared
object. At this point I want to be able to load the name from the shared object
into my bookmark button so it will load the correct swf.
How... more >>
need help: Arrays and _level0
Posted by keiTai at 9/14/2005 12:00:00 AM
hi all,
I notice my arrays are populated with _level0.nameOfmc
and my library linkage is not with _level0. Since I want to use attachMovie,
my linkage need to be the same as the names in the arrays.
so do I need to linkage my mc with _level0 or is there a way to populate an
array wit... more >>
I give up
Posted by aisling239 at 9/14/2005 12:00:00 AM
I have been trying to write the html code to make it so when a user clicks on
an image it goes to the specific frame within a .swf in which that picture is
located.
First I am unsure whether i should put the .swf within it's own html document,
or if i should just link to the .swf by itself... more >>
Flash 8, AS 2.0 classes
Posted by BostonWPL at 9/14/2005 12:00:00 AM
I created a new .as file for an actionscript 2.0 class for my shiny new Flash 8
Pro, and double-clicked it to open the file in application. I got the following
error message:
"Windows cannot find 'path\file.as'. Make sure that you typed the name
correctly, and then try again. To search for... more >>
getURL string problem
Posted by BPKAMAL at 9/14/2005 12:00:00 AM
i m using
getURL("media/wallpaper/index.html?id=1&size=md","_blank")
inside a main swf this wallpaper.swf is loading.
My problem is when i run this swf alonei work gr8....but when i embad this in
html page.....
it won't show the querystring(?id=1&size=md). it opens page but without
que... more >>
Almost there, why an empty frame and why MC's offstage
Posted by keiTai at 9/14/2005 12:00:00 AM
tx to kglad I have solved one of my questions.
This works and is how I want it
http://www.bldd.nl/MMforum.zip
The things that are questionable:
1 created an empty frame called ovals
2 Put all MC's off stage
Now frame print shows all the selected mc's, but still I am wondering:
... more >>
need this php file
Posted by iqbalsingh at 9/14/2005 12:00:00 AM
:o Hi Macromedia I need this php file please mail me this file I need it urgently
http://www.helpexamples.com/flash/file_io/uploadFile.php... more >>
small validation help.... :-(
Posted by PaulAnka at 9/14/2005 12:00:00 AM
Hello,
I want to check a variable if it end on "*.jpg". How should I do this?
if (filefield ENDS ON .JPG){
dosomething
}
Can somebody help me?
Thanks,
Paul... more >>
Loading an external JPG
Posted by aenie09 at 9/14/2005 12:00:00 AM
Hi,
I got this prob. here where I've tried to load an external jpeg file into
flash movie, but when I upload it to my site I've encounter a situation where
the image not loaded fast enough - or it's not being load at all.
my site link - http://www.axisidentity.com/V2.0/
Anyone got an... more >>
|