ActionScript 2.0 :: Using Hover Caption Kirupa / Not Working When Loading External Swf File

Nov 7, 2005

I'm using the kirupa fla source file for the hover caption URL...and have created an external movie file where I want the hover captions to appear to be loaded into the main movie swf. The hover captions don't work once this swf has been loaded but works as a standalone swf.

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Hover Caption Tutorial On Kirupa

Aug 3, 2011

My query is in respect to the tutorial posted on kirupa : [URL] Now :

1) If I want to add a line of caption ,the moviclip expands in a horizontal manner. So , if I write a big description , the caption movieclip occupies whole stage width. How can i make this movieclip exapand in a vertical fashion after a fixed no. of characters

2) Suppose a button which is inside a movieclip has been applied this function , the button action doesnt work !!!! only the hover caption appears. ( specifically the button on(release) action ) !! What is the possible solution.

View 14 Replies

ActionScript 2.0 :: [FMX] In Hover Caption In An External Movie?

Apr 1, 2003

I've done the Tutorial written here by Kirupa on how to display an hover captionTutorial It works perfectly in the stand alone movie.But i need to put this in another movie as external.When i do so, it doesn't work , actually 'cos it drag ALL the external movie and not only the item i want to do a Hover Effect.Why this??Maybe because it consider the command_root.x = 1 (and so on whenever there's _root)the root of the Main movie and not the one of the external??Must i correct all the code with level1 or there's another way??

View 1 Replies

ActionScript 2.0 :: Hover Caption Within Movie Canvas

May 9, 2004

I followed the hover caption tutorial but sometimes the hover caption goes out of the movie.How to make it stay inside the movie and a certain distance of the mouse?

View 9 Replies

ActionScript 2.0 :: Hover Caption Tutorial / Formatting

May 8, 2006

I followed the hover caption tutorial, everything worked, etc. What I want to do is experiment with different uses for the hover captions. I tried to put longer text inside the quotes ("something something blah blah blah" instead of "Portable Devices", etc), but it extends the yellow box way past the text, and if I try to make it multiple lines I get this error mesage:

[Code]...

View 5 Replies

IDE :: Hover Caption To Each Movie Clip From Xml Data

Jan 8, 2010

am having totally 30 movie clip ( name it as layout_1 to layout_30 ) for that i want hover caption to each movie clip from xml data note: not load dynamic movieclip only xml data load dynamic

View 1 Replies

ActionScript 2.0 :: Hover Caption Within Movie Canvas?

May 9, 2004

I followed the hover caption tutorial but sometimes the hover caption goes out of the movie. How to make it stay inside the movie and a certain distance of the mouse?

View 8 Replies

ActionScript 2.0 :: Get Hover Caption To Each Movie Clip From Xml Data?

Jan 9, 2010

am having totally 30 movie clip ( name it as layout_1 to layout_30 )for that i want hover caption to each movie clip from xml data note: not load dynamic movieclip only xml data load dynamic

View 5 Replies

ActionScript 2.0 :: Hover Caption & Swapdepths With The Pictures Loaded

Aug 12, 2004

I have a problem with a caption. When i load a picture, the picture goes in front of the caption. I tried a swapdepths between the 2 mc's but it seems not to work. Here's my code : You can also see the swf online here : [URL]

[Code]...

You'll see that i have also a problem with the pictures loaded. I place the pic ni the middle of the scene, but when i click the button, i can see the picture moving.

View 3 Replies

ActionScript 2.0 :: Use The Excellent Hover Caption Effect In Movie?

Jan 5, 2007

i am trying to use the excellent hover caption effect in my movie. the buttons i want to put the captions on are inside a movie clip named mcRobot. so i tried to modify all the paths to go into the mc...but not working.

here is original code from tutorial and then the one i try. basically i put "mcRobot." before most of the paths where i think it should go.

does anyone have a version already modified to put into an mc?

original code:

