ActionScript 3.0 :: Make Textbox Clickable Without Losing The Ability To Scroll?

Aug 28, 2009

I am relatively new to Flash and have developed this application using AS3.0.I have a screen which lists file descriptions. The file descriptions are in a movie clip and the movie clip is added to the stage in a scroll panel (instance name aSp). This part I have working fine.The file descriptions movie clip is called AbstractDisplay and it is basically a textarea. When the file description exceeds the size of my box, scroll arrows appear. Again this is what I want.Now to the part I can't get to work. I want to be able to click on the movie clips that are in my aSp Scroll Pane. If I make the individual movie clips that I put in my scroll pane clickable, I lose the ability to scroll the text in the individual movie clips. Here is the code that I have so far. This code is within a loop and I'm only showing the code that sets up the movie clip.

// Setup abstract to place in abstractContainer
mcMain = new AbstractDisplay;// Get new instance of AbstractDisplay
mcMain.name = "a" + i;// Set instance name

[code]......

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Make A Dynamic Textbox Scroll Down/up For Devices Like IPhone/Android/iPad Etc?

Mar 25, 2012

Problem: When doing anAPP to test it out in my smartphone devices. I tested it on my computer and it works fine. But in devices, im not able to scroll the textbox down/up because my devices dont have a scroll wheel to scroll up/down.Assuming that im looking for something like this: When I use my fingers to touch on the textbox and slide it upwards, the textbox will scroll down

View 2 Replies

ActionScript 3.0 :: Build A Small Viewer That Will Allow The User The Ability To Scroll Through A Certain Number Of Thumbnails?

Dec 3, 2008

Im trying to build a a small viewer that will allow the user the ability to scroll through a certain number of thumbnails. I'm having trouble on how to go about this. I haven't used flash or actionscript 3 in quite a while so Im pretty rusty when it comes to perspective on how to go about this. I basically want the user to interact with a scroll bar (up and down) to move through a certain number of thumbnail pictures (125 x 125).

View 3 Replies

ActionScript 2.0 :: My Textbox Won't Scroll

Sep 20, 2004

[url]Why this dynamic textbox won't scroll? It's just a normal old multiline, embedded fonts dynamic textbox fed from an xml file that reads a Notepad txt file. It is loading just fine but not scrolling?

View 4 Replies

IDE :: Scroll Textbox Without Scrollbar?

Aug 8, 2009

Is there any simple way to scroll a dynamic textbox with easing, without having i scrollbar visible? perhaps something that scrolls when mouseover? Every tutorial i found is with a scrollbar, and still i come across the kind of scroll that doesn't have a scrollbar!

View 1 Replies

IDE :: Making Data Scroll In Textbox

Feb 12, 2009

i have a dynamic text box loaded with data from external text file i need the script to make the data scroll vertically line by line. without any button click

View 1 Replies

ActionScript 2.0 :: Textbox With The Basic Scroll Bar Component?

Dec 12, 2003

I have an empty textbox with the basic scroll bar component. Nothing is in the text box so the arrows are greyed out on the scrollbar. I have a button that loads text into the textbox, but the component does not update itself to accomodate text that is larger than the text box.

how can I make it so that the scrollbar changes when text is added.....also If I put text in the text box in flash, when I publish it gets the scrollbar fine, but it will not adjust itself when I click on the button that loads different text into the text box. what happens is the scroll bar stays the same regardless on the size of the loaded text.

View 6 Replies

ActionScript 2.0 :: Dynamic TextBox Loading Fine But Will Not Scroll

Sep 20, 2004

[URL]. Skip the intro. Then - why this dynamic textbox won't scroll? It's just a normal old multiline, embedded fonts dynamic textbox fed from an xml file that reads a Notepad txt file. It is loading just fine but not scrolling?

View 4 Replies

ActionScript 2.0 :: Make A Textfield Size That I Want Without Losing Textsize Settings?

Jun 7, 2005

When i made a textfield and i specified the font size 10 points and choosen a font and than later resize the textfield to the size i want and i than type in text, he scales the text size. The properties window says its still 10 points but it is not.

How can i make a textfield the size that i want without losing my textsize settings ?

View 1 Replies

Professional :: Make The Scroll Pane Operate With Input From The Mouse's Scroll Wheel?

Jun 15, 2010

Is there a code that will make the scroll pane operate with input from the mouse's scroll wheel?

View 2 Replies

