ActionScript 2.0 :: Direct Reach With The URL?
Jan 17, 2006
some time when i visit some site i find the Url changing when press any button and the page never change also the main flash movie is still in the page . in the same time you can reach that movie or that section by using the URL directly ..for example :the link in shown like this [URL] in this case it will show the Contact form Movie in the main movie or [URL] in this it will show the frist main movie [URL]what i think in this case when you hit the button it will Load an external SWF Movie to the main Movie and change the URL in sasme time .
View 2 Replies
Similar Posts:
Jun 3, 2009
My Flex code is unable to reach the PHP, but when i do normally it works like [URL]
$url = addslashes( $_GET['urlWeb'] );
if( !$url )
{
die( "You need to define a URL to process." );
[code].....
View 1 Replies
Mar 17, 2010
The thing is, I am coloring though code the parts of a body, which is a movieclip composed by other movieclips. I am coding in AS2, using the setRGB function from the Color class. Everything is working ok, but there is one arm that is not being colored.
This arm actually is in one layer with several keyframes, half of them have one symbol, and the other half have another symbol. Both symbols represent the arm in different positions. Now, even though they are different symbols, I have named both instances with the same name, but with this solution the arm is not being colored. So I tried to remove the keyframes with the second symbol, and then it got colored.
To sum up, I don�t know how to reach all the symbols in different keyframes of the same layer through code.
View 4 Replies
Mar 28, 2011
here is my code:
var dx:Number = p1.x-bs.x
var dy:Number = p1.y-bs.height
[code].......
View 0 Replies
Jun 10, 2008
I have a inventory that will hide/show itself whenever the mouse is over it. And inside "inventory", I have a couple of slots that should trace "Pres" whenever I click on them. Problem is, it doesn't. I think it has something to do with my inventory hide/show code because when I took it out, everything worked. Heres the code for the inventory:
[Code].....
View 14 Replies
Oct 3, 2011
i created an MC that is made of dynamic mc clips that include a textfield named combo_txt, it is the same clip that i put on stage with add child and i dont knowhow to refer to them i, think i gave them different named but still cant reach them:
[Code]...
when i click on each of them i get the name i gave it but i want each clip to have a different text. this doesnt work:
[Code]...
View 4 Replies
Oct 30, 2008
I have this Class:
package {
import flash.display.MovieClip;
public class MainClass extends MovieClip {
[Code]....
I had used it as a document class, when I call the sum function from the main time line it works, but I need to call it from inside a movieclip.
View 3 Replies
Feb 24, 2010
I'm using Event Propagation in order to change the alpha of each Child on MOUSE_OVER, MOUSE_OUT, and MOUSE_DOWN using... evt.target.alpha On OVER the Child's alpha increases from 0 - 0.5. On OUT it goes from 0.5 - 0. On DOWN it goes to 0.5 and stays there even with a MOUSE_OUT. What I'd like to do is then add a button to the main stage which takes the visibility of all Children back to 0, a basic type of Clear button.
I have one way to do it where I list each Child in a function (all 9!). But can I re-write this so that all Children are effected writing so much code? Ideally I'd like to send a request to find the number of Children (9) and then use this variable to write a function which says (where 'n' is the Instance name of each Child) that n(0-numChildren).alpha = 0
[Code]...
View 3 Replies
Sep 22, 2011
I made a custom event that's supposed to be fired when a specific function within a class is executed. I listen for this event from within my main script, frame one of my timeline. My CustomEvents.as
package {
import flash.events.Event;
public class CustomEvents extends Event {
public static const PAGE_EMPTY:String = "Page Empty";
[code]...
I know I am reaching the CustomEvents constructor, as the trace within it gets printed.The problem is it seems like the event does not reach the function caller?I was unable to find good examples of how to use simple custom events, so this is how I think it's supposed to be.
View 1 Replies
Jul 6, 2009
i want to make a tour for my website there are 2 applications the first one in the site (this app made by Action script)and the second one in the server the last one made by C# store where the user reach last.
View 1 Replies
Sep 16, 2011
I have not been able to find anything in this matter, but I hardly think I would be the first to try it so maybe I am looking in the wrong places.What I want to do is set up a dynamical access to 20 or so classes. (They are bitmaps in the library that I want to connect with MCs that are implemented in the code.)
View 3 Replies
Aug 9, 2011
can someone teach me how to convert the code? when character reach frame 10,scale/flip the char horizontal. i tried e.currentTarget.scaleX=-1; but the char seems to move till off the stage.. without flipping the char,my char gone facing <--- instead of going ----->...
View 3 Replies
Oct 1, 2011
I am a 2D illustrator and am relatively new to Flash (and love it!) and want to add some simple Flash animations (using my illustration) to my portfolio website. But I am having issues when exporting to .swf - I have emailed on examples of work to friends and colleagues to view (and check) and most have trouble opening the .swf files. In fact most can't open them at all! Is this more to do with your average (probably a pc user) person not having an up to date Flash player or to do with my settings when exporting? How to best export to .swf to ensure the majority of people can open and play the file?
View 2 Replies
May 8, 2011
I have the following scenario:i have a MovieClip and I created a linkage for it named A.
[code]...
what is allowed? how can I resolve the issue ? update ok this is an exact scenario but a more simple one that I still wasn't able to resolve. The original scenario is that I have a MovieClip called user_bg_me that has a linkage named user_bg_me that extends user_bg_genericthat extends 'MovieClip` inside user_bg_generic class i want to be able to modify elements inside the movie clip itself. using super.element_name provides an error that the property isn't found.
View 2 Replies
Jul 27, 2011
I have a problem with inline components. I want to reach an inline component from another one.. From the first component, i want to change "enable" value of the linkbutton named "Add" which is in second component. Altough i gave "id" and "className" to second one, i could reach neither it nor its elements.. is there a way to do this?
*in first component there is a text input in "CodedDescriptionItemEditor" component. I want to validate it and according to validation enable the button that i mentioned above..These all are in a datagrid by the way. In datagrid, there is always a row that you can enter data and via the "Add" button you can save it. After save it seems as text..
Here is my code:
<mx:columns>
<mx:DataGridColumn headerText="{Problem}" wordWrap="true" textAlign="left" sortable="false">
<mx:itemRenderer>
[code]....
View 2 Replies
Feb 23, 2011
I have an arrays of swf files that are going to be loaded.I want to create IF statement that when the loadSWF reach to last SWF file (question7.swf) it tweens the alpha of hidden btn.
something like this.
ActionScript Code:
if (e.target.content == qArray[6]+".swf" )
{
TweenLite.to(end_btn,0.5, {alpha:1});
}
This is to give a general idea of the full code
ActionScript Code:
var questionbox:MovieClip = new MovieClip();
questionbox.x=0;
questionbox.y=10;
[code]....
View 0 Replies
Apr 5, 2011
i want to make miliseconds reach 12 instead of 60 when the seconds start to increment. This is because I want miliseconds to represent months and seconds to represent years in my simulation.
View 2 Replies
Mar 10, 2012
I've started to Flash again after a long time. I'm excited. Whatever, my problem is simple. I want to reach a instance name from a movie clip. For example, I made a movie clip that has 2 frames. Name of the second frame is "secFrame". There's a movie clip inside the frame(i'm talking about the frame that named as "secFrame") that has a instance name as "mcSecFrame". Also the instance name of the main movie clip is mcMain. Now, the problem is, how I can control the mcSecFrame instance name with the code that is written on the mainTimeline's frame? For example, I want to control its frame rate. I wrotethis:mcMain.secFrame.mcSecFrame.frameRate = 5;But it doesn't work.
View 13 Replies
May 28, 2011
currently i am removing objects when they reach the edge of the screen with
[Code].....
i understand this does not delete the object? without removing event listeners before removing the object the error log fills up, i believe its due to the stage isnt there after its removed. this makes me think that removechild does not delete the object? i will be creating and deleting many objects during runtime, and i dont want to slow down or use too much memory, how to properly free up the object
View 3 Replies
Oct 11, 2010
I create a Flex application that works with a browser using a database with the MySQL server that I can create, modify and delete data from a database. The problem I encounter now is that I want to see my program with Adobe AIR (virtual machine). At the display that does not pose a problem. The problem is that air can not reach the database server is located in the MySQ. the error message displayed is as follows: "Error : client.Error.MessageSend - Channel.connect.failed error tConnection.Call.Failled : HTTP: Status 404:url:'[URL]"
View 2 Replies
Aug 23, 2010
I wrote it through the equation (n, k) = n!/(k!(n-k)!).But I found it will loose precision quickly after 12th row.So I change the way. I tried to use the properties of triangle(each row is the sum of previous row)Than I get slow in running when function reach higher degree.
I just keep changing a little and a little... try to make it run faster.
Quote:Function binCoef(70) :
1,70,2415,54740,916895,12103014,131115985,11987747 [code]..
View 0 Replies
Mar 1, 2008
here i have a zipped fla file where i have problem with the character still wallking when road scrolling reach the end of the screen.how would i stop that?heres script:
Code:
//road scrolling
road.onEnterFrame = function() {
[code]......
View 7 Replies
Dec 9, 2009
I need to start using AS3 for my job. So, I have gotten a great deal of help setting up classes with another co-worker's help and a myriad of tuts. Basically, What I need to do is, set up an XML navigation/subnav (got it), and use those links to populate a series of checkboxes. These check boxes will then be used to populate text in a dynamic text field (got that ready to rock). For example, of the user selects in the nav Agreement > TOC, they might get presented with 4 options:
Told and Agreed
Told and Disagreed
Lost Connection before Agreement
Was Not Told - Cancelled
How would I use XML to direct the MC that holds the check boxes (in some cases, close to 50 of them) to the right frame? I can pull from an XML doc, sure, but have never had the need to use it to run a movie clip before.
Here's the XML I'm basing this off of:
Code: Select all<?xml version="1.0" encoding="utf-8"?>
<menu_content>
<level style = "main.xml">
[code]....
So, in this example, How would I get "Balance" to go to the right frame in my (for the sake of argument) checkBox_MC ?
View 1 Replies
Jul 22, 2009
Basicly, as the title says, i am stuck trying to make a button take me to a different scene.i know what code i will use (Below) but after i have converted object to symbol it doesnt let me put as onto the button.(my code)
on (release) { gotoAndPlay("Scene 2", 1);}
View 1 Replies
Feb 22, 2010
I'm using FMS 3.5 to record streams to the server as flv files, and would like the ability to directly download those generated flv files. Assuming these files are sitting in my applications/recorder/streams/_definst_ directory, how can I open up this directory to allow direct download via a url? Something like http://<ip ddress>/applications/recorder/streams/myfile.flv. I'm guessing this is just something that I need to put into one of the configuration files, but I'm having a bit of trouble figuring this one out.
View 3 Replies
Mar 22, 2010
Need to connect to database file (.mdb) via flash ( as2 or as3 ) directly, applicable ?
View 6 Replies
Mar 22, 2010
i need to connect to database ( access database file ) by flash without sever-side language
View 6 Replies
Mar 5, 2011
Didn't try to install 2004/2005 software until now, which REQUIRES by all means SPECIFICALY Flash Player 7 before continuing installation Tried with latest version of FP but to not avail does not proceed with installation till FP 7 is in HD first.
View 1 Replies
Jun 1, 2010
My apologies if this has been fully addressed before, but I've read through several other threads and still can't seem to get my file to work.
My actionscript code is at the bottom of this message. I created it using instructions from the Adobe website: [URL]..
I believe I have all of my objects set to the correct type of symbol (button) and all of my instances are named appropriately (see screenshot here:
[Code]...
View 1 Replies
Sep 22, 2010
Can someone please help me by providing the "Direct Url" for playing metacafe videos in a div.
View 1 Replies