ActionScript 2.0 :: Make Link-driven Changes To SWFs?

Apr 24, 2008

since i'm on this text kick, i was wondering if anyone knew if there is a way to have an imported text field contain some code that can be injected into the SWF itself? for example: an HREF that passes code to the background image movieClip. click the different imported links and the BG changes.if there is no way to do that, cool. just wondering. because i know you can pass parameters to OTHER SWFs via the HREF... so i wonder if it's possible to do that to itself.

View 5 Replies


Similar Posts:


ActionScript 3.0 :: Create Url Link With Xml File That Menu Is Driven By

Oct 19, 2009

I have been trying to understand how to create a url link with the xml file that my menu is driven by. what I have is a menu with text amd images reading from an xml file, I have created a third text field which I would like to use as a button/link that when click it goes to a url.[code]but this doesn't seem to work, am I missing something within the flash movie.URL...

View 1 Replies

Flex :: How To Create Link Buttons With Data-Driven Text

Jan 23, 2011

I've made a component based on a mx:TitleWindow that contains linkbuttons that I'm using as a context-menu. The TitleWindow component contains link buttons like this:

[Bindable]
private var _showEmailThis:Boolean = false;
[Bindable]
private var _showApproveThis:Boolean = false;
[Bindable]
private var _showReviewThis:Boolean = false
[Code] .....

This component contains a large number of links and is re-used by multiple modules in the same application. Within each module, this component is used when a user clicks on a row in a datagrid. The code looks like this:

In "Requests" module:
private function dgRequests_click(event:MouseEvent):void {
menu.showApproveThis = true;
menu.showReviewThis = true;
}

In "Performance" module:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
menu.showReviewThis = true;
}

As you can see, the visibility of individual linkbuttons is controlled within each module by setting boolean properties. If I alter this component to use a renderer, how can I control the visibility of the linkbuttons from the code in each module (there are over a hundred links with different functionality - not every link will be used in each module)? Note: it is not known from the back-end which grid within which module uses which link. This is set in the front end within each module's actionscript file. E.g., if the XML looks like this:
[Code] .....

And I set the Email link to show in the module like this:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
}

How do I make it take effect? Is there a way to control the visibility of a linkbutton within an item renderer in a component from the module that uses that component?

View 2 Replies

ActionScript 3.0 :: Load Xml Driven Swf In A Xml Driven Flash Site?

Aug 23, 2009

I bought a flash site template that loads xml driven swfs inside the main swf as different menu items are clicked. The modules that come with the template work fine, but I don't know how to add a third party xml driven swf, so that it shows up properly. While the third party swf works fine as a standalone, the embedded version loads just an empty movie.

View 4 Replies

ActionScript 3.0 :: Make Xml Driven 3d Pie Chart In Flash?

Jul 23, 2010

how to make xml driven 3d Pie chart in flash?

View 6 Replies

Make XML-Driven Drop-Down Menu Horizontal?

Oct 13, 2009

How do you make the XML-Driven Drop-Down Menu[url]...

View 1 Replies

ActionScript 2.0 :: Make Xml Driven Thumbnail Scroller Repeat(loop)?

Dec 12, 2007

I am creating a thumbnail scroller and I have everything set to work. The last final issue I'm having is this:

The scroller displays 25 items.

8 at a time.

When you page left/page right it scrolls to the next(or previous) 8 thumbs in the list.

This is what we want to happen:

Once the final (25th) thumb is reached it starts over on the first thumb again and we are back at 1. So that it becomes an endless loop.[code]...

View 1 Replies

ActionScript 2.0 :: Make A Link In Loaded SWF Link To ITS Main Timeline?

Dec 17, 2009

I am literally at the end of my wick with this one! Here's the skinny, so to speak:

home.swf
products.swf
button line mc

[code]........

View 3 Replies

ActionScript 3.0 :: Dynamic Asset Creation - Make Database Driven Applications

Feb 9, 2011

I have been using AS3 for approximately 1 year now, and although I havent really done any major projects with it, I am fairly confident using it. However, There is 1 part that I am very curious about. At the moment, I am using the design section of flash cs5 to create my assets. I am trying to make database driven applications, and the problem I have run into with using the design section is that you must manually program each symbol.

For example, If I wanted to make a dropdown menu, and a php file was passing the variables such as "amountOfSections = 5", Then 5 sections would be displayed. This is fine to do using alpha to control what is visible etc, but if there where 5000 dropdown menu items, I would have to physically place 5000 dropdown items onto the stage. I know that it is possible to use as3 to create objects AS THEY ARE NEEDED, but I have no idea how to do it.

[Code]...

View 14 Replies

ActionScript 3.0 :: Finding Link URL In Nested SWFs

Feb 27, 2012

