ActionScript 2.0 :: Getting DeepLinking To Work?

Jul 11, 2008

It works when the site is already loaded, but when I paste the deep link (not home) into an other browser, it shows the homepage instead of the page I want. I think it has something to do with SWFAddress.getValue(); being it cannot find the value /mypage/ because it has not been set by a mouse event.This is my code in the first frame:

PHP Code:

import com.asual.swfaddress.SWFAddress;
import com.asual.swfaddress.SWFAddressEvent;
var isLoaded:Boolean = false;

[code]....

When clicked on main menu button it sets this:

PHP Code:

SWFAddress.setValue(s);
SWFAddress.setStatus(s); 

s is a variable passed through a function with the correct deep link./home/ or /about/ or /work/ etc

View 3 Replies


Similar Posts:


Why By Default Flex Does Not Come-up With Deeplinking

Mar 23, 2010

Why By default Flex does not come-up with Deeplinking. we need to write separate code to achieve this.

View 1 Replies

Flex :: Possible To Use DeepLinking Without A ViewStack?

Nov 2, 2010

I've got a Flex 3 project.Does deep linking only work on viewStacks? (My project doesn't have any viewStacks). I'd like to use deeplinking based on what was selected in a comboBox. I'd like the user to be able to bookmark or use the back button based on what was selected in the comboBox.The comboBox selection determines which data is pulled from the database.Is this possible? I set-up deeplinking in another project, but it had viewStacks. And all of the deep linking examples that I've seen use viewStacks.

View 1 Replies

Flash :: Deeplinking With Externals SWF?

Mar 14, 2011

I have some problem when use deeplinking on my flash site project.and this not work. Above my code:

on my html file
<script type="text/javascript" src="javascript/swfaddress.js"></script>
and

[code].....

View 1 Replies

ActionScript 3.0 :: Deeplinking 2 Level?

May 26, 2010

however he only used 1 level.how would it look like if i wanted to have 2 level navigation?

View 1 Replies

IDE :: Change Rollover Color Deeplinking

Jan 21, 2008

I have taken over a site that uses deeplinking. I am not very good with AS yet and can't figure out how to make the buttons simply change color on rollover. This is the script for each button. [code]I am a newb at this and am just trying to stay afloat and get this updated.

View 2 Replies

ActionScript 3.0 :: Implement A Dynamic Flash Site And Have Multilevel Deeplinking?

Feb 10, 2011

I'm trying to implement a dynamic flash site and would like to have multilevel deeplinking. how to use swfaddress with more than 3 levels of deeplink but found nothing.

View 9 Replies

Actionscript 2.0 :: Flash 8 - Deeplinking - SwfAddress - Use SWFAddress Within MCs?

Feb 16, 2011

how to use SWFAddress within MCs? All the tutorials I find seem to use the maintimeline, but I need to know how to make it work within multilevel mc's, dynamicly loaded in. Ive got a working code but this one is static. Everything is working, even when i copy and paste the URL of Testpage 5 for example in the browser. how to create a dynamic way than using the switch statement.

[Code]...

View 1 Replies

ActionScript 3.0 :: Dynamic Fonts Don't Work... But Arial And Verdana Work?

Mar 19, 2012

I am trying to defeat my psychological block with dynamically loaded fonts in AS3, and I have an annoying problem. I am creating a clock with a textfield and I am loading fonts from a SWF library: the available classes/linkages are "Arial", "ArialBold", "MyriadPro", "MyriadProBold" and "Verdana".This is the line where I get the class from the SWF, and it extracts the class correctly

Code:
clock = new Clock( { fontClass: assetsLoader.getFontClass("skin", "Arial") } );
The constructor...

[code]......

View 7 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 :: Width Doesn't Work - How To Make It Work

Apr 21, 2010

I have a button object that I need to scale to align with the variable width of an array of images.However, when I set the width in code, the button does not actually become that width. Tracing out the width gives me the correct value, but on screen.. it's off.

I've proved it to myself by scaling the same button object manually in the properties pane and visually comparing. Both of the buttons below have a width of 410.

Code:
navigatorDown_btn.width = 410;
navigatorDown_btn.x = (stage.stageWidth/2)-(navigatorDown_btn.width/2);
trace(navigatorDown_btn.width); // output: 410

View 4 Replies

ActionScript 1/2 :: 2 Buttons Won't Work That Were Created Exactly Like Many Others That Work

