ActionScript 1/2 :: Mysteriously Disappearing From Text Out Of Scroller And Buttons Can Press Twice

Apr 11, 2009

The problem is: When I press my buttons twice, the text in the scroller disappears.Everything is set so that It shouldnt be possible to press the same button twice though.The situation in short is as follows. I have 4 scenes and 4 buttons, every button linking to respectively another scene / page. The buttons all are in movieclips. I have 4 different movieclips all containing all buttons. For the page movieclip the-button in the movieclip getsœswitched o by ungrouping it and so on, and so on.On every scene I put the movieclip, with the correct button switched of, on top, with thenction. The other movieclips are made invisible by the visible = true˜delete this.onEnterFrame; function.Im not a develloper but a graphic designer. Dont know much about AS2. I bought the photoslider and textscroller on FlashDen and thought d finnish of this project pretty quickly, but I thinking m almost there" for already many hours now.

View 3 Replies


Similar Posts:


Flex :: Labels Mysteriously Disappearing From A ComboBox In It

Apr 16, 2010

Observe the Flex program below (I'm using Flex Builder 3 w/ 3.5 SDK). The second combobox is conditional on the first. If a 'first name' is chosen, then you are allowed to choose a 'last name'. If 'none' is chosen, then you are not allowed to choose a last name, but rather prompted to choose a first name.

To see the mysterious issue of the disappearing labels, run this program and choose a first name. Then choose a last name. All is well. Then choose 'none' in the first combobox. The prompt of the second combobox changes back, and the last names are removed. All is still well. Then try selecting a first and last name again. You will see that after choosing a first name, the last names do not appear, although the spaces for them do (and if you debug the program, the correct data appears in the dataprovider).[code]...

View 5 Replies

ActionScript 2.0 :: Dynamic Text Mysteriously Stuck

Apr 29, 2011

I have a dynamic text box and 5 MCs that trigger eachother in turn. The end of MC1 would then trigger the start of MC2 so they go round in a loop. Each image fade tells a dynamic text box to say something different about that image.But one bit of text causes the text box to stay STUCK and display only that text from then on. It got so frustrating that I had to create a fresh dynamic text box for each corresponding MC... but then I realised that when we finally loop back from MC5 to MC1, it wants to again display the stuck text!Get file here.Stuck text is "Monitoring Migration Routes and Settlements" - notice it when the whole movie loops back to the start.I made a little green box appear just to prove that the offending MC had actually stopped and wasn't looping somehow.

View 5 Replies

ActionScript 2.0 :: Menu Text Above Scroller It Controls The Scroller?

Jul 29, 2005

my problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?

View 1 Replies

ActionScript 1/2 :: Press +1 Text Increases By One, And When Press -1 It Decreses

Aug 29, 2011

I have text field which is 0 by default (score_txt)Two buttons +1 and -1 (plus_btn and minus_btn) When I press +1 text increases by one, and when i press -1 it decreses

View 4 Replies

ActionScript 1/2 :: Menu Buttons Not Disappearing?

May 29, 2009

I have knowledge of HTML but this is my first flash project, and I think I'm way over my head. I followed a tutorial explaining how to make menu buttons and I realized that the actionscript for a drop down menu should work for what I'm trying to do.  So I finally have everything the way I want it but I'm pretty sure I have a bit of wasted code in there.  Now, my issue is when I play my flash and move my mouse really fast over the flash object sometimes two menu buttons appear. I'm sure it is because of the ._alpha > 0 code I'm using but I dont know another way around it. If you have any advice PLEASE share!! Here is a link to the swf file...http:[url]....
 
This is the code (for two buttons) I use to make something disappear when I RollOver another button:
 
calplate_btn.onRollOver = function () { if(scan_large._x > startX) {  myTweenB.stop();  myTween2.stop();  scan_large.enabled = false  scan_large._alpha = 0  scan_large._x = startX }  if(scan_large._alpha > 0 ) {  myTweenB.stop();  myTween2.stop();  scan_large.enabled = false  scan_large._alpha = 0  scan_large._x = startX }[code].......

View 4 Replies

Actionscript 2.0 :: Disappearing From Buttons In A Movieclip

Apr 9, 2009

Its a bit difficult to explain so Ill add a link to the swf.[URL] The problem is: When going from one scene to another, and then back from that scene to the previous one, my movieclip containing my buttons disappears. (for example: from wat to nieuws and then from nieuws back to wat). Quiet bizarre, because when going from wat to wie to nieuws to wat and so on, the movieclip with buttons does not disappear.

The situation in short is as follows. I have 4 scenes and 4 buttons, every button linking to respectively another scene / page. The buttons all are in movieclips. I have 4 different movieclips all containing all buttons. For the nieuws page movieclip the nieuws-button in the movieclip gets switched of by ungrouping it and so on, and so on.On every scene I put the movieclip, with the correct button switched of, on top, with the swapDepths function. The other movieclips are made invisible by the _visible = false function.

I could give you even more info, though I have a feeling its not going to make any difference. I even have the feeling that the info I just gave isnt a clue to the solution. It really is mysterious to me, I cant figure it out. Still, the .fla you can find here: [URL]

View 2 Replies

Flex :: Scaling An Image In A Scroller Resizes The Scroller When Relative Dimension Are Set To The Scroller?

Mar 9, 2010

I would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...

<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image

[code].....

View 2 Replies

Actionscript 2.0 :: Scroller With Scrollbar AND Buttons?

Oct 1, 2009

I'm in no way a Flash expert, and I've got a bit of a query. I've followed a few tutorials and managed to get a vertical scroller working pretty well. However, is there a way of having a set of buttons that will move the content of the scroller (and subsequently scrollbar) to a certain position, without breaking the scroll functionality?

View 1 Replies

Professional :: Text Disappearing After Publishing A .swf?

Dec 19, 2011

*Using Flash CS5 professional (AS3)*
 
I'm currently working on a LARGE flash presentation broken up into many small flash movies.  the files play fine in the timeline, but SOMETIMES when publishing as .swf, the text is not visible, but all the other objects and tweens play as normal.  My co-worker is also having this same issue, but we can not figure out why.  It seems random and does not happen with all of the files.   We are copying and pasting symbols from file to file.  i don't think that is the issue, though.  i wonder if anyone else is experiencing this or knows why.  causing LOTS of extra time spent remaking presentations. 

View 4 Replies

ActionScript 3.0 :: Text Disappearing From Textfields?

Oct 12, 2009

I'm working on an interactive poetry project. I have 49 textfields displayed in a 7x7 grid. The properties are stored in an array. Here is the code for that. For the purposes of demonstration I place the character "S" as text in each field. This code works as intended.

var instances:Array = [];
for (var i:int = 0; i < 49; i++) {
var j_inst:TextField = new TextField();
j_inst.text = "S";

[code]....

The problem occurs when I want to change the text. When it's triggered the text simply disappears. I have no idea why and I'm running out of ideas. I've tried without the embedded font but to no avail. Changing other text properties like instances[j].x works but whenever I change the text I lose it.

function ChangeText(e:TimerEvent):void {
for (var j:int = 0; j < 49; j++) {
instances[j].text = "X";
}
}

View 7 Replies

Actionscript 3.0 :: Disappearing The Link Text?

Feb 12, 2009

I am creating a map that has pop ups with country information. When a country is clicked, a box pops up with the country name, an overview of the area and a link. All the text is pulled in from an external XML doc. My problem is that the link only shows up on the first box (as soon as it clicks, it wont appear in other countries profiles).I don't receive any errors and the links work fine, just as long as they are the first to be clicked.

View 1 Replies

ActionScript 2.0 :: Image Scroller - Next And Previous Buttons

Jul 31, 2009

I'm having problems with my AS2 and XML (on Flash 8). I finally figured how to create a simple slideshow which incorporates a "Next" and "Previous" button...but what i'm struggling with is: "How to click on the 'next' button so that the existing image scrolls to the left as the new image from the right moves to the center. And the opposite for the 'previous' button". Currently I have the existing image disappearing (alpha 0) and then the new image scrolls to the center from the right - which is not what I want to do.

Here's my current script:
import mx.transitions.Tween;
import mx.transitions.easing.*;
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
[Code] .....

View 4 Replies

ActionScript 2.0 :: Scroller Not Working With Loaded Xml Buttons

Sep 21, 2006

i attach some buttons according to the tutorial from kirupa to a "menu_mc" mc.everything goes well. the buttons do attach.. the text inside them is visible!i make a scroller (also from a tutorial from over here) that scrolls a "contentMain" mc.everything goes well.... it scrolls.when i put the menu_mc inside the contentMain...... the buttons do attach, the scroller works fine... but the text inside my buttons is not visible.

1. can you tell me what's the problem? why don't the texts show?

2. how can I call the "scrolling()" function from inside that contentMain mc ... without using _root ?

View 2 Replies

CS3 Drag Handles Disappearing Resizing Text?

Apr 9, 2009

I'm animating some text, I enlarge it by using free transform tool and drag the handles until my text covers the screen. Problem: the text is so large that the left and right drag handles disappear from the stage, I can only resize using the middle handles and this is not constraining my text the way I want it.

View 2 Replies

ActionScript 3.0 :: Autosized Dynamic Text Disappearing ?

Oct 13, 2009

I'm having issues with dynamic text disappearing under a specific circumstance. When the playhead enters the Photos frame the code below is executed. This code sets the text value of the linkTEXT textfield and adds a bitmap to the linkTHUMB mc. The code runs perfectly and everything is populated most of the time.

The exception... The website has 4 frames which it can navigate to (home, photos, order, contact). If I stay within the first three, each time I navigate to Photos the textfields and bitmaps will be populated and display correctly. However, if I navigate to the Contact page, either before or after I've already visited the Photos page, only the bitmaps will display.

Strangely enough, the textfields still trace their proper values. It also appears as if their parent movieclips are still in the display list since I get the hand cursor when I mouse over their x+y coordinates. If I trace the parent's numChildren property I can see the textfield is still a child.

So where is the text going, or why does it suddenly disappear? If the textfield is still there and it's on stage in the display list why isn't the text being displayed?

View 4 Replies

ActionScript 3.0 :: Text Loader Disappearing Under A Mask?

Oct 20, 2009

I created a loader class which creates a text pre loader and works fine until I add a mask over the images.Then the preloader doesn't display anymore. The preloader is called "progressOutput"

[Code]...

View 1 Replies

ActionScript 3.0 :: Disappearing Text On MouseOver Tween?

Jul 21, 2009

I have a linked movieclip in my library that contains a dynamic text field. I edit this text via my external class but when I tween my MC, the text just disappears !!

Code:
var goTo1:_goTo1= new _goTo1();
addChild(goTo1);
goTo1.id=0;
goTo1.buttonMode = true;

[code]....

View 4 Replies

Professional :: Disappearing Embedded Fonts - DYNAMIC TEXT

Apr 7, 2010

I have a static textfield using Myriad Pro bold font that, when set to STATIC TEXT works absolutely fine, in the correct font. If I set it to DYNAMIC TEXT and test the SWF, the text shows up as a system font; not Myriad Pro If I set it to EMBED CHARACTERS the text doesn't show up at all on ANY system, whether the font is installed or not.

I have tried adding the font to the Library and using that "Family" for Properties>Character in my dynamic text box, but get the same results as when I don't set that to EMBED CHARACTGERS. I've tried selecting the font for the textfield as both the standard OS Font, as well as the one with the Asterisk next to it, but get the same results both ways. The library font is set to "export for actionscript" and "on frame 1". I don't think it's an issue with the font not being available, as I'm able to see it when setting textfield to STATIC type, and I use the font in other CS4 products (Photoshop, etc.).

View 6 Replies

ActionScript 3.0 :: Dynamic Text Disappearing At Full Screen?

Sep 13, 2010

I have a .f4v on a layer using the FLVPlayback command. On top of that I have a dynamic text layer. It plays fine in a browser or at the exported resolution. When I use the command ("fullscreen", "true") or when I open the .swf and go full screen using CTRL-F the text disappears. I have removed the video and put the text on a solid background layer to determine it is the video causing this. I have also tried to convert the .f4v to a .flv and embed it in a .swf in multiple manners but the end result is always the same as the text disappearing.

View 0 Replies

ActionScript 2.0 :: Text Disappearing If Use One Font / It Shows In One Textbox

May 19, 2011

Ok, so i have this problem with text dissapearing if i use one font, it shows in one textbox, but the other ones are odd, they either show 0 or 1, or the first letter only, or nothing at all. What's the problem?In the beggining i tried to ignore the problem by changing the font or the font style, but now, it's becoming to ugly if i use too many different fonts.

View 9 Replies

Get Buttons To Be Activated By Keyboard Press?

Jul 24, 2009

I'm trying to figure out how to get buttons to be activated by keyboard presses. I have found how to do that with specific keys ... but not with ANY keypress. I'm making a game for tiny children and they can't manipulate the mouse well. So I'm setting up a few things on stage that will run in a certain order when the child presses any key on the keyboard. For example, any key is pressed, dog wags his tail .... any key is pressed again, cat jumps, any key is pressed a third time, cow munches hay, and so on till it goes through a bunch of animal animations, then goes back to the first one. I'm pretty new at this stuff and have been banging my head against google for days trying to find the answer to this out there with no luck! I could do either movieclips or movie clips inside buttons if that makes sense.

View 1 Replies

ActionScript 2.0 :: Scroller - Keep Moving The Designated Layer Up Or Down When Hover On The Up Or Down Buttons

Feb 16, 2006

i am making a scroller and need to have it so that when you hover on the up or down buttons, then it will keep moving the designated layer up or down. right now the event handler i am usiing (onRollOver) doesnt really work right because it only moves one pixel, then you need to roll off and roll back on.... i am thinking there must be some do... while statement for the rollover action but i cant find it...

View 7 Replies

ActionScript 2.0 :: Flash 8 / CS3 - Make The Scroller Refresh To Allow For New Text In The Dynamic Text Area

May 29, 2007

I'm using the dynamic text scroller from [URL] found at [URL] Here's a link to my zipped files too... [URL]

1) I can't figure out how to have URL links in the text that loads.

2) How can I make the scroller refresh to allow for new text in the dynamic text area. The content changes alright, but the scroller stays in the same position and if it wasn't needed initially, the scroller disappears and doesn't return on new text.

View 2 Replies

Professional :: Music-synced Text Scroller Design - How To Scroll The Text

Jul 16, 2011

I want to make a Flash app that will scroll text whilst music plays. The music part is easy, but scrolling the text...I've tried simply importing ALL of the text, resizing, and scrolling that one giant object upwards, but when the screen was full of text it began to slow down. I need the speed uniform to sync it with the music in the background.
 
I could have a 70,000,000,000 frame movie and move each element individually, avoiding the heavy load, but the amount of work on my end this would require would be so astronomical that it just wouldn't be worth it. Ideally I want something like a component that I can dump text into and have it deal with making the scroll speed uniform.
 
It would also be a major plus point if it could be used/created by another program, so that someone without Adobe Flash could produce a similiar kind of movie simply by putting in their text and MP3 file and hitting a "Generate" button.

View 2 Replies

ActionScript 2.0 :: Animation To Be Triggered When Buttons Are Press

Aug 4, 2002

i havent tried to do this yet but im gonna be getting to it this week so i thought i might get some input on my task. What I would like to do is when my buttons are pressed i want a animation to be triggered... im thinking of using actionscript. gotoAndPlay();? im not sure. its been the gotoAndPlay /gotoAndStop that are confusing me.... If anyone could maybe give me the code i would use or maybe a link to a tutorial on it for FLASH MX!

View 6 Replies

ActionScript 2.0 :: [Flash 8] Reseting Buttons On Press

Apr 16, 2008

Two buttons ( or movieclips ) on screen, if user clicks one it plays an animation loop, sets a variable, and resets the other button back to the "up" state, or the non-animation part.

Actual use is a simple game with two skin options for a space ship, if user clicks the left one it glows, sets the shipSelect = 1 and waits for player to click continue at the bottom. If the player clicks the right (while the first is still going) then it resets the first ship back to non-glowy, starts to glow itself and sets the variable.

First attempt at this was to have two movieclips for each ship, with a "up" state and a "down" state inside the mc's, labeled as such, the down state had the animation loop.

However, I was running into trouble with getting a mouse listener to see if the user clicked on the MC. Tried things like

my_mc1.onRelease = function () { reset other mc to up, set this mc to down, set the variable }

and onClipEvent(mouseDown) { etc }

decided that wasn't a good way to go about it, didnt care if it was animated and just went with buttons.

this worked fine except that it wouldn't reset the other button when I clicked on one, say i clicked the left one, it would glow, then i clicked the right one - it would glow but i couldn't get a way for the left to stop glowing, when the right one is clicked.

View 1 Replies

ActionScript 2.0 :: Text Scroller - Input The Text To Show As A Link

Nov 17, 2003

I dowloaded and played with the following scroller on this site... [URL] I see where the text is under Actions but I'm wondering if I can input hyperlinks and email links as well or will I only be able to use this with plain text. If formatting and links are allowed, how can I input the text to show as a link. Sorry, I don't know much about flash and just trying to make a simple text box with scrolling capability that will allow hyperlinks, bold, etc...

View 3 Replies

ActionScript 2.0 :: On Press - Accessing Buttons Created With A Loop?

Sep 27, 2007

I have generated a series of buttons using this:

Code:
duplicateMovieClip(sign, "sign"+z, z)
while still inside the loop that is creating the buttons I can get to each sign:

[code].....

View 3 Replies

ActionScript 3.0 :: Make 10 Objects Randomly Move As Press Each Of The Buttons

Jan 30, 2009

This is what i have to do:

-Place 10 buttons on the screen

-Make 10 objects randomly move as i press each of the buttons.

eg: press button 1, object 1 moves to a random position press button 2, object 2 moves to a random position...

View 5 Replies







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