ActionScript 2.0 :: _currentframe Not Working?

Nov 10, 2009

I have this code

on(release){
_root.ohm_mc.gotoAndPlay(11);
if (_root.ohm_mc._currentframe == 25)
{

[code]....

I need movieclip to reach frame 25 and then jump to "organos de gobierno", but although it is stopped at frame 25, it does not do the jump to the other frame .... aAny idea why?? Please i need to fix this to finish a job. And in my previous times using this it always worked

View 4 Replies


Similar Posts:


ActionScript 2.0 :: If (_root._currentframe != 6){ Is Not Working?

Jan 8, 2007

this code should work, but doesn't. Am I missing something? I'm simply trying to disable the button "cardSearchBtn" when the root timeline enters frame 6 (along with two other play actions).

Code:
if (_root._currentframe != 6){
cardSearchBtn.enabled = true;[code].........

View 2 Replies

ActionScript 2.0 :: _currentframe Not Working - Movieclip To Reach Frame And Then Jump To "organos De Gobierno"

Dec 2, 2009

I have this code

[CODE]...

I need ohm movieclip to reach frame 25 and then jump to "organos de gobierno", but although it is stopped at frame 25, it does not do the jump to the other frame.

View 2 Replies

ActionScript 2.0 :: _currentframe Always Returns 1?

Feb 5, 2007

I have a flash file, and in it is a movieclipbutton. When you roll over the button, the button has to grow in size and change color. This animation is 10 frames long. When you roll out, the button goes back to it's original size and color, this animation is also 10 frames. But when you roll out of the button before the 10 frames of roll over animation are finished, the movie jumps to the rollout animation, which starts with the button in grown size; so you see a little jump in size. To fix this, I did the following for the onRollOut:

Code:
this.btn_1.onRollOut = function() {
this.gotoAndPlay(45 - this._currentframe);
}

This however, doesn't work. When I put a trace(this._currentframe) inside, it returns 1. But this isn't right, it should return something between 10 and 20! I have the .fla file on the internet:[URL]

View 3 Replies

ActionScript 2.0 :: Get ._currentframe And Return As Number?

Apr 4, 2011

Working on a linear movie and I want to do dynamic page numbers, i.e. when on the page, display that you are on page "x" of "xtotal" I created a dynamic text box, and tried to set it equal to ._currentframe, but that didn't work. Is there a way to do this?

View 2 Replies

ActionScript 2.0 :: [MX2004] Reverse Play Using _currentframe And If And Else Handlers?

Nov 15, 2004

i have a menu with 4 buttons. If i rollover an button, it will play a movie clip (tooltip, about 5 seconds long). I know, how to do that. But the problem is, when i roll over another button, then i need to stop that movie clip to stop half way and play reverse.how about using _currentframe and if and else handlers?

View 6 Replies

ActionScript 2.0 :: Stopping Movie At Its _currentFrame When Using OnPress GetURL _blank?

Jun 12, 2006

I am trying to stop/pause my MC when I click on an image.

EG:
on (press){
gotoAndStop._currentframe;
getURL("image1.jpg", "_blank");
}

But when my image loads into the new window and I go back to the main content window on where I clicked the movie has already started playing!

[Code]...

View 4 Replies

IDE :: _currentframe From Loaded Swf Movieclip Return Main Timeline's Frame

Jan 9, 2009

My script have a list of .swf files and needs to play them one by one. My problem is that i can't detect when the movieclip (containing the swf) completes playing.

I understood that i need to copmare between _currentframe and _totalframes of the moviecip but i keep getting 1 as the _currentframe (my main timeline contains only 1 frame).

Code:
var mcLoader:MovieClipLoader = new MovieClipLoader();
var loadListener:Object = new Object();
var container:MovieClip =

[Code]....

View 4 Replies

Test The _root._currentframe Value In An "if" Statement Using The Frame LABEL?

Sep 9, 2010

I'm trying to test the _root._currentframe value in an "if" statement, but I want to test it using the frame LABEL, not the frame NUMBER.

For example:

on(release) {
if(_root._currentframe != "homePage") {
gotoAndPlay("home");
}
}

I know this works if I put the frame NUMBER instead of the label. But is there a way that I can get it to work with the LABEL?

View 2 Replies

Test The _root._currentframe Value In An "if" Statement?

May 5, 2009

I'm trying to test the _root._currentframe value in an "if" statement, but I want to test it using the frame LABEL, not the frame NUMBER.

For example:

on(release) {
if(_root._currentframe != "homePage") {
gotoAndPlay("home");
}
}

I know this works if I put the frame NUMBER instead of the label. But is there a way that I can get it to work with the LABEL?

View 1 Replies

The _root._currentframe Value In An "if" Statement

Jul 15, 2005

I'm trying to test the _root._currentframe value in an "if" statement, but I want to test it using the frame LABEL, not the frame NUMBER.

[Code]...

I know this works if I put the frame NUMBER instead of the label. But is there a way that I can get it to work with the LABEL??

View 2 Replies

Actionscript 3 :: Image Is Working After Compilation But Not Working Once The Executive File's Location Is Changed?

May 25, 2011

package
{
import flash.display.DisplayObject;[code]....

View 1 Replies

Flash :: Working Fine In Local System ... Not Working In The Live Site

Nov 5, 2009

I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]

View 12 Replies

Flash Working Fine In Local System / Not Working In Live Site

Dec 14, 2009

I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...

View 2 Replies

ActionScript 2.0 :: UTF-8 French Characters Working Locally, But Not Working On Server?

Apr 21, 2009

I missing a file that needs to reside on the server to get this working?

View 1 Replies

Professional :: Button Link Not Working In Safari, But Working In Firefox?

Apr 18, 2011

[URL]
 
The ad on the bottom right of the screen (the one with lightning flashing) has an invisible button in its Flash file (CS5) linking to [URL]. This file is imported as SWF in Dreamweaver CS5.
 
The hyperlink works in Firefox, but not in Safari. Maybe it is just my computer.

View 1 Replies

Actionscript 3 - Flash Player Is Not Working In Domain / But Working If I Provided IP

Oct 14, 2010

I have developed a player in AS3. It is working if i provide the IP of the website. But, it is not working when i provide the full domain name. Even, i provide the crossdomain.xml for global access.

View 1 Replies

ActionScript 3.0 :: Flash - Url Picking Not Working On Server But Working Locally

Mar 17, 2012

i have a "swf" file which is picking url from xml & displaying the image, when i tested it locally it works fine, which means it picks up URL from XML & displaying corresponding image. After i uploaded it on server, it doesn't show anything.

View 2 Replies

ActionScript 1/2 :: Working Script Moved - Stopped Working?

Apr 22, 2009

I had a button when clicked, it would replace a different moviclip.This worked until I made the bulk of the code into a function and moved it to the layer, and then tried to call the function from the previously mentioned button. It generates no errors, but it stopped working.Hierarchy:Layer 1 > U1 > image

Original button script:
on (release) {  var theDepth:Number = _parent.U1.image.getDepth();  _parent.U1.attachMovie("K3E", "image", theDepth);

[code].....

View 3 Replies

Professional :: Animations Are Working Fine But The Audio Is Not Working?

Apr 23, 2010

I am creating a website that has links to flash animations. i have created a folder called flash in the root folder and copied the relevant .fla, .swf and the  .mp3 files into that folder. the animations are working fine but the audio isnt.it all works fine in flash itself.

View 4 Replies

Flex :: 9scalling Is Not Working At Runtime (although Working In Flash)?

Jul 10, 2010

I created a 9-scalled background in Flash CS5 which is working fine in Flash CS5.But when i imported it as embeded graphic in Flex, and change dimensions in runtime, 9-scalling doesnt work.Here is my code.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code]....

View 1 Replies

ActionScript 2.0 :: Full Screen Tiling Working But Not Working Right?

May 16, 2003

am using bitmapdata to make me a nice lil' background image, and it works great...until it's resized. Whats happening is it's creating a new bgHolder clip on the resize, NOT resizing the current empty clip "bgHolder"Here's the code(taken from various posts)

import flash.display.BitmapData;
#include "mc_tween2.as"
Stage.align = "TL";

[code]....

View 3 Replies

Professional :: Swf Not Working In IE 8 / But Working In Firefox / Chrome

Jul 26, 2010

I have just made a website (URL...), and I have two swf. One sound swf and one video swf but none are loading in IE? Anyone know what wrong?

View 1 Replies

Flash :: Php - Banner Is Working If The Page Url Have Preceding "www" And Not Working If Not?

Dec 15, 2011

I have a weird problem,Flash banner is working "clickable" if the page url have preceding "www" and not working if not,So the if the URL in the address bar was [url]... the banner will be clickable and will redirect you to the link embedded in it, if the URL was [url]... the flash banner will not be working.

View 1 Replies

ActionScript 3.0 :: NextScene() Not Working And GotoAndStop(1, "NextSceneName") Not Working?

Jun 12, 2011

Okay, so this is the code I have on the frame:

ActionScript Code:
finalScore.text = "You scored: " + fishScore;
nextScene_btn.addEventListener(MouseEvent.CLICK, nextSceneGo);

[code].....

View 5 Replies

SWF Not Working In IE7?

Jul 30, 2009

For some reason my swf file is playing fine in Firefox, but not in IE7. Here is the link:

[URL]

View 1 Replies

Sort Is Not Working

Apr 13, 2010

I have a couple different arrays holding my xml information. I want to make it so when one of the buttons is pushed(and moved) the information is resorts the information in the arrays. I can get it to sort anyway I like, but as soon as I apply an "if" statement, it just sits there and does nothing. I have also tried putting it into a function with so success.[code]

View 1 Replies

HitTestPoint Is Not Working?

Jun 15, 2010

I'm trying to make a simple platform shooter game, although I just cant seem to get jumping right. hitTestObject works fine, but hitTestPoint doesn't seem to work at all.[code]on that last bit, if I use hitTestObject instead, it works fine, but when i use hitTestPoint, I just fall through the ground as if nothing is there.and I want to use hitTestPoint so I can make floating blocks

View 2 Replies

Swf In Subfolders Not Working On The Web?

Nov 5, 2010

i have a container swf and 3 subfolders that load in videos and images, when i run it local everything works and loads fine ( dbl clck the swf) but when i put it on the web server and call up the url the video from the subfolder does not work?? if i go yto the web server and ( dbl clck the swf) all works? here is what i am using ( from DW CS5 )

<div id="content"><span style="text-align: center"></span>
<object id="FlashID" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%">
<param name="movie" value="start.swf">[code]..........

View 3 Replies

Flash Not Working In Ie6?

May 31, 2009

I am currently testing a site I am doing in IE6. There is a flash banner at the top of the site which works perfectly in IE7, FF, Oprah and safari but in IE6 it is just a white box. I have vista so I have to check this on another laptop using Multi ie as IE tester doesn't register flash. I have changed to file name, made sure the param value has the correct url in it, and updated the latest version of flash. Still nothing is working in ie6. I need it to work in order for me to align it correctly but all I see is a white box which looks to be wider then it show be.

Here is the embed code:

<script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=9,0,28,0','width','849','height','260','src','images/slices/flas hbannersam','quality','high','pluginspage','http://www.adobe.com/shock wave/download

[code]....

View 14 Replies







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