Jun 1, 2011

I am using Flash CS4 with actionscript 2 to create an interacitve portfolio.I have 2 text buttons that work when I test them with "enable simple buttons." When I publish to IE these buttons won't work.  I have created over 50 buttons using the same methods, they all work.

View 8 Replies

ActionScript 1/2 :: FLVs Not Work From A HD Like They Work On DVD?

Oct 15, 2010

I have a completed project (AS2) that contains a lot of FLVs.  I burned it onto DVD and it works great on Mac (guide.app) and PC (guide.exe).Here's the web version of the project.http:[url]....Now, months later, I have to provide the project with source files (FLA's) and some other stuff  - so I got an external HD, copied the files from the working DVD onto it.  Running the guide.exe off of the external (connected to WinXP SP3) works just like running it off the DVD  -  EXCEPT for the FLVs which simply to not appear.
 
http:[url]...Everything up to that step works:  When I click on "guide.exe", the "splash screen" opens showing the title and 4 buttons.  These buttons are to choose a language and they work.When I select a language and click its button the GUI for the language with menus appear and they work.  When I click on a topic from the menu, the topic's skin appears but the video inside the skin doesn't play.  Everything works but the FLVs.
 
Even weirder - If I use VLC Player to open an FLV directly - the FLV will play.  That tells me there is some path issue but how can a path change when it's compiled into the SWF?  Besides - the paths from swf to flv has not changed when I copied all the files to the external.why the FLVs will not play on the external the same way they play when on the DVD?

View 9 Replies

Can't Get Links To Work

Mar 23, 2009

i have a flash that I have tried to add my html link to the aboutus.htlm, billboard.html, and contac.html and it is not working? I am still new but would like to email the flash file for someone to tell me why its not working- I added the link for aboutus.html but its not working.

View 6 Replies

Links From Swf Will Not Work

Apr 14, 2009

alright, here is the deal: i have published a .swf AND a macintosh projector file and the only thing the movie contains is one button with a link to a web page. here is my actionscript:

on(release) {
getURL("http://www.google.com");
}

i click on the button and absolutely nothing happens. has anyone ever come across something like this? is this a settings problem?

View 6 Replies

MX My Audio Won't Work

May 14, 2009

Whenever I try to import any .wav, .mp3, or any other kind of file, it always says that there was a problem reading them.

View 2 Replies

Swf Into Fla Doesn't Work?

Jul 23, 2009

I have a swf that is pretty complicated, you can interact with the page and go to different keyframes and it stops and/or starts depending on buttons, but I want to put it in a fla or something so I can put other swfs next to it and build it up and put several of them together as one.

I don't care about making it too complicated, I just want one interactive swf to go to the next compiled swf when that movie ends, but when I try importing it or loading it it just runs straight through without stopping or paying any attention to the scripting.

View 16 Replies

Listbox Does Not Work?

Jul 28, 2009

The Listbox is populated with the category and the image and caption is being shown in the correct place but the list box doesn't function and the images cycle through all and not just the ones in that category.Here is my code

Code:
var ssx:XML = new XML();
ssx.ignoreWhite = true;[code]...........

View 2 Replies

AS 2.0 :: Button Does Not Work

Dec 4, 2009

I have created a simple site in flash cs 4 using AS2.0. The nav bar buttons are text. I have made them into Movie Clips and put actionscript onto the MC instance which looks like this: [code]The button does not work. I have converted the symbol to a button and kept the Actionscript on the instance and they do not work. I have in fact copied exactly what I have done on a previous site that worked and it is not working here.The AS is not on the timeline, nor on the button or movieclip but on the instance of it. I am at a loss as to why it doesn't work. When I use the button instead of the MC the button flashes/blinks but still does not work.

View 1 Replies

MX Hit Tests Won't Always Work?

Dec 28, 2009

Macromedia Flash MX 2004 I posted this somewhere else - but then realized no one actually uses that forum except to post ads...

