Actionscript 3.0 :: Shapes Wont Work After Refreshing Page

Sep 29, 2009

I have a flash project where i add shapes with actionscript like this:[code]the project listens to resizing events and fixes the shape accordingly, but with Internet Explorer the shapes wont work after refreshing the page. It works great the first time and after clearing temporary internet files but once it loaded and gets a refresh the shapes does not resize to stage. Im using swfobject.

View 1 Replies


Similar Posts:


JQuery :: How To Prevent Page Refreshing (Only Display Video)

Jul 7, 2010

I'm using JQuery to create a button that (when clicked), removes a flash video from the page. Unfortunately, I can't simply use hide(). I must remove() because hiding doesn't stop the video in ie8 and the sound continues to play. After the video is removed I would like it to reappear when a "show video" button is clicked. I tried to accomplish this with clone() and detach()... The video appears but does not play and has missing controls in IE only. Other browsers work fine.

The video is initially added to the page using the AC_FL_RunContent() function. The issue is that when I try to add the "removed" video back to the page by calling AC_FL_RunContent( 'codebase'... The page refreshes and shows only the video. Everything else has disappeared. How can I prevent that from happening?

View 2 Replies

ActionScript 2.0 :: Sending Flash Vars To Php Without Refreshing Page?

Jan 4, 2010

i'm sending flash vars to php, but the .swf refresh when the fuction "send" is call.

fo exemple:

var myFlashVars:LoadVars = new LoadVars();
myFlashVars.cor="Blue";
myFlashVars.send("http://urlpage.php","_self");

when this happen, the page refresh and also the .swf

View 3 Replies

Flex :: Reset/reload A Flex Application Without Refreshing The HTML Page Or Reloading The SWF File?

Jan 12, 2011

I have a flex application that has a home button. I need to reset the application when this button is clicked. I can't use navigateToURL or ExternalInterface.call("window.location.reload"); as its not acceptable to reload the swf file.

View 5 Replies

ActionScript 3.0 :: Import Shapes Directly From The Library As Shapes And Not As Sprites / MovieClips?

Feb 17, 2009

I have a question about shapes (i mean the flash.display.Shape class). Is it possible to import Shapes directly from the library as Shapes and not as Sprites/MovieClips? Shapes are supposed to be faster than MovieClips/Sprites, right? So why is it only possible to import MCs/Sprites from the library? I understand that generally shapes could be created solely by actionscript, but in my case the shape comprises of many points and is curved - so it's quite infeasible.

Is there maybe some sort of plugin to generate code that would draw the desired shape from a drawn shape in CS4? And a last one: Are there any benchmarks out there for performance comparison between sprites/mcs/shapes? How much performance do i loose by using a sprite instead of a shape?

View 2 Replies

IDE :: Swf Files Work Fine Separately, Don't Work When On Same Page?

Feb 22, 2010

I have run across a strange problem. When I load products2.swf by itself, I can call the two "copy" files and everything works. When I open 0342.swf (the index page), I can switch between the home and products2 pages, but I can't view the "copy" pages.I'm guessing there may be some sort of conflict with variable names, but I have been messing with it for most of today.I have uploaded all of the FLA files to here:[url]....

If you make an swf file out of each of the attached items, and open the 0342 file, you will see what is supposed to be happening.

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "home";[code].....

View 3 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 3.0 :: Upload Page Won't Work First Time Used

May 29, 2010

The first time I load the page nothing happens but if I reload it it works perfectly. I just learnt AS and Flash but this is the code I've managed to produce:

Main class

ActionScript Code:
import ProgressBarExample;
var frList:FileReferenceList = new FileReferenceList();
var pendingFilesA:Array;

[code]...

View 0 Replies

ActionScript 3.0 :: Link Open In Same Page Doesn't Work

May 11, 2011

I inherited some code from a previous programer. The idea is that a user clicks on the player and that opens the page at a new url. It works if it opens in a new page but it doesn't work trying to open the url in the same page. It just closes the player. Here is the code:

[Code]....

View 2 Replies

ActionScript 2.0 :: Flash Player Page Doesn't Work On Mac

Aug 26, 2009

Request for all mac users: could you open Adobe's flash player page [URL]And check whether the sample movie runs or fails?

If you only get the audio/pauze/getflashplayer10 buttons, but the movie itself is just white space (just like my preview image), could you write down you mac's specs?

Or let me know why this perticular movie of adobe themselves doesn't work on my mac? I've got a mac os 10.4.11 with flash player 10 installed.

View 4 Replies

ActionScript 2.0 :: How To Get Fluid Page To Work As Background In Flash

Mar 1, 2012

I have a background image that I inserted into flash movie. How to make the background works as fluid page? As I reduce the size of the window, there are white borders on top and bottom. Attached is the FLA.

View 2 Replies

ActionScript 2.0 :: Flash Portfolio And Working On 'work' Page

Feb 11, 2003

i am making a flash portfolio and am working on the "work" page.i have a bunch of links.i would like each link to open up a seperate window containing a graphic that is already in the library.so basically, what is the script to link to a graphic already in the library and have it open in a seperate window.(i just said the same thing twice.....)and also, is there any way to customize these pop up windows?

View 3 Replies

ActionScript 2.0 :: When Page Is Online Scroll Sometime Doesnt Work

Apr 11, 2010

I'm editing this template but there is a problem, when the page is online the scroll sometime doesnt work.URL...I don't understand why, in the swf everything is perfect, but when the page is online if we test the scroll sometimes it simply doesn't work.[code]

View 1 Replies

ActionScript 3.0 :: Flash MC With Button To Other Page - Doesn't Work

May 30, 2011

I have a mc (houses_mc on frame1) (a long image the user can pan to the left or right) and I want to place some buttons in this movieclip to go to another page when CLICK. I put the second page on the second frame in the timeline, and so on. ( Is this alright or should I open it in a scene or as a new fla file?) So far I can't get my button work. It seems that As3 doesn't like btns placed in mc or something like that. The roll over and hover and hit works all fine, but when I click it doesn't go anywhere. The code I put for the button in the actions layer is:

[Code]...

View 5 Replies

ActionScript 1/2 :: Page Links From External URLs .txt File Don't Work?

Mar 5, 2010

I'm working on a flash header for a website with the page links contained in an external .txt file, and I'm experiencing a strange problem.The site is both in English and Italian: I worked first on the english version, I modified the AS code for the new .txt file and then I saved the project with another name and translated all the text into Italian.I also changed the name of the external .txt file as well as all the page links contained therein.Problem is when I click a page link in the Italian version of the site, the links are the same of the English version; seems like the .swf file "remembers" the old links just as I never changed the file name.This is the "_urls_IT.txt" file:

url1=index.html&url2=servizi_stefania_muggianu_traduttrice_interprete.html&url3=curriculum_vitae_stefania_muggianu_traduttrice_interprete.html&url4=campi_di_specializzazione_stefania_muggianu_traduttrice_interpre

[code]......

View 10 Replies

Professional :: Twitter Feed Flash App Does Not Work When Embedded Into The Page

Sep 2, 2010

I have built a simple twitter feed flash app and it works just fine when accessed directly, but does not work when embedded into the page. I suspect that the answer might be simple, but I just can't find it.

[Code]...

I can't use JavaScript, because I want it to be embedded in my signature on a certain website, and obviously <script> tag is forbidden. EDIT: problem is solved, it's very embarrassing, but like in most cases it was a path error...

View 1 Replies

ActionScript 3.0 :: Button Navigation - Open The New Page In The Same Window, It Doesn't Seem To Work?

Dec 7, 2010

I have a simple website and I am going from one page(flash file) to another page(different flash file) using the following code.

var myLink:URLRequest;
function openPage(event:MouseEvent) {
switch (event.currentTarget) {[code]....

This works fine, but I want to be able to use "_self" so I open the new page in the same window yet it doesn't seem to work.

View 4 Replies

ActionScript 2.0 :: Preloader Progress Bar Work As Expected When The Swf's Are Called From An HTML Page

Apr 21, 2003

When calling a swf with a two-scene preloader from within a Flash interface, the load status bar pops up showing 100% loaded, and the loader bar just sits there like that until the movie loads. The preload progress bars work as expected when the swf's are called from an HTML page.

View 4 Replies

Professional :: SWF, HTML Files Only Work When Absolute Path Is Entered Not On Index Page?

Jan 24, 2011

I have a strange problem: When I type the absolute URL to my SWF file it works fine; however, only the background image appears when the SWF is embedded in the home page.

View 3 Replies

Professional :: If Install The Home Buton The Main Page The List Button Does Not Work

Feb 2, 2012

I am working on an iMAC running 10.6, and Flash CS5. I created a flash file with a list button ( with 10 inner sellections) on the main page. Each sellection within the list button loads a separate movie file from the library. Everything works great unitl Iinsert the Home button. If I install the home buton the main page, the list button does not work. If I install the home button in a movie, I don't know how to write the action script to go back to the main page, and I woul have to install a home button into each movie.

View 2 Replies

ActionScript 3.0 :: Flash Ac3: Stage.addEventListener(KeyboardEvent.KEY_DOWN,..); In A Html Page Not Work?

Sep 15, 2011

i have this code:

Code:
stage.focus=this;
stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
function handleKeyDown(e:KeyboardEvent) {
trace("click");

[code]...

when i play it in flasplayer go well...if i put the swf in a html page not respond to key event...

View 2 Replies

ActionScript 3.0 :: Website Intro / Nav Change - Frame Work Of The Gallery To Draw Itself In As The Page Loads

Apr 10, 2010

I'm relatively new to Flash and AS3. I've created a website thats a dynamic photo gallery. The site is self-contained (no scrolbars) and I want the frame work of the gallery to draw itself in as the page loads. The frame work is just simple lines and drawing objects on the maintimeline. Do i combine the lines (the "frame work") into a mc and then somehow use the deco tool?  How can I acheive this in action script?

View 3 Replies

ActionScript 2.0 :: Main Page And Directions Pages Work Fine, Others Get Stuck When The % Reaches Close To 100%?

Mar 30, 2003

I am a rookie with this, I copied and pasted from a tutorial. the main page and directions pages work fine, but for some reason the others get stuck when the % reaches close to 100%.

View 2 Replies

ActionScript 2.0 :: Flash Not Refreshing In Javascript?

Sep 30, 2009

I have a flash file that has frame 1, 2, 3. And below that is a Continuous Layer that has an OK button. (If I go to frame 1/2/3 the button is still there)This button calls a javascript

PHP Code:
on (release) {
getURL("javascript:command('check',1)","_self");

[code].....

View 2 Replies

ActionScript 3.0 :: Array.length Not Refreshing

May 7, 2011

I've got some coding to create buttons into an array, and on press of these buttons the function should remove something from another array and remove the last one of the line, so far the coding is working for the first removal, however thereafter the other buttons stay there I think it's to do with the line in bold but I cant put my finger on what's wrong with it! The trace's I've set look plausible...
 
function removeList (event:MouseEvent):void{
myArray.splice(0,1);
list_text.text=myArray.join("");

[Code].....

View 2 Replies

Flex :: Refreshing An XML File Through HTTPService?

Apr 21, 2010

I'm having a problem refreshing an xml file. I am bringing it in through an HTTP service component and putting it into a bindable array _cattArr, that I am using as the dataprovider for a grid.When someone adds an item to the datagrid, it saves to the same xml file. Then I close the window, reopen it and don't see the item that has been added.It is writing to the xml file, because when I restart the flex app, the item has been added, it's just not refreshing it. I have tried to resend the httpservice, but still no luck. What is the correct process for doing this?

View 3 Replies

Flex :: Refreshing A Binded DataGrid

Mar 23, 2011

I have a problem..I am binding an array collection to a datagrid in flex. My problem is whenever i try to remove an item from the array collection.. the datagrid does not refresh the values....This is the code that I am using

[Code]....

eventsList is the datagrid that is bounded to showArray(an Array Collection)

View 1 Replies

Actionscript 3 :: Refreshing A Flex Component?

Jul 14, 2011

Is there a way to refresh a component or an application back to its initial state? I have an accordion navigator that stays on the most recently selected index even if I log out. Right now, my log out function takes me back to the login page which is at state(1). If I log back in and go into the accordion, it is on the last tab I had viewed.I would like to be able to clear any data from the controls inside the nav and reset the nav back to its default. I thought something like,

public function logout():void{
currentState = "NotLoggedIn"
myAccordion.initialize(); }


would work but nothing happens. This is done in Flex 4.I know I can make a huge loop clearing each control individually and setting the selectedIndex of the accordion to 0.

View 1 Replies

ActionScript 3.0 :: Using If With Other Operators And Refreshing Any Time?

Sep 14, 2009

I am hardly getting experienced on Actionscript3 but I sometimes get stuck.I want to use complex if function. what I am trying to say is;if, gezegenler.rotation not equal to 0 or 120 or 60 info text = ajdusting.

ActionScript Code:
else if (geegenler.rotation !==0||120||60){
bilgi.text = "adjusting....";}

is this usage possible or not Also, use stage as an event listener to update the textbox. But the event is mouse event and mouse move.. are there any muuch reliable ways doing this? Because when I do not move my mouse it does not change.

[Code]...

View 3 Replies

ActionScript 3.0 :: Fullscreen App Stop Refreshing

Nov 2, 2009

However, after an unpredictable amount of time it will stop refreshing - appearing as if it has frozen. But escaping the app out of fullscreen mode will cause it to instantly revive into action as if nothing had happened. Returning to fullscreen then will once again "freeze" after time, but its not technically freezing due to memory issues, it just won't continue to display unless escaped.

View 2 Replies







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