ActionScript 1/2 :: Make A Movieclip Visible False When A Scroll Bar Starts To Scroll?

Jan 29, 2011

How do make a movieclip visible false when a scroll bar starts to scroll?
 
//I tried this and had no luck.
this.onEnterFrame = function(){
obj_mc._visible=false;
}

View 1 Replies

IDE :: Can't Make .fla Clickable

Jan 9, 2010

My Error was:

1120: Access of undefined property adclicker.

After I was creating a symbol and writing the following code on to the frame:

Code:
adclicker.addEventListener(MouseEvent.CLICK, callLink);
function callLink(event:MouseEvent):void
{

[Code]...

Solution:

I had to change the INSTANCE name to "adclicker" and not only have the symbol with that name!!!

- Choose the button -> Properties -> Instance name: "adclicker".

View 8 Replies

ActionScript 3.0 :: Make A "module" Composed By An Image And A Text And Make Clickable

Jan 16, 2009

I want to make a "module" composed by an image and a text and make this clickable, how could I made this in AS? PS: to create the text I'm using the TextField(), what I have to use to make the image from a url?

View 1 Replies

ActionScript 2.0 :: Way To Make A Button Not Clickable?

Jul 15, 2002

I was wondering if there was a way to stop a button from being clickable. Lets say the user has been idle on a site for 5 minutes. I want to flash movie to through up a translucent cover on the buttons and make the buttons not clickable.

View 3 Replies

How To Make Menu Items Clickable

Jun 15, 2009

I'm creating an xml generated gallery/menu, I have the gallery and menu populating fine but my issue arises when I try to make the menu items clickable.

This is inside my populate menu function
_root["mainMenu"+[i]].onRelease = function() {
trace(this);
var splitThis:String = this
var splitThisArray:Array = splitThis.split("Menu");
trace(splitThis)
trace(splitThisArray[1])
};

Now the trace output I get is
_level0.mainMenu1
_level0.mainMenu1
undefined

Although when I set splitThis to "_level0.mainMenu1" manually I get "1" or whatever number comes after "Menu".

View 2 Replies

ActionScript 3.0 :: Way To Make DataGrid Clickable

Jun 10, 2011

I have dataGrid that is pulling data from an XML file. How do I make each data row clickable and load 1 of 3 SWF's (depending which you pick) onto the stage.[code]...

View 1 Replies

ActionScript 1/2 :: Make A FLV A Clickable Link?

Aug 12, 2010

I have a small(220x123) Fla file with only one small FLV video file in it.Iwant to embed this video into an html and make it so that it acts likea button - when the user clicks, another html page is launched.Inside Flash I imported the FLV, I made an invisible button on a separatelayer (btn_cover_all) that covers the flv.On the Actions layer I putthe code below. After publishing and embedding the code into the html - the video plays and responds to mouse-over but the link doesn't work.How do I make this FLV act like a link or button that launches another html page?

View 2 Replies

ActionScript 3.0 :: How To Make Hyperlinks Clickable

Jan 11, 2010

Im have data retrieved from a API, there are hyperlinks within this data, so i want the hyperlinks to be 'clickable' I read up many ways of making a textfield clickable links but they all made you type in he specific link you want. I need it to be clickable if there is a link recieved from the data..

View 3 Replies

AS2 :: CS3 : Flash And XML Gallery. How To Make Thumbnails Clickable

Nov 20, 2008

I'm making a flash gallery with XML, the thumbnails loads just fine but i cant figure out how to make the thumbnails clickable so that they can load the correct Image..Here is the code i have so far:

Code:
var galleryXML:XML = new XML();
galleryXML.ignoreWhite = true;
this.createEmptyMovieClip("container_mc",this.getNextHighestDepth());//Container for the thumbs

[code]....

View 21 Replies

ActionScript 2.0 :: Make The Fields Clickable (contactform)?

Apr 8, 2010

I wounder if some of you guys here could help me. My problem is:

I cant make the fields of my contactform clickable. They are in an animated movie clip. You will understand when you see the file.

View 1 Replies

ActionScript 1/2 :: Make A Button Clickable Which Is Under A Movieclip?

Dec 8, 2009

Having problems with a buttons which is inside a movieclip and this movieclip is under another button.The buttons is not clickable anymore.I have a panel which is having a button when you rollOver the movieclip will goes up.And I want that the buttons which is under the movieclip is clickable.When I rollOut of the movieclip I want it to go back to its original positional tion.[code]...........

View 1 Replies

Flash - Make Button Clickable Only Once In Actionscript?

Aug 17, 2011

In the first I have a button and if somebody click on that button it goes to the second scene.In the second scene I remove the button with an image so it is not clickable.How to leave this button, but make it not clickable at all?and the second case is what if I am using just one scene in flash and want the button be clickable only once? How the actionscript will look like?

View 3 Replies

ActionScript 2.0 :: How To Make Text Boxes Clickable

Jan 22, 2009

I have a movie clip which has 3 different text boxes inside it. I want to make each text box clickable similar to a hyperlink in HTML (clicking on text box 1 takes you to one website, clicking on text box 2 takes you to another website, etc.). Right now my code is as follows:

ActionScript Code:
MyMovieClip.gotoAndStop(2);
MyMovieClip.TextField1 = "Click Here For Example 1";

[Code]...

So, you will see that I have 3 different text fields (labelled TextField1, TextField2, TextField3. Something is obviously wrong with my onRelease function, so my question is how can I make TextField1 clickable and send you to [URL] when you click on it? Am I using the right approach in the first place?

View 1 Replies

ActionScript 3.0 :: Make Urls From XML Text Clickable?

Oct 12, 2010

I'm loading copy from an XML doc. How can I make allI can't put href statements in the XML as the XML is actually pulling Twitter postings.

View 9 Replies

ActionScript 3.0 :: Make A Dynamically Loaded Image Clickable?

Mar 24, 2009

I loaded a swf and placed it in a movieclip on the stage. When I try to make this image clickable nothing happens.

Here's my code:

Code:

var sprite = cHolder.addChild(ldr)
sprite.addEventListener(MouseEvent.MOUSE_DOWN, displayCat);

If I attach a listener to the movieClip on the stage it works fine but I can't seem to get the image inside of the clip to work.

View 4 Replies

ActionScript 3.0 :: Make The Text In The TextArea Component Clickable?

Jun 11, 2009

I have text in a textArea component that I need to be clickable and open up the users email program.The text shows fine when I have this:infoBox.taEmail.text = xmlDataSelect.office[evt.target.selectedIndex];but I can not click on it, so I tried this:infoBox.taEmail.htmlText = "<A REF="mailto:"+xmlDataSelect.office[evt.target.selectedIndex].email+ "</U></A>";

View 2 Replies

Flex :: Actionscript 3 - Make Urls From Text Clickable?

Aug 20, 2009

In an AIR app, I am loading a bunch of arbitrary text via JSON, loading it into an object, and displaying it via a custom renderer. I would like to have urls be clickable. So I'm sure that this is possible via some crazy regex thing (as I found for php here), but, Flex being flex, I'm astonished that there isn't some builtin functionality for this that I'm just not finding, or, failing that, a library that someone has created to do just this. (I'm equally astonished that this question hasn't been asked here before. I anticipate being flamed with the link to that)

View 2 Replies

Flash - Make A Movie Clip, Clickable After Just Becoming Visible?

Nov 5, 2010

So I have a movie clip called signInBtn and one called signOutBtn initially,

signOutBtn.visible = false;

but when a user signs in

signInBtn.visible = false;
signOutBtn.visible = true;

But after I do that, I can't click the signOut movieclip. I thought it might be because the signOutBtn was under the invisible signInBtn but that is not the case.

View 2 Replies

ActionScript 2.0 :: Make A Draggable And/or Clickable Curtain Rope?

Aug 9, 2005

I'm having a heck of a problem with the startDrag function in Flash right now. I'm trying to make a draggable and/or clickable curtain rope, which works now to a certain extent. When the user single clicks on the rope, it opens/closes itself. When a user clicks and drags the rope part of the way, it opens/closes itself the rest of the distance. A user can also click and drag the rope the whole way if they like. Everything does what it is supposed to when a user single clicks. If a user double clicks, the curtain is permanently draggable, which is obviously not what I'm going for.Variable used to determine whether the curtain goes up or down

drag = 1
// Starts the dragging[code].....

View 2 Replies

ActionScript 2.0 :: Make 'link' Clickable In The Flash File?

Jun 14, 2006

I've set up a test page in Flash:-

function loadXML(loaded) {
if (loaded) {
_root.resource = this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;[code]...

how do I make 'link' clickable in the flash file?

View 2 Replies







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