Quote:
onClipEvent(enterFrame){
if(this.hitTest(_root.blaze))
_root.floor.speed = -20;
else{

[Code]...

I won't post the file because I'm using someone else's character and it's fine with them, but I doubt it should be here - this is the only code that's a problem, though.

View 12 Replies

Can't Get Tween To Work

Aug 23, 2010

I am working on a site (in Flash CS5 -- using AS3) with drop-down menus. I finally got my drop-downs to work and was stoked for that. I then decided that I wanted the menu bar to motion tween in from the left. I placed the tween on the bar, and saw the tween line on the stage. However, when I go to test the movie in Flash, or publish it and watch it in my browser, the tween doesn't happen, the bar just stays left of the stage.

View 3 Replies

Why Swf With Loadmovienum - Cannot Work In Ppt

May 20, 2009

I have made a swf that loading another swf file,it works well alone. When i put it into a powerpoint file using shockwave flash object,it works only one time. When i close the ppt and reopen it, the swf cannot work.

View 1 Replies

Does SWF Work Only On FIREFOX

Aug 21, 2009

I finished my website and uploaded to internet. And when I showed friends that use IE7, CHROME or any other browser besides FIREFOX it failed to work. The SWF gets stuck at the preloader at a certain percentage but the animation of the preloader still runs. Here is the link (try to watch from different browsers): [URL]..

View 4 Replies

Getting Buttons To Work?

Dec 10, 2009

I'm trying to create an informative flash program on Mt. St. Helens about the dust cloud it created when it errupted.  I have everything ready to go including the buttons and the pages the screen or next image it should take you to.  I'm just stuck on how I get the buttons to actually take you to the next frame.

View 24 Replies

Professional :: How To Work With XML

Dec 11, 2010

how to work with XML? with a Photo Gallery?Tried to change the image
 
Before(Still Working)
  
<?xml version="1.0" encoding="utf-8"?>
<photos>
<photo>
<thumbnail>s_flashmo_175_01.jpg</thumbnail>

[code]....

View 3 Replies

Cant Get Collisions To Work

Jan 23, 2009

I am making a game and I cant get my collisions to work. I will give a link to the files because I use external .as files.

View 1 Replies

ExternalInterface To Work With VB.NET?

Apr 15, 2012

I just had this conversation with a colleague and I am now turning to the SO community to provide evidence based on fact, not opinion, as to which tool would be ideal to grow into in the current programming environment. Director or Flash?I am deciding if I should stick with Flash or bother learning Director 11.5. He want to know if he should stick with Director or learn Flash. No, we don't work together. Hehe..

EDIT:

I've gotten ExternalInterface to work with VB.NET, hence the need for Director in the context of its ability to do File System IO and "non-flv" video are eliminated. No if only VB could do the kinds of animation that Flash could do, I could turn towards being a "real" programmer...

View 4 Replies

Flash - 3D 4.0 Currently Not Work With AIR 3.0?

Nov 4, 2011

I'm using AIR SDK Version 3.0.0.4080 and this build of Away3D [URL]building the project in FDT 5 on a Macbook Pro. The app descriptor file has renderMode set to direct.I have been able to get Away3D 4.0 working with FP11 when it builds from the latest playerglobal.swc but when I attempt to build an AIR project then it appears the airglobal.swc is slightly different. Filter3DTaskBase throws errors due to differences in method parameters.Incorrect number of arguments. Expected no more than 2.

_program3D.upload( new
AGALMiniAssembler(Debug.active).assemble(Context3DProgramType.VERTEX,
getVertexCode(), Debug.active),

[code]....

As far as I can see, the number of parameters match up. I am wondering if there is a deeper issue here with my graphics card etc as stage.displayState is behaving strangely as well, it behaves like the swf is running via the player not adl (needs MouseEvent to change to fullscreen). Although I have re-installed the latest flex sdk and AIR sdk in case something had gone wrong there.

View 1 Replies

Flash 9 :: SWF Does Work On Web

Aug 17, 2008

I have a swf that loads an external XML file. It works fine on my computer but it does not work properly when it is on the web.All necessary files have been published and are in thier specified locations.

View 9 Replies

ActionScript 2.0 :: Swf Won't Work On The Web?

Mar 22, 2010

have a link (yeah that one) to an .fla file for a simple rss feed reader that gets top news headlines from selected newspapers.Most of the code is my own, except for a function that I grabbed for trim() duty. It is based on a code I found on the tutorials around here.It works fine using the Flash 8 debug compiler, but when I compile it to a normal shockwave file and try it out on a test page on the web, I get the unhappy message:

A script in this movie is causing Adobe Flash Player 10 to run slowly. If it continues to run your computer may become unresponsive. Do you want to abort the script?I know some things could be adjusted in the code, such as arraying the loop instead of using a lap counter.

View 0 Replies







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