ActionScript 2.0 :: View Xml - Exit And Return To Same Place
Sep 22, 2007
I have an xml file that loads with 5 sets of questions 1 through 5. If I go to another frame when on say question 2, how would I write code to go back to same question in set that I was last on?
View 2 Replies
Similar Posts:
Dec 12, 2009
I am using Adobe Flash version 10.0.32.18
When on You Tube and watching a clip in Full View, the "Press esc key to exit full view" will NOT disappear like it use to, how can I get to disappear, its really interfering with the show?
View 2 Replies
Feb 19, 2010
Let's say I'm trying to place a tooltip on the left side of a component on my view. Layout may look similar to this:
[CODE]...
After the point is converted via contentToGlobal(), the point's x coordinate is drastically incorrect. I've found a way to workaround this by simply wrapping the target component in another HBox like this:
[CODE]....
View 1 Replies
Jan 25, 2005
Inside a MovieClip I have many movie Clips like JPG and SWF files that are loaded from the server.And I need to take some of these movie Clips to other places, like the _root or to a other movieClip.I�m Trying to do this with duplicateMovieClip, but it apear to be impossible.
See this exemple.
movie = movie1.movie2.duplicateMovieClip("moviex", 1000);
trace(movie);
[code]....
View 4 Replies
Aug 3, 2010
I'm about to have to write a web page/app that will serve the agenda for circa 100 people on a page. One line per person, one column per day with 3 clickable zones in each cell. In HTML, the page is way complex for the browser to load quick and there is no possibility to click on a border between 2 cells to for example split an event that spreads among several cells. So I search an not too overkilling technology to render this kind of view. I begun with a PHP generated HTML page but the number of elements in the page make the mouse move jerky.
Moving to JAVA would give me better performances regarding the reuse of the generator of the view but it will still be an HTML page. So, here is my question: do you think that going forward with JAVA and its graphical capability is the simple solution or is Flash a better option for this part of a Web App? I'm afraid of the code I'll have to write in JAVA to handle the GUI presentation as well as the events generated by the 1000's cells plus borders of the page. In Flash, the graphical part seems simpler even if the actions handling is still huge.
View 2 Replies
Aug 15, 2011
I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes to View specific logic.For example, I have an indicator that needs to be positioned relatively to list items depending on which list item is selected. Is it acceptable in the Presentation pattern to put the logic that will position the indicator in the View and simply have that logic run in reaction to a selectedIndex property changing in the presentation model?The reason I am considering this is that since the Presentation Model does not have a reference to the view it is difficult to come up with an ideal solution for manipulating view components.
View 1 Replies
Mar 18, 2010
I am wondering how to make a 360º view bubble, like they use for Google Street View, but have no idea how to go at accomplishing this task... i have the string of photos that i attached in photoshop(so that if you connected the left to the right it would be a full 360º view).
View 1 Replies
Feb 1, 2011
How to make this smoke effect work without mouse input. I am trying to have it spill from the end of a cannon, & my attempts to modify the position have resulted in all my bitmaps shifting. I changed this
doTrail(_root, _xmouse, _ymouse, currentBitmap);
To this
doTrail(_root, _x=80, _y=100, currentBitmap);
[Code] .....
View 0 Replies
Apr 8, 2005
how can i duplicate a movie clip and then place it on a certain place on the stage
View 5 Replies
Aug 21, 2010
I've used .x = and .y = with the position I want and the pane continues to show up in the top left corner instead. What am I doing wrong?
View 2 Replies
Mar 7, 2008
how can we place hundreds of instances of one movieclip on different place?
for exemple, pacman:
how should i code the placement of all the money?
i would go:
_root.attachMovie(
_root.attachMovie(
_root.attachMovie(
but that's not the good solution is it?
there must be a code to do that without hundreds of lines of code.
View 3 Replies
Nov 25, 2010
I am using Flash CS4 AS3.. When I open my browser "Internet Explorer 7" it opens normal. But When I open a link using the following Flash code it opens half in length and half in width. I need to click on "Maximise" button to view in full. How to solve the problem? It is our Intranet link.
PM3.addEventListener(MouseEvent.CLICK,PM3ClickHandler);
function PM3ClickHandler(event:MouseEvent):void { navigateToURL (new URLRequest ("http://engineering/history/thisyear/ceomessage.htm"));
}
I tried modifying the line as well. It also doesnt work.
navigateToURL(new URLRequest ("http://engineering/history/thisyear/ceomessage.htm"), "_blank");
View 3 Replies
Jun 13, 2010
I have one .mxml file (the Application) with a ViewStack (with 4 views) and a ControlBard, obviously I can change the views with it, but what I want to do is: in view #1 I have an image which I want to convert to a "hyperlink", so when I click it I go to View #2, is this doable? Also I would like to pass somehow some data (like a String) to that View #2 (lets say the it's a user avatar I click so I want to go to the second view which will show me his profile, that's why I need his name/id).
View 1 Replies
Sep 28, 2011
My problem is that when I try to pass an object from the navigator.pushView(view, dataobject), I can't figure out how to access the dataobject from actionscript. I can access {dataobject.property} from MXML easily, but I want to set a variable in the new view to the passed dataobjects property.
View 1 Replies
Oct 8, 2009
in flash, I encounted a source file that is cropped and I cannot move it, is there some sort of cropped view in flash I dont know about? I cannot find anyinformation about it, it has rulers displayed as far as I remember.
Basically you cannot move in the file to edit anything viewpoint wise, everything outside of the movie area is invisible and not there? As if cropped.
View 0 Replies
Sep 21, 2009
i tried it all but cant solve it on my own. i have 10 different MC,s. they shall appear by hitting a key on the keyboard. all i want them to appear and play on a random place.
all then 10 MC,s are deticated to 10 different keys on the keyboard. (so by hitting the "A" on the keyboard shall place and play MC "A" at a random place..
View 18 Replies
Aug 4, 2009
I'm having some troubles with the use of interface and inheritance in AS3. I've done lots of OOP in the past and what I'm trying to do seems obvious to me, but doesn't work in AS3. The question is : Is it possible to override a function that return an Object of class A, and make it return an Object of Class B which extends A ? It seems not to be possible, since I'm getting a signature error in Flash, when compiling. For example, the following set of class do not compile (the code in function definition doesn't matter):
[Code].....
View 3 Replies
May 22, 2009
I'm trying to setup a button to exit my swf.I used:
System.exit(0);
But always get the error:
SecurityError: Error #2018: System.exit is only available in the standalone Flash Player. at flash.system::System$/exit() at menu_fla::MainTimeline/sair_fc()
How should I do this?
View 3 Replies
Jun 2, 2009
I have installed the CS3 on a Dell workstation with Windows XP SP3 and when I try to exit when finished, Flash will not exit. It seems like it is trying but will not close. There is no error, the program just sits there. You have to right click on the program and click close to get it to close. Then the program wants to send a error.
View 1 Replies
Feb 2, 2010
I am trying to create a button that will close Kiosk Mode (IE), but havent been able to find an example any place. I have tried using the fscommand function but do not get any results, and i think this is because when i launch kiosk mode i am launching the swf instead of the htm file.
View 1 Replies
Mar 23, 2011
I am having a problem with fullscreen in Flex 4. I want to use the esc key to escape fullscreen mode and at the same time change the size and position of my video. I put the player in fullscreen using a button but I don't want to use it to exit fullscreen. only with the esc key This is the following code I used to put the player in fullscreen and the video with an appropriate size:
[Code]....
I tried different ways to do this (tried to see when the stagedisplaystate was normal with a timer checking that every millisecond, tried to use a keypress and keydown on esc key, tried to use event listener with fullscreenevent) and every single one of those appeared with an error. flash builder 4 didn't even let me use some functions and events that worked on other people (I searched different forums). there was always an error there. its the only thing that isn't working on my player and I need it for school.
View 2 Replies
Oct 9, 2009
I have a Template that I bought for a client that wanted it. It has background looping music and my customer wants to add videos (FLV), no problem. Now she wants the background music to sop when the FLVs are playing and start when I exit the FLV and go to another portion of the site. I hope I am being clear.
I need the background music to sop playing when the FLV videos are playing. I have Google and found nothing really.
View 4 Replies
Jan 27, 2010
how to get a child removed from the screen when exiting a frame (my homepage).
Help...
View 1 Replies
May 21, 2010
Is it possible to check if an event listener already exists
like at some point in the code I write:
mc.addEventListener(MouseEvent.MOUSE_UP,someFuncti on);
but before at another point in the program I need to check if an evenListener exists on MC, is it possible to check?
View 1 Replies
Sep 2, 2008
Is it possible to detect the exit button was pressed and handle it (cancel it)? I would like to put a confirmation on the player exit but I cannot find anything.
View 3 Replies
Apr 19, 2009
i am doing a group project , about a test. At the end of the test , i would like to implement a print button to print the result, how to do it?
View 3 Replies
May 21, 2009
anyone know how to create a button that will exit out of flashplayer?
View 7 Replies
Jul 14, 2008
Every time I use Flash CS3, the program works with no problem, with no lags and crashes. But once my work is done and I close it, Windows prompts a dialog about a "Flash not responding" warning. It happens every time I close the program, why is that?
View 3 Replies
May 1, 2010
I have Adobe CS5 Master Collection trial installed on Windows XP Pro Service Pack 3, 32bit operating system.Every time I try to exit Flash CS5, no matter how (File/Exit, ALT+F4...) it crashes and won't close the window.While I work in Flash, open and close documents it works fine.
View 15 Replies
Feb 3, 2011
I've tried multiple times installing adobe flash cs5, and everytime I get the same problem. I'l post the log below. I noticed though, when I selected Spanish, as the language I want it installed in it worked and installed perfectly, but when I select English (NA) then it refuses to work.
[Code]...
View 2 Replies