b1.onRollOver = function() {
captionFN(true, "E-Mail!", this);
this.onRollOut = function() {
captionFN(false);

[Code].....

View 2 Replies

ActionScript 2.0 :: Loading Variable From External File Not Working

Aug 28, 2005

I'm having trouble with this script. I have an external text file, from which all of the text on the page is loaded. I also have a series of thumbnails, but I need to have different numbers on each page, so I figured I'd put the number of thumbnails into the text file too and then run a loop to create the thumbnails and buttons dynamically. The loop works fine, until I try to use the value I have loaded from the text file. I think it is something to do with it being in a separate function, but I have tried making it _global.counter, I have tried putting the whole for() loop inside the myData.onLoad function. Basically, I have tried everything I can think of and still the loop does not run when the counter value is specified externally.

[Code]...

View 3 Replies

ActionScript 2.0 :: Loading External File From A Button Press/ Not Working?

Sep 8, 2010

myData = new LoadVars();
myData.load("myText1.txt");
myData.onLoad = function() {

[Code].....

I thought i would be able to load the files from the press of a button.

this doesnt work i can load the external files from the btns,

Problem this is not working.I cant understnd the reason why. when the above code works fine. Problem is i do need to load the external varaibles with a button press.

//loading external file 2
myData = new LoadVars();
myData.load("myText1.txt");

[Code].....

View 4 Replies

ActionScript 2.0 :: Resize The Caption Box To Match The Caption Text's Length

Jul 24, 2003

I've completed the Hover Caption tutorial at [URL] successfully. What I'd like to do in addition, is to resize the caption box to match the caption text's length.

I've tried giving the background box a name (box) and turning it into a button and then doing:

_root.caption.box._width = _root.caption.help.length * 8;

But the box never aligns with the text properly after that. don't know what methods to call in order to get the bottom corner of the text and bottom corner of the box and align them properly.

View 5 Replies

ActionScript 3.0 :: Caption Format - Properties Not Working

Jul 11, 2010

Here is the code:
var captionLoader:URLLoader = new URLLoader();
captionLoader.load(new URLRequest("caption.txt"));
captionLoader.addEventListener(Event.COMPLETE, onLoaded);
var captionFormat:TextFormat = new TextFormat();
captionFormat.font = "Helvetica";
[Code] .....
All properties under "captionField" work fine, but none of the three under "captionFormat".

View 3 Replies

Professional :: Add Caption And On Off Button To Show And Hide The Caption

Mar 1, 2011

I have an audio slide show and I need to add caption and on off button to show and hide the caption. how can I make on and off button to show the caption?and is it possible to add caption on my audio (not video) using actionscript 3.0?

View 1 Replies

ActionScript 3.0 :: Kirupa Tut - Displaying XML Data In Flash Not Working?

Apr 7, 2009

I am trying to get a handle on XML and as such I am going through Kirupas tut on displaying XML.Unfortunately I cant een get past the first page without something going wrong.I have saved my inventors.xml and the test page all in the same directory.The inventors.xml looks like this:

Code:
<?xml version="1.0"?>
<inventors>

[code].....

View 5 Replies

ActionScript 3.0 :: External Image Loading Not Working On A Mac?

Oct 6, 2009

So I have this slideshow, meant to just cycle through 50 or so images, loading each up for a few seconds before it goes away. It obtains the information for the images from a database.For all my testing, it works as it should in IE, Firefox, Opera, and Safari on Windows.Yet I'm repeatedly told by someone that it does not work at all on Safari on Mac, but instead just forever shows the loading movieclip I have in.Sadly, I don't have a Mac and I don't know anyone, save for this person, who owns one, thus I'm unsure what is going on, let alone how to solve it.You can view it there. I'm just at a loss for why it's having issues. Is it just a single case, or is it Safari on Mac in general, or perhaps Mac itself in general?

View 2 Replies

ActionScript 3.0 :: Loading External Data Not Working?

Feb 7, 2011

I have a listBox and I want to take data from a php file and insert it in my list box. But I am doing something wrong, because it's not working.
 
The php file retrives data in the following format:
 
echo "nrsongs=" . $nr_songs;
$i=0;
foreach($song_ids as $song_id){
$i++;

[Code].....

View 2 Replies

ActionScript 3.0 :: Loading An External SWF Files Not Working

Mar 23, 2012

So I have a project I am working on in which I would like to teach how to cash a scratch off card. I have made the scratch and made it so it will "scratch"

Before: After:

Now I have saved this out and am trying to load this into my "holder" however I am getting an error:
 
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ScratchTicket()

When I use this code:

stop();
import flash.events.MouseEvent;
nextPG_btn.addEventListener(MouseEvent.CLICK, nClick);
lastPG_btn.addEventListener(MouseEvent.CLICK, lClick);

[Code]....

View 1 Replies

ActionScript 3.0 :: Preloader Not Working With External Multiple Swf Loading?

Aug 31, 2010

My preloader works fine only for the first time, then after it not works ? I got 3 buttons on the stage which are calling 3 external swfs. I am getting this Error ?

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display:: DisplayObjectContainer/removeChild()
at Design_fla::MainTimeline/finishLoading()

[Code].....

View 1 Replies

ActionScript 3.0 :: Loading Jpg Form External Site Not Working On Server

Mar 5, 2009

I'm trying to load a jpg from [URL]. I load if from my computer, it works.. load it online, doesn't. And it doesn't give me any errors or anything. The completeListener is not working! Is there a problem with flash loading from other domains or what?.. If I test it, it shows in Safari's activity that the jpg was loaded, but it won't display it.

[Code]....

View 7 Replies

IDE :: Link To External URL From Kirupa Thumbnail Gallery

Aug 4, 2007

I amusing the great Kirupa Flash gallery and have tweaked it so that I only am using the thumbnail scroll box to link to external html or asp pages.The xml file all loads correctly, though when I pass the "link" to the getURL the output is the entire XML "link" node.[code]

View 11 Replies

ActionScript 2.0 :: Adapted Kirupa Random Loading Background?

Apr 28, 2006

I've just followed the Kirupa random loading background tutorial and I am getting a syntax error in the actionscript. I want the random loading swf's to load on top of the background, so I made the top layer the "location" movie clip with the actions to randomly load movie. The exact syntax error message I'm getting is as follows...Scene=Scene 1, Layer=location, Frame=1: Line 2: The JavaScript

View 4 Replies

ActionScript 2.0 :: Kirupa's XML Image Gallery Images Not Loading

May 18, 2009

I have followed Kirupa's XML Image Gallery tutorial. Before you ask, I have double checked my code. When I hit command+enter (mac) to preview it, everything works just fine. XML loads the correct images. My problem is when I publish it and upload it via FTP to my web server, ONLY the first image displays. When I click the next button, the first image fades out, but then it fades back in. The captions and image numbers change (like they're supposed to), but the image does not.

It remains on the first image. I know that it is able to access the XML because it loads the first image specified in the XML. That image was never imported into the Flash document. I have double checked my paths, too. All of the paths are correct. Also, I'm sure that it's not accessing a local file, because for each path, I specify the full URL, such as "[URL]", rather than just "/images/image.jpg". What do I need to do to fix this? You can see what I'm talking about by going to [URL] and clicking on "photo+art".

View 1 Replies

ActionScript 2.0 :: Putting Progress Bar Loading Animation In This Kirupa Tutorial?

Apr 4, 2004

[URL]i'm in the midst of extending/modifying this tutorial.... i understand the transition mc is the loading animation.... however i want to put a progress bar.. how do i achieve that..?

View 1 Replies

ActionScript 2.0 :: Load External Pages Out Of Kirupa's Thumbnail Viewer?

Jun 28, 2006

In Kirupa's tutorial, Adding Thumbnails, when an image is loaded in the thumbnail viewer, you are able to click on it and load an external page. I've been searching for a while, but I am unable to figure out how to accomplish this.

View 3 Replies

ActionScript 2.0 :: Mailto From External File Not Working?

Dec 2, 2009

I am loading contact information from external txt files and everything is functioning, except my email links. The CSS hover effects work, but when clicked an email message will not open and the mouse doesn't turn into the little hand like it typically does over a link. I don't believe I changed my code at all, and these links did work previously, so I have no idea what I've done. And the code needs to be in the txt files, not in flash actionscript (there are lots of contacts I'm entering).

The following is what is in the txt files.
<a href="mailto:someonesemail@email.com">someonesemai l@email.com</a>

View 1 Replies

ActionScript 3.0 :: Make The External Code For The Snow Effect In Kirupa Internal?

Feb 18, 2011

i was wondering if its possible to make the external code for the snowflake effect in kirupa tutorials (AS3 version) run internally, i.e. without the need for the snowflake.as file

im trying to add the effect to my flash movie via loading the swf file.

View 2 Replies

ActionScript 3.0 :: HTML Rendering Of External Txt File Not Working

Jul 11, 2009

I've spend a lot of hours researching this problem, and nothing has worked so far. I have a simple text file that I'm loading into a dynamic text box. I want to get one line spacing between the lines, not two like a carriage return seems to give me. So I understand the way to do this is with Html rendering. So I click the html render button for my text box, add a '<br />' to my text file, but still no good - it just displays the '<br />'

[Code]..

View 8 Replies

ActionScript 3.0 :: Flash Working With Functions In External As File?

Oct 22, 2010

Im trying to understand alittle more about using external files.

In my flash actionscript window i basicly want to access a function that i wish to put in an external .as file ... but i just cant seem to get it..

like:

Code:
myFunction();
in external file

[Code].....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved