all groups > flash actionscript > may 2005 > threads for tuesday may 24
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
Data Grid + a Button/MovieClip
Posted by Christopher Hayes at 5/24/2005 3:53:01 PM
Flash MX 2004/AS2.0
I have some XML I'd like to display in a DataGrid. No problem displaying
it. BUT... I need to make the test in the grids (or the entire row or cell)
clickable so that I can perform a function when that data is clicked.
Anyone know of a good tutorial out there or willi... more >>
Huge button problem
Posted by www.glaielgames.com at 5/24/2005 12:00:00 AM
My AS on a button uses on(keyDown "t"){code;}
I know my actionscript is right.
The problem is, it won't work in one file, and the EXACT SAME BUTTON AND CODE
works fine in another file!
I did some testing, and I narrowed it down to:
It won't work if there is a combobox in the libary.
... more >>
Why isn't this working? Flash and php.
Posted by thejokerman05 at 5/24/2005 12:00:00 AM
Here's the code i have in my .fla and .php-file
stop();
//------------- send form ---------------
function sendForm () {
message.from = emailForm.userName.text;
message.email = emailForm.userEmail.text;
message.comments = emailForm.userMessage.text;
message.sendAndLoad(... more >>
Buttons inside movie not working
Posted by justin cdental at 5/24/2005 12:00:00 AM
Hi, I have made some buttons that all sit inside a movie (because there are
hover overs that come up on each button but simply it is potentially a single
button with a rollover state that sits inside a movie) that then sits inside a
scene , I am trying to get the buttons inside the movie to go... more >>
Weird AS Problem
Posted by Stressed_Simon at 5/24/2005 12:00:00 AM
OK, I am building an AS driven menu system. I am using the following code:-
// stop on current frame
stop();
// set default starting places
var buttonX:Number = 30;
var clientMenuY:Number = 200;
var menuStep:Number = 23;
// create an array with the menu information
var menuArra... more >>
HTML(Param) to Flash (Lable / Scene) !!!
Posted by shahgillani at 5/24/2005 12:00:00 AM
Hello everyone!
This is shahgillani !!!
I would like to know that how can we send the timeline to a specific
"Lable" or "Scene" by using the
<param ... > and <embed .. > tags in the HTML ?
Many thanks
Hassan Sajjad
shahgillani
... more >>
Relative or hardcoded?: Loading MC's using loadMovie or loadMovieNum
Posted by UnclePuppy at 5/24/2005 12:00:00 AM
Just a quickie,
(A dumb question but please tell me the answer anyway. I promise to answer a
dumb question myself if asked.)
I'm loading a movie from a button instance. Example:
onClipEvent (load) {
loadMovieNum("library/myMC.swf", 5);
}
It works locally just fine but... more >>
how can make a navigation bar
Posted by Haahoou at 5/24/2005 12:00:00 AM
I want a navigation bar on my demo such that user can move back and forth frame
by frame using he next and back button
or
using the silder
(like here in this demo http://www.officeclip.com/web/timesheet/demo.html
click the ist link under the "tutorials")
So far I have a mainmovie t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Button Component BLANK in test/publish
Posted by Cadillacula at 5/24/2005 12:00:00 AM
Okay I saw it alluded to in one other post, but not resolved.
I drag and drop a button component into a failry involved flash project and on
publish or test... it shows as a blank empty white rectangle.
I can open a fresh document, drag and drop and it works.
Tried copying it from ther... more >>
Loaded XML HTML-formatted data being discarded
Posted by designbymichael at 5/24/2005 12:00:00 AM
I'm loading HTML-formatted text (basic, acceptable tags like <i></i> etc) from
an XML file and then assigning them to a pseudo-array of variables
(contentPage1, contentPage2, etc.) After I've successfully assigned those
variables, I go to prepare my movie clip for html formatting and no matte... more >>
fade in trouble
Posted by jamiP at 5/24/2005 12:00:00 AM
i have this script on an intro picture to fade in, but if you leave it up for a
few minutes the picture disappears - is there a way to fix this?? please help.
introPict._alpha = 0;
function fade(){
var nFadeSpeed = 5;
introPict._alpha += nFadeSpeed;
};
onEnterFrame = fade
... more >>
embedFonts bug (with proof and workaround)
Posted by Daniel Isenhower at 5/24/2005 12:00:00 AM
Having a problem with embedFonts=true. Actually, I can get it to work, but as
soon as I change the value of the text in the dynamically created TextField,
its TextFormat gets screwed up and the text dissappears!
The workaround is to reapply the TextFormat any time I update TextField.text,
... more >>
loadMovie() bugs!!
Posted by ivanko_98 at 5/24/2005 12:00:00 AM
why does loadMovie() have bugs in it? Very important routine for loading
Jpeg's, and yet sometimes it loads them, and sometimes is doesnt... This whole
problem is really giving me a lot of problems since its the only way to load
Jpeg's into a movie.
Any suggestions on what I should do? For ... more >>
Strange Behaviour
Posted by StargrrlGrafx at 5/24/2005 12:00:00 AM
This as that I'm using to fade in external jpg's seems to work on only on the
first few thumbnails on my script the more thumbnails I click the faster they
fade in where they should all be the same. In the script I change the nuber 30
to increase or decrease the fade. Is that the proper way to... more >>
Not possible to exec a .exe?
Posted by Twilight Princess at 5/24/2005 12:00:00 AM
I made a game in visual Basic for my computer class, I wanted to make the menu
in Flash and have a button that launches my game.exe, I looked through the help
files that come with flash and found something that looks like this.
on (release) {
fscommand("exec" , "C:\game.exe");
}
I h... more >>
pop up window from flash
Posted by upshotvideo at 5/24/2005 12:00:00 AM
I have a pop up window that opens from my flash movie to display a wine list
that is stored in a data base. When the pop up opens, the html page that holds
the main flash movie goes blank and displays: [object] in the upper left
corner. It works fine on my mac, but on my pc's IE, it does tha... more >>
Scratch Card Mask
Posted by Bigbob666 at 5/24/2005 12:00:00 AM
Hi,
Im trying to figure out how to create a flash scratch card, has anyone come
across some code that might help, i figured i could use a drawing mc to form a
growing mask that reveals the picture underneath. But i have had trouble with
dynamic masks before, has any one tried anything simi... more >>
Simple textfield class question
Posted by Scott Villarosa at 5/24/2005 12:00:00 AM
What syntax of the textfield class do i have to use to detect when a user initiates a text field instance on the stage (clicks on). the user may be, for example, clicking on an input field to enter a username or password.
thanks,
scott
... more >>
Problems with mc._width and mc_height
Posted by Michael Post at 5/24/2005 12:00:00 AM
Hello,
in the following code i want to set the size of an mc which load an
image. But when i do it, the image will not be shown.
The sizing-code is currently uncommented and marked with /**
Funktioniert nicht !! **/ CODE /** /Funktioniert nicht !! **/
Thanks for every answer.
Michael
... more >>
A list of links...
Posted by Razororg at 5/24/2005 12:00:00 AM
Im currently building a site where I need to have a large list of text based
links in a list (30 or so) that can be easily updated. What is the best way of
doing this...I want them to appear as normal flash based buttons. i.e. having
up, over and down states but I'd obviously like not to have ... more >>
Text Formating Problem
Posted by Chronix2005 at 5/24/2005 12:00:00 AM
right i've got a lil problem. Basically i have this code in my action scripting
on frame 1 in the actions layer keyframe....
var optionDisable:TextFormat = new TextFormat("Bitstream Vera Sans", 12, null,
true, true);
var optionEnable:TextFormat = new TextFormat("Bitstream Vera Sans", 11, ... more >>
load multi-dimensional array from XML
Posted by lenrooney at 5/24/2005 12:00:00 AM
(sorry if this is a double post, but it didn't seem to work first time)
I need some help with code to load a multi dimensional array on the fly either
from other arrays or from XML. This will give you idea of what I'm trying to
accomplish:
I've got an XML song playlist:
<?xml version... more >>
opening popup
Posted by fake1 at 5/24/2005 12:00:00 AM
Hi all,
I am trying to open a browser popup window through below code. Its opening the
a window but shuts off immidietly, dont know why.....Please help. Thanx in
advance
on(release)
{
getURL("javascript:NewWindow=window.open('sellsheets/1SS7x6SS.pdf','newWin','wid
th=400,height=30... more >>
Verifying a string
Posted by Vevmesteren at 5/24/2005 12:00:00 AM
Hello,
I need to verify the contents of a string. I need to make sure that it is 'Letter - Number - Letter'
How do I script such verification?
V... more >>
disable maximize button on flash player
Posted by Rookie Warrior at 5/24/2005 12:00:00 AM
Why, why oh why can't you disable the maximize button on the flash player? ... more >>
text not showing when using masks
Posted by yertari at 5/24/2005 12:00:00 AM
Hi,
For my site design, i wish to scroll the pages into a central position on the
screen, that make up the site.. On this page for starters i have a text window,
with scrollbar, and this is where i am curious....
I have a mask layer applied, and i am finding, that when using masks, the
... more >>
Loading new movieclip in new window
Posted by Gwarzo at 5/24/2005 12:00:00 AM
Can I load a movie clip into a new flash window (not html) that is draggable and separate from the main stage? Can I use loadmovie()?
Thanks,... more >>
A question about Empty Movie Clips
Posted by Deco Oliveira at 5/24/2005 12:00:00 AM
Hello,
I`m trying to load a .jpg picture into a empty movie clip and later make this
mc trace a message when the cursor roll over it.
But the onRollOver behavior does not work. Please, see the script bellow. Am I
doing something wrong?
_root.createEmptyMovieClip("holder",_root.getNex... more >>
Actionscript Animation
Posted by ramachan at 5/24/2005 12:00:00 AM
Hello to all
I am putting in a call to the flash actionscript community, as an old flash
user and actionscript newbie.
I have an flash file with several thin tall strands of grass and i want them
to grow then sway back and fouth.
can anyone help me
Ramachan
... more >>
Large number of text based links in Flash.
Posted by Razororg at 5/24/2005 12:00:00 AM
Im currently building a site where I need to have a large list of text based
links (40 o so) that can be easily updated. What is the best way of doing
this...I want them to appear as normal flash based buttons. Ie having up, over
and down states but obviously not have to create all of these bu... more >>
Please Help! Actionscript Dropdown Menu Problem
Posted by macgirrl at 5/24/2005 12:00:00 AM
Hi everyone,
I have a dropdown menu that I'm learning to use from a tutorial. It's just a
little over my head and am wondering if someone could help me. Here's my
situation:
1) The menu has the title, DESTINATIONS. Submenu dropdown are a list of
CONTINENTS. Rolling over CONTINENTS sho... more >>
Set focus to a row in a dataGrid?
Posted by cdrabik at 5/24/2005 12:00:00 AM
I'm trying to implement a search feature in one of my applications. I'm trying
to locate an employee in a department. When the user searches on an employee's
ID, the application is supposed to load that department's people into a
datagrid and highlight the employee the user wanted to search ... more >>
dynamic class linking
Posted by kenthaynes at 5/24/2005 12:00:00 AM
Hello all,
What I'm doing:
I have a main swf that's running as a manager. I have a loader class that's
running in that main swf. The loader class creates a movie clip, let's call it
C and attaches it to the root. A movie clip loader then loads an external swf
into C based on informati... more >>
Exact sized image for Exact document size
Posted by Cadillacula at 5/24/2005 12:00:00 AM
I created a 164 x 154 pixel square image with a 2 px solid border around it.
when i import this (PNG-24) into a 164x154 Flash document, it doesnt center no
matter how much and which way I nudge it, the border doesnt show right (only on
2 of the 4 sides) and general silliness ensues.
Any ... more >>
Protecting MP3s through flash
Posted by benjibarnicals at 5/24/2005 12:00:00 AM
Okay, can this be done?
I have a selection of MP3s on a server, using flash i've created a "jukebox"
app to play the mp3 files, using an XML file as the content for track titles,
location etc.
But, i would idealy like to protect the mp3s so that:
1.) They can't be downloaded, or play... more >>
Load swf
Posted by Dilsh at 5/24/2005 12:00:00 AM
Hello,
I need to load a swf file in a new browser window on release of a button.
I am using this but it does not seem to work, nor any errors showing.
on (release) {
loadMovie("C:\galleryproject\Melbourne.swf", "_blank");
}
Can you please advise?
Thanks in advance
Dilshan
... more >>
text not showing when using masks
Posted by yertari at 5/24/2005 12:00:00 AM
Hi,
For my site design, i wish to scroll the pages into a central position on the
screen, that make up the site.. On this page for starters i have a text window,
with scrollbar, and this is where i am curious....
I have a mask layer applied, and i am finding, that when using masks, the
... more >>
A question about unload movie clips
Posted by Danny Mac at 5/24/2005 12:00:00 AM
Hi folks,
Say i'm loading a swf to level 10. In that swf, i'm creating several
movieclips on several different depths. I've got a button that has this:
[as]
on(release)
{
unloadMovieNum(10);
}
[/as]
the swf on level 10 seems to disappear but the dynamically created moviecl... more >>
Preloading sound
Posted by g_como at 5/24/2005 12:00:00 AM
I need to know how to preload sound, and when the sound is 10% downloaded, to go to the next frame and begin streaming the sound. Any help is appreciated. Thank you.... more >>
help with onRollover and onRollOut ?
Posted by Rookie Warrior at 5/24/2005 12:00:00 AM
I have a rather lengthy bit of code to display, but the main problem is I can't
get my onRollover and onRollOut to change the text color. Any ideas?
// At this point it is necessary to determine what section to go to based on
the
// options the user selected in the program
// At the end... more >>
DataChooser componente .. hepl me
Posted by haeniro at 5/24/2005 12:00:00 AM
Hi all, i have a problem with a DataChooser component on my stage, i have a
function that return me back the selected date+7days, like this DD/MM/YYYY
How too have 2 Variables like:
date1 = date selected from the component (in this format DD/MM/YYYY)
date2 = date selected from the componen... more >>
Flash Strings - Runtime Language change
Posted by Starfish Trent at 5/24/2005 12:00:00 AM
Hello,
I am using Flash Strings to provide text content in multiple languages.
I would like to avoid the auto-detection of the language depending on the
locale setting in the OS and offer the user to change the language in the Flash
movie at runtime. I have switched the auto-detection of... more >>
|