Actionscript 3.0 :: Any Value StartDrag No Longer Works?
Aug 3, 2009
I just ran into something pretty interesting, if i attach a sprite and then call startDrag it works great, however.if i set the sprite to say a rotationY of 20 or any value the startDrag no longer works? any solutions to this?
View 6 Replies
Similar Posts:
Feb 19, 2010
I've been developing a fairly simple presentation in CS4, AS3, OSX, which runs as a standalone projector.Everything was working for a while, but now for no apparent reason, any file I publish as a projector starts the Flash Player app, but the projector does not appear or play.Older versions that I had already published will play correctly, but if I re-publish them they do not work any more.
View 2 Replies
Apr 23, 2011
Should that be avoided due to local scope factor? function resizeDisplay() below no longer works
[Code]...
View 4 Replies
May 31, 2009
Whenever I remove an event listener to a button then that button no longer works. Does it cause memory leaks to not remove these listeners.....come to think of it I have about 30 eventListeners that I cannot remove otherwise the application ceases to function correctly. Is my application a memory black hole? How should i proceed with garbage collection?
View 3 Replies
Nov 11, 2009
I have a button in a Flash project I've made. It's used to jump to another place on the root timeline, labelled "Why". It used to work perfectly.I have now placed the button inside a movie clip (it has to be in an animated sequence), but now it no longer works. It appears to work fine, the rollover state works and all. But when clicked it does nothing.The code I use to work the buttons goes on the main timeline, the code for this button is:mc_anim_backdrops_menu.btn_subsection1.onRelease = function() { gotoAndStop("Why"); _global.swfloaded = "";}Why does it no longer work? and what can I do to fix it?The question is posted here over at Experts Exchange URL...what we've tried there is tracing the problem. The code seems to be pointing to the right place, but none of the actual function works.. as you'll be able to see if you open up the attached file (and change it's extension from .txt to .fla to get it working)
View 3 Replies
Nov 14, 2008
Just thought I'd share that after the windows update I did this week, the browser cache blocking trick described in many places where you put ?r=<randomnumber> at the end of a URL no longer works. Not exactly sure what happened, but it now causes a URL not found error, at least for me when I'm loading local files off my disk.
This thread talks about the cache blocking trick:
[URL]
View 1 Replies
Jul 16, 2009
I have a container movieclip called cont_mc then inside that I have a series of pins which are called pin1_mc then inside the pins I have a final movie clip the size of the pin head to act as the hit state.You can see what I talking about here: http:[url]... Before I had the pins in the container movie clip I was able to bump them to the top of the display list using this code in the on over function.this.setChildIndex(event.target.parent,this. numChildren-1); Now I have wrapped them in the container mc this code no longer works and I get an error, must be a child of the caller?How can I change this?
View 5 Replies
Mar 5, 2010
I have a flash gallery in side my movie I have a next button and a prev button that works just fine. The issue I am having is when you click next and then go back the getURL function no longer works. It might be easier to view the issue. here is the link [URL]
View 1 Replies
Sep 17, 2010
Changed AS3 defualt linkage to merged into code, and now my flash file will not load into firefox. It works fine in Chrome, but IE8 and firefox site at frame 1 of my movie, and no code is executed. Works perfectly in chrome. What do I do?the reason i changed to merged into code is because i made an imbeded preloader, and using preloader method as custom preloader loop and setting default linkage to Runtime Shared Library (RSL) borks the file.
View 13 Replies
Jan 30, 2009
I use startDrag in the code and it works. But when I try stopDrag it doesn't stop to drag.
View 1 Replies
Sep 12, 2010
I had FMS 3.5 developer package installed on my server installed about a month ago. I used to be able to go to the /webroot/ page to see the sample RTMP video play and it worked great. Today, I go to view that page and find that it no longer plays. I get "Connection Error. Please preee Play to try again."
Pressing the play button does nothing, so I click the RTMP thumbnail and it reloads ony to give me that same error again. I can click the HTTP thumbnail and see the video play just fine. But, I want RTMP and after over an hour on the phone with my managed hosting tech, we can't find anything wrong.
Here's the thing: I haven't done anything, I have not changed anything, I have not manipulated the server software whatsoever. It just stopped working and gives me "Connection Error."
[Code]...
View 6 Replies
Feb 11, 2011
i have an .as class that extends mx.containers.Canvas (it's a draggable border of a resizable component), it becomes draggable on MOUSE_DOWN and stops being draggable on MOUSE_UP, MOUSE_OUT and ROLL_OUT. before calling startDrag() i create a Rectangle to define the drag area, i also have a _dragging: Boolean variable to control if it's draggable at the moment. the problem is that when i click this border it jumps to a negative coordinate without calling startDrag or switching _dragging to true.
i've overriden get x, set x, get y, set y and move() methods in order to solve it but the only thing i got was the fact that position changes without calling coords setters or move(), but at the moment it's changed a getter is called and returns new (negative) value so my question is what happens on startDrag() and how to filter unwanted incoming coords values?
View 3 Replies
May 19, 2011
as you can see, I have a container MC which I have added to the stage. I set its drag constraints using a Rectangle(). I then add the 'cat' child movieclip to the container, and I want this to be dragable too. However, as soon as I click on my cat when testing the MC. It shoots to point x=0 y=0 on the stage and doesn't move.
The container MC can be moved without any trouble.
If I remove the rectangle bounds from the containers startdrag() function. both MC's can be dragged without any issue.
//panning ability
my_x = 800 - myImage.width;
my_y = 480 - myImage.height;
[Code]....
View 3 Replies
Apr 11, 2011
I have a movie clip (with instance name rectangle_mc) on the stage. Within this movie clip there are two separation animations on the timeline. The ROLL_OVER animation starts on frame "over" and the MOUSE_OUT animation starts on frame "off." If I roll over the movie clip, the initial animation plays, and when I mouse out the other animation plays to restore it to it's initial state. However, once the rollover animation has played once, it will not play again when I roll over it again, but for some reason the MOUSE_OUT plays every time.
[Code]...
View 1 Replies
Aug 11, 2009
I have been working on a flash site for some time now and everything has been fine until today. I edited some of the text, and saved and now the flash will not load, it just sits as a white box. This is the first time I have ever ran into this problem. I checked all of the file destinations and even replaced the .swf with a different .swf file and the second one worked... So this leads me to believe that something horribly wrong happened to the flash file.
View 2 Replies
Dec 17, 2009
when I click a checkbox in form 2, if i navigate to form 3 using a button then navigate back to form 2 using a button, the checkbox is no longer checked. I tried using a variable to store whether the checkbox is checked or not but I'm having troubles.
View 10 Replies
Nov 14, 2007
I have a portfolio page that I put together with Flash MX.The interface is bsically a chart that has a bunch of buttons on it. These buttons each have a code similar to this;
on (release) {
getURL("javascript:openNewWindow
('file.html','thewin','height=600,width=800,toolbar=no,scrollbar=no,r esizable=no,menubar=no')");
}
This used to work - but not now. Even when I check my browser for pop-up/javascript enabling,it no longer works.
View 3 Replies
Aug 16, 2010
I am editing a flash intro template and I am trying to keep text on the screen longer... how do I extend the amount of time it stays up before flying off the screen?I am a novice obviously, and I am sure there is a very easy solution. Also, when I do figure out how to extend the amount of time a title or text stays up before fading away or flying off, will I have to extend other layers as well to sync everything back up or does it do it automatically
View 1 Replies
Sep 4, 2009
I have my swf in an iframe called 'nav', and when clicking on a nav button I want to change the contents of 'main'
Here's my frameset:
<frameset cols="120,*" frameborder="NO" border="0" framespacing="0">
<frame name="nav" src="nav.html" scrolling="NO" noresize>
<frame name="main" src="welcome.html" scrolling="NO" noresize>
[Code].....
View 1 Replies
Jul 24, 2009
Before Actionscript 3 I did my sounds for my MCs through Linkage but it tells me I can no longer set an identifier for my sounds. What do I do now?
View 2 Replies
Sep 8, 2009
I've heard somewhere that LCDS is no longer baked in into CF9, and LCDS Express will be phased out, is that true?
If I were to start a new CF8.01 + LCDS Express 2.6 project, what are the risks? Should I abandon that plan and go for BlazeDS instead?
View 4 Replies
May 6, 2010
what's the easiest way to cut string in Flex ?I mean, I have a sequence of urls, I want them at most 60 characters length. If they are longer they should be cut and "..." should be added at the end.
<mx:LinkButton label="{bookmarksRepeater.currentItem.name}" click="navigateToURL(new URLRequest(event.currentTarget.label.toString()))" />
View 2 Replies
Nov 16, 2010
I've been using the embed tag for a while and it has been working perfectly up until now. I've got an XML file that I have embedded into my .swf, using
Code:
[Embed(source="nodes.xml", mimeType="application/octet-stream")]
and haven't had any problems. However it has just decided that it no longer wants to compile anymore, giving six errors on this line and this line only:
Quote:
Line 32 1180: Call to a possibly undefined method Embed.
Line 32 1120: Access of undefined property source.
Line 32 1120: Access of undefined property mimeType.
[Code].....
I had added a new function just before this error started appearing, but it had absolutely nothing to do with the embedding and the problem still happens after I comment out everything I added before the error.
When I test it in a new .fla it still works aswell, just no longer in this one.
This is in Flash CS5, ActionScript 3 by the way.
View 0 Replies
Jan 14, 2011
I have a FLV embedded into my timeline and it works just fine. I gave it an instance name of myVideo in the properties panel.I have a couple stop(); commands over the course of the video's timeline and on some of those frames I also want to fade out the FLV, so I added the code:[code]Now, if I try to gotoAndPlay the next frame the main timeline playhead continues on, but my video doesn't. What gives?[code]and this worked fine! I don't get it, why would one property choke the animation and not another? Is there something special with the alpha property?
View 0 Replies
Feb 22, 2011
I have a regular expression in my code. What I want it to do is to check user input. This input should be a string of 9 numbers with spaces between them. So for example "1 2 3 4 5 6 7 8 9" should return true, but also "123 45 2765 23 3456 23 5 456 1" should be true. [code]My problem is that if the strong with number is longer, the usual test method still returns a true. Is there a way to check if the string is longer then this?
View 3 Replies
Apr 7, 2011
I have an swf that I created that contains links to other pages on our site. I can test this and it works fine. However, I then import that swf into my main fla's library. However, after I add it to the stage I test the main movie and the links that worked before in the imported swf no longer work. This seems like it should be a no brainer but for some reason it just isn't working.
View 12 Replies
Jan 11, 2008
not sure if this is possible but i'd like to get the X,Y coordinates of a button I drag. here's my problem:
PHP Code:
public function backbuttonDown(e:MouseEvent)
{
[code].....
View 10 Replies
Sep 4, 2009
i tried looking here with the keyword 'preloader', to find answers to my problem but I didn't.I'm a freshman AS3 developer....with a portfolio site to launch asap.
I have a movieClip in my library that is exported to AS (external jpg) - it is loaded separately from anything else in my scene (which is disrupting my normal preloader animation). When I simulate the download my preloader doesn't appear in my preview window, and I have no error message either. At first, not sure what the problem was I tried various preloader tutorials online hoping to find a solution.
I only realized later on that my preloader didn't work because of my external jpg.How can I make my preloader (code below) load everything altogether? (elements in my scene + external jpg)
PRELOADER (first frame);
Code: Select allimport flash.display.MovieClip;
import flash.events.ProgressEvent;
[code]...
View 4 Replies
Mar 26, 2010
I can no longer see my code. I've tried two different .fla files, one I made and one someone sent me, but no luck. Clicking on the first frame on the Actions layer, I either press F9 or right-click and choose actions. The properties panel changes, but the code list window does not open.
View 2 Replies
Jun 18, 2010
I have just very recently downloaded a trail version of Adobe Flash CS5 onto my laptop. The version of windows is Windows XP, and the program itself is running as well as it should.
I went to youtube to see if there were any video tutorials that could help me get started with the program. Unfortunately, right before a video will play, the browser will say there was an error, and close, and then re-try to open the page.
This problem has never happned before I installed Flash, so I can only assume it had something to do with it. Everything else on my system is running smoothly, I even checked every file and processor twice for any signs of adware that I may have picked up accidently.
View 14 Replies