Dynamic Button Generation Problems
I am creating a dynamic thumbnail bar for a slideshow. Everything works fine until I try to pull in the pictures. If they are loaded, the buttons don't work, however, if I don't pull in the images and just create the thumbnail bar with the placeholder, all of the buttons work fine.
here is the code. My buttons work if i take out the lines that read: code: imageName = "images/th_ithc" + i + ".jpg"; eval("mc_thumb_" + i).loadMovie(imageName);
can anyone help?
code: totalButtons = 6;
for(i = 0; i < totalButtons; i++){ duplicateMovieClip("dummyMovie", "mc_thumb_" + i, i);
if(i == 0){ eval("mc_thumb_" + i)._x = 0; eval("mc_thumb_" + i)._y = 240; }else{ eval("mc_thumb_" + i)._x = eval("mc_thumb_" + (i - 1))._x + 56; eval("mc_thumb_" + i)._y = 240;
eval("mc_thumb_" + i).onRelease = function() { //load image }; }
imageName = "images/th_ithc" + i + ".jpg"; eval("mc_thumb_" + i).loadMovie(imageName); }
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-06-2005, 04:19 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Button Generation
im trying to do this:
ActionScript Code:
sectionArray = ["Start Up", "Overview", "Features", "Business Applications", "Impact on Business", "How it Works", "Benefits", "Helping You"];
// buttons
for (j=0; j<sectionArray.length-1; j++) {
my_button = eval("mc_b" + j);
my_button.onRelease = function() {
trace(sectionArray[j]);
gotoAndPlay(sectionArray[j]);
}
}
every button traces "Helping You", what am i doing wrong here?
appreciate your input thanks!!
Dynamic Button Generation For Gallery
Wutup everybody?
Ok so I know I already posted a topic similar to this a couple weeks ago, but I can't seem to find the link to it. Anyway..I'm over it.
HERE'S MY PROBLEM (one of them):
I made a gallery that uses an XML feed to load photos in a folder. What I want it to be able to do is keep track of how many photos are in the folder, and generate corresponding buttons and maybe thumbnails.
I want to be able to upload the gallery to the server once, and then only have to worry about adding and deleting photos from the folder. I know this CAN'T be that hard, but I'm a bit of a noob.
Any help on the matter would be just terrific.
Thanks!
.:Nils
Dynamic Mc Generation
hi, i need a clear mind that can help me with the following problem...
i'm making an e-shop project for uni and want to load variables (product description, cost etc.) from a text file.
for each product, i have a movie clip (called productMC) with two textfields in. and some buttons to link to a pic and add to it to the basket.
the productMCs are then attached to productHolder (an emptyclip) so they are displayed one after another.
productHolder is then displayed underneath a mask so only part of it is displayed and can scroll up and down.
the problem is that the textfields for all of the productMCs are not displaying.
it is not a hierarchy problem as when i use debugger, it shows all the variables are loaded and they are loaded into the correct productMC.
the file is here:
http://daffy.doc.stu.mmu.ac.uk/bsc/l...uctLister.html
any help will be appreciated, this is doing my nut in!
cheers!
vince
Dynamic Content Generation ?
Hi,
so what I am planning to do is writing an application which browses through XML data ("a flash browser for help pages")
The XML data consist of elements like we have in HTML: hyperlinks, images, buttons, textfields, radiobuttons,... (but it is not HTML)
Now my question is: Is it possible to implement that in Flash?
More exact:
Is it possible to - depending on the respective XML data - dynamically generate stuff like hyperlinks, textfields and so on (including particular behavior)?
Sorry, I am new to Flash but maybe this is an interesting question anyway..
Thanx!
Dynamic Generation Of Instances?
hey there boys & girls - got a bit of a problem I hope someone has a solution for!
To put it bluntly: I'm trying to create a function that, upon an action, will spawn a duplicate instance of itself (which can then, theoretically, do the same as its parent).
bit of a mouthful, I know, but I'm trying to put it in a bite-size chunk!
I'm not entirely sure if this is actually possible; at the moment I'm fiddling with new Object(); commands, but I have no idea if I'm barking up the wrong tree.
Any ideas or suggestions would be ridiculously well-received.
Chee-arz
p
Dynamic Text Generation
Hi guys
I want to create some buttons with dynamic text fields. For a start when I have a button I can't seem to be able to get at the dynamic text in the button to change the text - how can I get around this. (whenever I try to access any properties of the dynamic text field they all come back as undefined)
Secondly I want the text fields I create to re-size their width according to the length of the string passed in. At the moment I have an empty dynamic text field that has the text changed to whatever it should be. This leaves only about the first letter of the string visible. How can I get it to re-size the field to the correct width?
Thanks
Giles Roadnight
Dynamic Site Generation (via PHP)
Hasn't got anyone experience with this?
i'm getting data info via php and one site has 6 items. when item 7 is added it should create a new site automaticly with next & back buttons.
does anyone have any infos on this? any source-files, any ideas at all?
help asap very apperciated, thanks very much!!!
Dynamic Video Generation
I want to send data via a binary socket to flash; yet, I need to know if it is possible to compose video data for playback using this method.
I know you can create sound dynamically at runtime now; however, is the same true for video?
If so what is a good example?
Dynamic Generation Of Functions
i have just dynamically generated a grid of movie clips to be used as buttons.
I can hard code the function to control the roll over effect and press effecst for each of these buttons. Of which there are 34.
However i would like to generate this function dynamically
ActionScript Code:
this["button_0_2"].onRelease = function(){
_root.xml=menu1_1xml[2];
photoXML.load (_root.xml);
}
so i tried this
ActionScript Code:
for(i=0;i<34;i++){
this["button_0_"+i].onRelease = function(){
_root.xml=menu1_1xml[i];
photoXML.load (_root.xml);
}
}
Problem here is that the only function in operation is the last one, DOH!
So is there a way to produce a lot of functions all differing slightly through a for loop or any other means?
regards: flashman
Dynamic HTML Generation
I want to create an HTML generator in Flash much like the one you have here. I am attempting to create a template generator for a website. I would need to learn how to use a likewise interface to generate HTML based on a form with several options.
How would I go about doing that? Could you direct me to a tutorial I could use, or could I download the file you have for that one and figure out how it works?
Thanks,
-b
Dynamic Generation Of Navigation Menu
Hello everyone!
I'm having problems with dynamic generation of navigation menu. It just won't work the way it should and i believe it is my fault.
Could someone please take a look at the code at http://www2.arnes.si/~ljmks2/buttons.zip and give me a solution?
Everything should work "perfect" but for some reason some buttons are not generated,...
Thank you!
Lenart
Dynamic Movie Clip Generation
I tried searching this out, but I got errors.
I'm needing to dynamically generate MCs. Here's what I'm looking at.
I'm creating the game Lights Out. I want to allow the user to select the number of rows and columns. In order to do this, I need to be able to put my lights (which are MCs) into an array on the game board, position them, and then make them visible, all on the fly.
Anybody know of a good way to do this?
Frankenmoro
Dynamic Movie Clip Generation, Please Help :)
Hi all,
I have what I think is a fairly unique request.
I require a solution in either Flash 5 or Flash MX 2004.
I have written an application which I require the output to be a simple flash scene consisting of a few dynamic movie clips.
This is what I need to generate.
----------------------------------
1. a Custom back drop of a fixed resolution.
2. 1 to 16 movie clips each with the same fixed frame rate
2a. each clip will be of a variable length
2b. each clip will be of a variable size
2c. each clip will be positioned anywhere on the stage
2d. each clip must be clicked to animate/play
2e. each clip can have an optional sound effect on click
The closest I have come to a solution is using Flash 5 with Swift Generator.
I created a SWT 'template' from Flash 5 with a 'dummy movie clip' that was made of n bitmaps and positioned/sized by actionscript.
The variables for the position and size plus the last frame (length) were replaced externally by Swift Generator.
The backdrop is also changed dynamically by the Swift Generator
Which is almost what I need, the problem I have is making these movie clips behave like buttons (i.e. show the hand)
What I need to know is, can what I want to do be accomplished easier in MX 2004 by maybe using components?
Or maybe I should stick with what I have as it's 90% working and apply a handy fix (hopefully given by you
fine people) to fix the 'make movie behave like a button' problem.
Here are some of my aborted methods...
1. tried to make the dynamic movie clip a button but could not position or change the width of the button in Flash 5
2. tried to put an invisible button in the movie, but could not change the size of that button and it spills out of the containing movie clip when the clip is resized by Swift Generator
3. tried to use Swift Generator in MX 2004 but MX 2004 does not have the export to SWT feature
Ideally I would like to have everything come from an xml file which would contain the movie clip data:-
* Position
* Size
* Length
* Bitmap, frame to place in
* optional sound
Can this be done in MX, or should I just fix the 'movie as button' problem in F5/Swift Generator?
Please help!
Many thanks.
Help In Dynamic Flash Menu Generation
Hi,
I am working on a menu in flash which I have to make dynamic using mySql database. The menu that I am making can be seen at left column of the template at: http://www.letstieup.com/site_flash/ . It’s a template from template monster. You can see the menu at left. Dynamically I want to make them as categories but I need subcategories too. You can see the image1 and image2 attached here with this message. I need submenu to be appeared at right side of main menu when I put my mouse over there.
Now problem is that I am a newbie and I need help in designing the menu. I know simple flash, xml, php and mySql and very little actionscripting so if someone suggest about it then it would be great.
I have browsed few sites and have seen the menus but this menu is complex one because it has “stars” effect in the background. I tried for simple menus that I can make but difficulty is in the “star” effect that I need in main menu and in submenu when I make new menus.
I need main menu to be database driven as well as the submenu that I want to make. Please suggest how to do that without loosing the quality of the flash template.
Thanks,
Harjinder
Arrays & Simple Dynamic Variable Generation
Hi all,
Well I took the time to help some newbie here on the board with arrays and it seems they took my information and then deleted the the thread. I think thats really rude.
anyways here is the code I made, I'm gonna post it here just in case it might help someone out.
Code:
yourArray = new Array ("a","b","c","d","e","f");
arrayNumba=yourArray.length
for(i=0; i<arrayNumba; i++)
{
set ("variable" + i, yourArray[i])
}
trace(variable0);
trace(variable1);
trace(variable2);
trace(variable3);
trace(variable4);
trace(variable5);
That code will create a variable for each element you put into "yourArray", the proper value will then be assigned to your newly created variable.
Dynamic Generation Of Radio / Checkboxes From Databases
Hi GuYs,
I am trying to explore few things with flash MX. I was just wondering if it could generate radio buttons / checkboxes from database. Say if there are 5 records in databases and it can dynamically be loaded in Movie as 5 checkboxes or maybe radiobuttons.....so basically changes in number of records in databases should change the number of radio buttons / checkboxes.
please post your replies here as well as send them to ndbhatt@hotmail.com
Thx
nik
Dynamic Generation Of Container Mcs Problem. This Is Killing Me
If anyone could shed some light on what is going on here, I will be eternally grateful
What I have is 20 external .swf files. They are called s1,s2,...,s19,s20
then, I am duplicating a blank container clip which exists on the stage and loading each .swf file into each container.
This all happens inside a clip called 'shoes' which sits on the main timeline.
Code:
i=i+1;
duplicateMovieClip(c,["c"+i],i);
_root.shoes["c"+i]._alpha=0;
loadMovie("s"+i+".swf","c"+i);
(next frame loops back until it reaches max no. of clips)
now, everything seems to work fine, all the .swfs load into the individual container clips c1,c2,c.. etc.
however, when I try and set the alpha of the container clips, things get weird.
on clips c1 to c10 I cannot set the _alpha to anything except 0 or 100. setting it anywhere in between makes it disappear.
on clips c11 to c20 I can set the _alpha to anything and it works fine.
so why are my clips c1 to c10 getting screwed?
* update *
the _alpha of the clips only seem to get screwed up if they are sitting on top of each other.
see here where the clips are sitting on top of each other.
and see here when the clips are not sitting on top of each other. WTF is going on?
also, source available here
thanks for anyone who has time to read all this!
m
Dynamic Nested Movieclip Generation&reference
ive been fighting with this for a while,
i must be close, but saddly not quiet close enough.
broad goal:
to make a drop down menu system that generates based on the all the directories/ sub directories in a folder.
intended technique:
perlscript> xml> flashmx
im unfamiliar with perl so in the mean time ive just manually created the xml file. all is going well up to the point when i try to automatically make my movie clips. (eventually to become my buttons)if there is a more direct technique sing out now?
problem:
for each xml node ive made an array consisting of all its parents, this will become my nested movieclip path. unfortunately if the movieclip doesnt exist at the time the reference to it is declared the variable type is a string rather than a movieclip (reference).
Code:
lister = ["menu","box","shoe","cat"];
if (this.[lister[0]] == undefined){
this.createEmptyMovieClip(lister[0]+"_mc",1);
_global.path = lister[0]+"_mc";
}
for (i=0;i<lister.length-1;i++){
//attempt at describing the path
_global.path = ((lister.slice(0,i+1)).join("_mc."))+"_mc";
currentName = lister[i+1];
_root[_global.path].createEmptyMovieClip (currentName+"_mc",i+1);
// alternative for setting path replacing the above line
//_global.path = (_root[_global.path].createEmptyMovieClip
(currentName+"_mc",i+1));
//yet another alternative for setting path
//_global.path = _global.path+"."+currentName+"_mc;
//and some traces to prove im vaguely on the right track
//trace ("_global.path = "+global.path );
//trace ("currentName = " + currentName);
}
none of these are working properly,
menu and menu.box are created properly, but after that it all fails.
if anyone feels confident have a peek any assistance would be hugely appreciated. thanks
ps: i dont have flash on this machine, so there may be some spelling errors in my code....
Dynamic Menu Generation From Text Files
Hi, I'm working on generating my menus from text files (for now until I learn XML) and I've got it done most of the way now. One problem I've got is that I'm trying to sort my list of projects in reverse order that it is now, it can be found here: http://www.ramsaystudios.ca/v5Dev/
There is a global menu and two local menus, those two load in white blobs on the right after a while, you'll see a list generate in each of them. The first one has a list of projects, I'm trying to get the opposite order that it is in now, so that it will read as "RamsayStudios v5" first and not last. My code is as follows:
Code:
slotHeight = 16;
for (i=0; i<=slotsLoaded; i++) {
menuContainer.attachMovie("menuItemContainer", "menuItemContainer"+i, i);
menuContainer["menuItemContainer"+i]._y = i*slotHeight;
menuContainer["menuItemContainer"+i].menuItem_clip.portfolioListItem_text = eval("portfolioListItem_text"+i);
menuContainer["menuItemContainer"+i].menuItem_clip.menuItem_button.onPress = function() {
getURL("portfolioListItem_url"+i);
};
}
I know you can change this line with adding the minus sign:
Code:
menuContainer["menuItemContainer"+i]._y = -i*slotHeight;
but that method then generates my list going upwards instead of downwards (I plan to put all this in a scrollbar later), is this the proper way to do it? If it is then I need to figure out how to reposition my menu accordingly. Please help, thanks.
4-D The Next Generation
I was thinkin, u have 2-d 3-d, but what about 4-d????? If their is any one interested in making 4-d things contact me......And we'll change the world!!
DVD Generation - Help
Hi all,
I have just been asked to do some work for an old friend, they want me to create a DVD - i've been away from the hub of the design and multimedia world and actively creating anything within it this last year and half
i've never created a DVD anyone any idea what program i would use, if so any tutorials on it?
He has video he want to be included within it as well as visuals type and audio also i assume, thing is he will want it to be very design orientated also so whatever program i use it will have to accomodate this
any suggestions idea advice feedback welcome on this one!
pretty urgent meeting with him to discuss furhter the end of this week - need to let him know whether i can actually create the thing
thanks
XML Map Generation
I am currently developing a multiplayer flash game. I really need some help with the best way to go about the map generation. It allows a character to walk around anywhere on the map until it basically runs into an obstacle.
I will make it so that a default grass background shows up which of course you can walk anywhere on it.
Then I want to load all these things via XML and place them on the map: Water, Items, Trees, Walls, Bridges. Each of these items has an X,Y,Rotation quardinate.
The problem is that the character can walk in a direction until it runs into the water then it must stop on the edge. The player can walk in the direction until he runs into a tree or a wall. But then if that isnt enough the character can fire bullets that pass over the water but explode when it hits an item, tree, or wall. Then even more to it, the character can walk over a bridge to get over the water.
Now, my problem is not how to do this, its what is the best way to store everything above the ground within the XML.
What sort of information should I put within the XML file and how could I store it so that all those variables and data could be referenced easily later.
Example:
Code:
<water>
<piece name="river" coords="10,20,30" walkable="false" shootacross="true" />
</water>
<items>
<piece name="healthpack" coords="10,20,30" walkable="false" shootacross="false" />
</items>
The above is a sample of what I am trying to accomplish so the map can be dynamically built but yet have all the necessary properties and fully optimized. I am sorry if I have poorly explained myself it is very difficult.
Thank you in advance!
.pdf Generation
Is it at all possible to generate a .pdf document from a Flash movie? Supposed I have a few variables in my .swf (eg. firstName, lastName, phoneNumber, etc.). Would it be possible to generate a .pdf file with that data? Thank you very much!
Help, RSS Generation
I am not sure if this is the best place to post this question, I am not sure if it is truely advanced.
I would like to make the flash file created on the page:
http://www.kirupa.com/web/xml/examples/newseditor.htm
Generate valid RSS-2.0 files instead of xml files like this:
HTML Code:
<news>
<entry date="Fri Dec 23 22:59:39 GMT-0800 2005">
<title>
News!!!
</title>
<body>
Here is the News, Yay!!!
</body>
</entry>
</news>
Thanks,
BobDawg
Variable Generation
Hi all, I have a series of variables:
variable1
variable2
variable3
variable4
etc.
Using a loop etc I would like to access the values contained withing the variables, but I'm not certain how to access them.
If I make a random number between 1 and 4
--> (randvar = random (4)+1)
then how do I select the variable corresponding to the random number.
--> newvar = "variable" + randvar
will obviously not work because the value of newvar will be set to literally "varable3" etc. not the value stored in variable3.
what is the correct syntax for this?
thanks in advance.
Name Generation Game
Need to create a game in Flash MX 2004 that contains at the most 13 (poker) cards.
When any two cards are selected, a name for this unique pair is generated in a text field. For example, a Jack and a Five is called Motown. Another example, a Five and a Seven is called Heinz.
How would I go about programming this type of game? My skills in actionscript are basic, but I'm always willing to learn.
Thanks for any help you can offer.
Dave
Symbol Generation...
Hey all...
I'm trying to generate instances of a symbol at various sizes and transparencies in a movieclip. Anyone have any suggestions as far as code goes? I don't even know where to begin. Thanks!
Graph Generation From XML In AS
Hi guys, long time, no see and all that. Just wanted to ask a question. I'm at work trying to create a graph from XML data. Now, that in itself is fine, I can load the data and I can get AS to draw the line with no problems. The real problem is the axes and their labels. Since each graph line is different, I've got it such that the y-axis scale (the small markers along it) changes according to the maximum value of the graph data (the x-axis is months, so remains static).
I'm trying to use a loop to create multiple textfields position along the line and vary the text contained within them depending on their position. So the position has to be dynamic (in itself, not hard) and the text has to be different according to where it is. This is hard, because loops don't seem to generate more than one text field... they only make the last one.
Please help! Alternatively, if you can think of/know a better way to do this, please let me know!
Latest Version (remember to rename data.txt to data.xml)
Help W/ Page Generation
Hello everyone,
I'm planning on updating my site and need some help with a problem. How can I have a flash swf file generate a thumbnails automatically to what images(or a specifically name ex. "canada##.jpg" so displays canada01.jpg canda02.jpg etc.) and has it in this format like this below.
http://www.flashcomponents.net/compo...m?nav=2&id=173
so all I have to do to update my images gallery is just drop the images into the images folder and the swf file will automatically display it next time the html file is pulled up.
please help me out.
Next Generation Flash
I've just seen a video presentation of the features in the next version of the Flash Player. Have a look for yourself at moock.org.
To summarise, it includes:
Saffron, a new type-rendering engine
Dramatic performance improvements (a sluggish calendar app jumps from 14fps to 125fps)
Realtime bitmap effects including blurring, dropshadows and a colour matrix
Realtime video alpha channel
How long do you reckon before the download?
Generation Of Flash
What comes when ....
Flash 6 Vs Flash 8 Vs Flash 9
what are the major difference in between this versions of the flash.
PDF Generation From Flash
Does anybody know if there is any software or CFX tags out there to convert a flash page into a PDF?
Thanks,
ryan
Random Particle Generation.
.. I'm in a state of confusion ..
Can any of you help me out? Just want a tutorial on random partical generators, please.
Random Number Generation
If I want to generate a random number between 1 and 6, i.e., acceptable numbers must equal 2, 3, 4 or 5, what is the actionscript that will generate such numbers?
I am having a problem in getting this code to work for a similar range of random numbers and would appreciate if someone could provide these lines. Thanks.
Most Effecient Way To Random() Generation
Heya,
the random number is deciding the chance of a shot from an automatic turret. this method is really easy, but i'm wondering if it will slow older machines down?
because it's used onEnterFrame, it's running through lots of numbers each second.. is this a potential memory hog?
========================
_root.shoot = Math.round(Math.random()*100);
if (_root.shoot == 13) {
shoot code here
}
========================
FK
Flash Mx Generation Txt File
Is it possible for flash mx to create a commaseperated txt file directly, - not via asp/javascript etc??
Regards
Godowsky
Random Number Generation
I need to randomize an array, I know how to do this using Math.random but this will randomize the array everytime, I need to set some sort of array, so if they try and randomize the array again, during the same session it will not change, I hope this makes sence?
Random Number Generation
I want to generate numbers on suitcases for an advent calendar in Flash MX. I've tried modifying a script I found in a tutorial but to no avail.
I want any number between 1 and 24 to be generated, to appear on one of 12 suitcases. The number can't be repeated though.
I'm quite stuck on this one....
Here's the Swf.
And here's the Fla.
Help much needed and very much appreciated
Cheers in advance
Randomizing And Score Generation, Help
Hey Everyone!
What I basically am trying to do is have a movie running, and when it gets to a particular scene - a button comes up and clicking it ramdomly determines an ending. I can do the movie, buttons, and timeline jumps myself.
What I cant do is have the button generate 2 random options (or more). Ideally, by generating option 1: the movie would jump to point x in the timeline, and by generating option 2, the movie would jump to point y.
If that wasnt hard enough (for me!) I also want to somehow see if I can create a scoreboard for both options, which displays a summative account of how many times that option has been randomly generated.
I'm using Flash MX, and I'm going crazy trying to look up help. Any simplified help would be greatly appreciated!!!
Thanks!
Username And Password Generation
Hi,
I know this is probably been on the forum before, but i'm new and desperatly looking for some tutorial or help in making a flashmovie embedded in Html looking into a textfile to verify a username and password so an authenicated user can go to an restricted area of the site.
Does anyone know how to do that? And will you be so kind showing me how?
thnx a million
Report Generation And Flex?
Hi all,
1) The macormedia site states about report generation for Cognos. Can anybody tell me how it is done
2) What is the purpose of Flex and what is the diffrence between Flex and Flash
Thnaks
Text Generation Programs
Hello,
I know there are several Text Generation Programs available as 3rd PArties for Flash.
Can someone recommend some of the best ones.
I don't want something that looks like "cheesey wedding video" effects, but more the professional styled one....
Thanks,
Brian
Random String Generation
Hey guys,
I need to create a function with ActionScript that will return a number that will be 13 characters in length and must be unique everytime its ran.
e.g. "1234567890123"
Any ideas? It seems pretty simple but I cant come up with any ideas.. was wondering if anyone has had to do something similar before and can help
Thanks in advance
Random Number Generation
I thought I might contribute something that might help some people out...I have made a really good formula for generating random numbers. Simple to use for noobs too.
Code:
HIGH = 10;
LOW = 1;
(Math.ceil(Math.random() * 100) % (HIGH - LOW + 1)) + LOW
make HIGH equal the highest random number you want generated and make LOW equal the lowest. The only part of this that takes any thinking is knowing what to multipy Math.random() by. This depends on the range of your desired random numbers. If you want numbers less than 100 multiply it by 100, if you want numbers less than 1000, multiply it by 1000, etc... Most of us here should be able to figure this out...
Random Number Generation
Hey
Just recently started a university project which will require different video clips to be played randomly when a user clicks a single button.
The idea behind it is that the user selects a genre of music, and this will then trigger a random music video (just to keep things interesting).
My first thoughts are that the best way to do this would be to create some kind of random number generation attached to the button, which then triggers one of a few video clips into a level?
Doing the levels is easy, but we have never done any kind of random number generation.
Some help/insight into this would be appreciated!
Cheers
Quick .swf Player Generation
When I compressed my .flv files in Squeeze I didn't think I'd need to generate the .swf players also. I was wrong. Now I'm being forced to make hundreds of .swf players that can be linked to by url. The client doesn't have time to make a custom player that can "dynamically" call on .flv files. I'm having to enter the contentPath in Flash for each video and export a .swf file.
Does anyone know of an easier way?
A drag and drop app that would allow me to add the url+filename would be a great timesaver.
Thanks,
Chas
[MX][F8] Random Text Generation
Hello.
I am trying to test the theory that if an infinate amount of monkeys typed on a keyboard each for ever, then one will eventualy type a readable paragraph, or even a page.
Now, i know you can do this using flash actionscript.
The way i think you can do it is by using a variable called text, with a dynamic text box with that variable.
You would have to make a random number generate, from 1 to 27 (26 letters of the alphabet, and space), then flash would recognise the number then add the corosponding letter in the variable (1 for A through to 26 for z, and 27 for space)
How would i do this?
(have both flash versions, so i dont mind if you awnser using either)
Thanks if you can help.
~Tom
[F8] YouTube-like Movie Generation
I'd like to create something similiar to YouTube's SWF-Movie system, so I would like to known if there is a way to import an external movie (.AVI or .MOV file) at runtime and place it on the stage, properly resized and stuff. Is there a way to do this?
|