I have a "wrapper swf" that loads a remote flash player that in turn loads video preroll ads from various advertisers. So my wrapper is the parent and the remote swf is a child and the video ad is a grandchild. I am looking to capture the url that the grandchild will navigate to when clicked. I am trying to trace it in the parent (wrapper) mouseUP and mouseDOwn event.

Is there a way to traverse ALL children until I get to the "bottom/last loaded" swf and get the URL? I wish to save the url to a variable so I can launch the url in another player of my own as opposed to having it launch an external IE browser.

View 18 Replies

ActionScript 3.0 :: Find Link URL In Nested SWFs?

Feb 27, 2012

I have a "wrapper swf" that loads a remote flash player that in turn loads video preroll ads from various advertisers.

So my wrapper is the parent and the remote swf is a child and the video ad is a grandchild.

I am looking to capture the url that the grandchild will navigate to when clicked.

I am trying to trace it in the parent (wrapper) mouseUP and mouseDOwn event.

Is there a way to traverse ALL children until I get to the "bottom/last loaded" swf and get the URL?

I wish to save the url to a variable so I can launch the url in another player of my own as opposed to having it launch an external IE browser.

View 0 Replies

ActionScript 2.0 :: [F8] Make All Swfs Load At Once?

Feb 19, 2009

I have a website im working on and I have it load multiple swfs etc. But although the site will load in the beginning it takes time to load each swf. Although I grasp the logic behind that is there a way to make them just all load at once? Like an AS code to include in a preloader of sorts?

View 1 Replies

Flash :: Make Secure SWFs?

May 13, 2010

how to make secure SWF files, so that decompilers like sothink won't be able to decompile these swf files at all. i have been assigned some research work to find out the stuff to make swf files highly secured

View 1 Replies

Load Several Swfs And Make Them Start Together?

Mar 25, 2012

Let's assume that I can't script the loaded swf, nor can the loaded one script the loader swf.

I was attempting to set frame rate to 0, and wait after all swfs are loaded, and set frame rate back. But I found when I set the frame rate to 0, I could not receive the complete event! And it's weird that i can still receive UI events...

Is there a way to load several swfs and start them together?

View 2 Replies

IDE :: CS5 Make An Air Application With Multiple SWFs?

Feb 27, 2011

I'm kinda stuck on a project I'm working on and need some guidance. I've been making educational Flash Videos and all the lessons. Each lesson is it's own SWF. I know how to make each SWF into it's own AIR application, but don't know how to get all of them into one AIR application.

Basically I'd like to create an Interface like this:http://bit.ly/h9OKPH Where I have a menu screen where you have all the lessons. When you click on a lesson it will take you to another frame and load the SWF for that lesson. I know I can import all the SWFs into a new Flash File, and then publish an Air Application, but I was hoping for a less time consuming and more resource efficient way to do so (I want the app to be optimized for speed).

View 2 Replies

ActionScript 3.0 :: Make Transitions Between Loaded Swfs?

Oct 13, 2009

I am trying to make transitions between loaded swfs. Below is my code. I know I need to add to one of the functions to make it play the "out" transition before the new swf is loaded. Each swf has a timeline with a stop frame and a frame labeled "out". The below script allows me to press buttons and load the coresponding swf to the stage.

Code:

