ActionScript 2.0 :: Make The Description Of The Ingredient Appears In The Right Hand Box?
Aug 20, 2008
I have a project for school making a flash descripty thing.. and what im trying to do is make it so when you clikc a button, the description of the ingredient appears in the right hand box..
Its not working.. I dont know whyIve tried everything.. and I cant find any errors in my scripting
Maybe the title is not self explanatory but in most iphone games eg you click the correct example and you see a +100 points mc appear and rise and alpha out. I did this with a png done in photoshop BUT not all goes well - it doesn't work.
[Code]...
It seens perfct but I can't see it work. The funny thing is that the custom currentBubble - with a dot after you see the code hints but a dot after pb100 - you see no code hints. Well not normal.
I have a movieclip that has in it a text field (TLFTextField) and in a lower layer I have drawn a square with stroke and fill. When the movie starts, I call
Code: btn.buttonMode = true;
But the mouse cursor is the regular arrow instead of a hand when I mouse over the button in the areas of the textField that has no text. I've also tried calling buttonMode=true to the text field itself, but didn't work How can I make the cursor be a hand over the TLFTextField?
i have 4 butones made on flash.,now i have a customize pointer also,that drugs on my movie,and now i want to do when i pass with my pointer on rollover at the butones,to change my hand pointer into the one that ihave made_ movie hand pointer. wich are the actions that i have to give? i have this code with as 3.0 until now.this code is only for my pointer mouse that i have. Mouse.hide(); pointer_mc.startDrag("true"); Mouse.hide(); pointer_ mc. startDrag(true); this.onMouseMove = function () { if (_xmouse < 4 || _ymouse < 4 || _xmouse > Stage.width - 4|| _ymouse > Stage.height - 5) { pointer_mc._alpha = 0; } else { pointer_ mc._alpha = 100; } end else if }; whats the code that i have to give for the movie handpointer_mc to work when i rollover a buton to show mine,and not the browser one white.
I have an xml gallery that I'm making for my photo business, and I'm having a problem with the order of events firing off here.
Right now when I test my flash, there is a brief moment where I see the image resize from big to the resized format... and the fader does not work anymore.
I want for everytime I open the gallery or click on an image for the resize event to happen, have the image loaded, so that the fading I have in function checkerF can begin...
Pretty much like this: Open gallery Resized image fades in...
Below is the full actionscript code of the Fla. file.
I've got a dynamic text box on a movie clip that I'm using as a button (for a slider). To be specific, it's a movie clip on the stage that has a MOUSE_DOWN event listener applied to it. There's a circle in the movie clip and a dynamic text box in the movie clip right in the middle of the circle
The text field is set to NOT be selectable, the font is embedded, buttonMode and useHandCursor are set to true. I get a hand cursor when my cursor hits the outside of the circle, but once it hits the text field in the middle, the hand cursor goes away. how I can make the hand cursor stick? I've considered replacing the dynamic text field with a movie clip that has a timeline full of numbers, but that would be giving up.
I'm trying to figure out the best way to make the text in the upper right hand corner of my photos page linkable URL...Here's the action script that's in the action layer of the file for that spirt: function loadGallery(directory, images)[code]
I need to make the cursor turn into to a hand when the user is with the mouse over the movie clip. when I use the following code the entire movie turns into to a hand but I just want it on my movie clip.
I'll start by posting my code then explain what I want it to achieve.
[Code]...
What I am attempting and failing to do after much trial and error is to have a random ingredient from the ingredientList array pushed into the previewIngredients array making sure the new value going in is not already in the preview ingredients array. If the same value is there I want it to keep choosing an ingredient from the list array until it finds a value thats not in the preview array then push that one in there. It feels like I'm getting close but obviously I'm either going about it the wrong way or just missing a little somthing somthing out.
How to add description tag.I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this.add a description tag that would work?
<?xml version="1.0" encoding="UTF-8"?> <galleries> <!-- **    Please read this information to learn how to add more galleries to your website. **    **    Here are all the galleries that you can use for the website pages. Each gallery has **    an index or ID. With the help of index the gallery can be connected with the definite
I have the 3dwall feature - but i don't know how to add a title/description to the image. I have followed the instructions, - I don't understand what it is asking me to do.
how can I make a windows popup when I put my mouse cursor over a item? The popup should display the item name and it's characteristics. When the cursor rolls out fo the item, the popup windows disappears.
I've modified a flash movie that displays images in a slider control. When the user mouses over the image I display a tooltip. The problem is I cannot figure out how to parse the Description(desc) out of the image tag in XML to display as the tooltip text. Heres what I want the image tag to look like:[code]In the actionScript how could I simply parse out the description to pass in as the tooltip text?
I am new to flex and am using flex builder 3 , many a times code assist shows a lot of function but i am not sure what these functions do. How can i configure flex builder so that it also shows descriptions of the methods like the one we get in java.
how to create a rollover description whereby when i rollover a button a description box pops up at the bottom which either scrolls information or shows shows some text.
I've created my buttons and have used "hover captions" which have worked perfectly, however i would like a description box at the bottom of my button so when i rollover the button some text scrolls or just displays a box where i could put a lot of text.
in the if statement below ? I'm looking to add a description for each picture in a text field... something like: if picture1 selected, text="", else if picture2 selected, text="", else text="";
I bought an xml flash template and i am trying to modify it.In main.fla file there is a layer named functions. At this layer there is actionscript code where i saw this part:[code]When i push the image gallery from the main menu, then the image_gallery.swf loads. There, i have 2 categories with photos, each of whom loads title and description of images from website_xml_imagegallery_xml/category1.xml and website_ xml_ imagegallery_ xml/category2.xml. My problem is that whether i open a photo from one category or from the second category, the title and the description remain the same as the first category's. I figured out that the title and the descrption of the first photo of the second category is the same as the title and the description of the first photo of the first category and this depends of what i am using at the last line of the attached code:images.load ("website_xml_imagegallery_xml/category1.xml");So, if i write category2.xml instead of category1.xml, then the first photo of the first category will have the same title and same description as the first photo of the second category.It seems like each category cannot read from its category.xml. Look at the xml files as well.
I am creating an Autorun for CD using flash CS4 in which Tilelist will show product image and slider will slide across images. when slided, product Title and Description should be shown.But instead of showing, Text field goes blank and nothing is shown.