Online Ordering?
Hello One & All,
just wondering if anyone out there can possibly help me. I'm currently creating a website in flash and I need to be able to place orders online. HELP! How do i go about this? Is it possible to do this entirely in Flash?
I would really appreciate any input as i really dont know where to begin with this.
thanks in advance
.::SALV::.
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2003-08-14
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Online Ordering System - Take Payments
Hi
Interested in your opinions...
I have a client for whom I have created an ordering system for. They have decided they want to extend the capabilities to allow for online payments.
The site is entirely in flash, and wandering what options to offer client...
Using a template cart is not an option.
Full flash cart - not sure where to start - would require a secure server and their own internet merchant account..
Paypal...
WorldPay?....
has anyone got any experience at all with any of the above?
thanks
Online Ordering System - Take Payments
Hi
Interested in your opinions...
I have a client for whom I have created an ordering system for. They have decided they want to extend the capabilities to allow for online payments.
The site is entirely in flash, and wandering what options to offer client...
Using a template cart is not an option.
Full flash cart - not sure where to start - would require a secure server and their own internet merchant account..
Paypal...
WorldPay?....
has anyone got any experience at all with any of the above?
thanks
Ordering
I have a home page that is made with Flash 5. Is there a way to specify what is loaded first onto the page? Example I want the background and buttons to appear before all the other images.
MattGooding@onlinehes.com
Tab Ordering
I am trying to include my send button into the Tab order but I just can't get it. I have given my button a name and gave it a TAB index. Am I missing something?
Tab Ordering
I'm having an issue with tab ordering in a small flash application. Currently I've assigned tabIndex on all items in the movie that will accept one, but only four can be tabbed to.
Here's an outline of the movie
e.g. instance name : type name
Main MC
-> txtEmail:MovieClip
->TextField:TextField
-> txtPassword:MovieClip
->TextField:TextField
-> cbxRemember:CheckBox
-> btnSignIn:MovieClip
-> btnGuest:MovieClip
-> btnRegister:MovieClip
I have some actionscript in Scene 1 Layer 1 Frame 1 as follows:
_root.txtEmail.tabIndex = 1;
_root.txtEmail.TextField.tabIndex = 2;
_root.txtPassword.tabIndex = 3;
_root.txtPassword.TextField.tabIndex = 4;
_root.cbxRemember.tabIndex = 5;
_root.btnSignIn.tabIndex = 6;
_root.btnGuest.tabIndex = 7;
_root.btnRegister.tabIndex = 8;
_root.ctrlMessage.tabIndex = 9;
I expect from the above code and layout to be able to click in the Email field and tab to all other respective fields. However this is not the case. Pressing the Tab key at any point causes focus to be placed on the Remember CheckBox, the Sign In MovieClip, the Guest Movie Clip, the Register Movie clip, and back the the Remeber CheckBox.
How is it the the Email and Password Fields are being skipped?
Tab Ordering
I currently have a for that has general tab indexing in the ActionScript . . . However now I am trying to advance that concept and can not find an answer or example on yahoo or google.
When I am on last TabIndex and the tab button is pushed I want it to jump back to first tab instead of to browser and outside buttons. So I need it to be contained inside the flash movie.
Does anyone have a code for this?
Thanks in advance!
Tab Ordering
i've tried a couple of tutorials, listeners and the like, even resorted to accessability tab indexes, but none seem to work. I'm dreading going back to a basic flash movie and finding that it does work, so i'd thought i'd ask here.
Anyone had any luck with tab orders ( chucking them in after placing all the components ) and have a workaround if it actually is a prob in mx 2004 ?
cheers.
Dave
Z-ordering Iz Not Z-working
OK i got my Z-ordering working
I used:
_root.depth++;
this.swapDepths(_root.depth);
but the problem is when I try to reinitialize my drag and drop activity it does not reset with all the others.
I am looking for a way now to turn z-ordering off.
Can anybody help me?
Oh I've already tried doing it the other way
_root.depth--;
this.swapDepth(_root.depth);
and it didnt work.
I would really appreciate your help....<insert big smiley face>
Disabling Tab Ordering
Is there any easy way to disable tab ordering to all the movie.
the tabEnabled properties as to be set to all movieClip and Button but can we bypass those and disable tab ordering for the entire movie...
Thanks..
Dynamic Ordering
Hi All,
I have got a master movie_clip containing buttons within. The over state of the buttons contain another mc having a scale-up animation of the graphic in the up state. The buttons are put side by side.
The master mc is on the stage. Now, when mouse is over one of the button and it gets scaled up, due to the arranged order, one button will always overlap the another one.
Well, what I want is irrespective of the order of the button, when they are rolled over, they should overlap the rest.
I hope I could clarify my requirements.
Any work-arounds?
Regards,
Parag Shah
Ordering Actionscript
is it possible in actionscript to instruct a certain action not to be carried out until another has finished?
in my case, I would like to load a movie ONLY when my symbol has finished its motion tween. as the tween is also done in actionscript i won't be using actions on a keyframe, but on a button.
when i attempt this, flash loads the movie straight away, making my motion tween non existant
Ordering Layers
ok, how do you make one layer in front of another, in this case, the prerson in front of the background. some layers are, while others arent. ive tried arrange, but it stays the same. help!
[MX] Object Ordering
Hi,
Ive created a small movie to highlight features of a car. When you hover over a certain area a bubble pops up displaying the information. The hot spots are marked by a small red square. The problem I have is getting the bubble to appear over the other squares when activated. For an example please visit
www.siliconwombat.co.uk/jcg/myvi.html and click on features.
Thanks in advance its driving me nuts!
Tom
Help With Tween Ordering
All my objects are being tweened with the inbuilt tween class in flash.
And i was trying to keep all the AS onto one frame.
PHP Code:
var bodyScaleX:Tween = new Tween(bodyBack, "_xscale", Strong.easeOut, 0, 100, 0.5, true);
//BRINGS THE BLACK BOX DOWN THE Y AXIS
bodyScaleX.onMotionFinished = function () {
var bodyScaleY:Tween = new Tween(bodyBack, "_yscale", Strong.easeOut, bodyBack._yscale, 100, 1, true);
}
bodyScaleY.onMotionFinished = function () {
trace ("it worked");
}
It works the first time (.onMotionFinished)
But when i try and tell it to do the function with the trace in it, it doesn't pick up that the tween bodyScaleY has finished?
Z Ordering Problem
Ok so I honestly tried to find an existing thread for this one so if I missed it just redirect me. That being said here is the problem this time.
I have a website in HTML for the most part and on one page I have a flash location map. The problem comes into play when (on the location map page) a person rolls over the top (drop down style) menus. The drop downs in HTML/JAVA work great as does the flash map. It's just that the two dont play well together. The rollovers have several tiers (tears) to them and consequently they can drop pretty far down the page. So far that they drop behind the flash file.
So I tried asigning a negative Z value to the flash file, but that didnt change it. Below is (or should be) a pic of the said problem. If anybody can help me it would be greatly appreciated as I dont want to have to make a crapy java location map or something.
http://mysite.verizon.net/angelecho7...es/Problem.JPG
Ordering An Array
Hey
I think i'll explain what i've got first, then the problem, in the hopes that it makes more sense.
I have an array, which contains arrays of points and colours, looking something like this:
[[[point 1, colour1],[point2, colour2]],[[point1, colour 1]]]
The points are matrixes (which have a _value 2 dimensional array) and are 3 dimensional
OK, now the problem:
The top level array has elements added on a button press, then that newly created element which is also an array has points added to it when the mouse clicks. Later on i loop through this top array and draw a shape going from point to point. Currently when two shapes intersect, the more recently added shape is drawn in front, even though the points of the older one may in fact be "closer" to the screen.
Is there a way to sort the points based on such a difficultly placed value? Or perhaps a different solution. Any help is appreciated, and if you need to see the problem for this to make sense, i can show you.
Thanks.
Preloader Ordering
Hi, I'm piecing together elements form several tutorials on various sites to make my own xml based slideshow with linkable images. It is working great except that I am not able to control the order in which the images are loaded. They get loaded in the order they are downloaded, not in the order of my XML file. This is this is causing the links, and other attributes I'm putting in my xml doc, to fall out of sync.
I assume there is a way to either push my items in a specific order, or make sure the extra attributes are loaded at the time that imaged is pushed into the array. I guess some context would help (see attached code)
I think I've provided all the relevant information, but if you need to see another function just let me know.
Again, everything loads just fine when I test locally, its just that the order is off sync when I'm actually downloading the items. The heavier images get moved to the back, while those atributes are in the correct order.
I would really prefer to keep the images in the order of the XML doc, but if that isn't possible I need to at least be able to make sure the attribute values are assigned to the proper image container. I'm not sure where and how.
thanks in advance!
Attach Code
var myShowXML = new XML();
myShowXML.ignoreWhite = true;
myShowXML.load(_root.xmlPath + "scroller.xml");
_root.lnks = [];
_root.titles = [];
myShowXML.onLoad = function() {
_root.myWidth = myShowXML.firstChild.attributes.width;
_root.myHeight = myShowXML.firstChild.attributes.height;
_root.mySpeed = myShowXML.firstChild.attributes.speed;
_root.myImages = myShowXML.firstChild.childNodes;
_root.myImagesNo = myImages.length;
_root.target_mc = 0;
createContainer();
callImages();
navLink(); // function adds a getURL(_root.lnks[_root.target_mc]);
navNext(); // function triggers an advance in the slideshow
navPrev(); // function triggers an rewind in the slideshow
};
//===========================
function createContainer() {
_root.createEmptyMovieClip("myContainer_mc",_root.getNextHighestDepth());
myContainer_mc.lineTo(_root.myWidth,0);
myContainer_mc.lineTo(_root.myWidth,_root.myHeight);
myContainer_mc.lineTo(0,_root.myHeight);
myContainer_mc.lineTo(0,0);
myContainer_mc._x = 0;
myContainer_mc._y = 0;
}
//===========================
function callImages() {
_root.myMCL = new MovieClipLoader();
_root.myPreloader = new Object();
_root.myMCL.addListener(_root.myPreloader);
_root.myClips_array = [];
_root.myPreloader.onLoadComplete = function(target) {
_root.myClips_array.push(target);
//make sure only the first image is visible
if (_root.myClips_array.length > 1){target._alpha=0;}
}
// append the attributes to each loaded image
for (i=0; i<_root.myImagesNo; i++) {
temp_img = _root.xmlPath + _root.myImages[i].attributes.img;
_root.lnks[i] = _root.myImages[i].attributes.lnk;
_root.titles[i] = _root.myImages[i].attributes.title;
temp_mc = myContainer_mc.createEmptyMovieClip(i, myContainer_mc.getNextHighestDepth());
_root.myMCL.loadClip(temp_img,temp_mc);
}
_root.myShowInt = setInterval(moveSlide, (_root.mySpeed*1000),4);
}
Ordering Products
hello,
im trying to make a little application that lets users select a certain
quantity of several products and then calculates the total cost
so i have 2 columns each time the quantity and price of the product
when i click the calculate button i needs to multiply the qty with the price
for each product and then add the total prices for each product
however i always get NaN in the dynamic textfield when i click the calculate button
the code:
Code:
var esoplayer = 300;
var sony = 425;
var iriver = 195;
var philipscd = 168;
//de intitiële waarden (0) worden gedefinieerd voor qty1, qty2,..
qty1_txt.text = 0;
qty2_txt.text = 0;
qty3_txt.text = 0;
var listener:Object = new Object();
listener.click;
listener.click = function() {
total_txt.text = (Number(esoplayer)*Number(qty1_txt.text))+
(Number(sony)*Number(qty2_txt.text))+
(Number(iriver)*Number(qty3_txt.text))+
(Number(philipscd)*Number(qty4_txt.text));
};
calculate.addEventListener("click", listener);
Ordering Tweens?
Hey,
I'm using the inbuilt tweens in flash..
Code:
var bodyScaleX:Tween = new Tween(bodyBack, "_xscale", Strong.easeOut, 0, 100, 0.5, true);
//BRINGS THE BLACK BOX DOWN THE Y AXIS
bodyScaleX.onMotionFinished = function () {
var bodyScaleY:Tween = new Tween(bodyBack, "_yscale", Strong.easeOut, bodyBack._yscale, 100, 1, true);
}
bodyScaleY.onMotionFinished = function () {
trace ("it worked");
}
But for some reason the second
Code:
bodyScaleY.onMotionFinished = function () {
trace ("it worked");
}
Doesn't work, it can't pick up - var bodyScaleY:Tween - inside the funtion above?
Ordering Products
hello,
im trying to make a little application that lets users select a certain
quantity of several products and then calculates the total cost
so i have 2 columns each time the quantity and price of the product
when i click the calculate button i needs to multiply the qty with the price
for each product and then add the total prices for each product
however i always get NaN in the dynamic textfield when i click the calculate button
the code:
Code:
var esoplayer = 300;
var sony = 425;
var iriver = 195;
var philipscd = 168;
//de intitiële waarden (0) worden gedefinieerd voor qty1, qty2,..
qty1_txt.text = 0;
qty2_txt.text = 0;
qty3_txt.text = 0;
var listener:Object = new Object();
listener.click;
listener.click = function() {
total_txt.text = (Number(esoplayer)*Number(qty1_txt.text))+
(Number(sony)*Number(qty2_txt.text))+
(Number(iriver)*Number(qty3_txt.text))+
(Number(philipscd)*Number(qty4_txt.text));
};
calculate.addEventListener("click", listener);
Permutation / Lexicographical Ordering
Here's what I want to do:
First screen:
A user inputs the number of words they'd like to enter
2nd screen:
The user inputs the words
3rd screen:
We display EVERY combination of those words (aka - permutation / lexicographical ordering)
So if the user puts in:
one two three
The final screen displays:
one two three
two one three
two three one
three two one
three one two
one three two
At the moment I have a huge mess for my code but here it is if your interested:
for (scram=1; scram<=totalWords; scram++) {
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
for (temp=1; temp<=totalWords; temp++) {
set("tempWord"+temp, placeholder["word"+temp]);
}
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
moveWord = eval("tempWord"+scram);
// ---------------------------------------
for (huh=1; huh<=totalWords; huh++) {
if (huh for (grr=(huh+1); grr<=totalWords; grr++) {
set("tempWord"+grr, placeholder["word"+huh]+"u ");
}
}
if (huh>scram) {
for (grr=(huh-1); grr<=totalWords; grr++) {
set("tempWord"+grr, placeholder["word"+huh] + "o ");
}
}
set("tempWord"+huh, moveWord);
// --- CREATE SENTANCE ---
for (sent=1; sent<=totalWords; sent++) {
sentance = sentance+eval("tempWord"+sent);
}
final = final+sentance+"
";
sentance = "";
}
}
Selection.setFocus And Tab Ordering
I was wondering if it is possible to display both a tab set focus and tab enabled feature on the first text field of a form. I can get one or the other to work but not both at the same time in a browser window.
Here is the code I have used:
firstName.tabEnabled = true;
firstName.tabIndex = 1;
surName.tabEnabled = true;
surName.tabIndex = 2;
payNumber.tabEnabled = true;
payNumber.tabIndex = 3;
Selection.setFocus(firstName);
Any suggestions welcome. Thanks in advance.
Reverse Xml List(ordering
Hi guys,
i thought i read in the doc's about this but after looking through this morning i cant find what i am looking for. Did i imagine it or did i read somewhere that i can set display order of xml list?
The reason i ask is that i have exported data from my db and it's all in reverse. There doesn't seem to be an option in the export settings in any particular order.
thanks
Layers Ordering And CreateEmptyMovieClip
I have a movie with 2 layers. the first layer (info) has some static text and shapes on there.
The 2nd layer (actions) has my action script. in here using createEmptyMovieClip to dynamically create a movie clip and draw into it using the drawing functions.
My problem is that no matter what order i place the layers or layer number i use when i create my EmptyMovieClip, the objects i create in my (actions) layer appear on top.
How do i make sure my (info) layer appears on top of 'everything'
thanks
Hambo
Is Custom Tab Ordering Really Flat?
AS2.0 language ref. says "The custom tab ordering defined by the tabIndex property is flat. This means that no attention is paid to the hierarchical relationships of objects in the SWF file."
But I have a form split between two MCs in one .swf and no combination of .tabIndex, .tabEnabled etc allows tabbing between the two MCs. Before I go hunting for obscure errors, can anyone confirm that custom tab ordering really is flat?
Thanks
Bob
Ordering Images With Xml Tags?
Hi,
I have a Flash/XML image gallery that works fine, and you click through and it goes down the images until they're finished. The only problem is that now I want to be able to set the order the images show up in my xml. I've set a new tag, called 'position' and referenced it, but I don't know how to set the actions on my 'previous' and 'next' image buttons to read the number from the xml and display the correct image, any ideas?
Heres the code-
Code:
_global.myTimeline = this;
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
position = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
position[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
pos_txt.text = position[p];
picture_num();
}
}
}
function prevImage() {
if (p> 0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
pos_txt.text = position[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
pos_txt.text = position[0];
picture_num();
}
}
function picture_num() {
current_pos = position[p];
pos_txt.text = current_pos+" / "+total;
}
Thanks!
Tom
LoadMovie / Level Ordering
script:
button1.onPress = function ()
{
_root.container.createEmptyMovieClip("pagecontaine r1", 1)
loadMovie("page1.swf","pagecontainer1");
pagecontainer1._x = -327 ;
pagecontainer1._y = -247 ;
}
button2.onPress = function ()
{
_root.container.createEmptyMovieClip("pagecontaine r2", 2)
loadMovie("page2.swf","pagecontainer2");
pagecontainer1._x = -327 ;
pagecontainer1._y = -247 ;
}
button3.onPress = function ()
{
_root.container.createEmptyMovieClip("pagecontaine r3", 3)
loadMovie("page3.swf","pagecontainer3");
pagecontainer1._x = -327 ;
pagecontainer1._y = -247 ;
}
Effect/Problem:
when i click button1, page1.swf is loaded into mc "pagecontainer1"
when i click button2, page2.swf loads into new mc "pagecontainer2" above mc "pagecontainer1" (this works fine and is how i inteded transition to occur so that old page below is still visible while new page loads above)
when i click button3, page3.swf loads into new mc "pagecontainer3" over mc "pagecontainer2" (new page transition over old, works fine)
Problem is when I reach button3 and go back and click button2, or button1 I want these pages to load again above the currently loaded page3.swf. However instead it loads hidden beneath last loaded movie instance "pagecontainer3"
My intent is to have 5 navigation buttons. any initial button which is clicked will load the first intended page. Any subsequent button clicked must always load page above previous, while previouse is still in place(not removed)
any solution is greatly appreciated.
Regards
Question On Ordering Mx2004
If anyone has any feedback here I'd love to hear it. Last night I downloaded the trial version of mx2004(HOLY CRAP!!!)...anyway, I'm going to buy it, but I was looking for answers today and didn't get much help from Macromedia. The Macro... site says the program doesn't come with AS dictionary, it's extra. I called to find out, if I turn my trial version into the full version, how do I go about getting the manuals that would have normally shipped with the program. I'm told the program comes with pdf files on a disk, which I can download if I turn this into a full version. What I need to know is, has anyone downloaded it, turned it into a full version and been able to download all the necessary literature? Or, has anyone had it shipped to them - I'm told between 2-3 days for up here in Canada, and not been satisfied....I guess what I'm saying is, what's the best way to go about this? Any comments will help me. The download of the trial version took 6 hours 17 minutes, and if I need to go and download a whole bunch of pdf files, am I just better off ordering it to be shipped? Thank, you guys, very much.
Adam
Re-ordering Load Movie Levels
I have created a Flash Movie which has a horizontal navbar at the top.
I have created the links so that they load in other Flash movie files, onto various levels etc.
However, I was wondering if anybody could show/tell me how to change the order of the levels once they are loaded in.
For example - When I click the Contacts button, the "Contacts.swf" movie is loaded on level 1. Leaving that movie loaded, I click the Links button and the "links.swf" movie is loaded on level 2.
My problem is that the Links.swf movie covers part of the Contacts.swf movie content. I would like to know how to click on to a loaded movie file so that it appears to rest on top of any other loaded movies.
Then, as I click on to a different loaded movie, that then moves to the highest level.
Hope somebody can help!
Silent Star
http://www.dsgprojects.com
silentstar22@hotmail.com
Mx 2004 Ordering Jpg In Textfield Problem...
hi all
it is a flash mx 2004(7.1) problem..
I'm loading images into a "dinamic html textfield" from a external text with image tags.. when it first loaded images display above the text ..images and texts ordered correctly only when i click the textfield ..I think its because jpg's are loading after the text..It can be a possible bug.do u have any solutions??*
ISSUES FLASH With Dreamweaver Z-ordering
Hi,
I have a big problem, basically I imported flash movie into my html page but the page has a javascript drop down menu which goes over the Flash movie.
Flash movie is on top and the drop down menu gets hidden behind
the flash movie. I made the movie transparent and then the drop down menu looks fine untill flash movie moves to another frame and then it get hidden again.
Is there a way to fix z-ordering and make sure drop down menu appears on top of flash ... ???
Thanks
Ordering By Date In A Hash Array
Hello,
I'm trying to find a solution for ordering a hash array by dates.
The dates are coming from a feed and are in this form:
Wed, 01 Nov 2006 13:52:46 GM
Does anyone know of any flash date extensions that can use timestamps?
Thanks,
Clem C
Ordering By Date In A Hash Array
Hello,
I'm trying to find a solution for ordering a hash array by dates.
The dates are coming from a feed and are in this form:
Wed, 01 Nov 2006 13:52:46 GM
Does anyone know of any flash date extensions that can use timestamps?
Thanks,
Clem C
Automatically Ordering Parameters Alphabetically
Hi all,
Just realised that flex automatically orders parameters been passed through a HTTPService request alphabetically!!
Does anyone know anyway of overwriting this or forcing parameters to be passed in a specific order?
Thanks a mil in advance,
Derm
Ordering By Date In A Hash Array
Hello,
I'm trying to find a solution for ordering a hash array by dates.
The dates are coming from a feed and are in this form:
Wed, 01 Nov 2006 13:52:46 GM
Does anyone know of any flash date extensions that can use timestamps?
Thanks,
Clem C
Ordering By Date In A Hash Array
Hello,
I'm trying to find a solution for ordering a hash array by dates.
The dates are coming from a feed and are in this form:
Wed, 01 Nov 2006 13:52:46 GM
Does anyone know of any flash date extensions that can use timestamps?
Thanks,
Clem C
Ordering By Date In A Hash Array
Ordering by date in a hash arrayHello,
I'm trying to find a solution for ordering a hash array by dates.
The dates are coming from a feed and are in this form:
Wed, 01 Nov 2006 13:52:46 GM
Does anyone know of any flash date extensions that can use timestamps?
Thanks,
Clem C
Is There Anyway To Re-ordering The Array Inside A For Loop?
Hi all,
Let's say:
I have a for loop
Code:
for(i:Number = 0; i<10; i++){
trace(i);
}
The results is:
0, 1, 2, 3,..10
and for some reason, i took out these numbers 6 and 8 (don't waste your time by wondering WHY and HOW on this reason).
So that the loop Array will be: 0, 1, 2, 3, 4 ,5, 7, 9, 10.
Is there anyway that i could re-ordering these number inside that for loop and make it re-arrange the ordering like: 0,1,2,3,4,5,6,7,8 ?
Thanks,
Tony
Ordering A Button To Unload Multiple Movies
It`s me again.
Can someone tell me how to make a button to unload multiple movies
For example:_unloadMovienum 1-20
I know this command aint right but if exists a command that will do that please let me know.
Cheers guys
Layer Ordering When Creating Movieclips In Scripts
how do i regulate on which level the movieclip i've just created using createEmptyMovieClip is situated? it seems to be always atop, which is not what i need.
i've made a sample for testing. here is the code:
>--[
_root.createEmptyMovieClip("canvas", 0);
_root.canvas.lineStyle(undefined, 0x000000, 100);
_root.canvas.beginFill(0xFF3333, 100);
_root.canvas.moveTo(100, 100);
_root.canvas.lineTo(100, 150);
_root.canvas.lineTo(150, 150);
_root.canvas.lineTo(150, 100);
_root.canvas.endFill();
stop();
>--]
there are two layers on stage -- the one where this code is, and the other one that contains a pre-drawn object on the second frame. once a button is struck, playback jumps to frame 2, but the red box i've just drawn is atop of it...
i've tried experimenting with the depth parameter of createEmptyMovieClip, but it seems to not to be doing anything. also, creating the "canvas" movieclip in a pre-defined layer doesn't help either: i've created an empty layer between current first and second, put there an empty movieclip from the library, called it rootcanvas and used it as in
_root[rootcanvas].createEmptyMovieClip("canvas", 0);
but the result was just the same...
any ideas anyone?
the fla is here (fmx): http://l0d.spb.ru/layers.zip
thanks in advance
Ordering A Movie Clip To A Random Spot
I want to make a movie clip named moon move to a random spot on the screen, but i want him to accually walk there, and when he reaches there, i want him to walk to another place. His speed will be three, and since he's a movie clip "play" will make his walk animation go. So how do i make him walk to a random spot on the screen? I hope you get what i mean.
Alphabetically Ordering A List (with Possibly An Array)?
I need to be able to put in 200 names separated by new lines (firstName lastName) into a textbox and I need the second textbox to show me all these 200 names alphabetically ordered with the format of (lastName, firstName). I've tried many array functions (sort for example) but couldnt get it right.
If the lastName, firstName format is not possible, i'd just like it to at least reshuffle the first textbox and show all the inputs in an alphabetical order in the second textbox in firstName lastName format.
For example, I type in the following exactly how it shows (with new lines per name):
John Hoe
George Glooney
Suede Jubuck
Panda Iris
Shawn Hamilton
I press the order button and the 2nd textbox shows me:
Glooney, George
Hamilton, Shawn
Hoe, John
Iris, Panda
Jubuck, Suede
Notice it goes by G-H(ha,ho)-I-J here, obviously. If this cannot be done, I'd like first name ordering:
George Glooney
John Hoe
Panda Iris
Shawn Hamilton
Suede Jubuck
The comma's arent necessary, at all, but it's a nice fix. Any other suggestions are welcome. Thanks.
SWF Is Online
I have troubles getting the content on the mainstage to be in a movieclip instead. When I copy it into the movieclip it stops working, help!
I've posted both the .swf movie and the .fla movie here:
http://www.serviator.dk/distort.swf
http://www.serviator.dk/distort.zip
In the .fla movie there's a movieclip already on stage with the same content as on the mainstage, but not working as you can see.
Thanks for any help,
:: ampdeck
p.s. there's supposed to be TWO green squares, not just one.
[Edited by AmpDeck on 09-24-2001 at 03:55 PM]
I Could De Bug Online.Now I Can't Can Anyone Help?
I have set my flash movies to enable de bugging and set a password,as I always do.Debugging works offline.But when I right click online I no longer see the button for "Debugging".I've never encountered such a problem.Does anyone know what could be causing it?
Online
is there anyway to use a flash game to connect 2 comps online? thats real time if so whats the best, if theres not reply no
Getting It Online
managed to find somewhere that will upload my swf and html files needed for my movie.... my problem now is how to get them to display.. i created my movie in swish and imported it into flash 5... saved the file in flash 5.. went to the publish settings and made sure html and swf were checked...uploaeded them both but nothing... when i try and view the html file locally i get an "unexpected file format" error message... does this mean i have to create the whole movie again in flash? or have i done something daft ?
Help With An Online Map (Please)
Hi,
This is my first time posting as well as my first experience working with Flash MX. Anyways...here's my problem.
I'm trying to create an online map where a user can pick and choose which map elements to display over the top of a base-map, i.e. roads, rivers, points of interests et cetera. I have a total of five different "themes" I would like the user to pick from. As it stands now, I have created a button that turns "on" a layer (showing a road) and button that turns "off" a layer (making the road invisible). The base map is on it's own layer as is the map legend on the left.
My problem is this, I need the user to be able to randomly pick and choose which layers they want on and off in unlimited combinations. The map can be viewed here: View the Map
I have only finished the first two "themes", campgrounds and points of interest, you can see the problem that I am having. When a user clicks on the 2nd theme (points of interest), the campgrounds layer becomes visible.
Any advice at all would be greatly appreciated. I'm assuming that I need an action script to handle this? I'm hoping (need) to have this finished asap, so any advice at all would be great. Thanks. PLA
|