package
{
import flash.display.MovieClip;
import flash.display.SimpleButton;

[code]....

View 21 Replies

ActionScript 3.0 :: Make Transitions Between Loaded Swfs

Oct 14, 2009

I am trying to make transitions between loaded swfs. Below is my code. I know I need to add to one of the functions to make it play the "out" transition before the new swf is loaded. Each swf has a timeline with a stop frame and a frame labeled "out". The below script allows me to press buttons and load the coresponding swf to the stage.[code]

View 9 Replies

ActionScript 3.0 :: Make 2 Loaded Swfs Communicate With Each Other?

Jan 14, 2009

This has quite a long background history, so I`ll first ask the question: how can I make a loaded SWF file activate a function inside another loaded SWF file - both in the same 'parent' movie, domain and directory - when the user clicks a 'link' on the first swf?I'm new to actionscript, been only working with it for 2 months and I've been learning on the go. So far, so good, flash cs3 help has been useful, as well as this forum and other sites. My project is a website, no innovations, just simple info and light animations.The site should have an intro page (I called it index), a preloader, then the actual site (home), with links to each specific area (pages). In home, a small slideshow movie clip should always be on the upper left corner looping images until the user clicks a link to a page, when the slideshow fades away. With this briefing, I made a file for the index, and a uiloader in it would get the home file and that 'should' be it.My stage resizing event listener was working perfectly on home - standing alone - moving the slideshow exactly as it should. But when home was loaded inside index, the slideshow moved way more than it should never getting in the right place. After various unsuccessful attempts, I decided to move the slideshow into its own swf and load it directly in the index, together with the home file. This way, I managed to make it relocate precisely, but got myself the problem I'm asking here. I need to get the slideshow to fade away when the user clicks a page link, but they are separate files.

I tried to use a Loader.content based function, located at the index, but figures Flash help was not exactly clear on how I had to use it properly, so I did not manage to get it to work. It always reported an unspecified property. I searched around here and over the net, found similar problems and their solutions but could not resolve my problem. I think this is a little too specific..

View 1 Replies

Professional :: Uses Multiple Swfs To Make Up The Game And Its Elements For Optimisation?

Mar 21, 2010

wonered if someone could help me wih this one. Currently making a facebook game all in flash, it uses multiple swfs to make up the game and its elements for optimisation.
 
My question really is down to flash cache issue so we can make updates to various swfs that are going to be, site wide for users so the game doesnt break. Currently some users get older versions which breaks things if other swfs have chnaged how they communicate as an example.
 
I am aware of adding a query string onto the end to force to get the latest version.....however doesnt this make the use of a cache redudant as its being simply overriden? Would jsut like it to work as it should:) If theres a new version of a swf use it..if not use current one.

View 5 Replies

ActionScript 3.0 :: Make A Banner Loader - Swfs Continuously - Looping

Jul 18, 2011

I want to make a banner loader. Basically its a swf that must load other swfs continuously, looping. Ive tried 2 things this far, and none of them seemed to work. 1st try: on my banner1.swf I used the onComplete parameter of Caurina package. So, when the animation should end, I simply made a method stating something like this:

[Code]...

View 1 Replies

ActionScript 2.0 :: How To Make Main Movie To Call Up Random SWFs

Sep 1, 2003

I think what I am looking for is a random action script. I want to make a swf (mainmovie.swf) that would call up random swfs. What would be ideal is that every time the person goes to the site a different file is called up out of the files I created. So what I have done is put my (mainmovie.swf) into a folder with all of the other swf files I want to be random. It does not need to load to any specific level or anything it could even just replace the original move (mainmovie.swf) what ever is the easiest.

View 5 Replies

IDE :: How To Make A Link

Mar 16, 2009

how can I make a link with ActionScript 3.0

[URL]

View 1 Replies

ActionScript 3.0 :: How To Make A Link

Mar 16, 2009

how can I make a link with ActionScript 3.0Paul Weinstock

View 1 Replies

ActionScript 3.0 :: Make A Url Link

Sep 29, 2008

I'm new to flash and just trying to make a url link. followed instructions and I keep getting an error" '{' expected " in line 5. It's there!!! It seems right to me. Am I missing something. it seems simple.

[Code]...

View 1 Replies

ActionScript 2.0 :: Make Some Movie Clips Function As Buttons To Load Some External Swfs?

May 24, 2009

So I want to make some movie clips function as buttons to load some external swfs. I have this action script on the mc's:

on (release)
{
loadMovie("Chuck.swf", "motionmc");
}

It was working when it was a button, but now nothing happens?

View 2 Replies

Make A Whole Swf Url Link Once Embedded Into Webpage?

Mar 21, 2001

How do you make a whole flash movie a url link once embedded into the webpage?

View 3 Replies

Make The URL Active Link In A Text Box?

Sep 3, 2010

I've build a simple twitter feed flash application that uses php script to read the latest tweet from xml and returns the string to flash to be displayed in a text box.

View 1 Replies

ActionScript 1/2 :: Make Connect To XML Link?

Aug 22, 2009

I have Flash Movie (with multiple movie symbols) file that parses XMLile(gallery.load("gallery.xml") with this

<image> <date>03.31.06</date> 
<title>View of Seattle</title> 
<desc>View of Seattle</desc>  <thumb>seattle5.jpg</thumb>

[code].....

View 1 Replies

How To Make Diagonal Text Link

Oct 15, 2009

How would I go about making diagonal link like this one.I drew a retangle so that my text would fit in, select both text and rectangle, F8 turn into button,then I turn them 45degree. When hover the text change color the way I want, but the problem is that the button enters the hover state way too soon when my mouse isnt over the rectangle yet.Seems like as long as my mouse falls within x and y coordinates of the text then it goes into hover state.For example my mouse is under the diagonal box, not in yet, but right under the text and it would go into hover state.

View 1 Replies

ActionScript 1/2 :: Make A Link In Flash?

Nov 20, 2009

Trying to figure out how to add a link that will open up in a new window using Action Script for something at work. Have barely used Flash so I am totally lost.  People at work gave me a file with a blue box that is in its own layer, but I don't understand where to put the link at. I know I have to use Action Script 2.0 and go to the Actions palette.

View 1 Replies







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