Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x

Adobe Flash

28K

Solutions

13K

Contributors

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

please check http://cms.onlineoasis.com.au/

the "Play" in elearning section is working on most modern browser except safari. I dont understand why...
0
Hello,

Application inludes many RSL's and on load is taking a while . The same scenario happens on deleting flash cache ( where RSL's are loaded again) .  Is there any way to load RSL's on demand or to decreases load time of application.

2) resource modules and styles modules are also loaded simultaneously. Does it impact on load time?

Please share your thoughts the ways to decrease the load time and to improve application performance
0
Hi,

I am new to action script 3.0

I am working on existing flash project which is calling internaly swf files one after the other.

I have code available.

In my website I have all the .swf files are available

In SaveForm.swf file below code is used

Settings.getInstance().dispatchEvent(new SiteEvent(SiteEvent.JUMP_TO_PAGE, true, true, { page: 13 } ));

which is taking to the another ShareForm.swf file


This is in method submitData()

Also in the same SaveForm.swf, I have another object UserData, where all user data is saved

private function saveUserData():void {
      var my_message:String = 'Hello';

      // setup User Data object
      //popAlert("Dinesh3",yourfirstname);
      //popAlert(titleList.value,yourfirstname);
      UserData2.getInstance().setTitle(String(titleList.value));
      trace("--------------->"+typeof(titleList.value))
      popAlert("Dinesh4",yourfirstname);
      trace("Dinesh 5");
      UserData2.getInstance().setFirstname(yourfirstname.text);
      UserData2.getInstance().setLastname(yourlastname.text);
      UserData2.getInstance().setEmail(youremail.text);
      UserData2.getInstance().setCountry(_selectedCountry);                  
}
 

I wanted to recive UserData2 object values in my ShareForm.swf

All object values are accepting in method jumpToPageHandler() ShareForm for example
youremail.text = UserData2.getInstance().getEmail();

What code I should write in both files so, that I should receive UserData2 object values in ShareForm.swf

I am not sure why this is …
0
I'm hoping someone can help - I've spent way too much time trying to get something to work.

I'm trying to setup a tree structure that the user can edit.  I want to use an itemrender and a few events to handle the edits.  The only way I've gotten this to work nicely is to feed the tree an object that is created by Flex at compile time.  What I need is the ability to read in the data at runtime.

If I use a MX:XML model, Flex casts the XML as an object and everything works perfectly.

What I can't figure out is how to read this same data from an HTTP Service call.  I've tried setting the result type to object, e4x, xml etc.  I've tried XMLList, XML, and Array Collections.

I need the XML  cast as an object in the same manner that Flex stores/compiles it using the <mx:XML> model.


Any ideas of thoughts?


Thanks,

John


<mx:XML id="treedata"  format="e4x">
		<top label="node 0">
			<row label="node 1">
				<row label="subnode 1"/>
			</row>
			<row label="node 3"> </row>
			<row label="node 5"></row>
		</top>
	</mx:XML>	


private function initCatalog(cat:Object):void {
				myTree.dataProvider = cat;
			}

.....

initCatalog(remotetreedata);

Open in new window

0

I need to put a widget on my site using the script tag. How can I do this so that it works in a flash site?

<script src="https://www.crossloop.com/widgetjs/pro_contact_widget.js?accountid=1184493" type="text/javascript" charset="utf-8"></script>



Any help is appreciated!
0
The redirect coding that I have been using no longer works in default safari, I cant seem to find a lot of information on it either. I have attached the coding below.
It also still works in my atomic web browser, with identify as a ipad mobile browser selected. Maybe there is a better code to use with the new safari.

Randy



<script type="text/javascript"> 
	if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1)) {
		document.location = "http://www.google.com/mobile.htm";
	}
</script>

Open in new window

0
Hello -

I'm using Flash CS5 on a Mac and ActionScript 2.0 (I have to use this language because the software I need to import the SWF to only supports AS2).

I need to create a "closed captioning" button in my .fla file.  I am NOT looking to control a Flash video with this button.  I NEED to place it on the timeline with the "rewind" and "pause/play" buttons I have created that control the movieclips on the timeline.

I have a few audio files and would like the CC button to scroll the words/sentences spoken on the bottom of the screen.  I then will publish my file as a SWF and use software (Articulate) to publish it to my LMS.

Any help would be greatly appreciated.
0
i want to make dynamic gradient text in my flash swf.

the way i have been playing with is this:
i create two layers on my time line
the top layer has a static text textbox on it
on the bottom layer i have a gradient box

in the text box i type some letters-  then i right click on the layer with the textbox and select mask
This produces the desired effect.
now the problem…
 i want to dynamically add text to this text box.
to do so i have to switch the text box type to dynamic and in my code i
set my textbox.text = "mytext";

the result is not consistent.
I’ve tried other thing like applying the mask in code. I’ve tried cacheAsBitmat for both my textfield and the gradient box and setting the mask gradiantbox.mask = textfield which also doesn’t work for me. I’ve also tried adding the textbox through code.
 every way that i have tried i get inconsistent results. sometime the text seems to disappear! sometimes the mask does not apply. what the heck am i doing wrong?!  : )
any help would be appreciated.

Thanks : )


0
Can Adobe Flash CS4 make an animated GIF?
0
Hi Experts,

I am new to flash. I am using action script 3.0

I have many movie clips in my .fla library.

If I wanted to open and modify any of the movie clip how do I modify movie clip present in library and see action scripts present in that library

I have full code available and  I am sure the movie clip I am discussing is not third party movie. Its created by us and used in frames in .fla

Please guide

Many Thanks
0
Hi Experts,

In my attached bottomleftpanel.fla file there is a link called "Visit Company"

I wanted to update this link.

This .fla file is not attached to any .as files but I can see one BottomLeftPanel.as file lies at path
com.saatchi.sitetemplate.model.BottomLeftPanel

when I am attaching this file as .as files with this .fla file then I am getting the error saying URL not found at the time of loading the swf file

Can we link text "Visit Company" in .fla file as well.

Please see both .as file and .fla file

Please comment

Many Thanks bottomleftpanel.fla
package com.saatchi.sitetemplate.m<wbr ></wbr>odel {
	import flash.display.Loader;
	import flash.display.LoaderInfo;
	import flash.display.MovieClip;
	import flash.display.StageDisplay<wbr ></wbr>State;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.net.URLRequest;
	import flash.text.TextField;

	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Con<wbr ></wbr>figuration<wbr ></wbr>2;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Set<wbr ></wbr>tings;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Sit<wbr ></wbr>eConstants<wbr ></wbr>2;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Omn<wbr ></wbr>itureTrack<wbr ></wbr>ingManager<wbr ></wbr>;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>text.TextU<wbr ></wbr>til;
	import 

Open in new window

0
i have a requirement where admin will be adding urls of his youtube videos to the database.
in frontend I need something really cool, and fancy – where it has little thumbnails on front for each video and they can slide into each other.

pls help with suggestions....
0
How can I edit this flash website template? I have the main .fla open in flash but I don't see how to edit the content. I can see some of the items in the library but I don't see the content I need to edit. Am I missing something here? Does something else like an xml file or something send the data to the flash object?

Site is
http://www.dantechmsp.com/dantechitnew2/site_flash/
0
how do i add a graphic image here, replace text with an arrow:

<preview_play_label><![CDATA[<playLabel>play/pause</playLabel>]]></preview_play_label>

and remove the scrubber and video timer?
0
I would like to create an image gallery where users can view images in various categories.

There will be a category list and when the user clicks a category the wall is populated with images.

Users can then click on an image to further inspect.

Then users can vote (thumbs up/down) on each image. This voting tally is stored.

The user can then pick another category and the wall is populated again.

Desired important features:

-updated by XML
-sortable by category
-sortable by over all rank
-option to display all images in catalog, not just category.
-zoomable navigation look/feel of 3D Wall

I look forward to completing this project, but I just don't know if 3D Wall is customizable like that. Nor do I know the direction to go.

Can someone outline what will be needed to complete such a project and point me in the right direction?

Thanks!
0
Hi Guys,
This is for people with experience using the JWplayer.

I am having trouble with the jwplayer saving the xml playlist into the cache, so in another flash project I am fixing this by loading the xml file like this in actionscript
xml.load("file_name.xml?nocache="random(9999));

How could I use similar coding in html for the jwplayer. So that it adds the nocache query.

I have heard that a no-cache header could be an option, Can you explain how to add that for me, I figure it is javascript but I am wrong quite a bit. haha.
I really appreciate the help.

Thanks,
Randy
0
Hi Experts,

In my flash website.

I have a form called saveForm on submit button click I am calling method submitData.

I can see using trace debugger that I can reach to method submitPOST()

and I am able to reach till trace
      trace("Dinesh 55");
      
Then further it is not printing trace("Dinesh 55.1");

therefore I assume I am getting error at line
      loader.addEventListener(Event.COMPLETE, submitCompleteHandler);
      
and it is going to method "onIOErrorHandler" from base class

When calling method "submitCompleteHandler" it is also printing Dinesh 54 from trace and giving exception

Looks it is giving error at line

             var loader:URLLoader = URLLoader(event.target);
             
How do I fix event.target, if this is the issue

Please help
public class SaveForm extends MovieClipBase { 

	private function submitData():void {                 
		var subscribeconnector:Subscri<wbr ></wbr>beConnecto<wbr ></wbr>r2 = new SubscribeConnector2(variab<wbr ></wbr>les.utitle<wbr ></wbr>, variables.firstname, variables.lastname, variables.email, variables.sendnews, variables.country, variables.joincomp, variables.showgallery, variables.sequence, variables.bonus, variables.journeyname);                
		}
} // End of class SaveForm     



public class SubscribeConnector2 extends DataConnector2 {

	public function SubscribeConnector2(utitle<wbr ></wbr>:String, firstname:String, lastname:String, email:String, sendnews:int, country:String, joincomp:int, 

Open in new window

0
Hey guys,

I'm creating a game with gravity, which is working good at this moment. But I've got a small problem with movement and changing gravity.

For example when you move right, and then press the gravity key (g) you stop moving right after a second while you're in air. I want the player to be able to move left/right while in air and also when you hold right, hit gravity, it should be still moving right.

I know the problem is in the keyPressedUp code, but I cant seem to fix
dimension-switch-CS4.fla
0
Hey guys,

I'm creating a little game, where you can change gravity.
Changing gravity works like a charm, as soon as you hit a platform you stop falling.
The problem now is, when you now walk off a platform, you float in midair, to understand this fully you'll need the .fla file.

So I've added the .fla and I hope you guys can help me!

thanks dimension-switch-CS4.fla
0
Hi Experts,

I am new to flash action script3.0

I am seeing method submitCompleteHandler

and it is loading url

var loader:URLLoader = URLLoader(event.target);

My first question is how event.target knows about target. Is it passing same as this._backendURL

Is method name onIOErrorHandler called when it is failed to call the URL

or this method is called when url loaded has the error

or on both cases


Another how we receive message from url loaded, if result is success or failure

Please guide

Thanks
protected function submitPOST(variables:URLVariables):void {
	var request:URLRequest = new URLRequest(this._backendURL);
	request.method = URLRequestMethod.POST;
	request.data = variables;

	var loader = new URLLoader();
	loader.dataFormat = URLLoaderDataFormat.VARIABLES;

	trace("DataConnector: url="+this._backendURL+" data="+request.data);

	loader.addEventListener(Event.COMPLETE, submitCompleteHandler);
	loader.addEventListener(IOErrorEvent.IO_ERROR, onIOErrorHandler);

	loader.load(request);
}


// submittion complete handler
protected function submitCompleteHandler(event:Event):void {
	var loader:URLLoader = URLLoader(event.target);
	trace("DataConnector: url="+this._backendURL+"   Feedback=" + loader.data);
}



// submittion error handler
protected function onIOErrorHandler(event:IOErrorEvent):void {
	ExternalInterface.call("alert", "DataConnector: Error submitting your details to the database. \n\n"+event.toString());
	

Open in new window

0
Dear experts ..
i am building a project on flex using framework sdk 4.5
i want to implement a tabbar but with fully customized buttons .
i looked around the internet but with very pure resources about this specific issue .
you can find below an attached image showing what i want to do .
     the desired tabbar look
0
Hey guys,

I want to fill an array with objects.
The objects are on my stage in Flash, they all have a name. (wall1, wall2, wall3, etc.)
Now I want those in an array, without having a list, since I have 15 walls and there might come even more.

So I thought the following.
var hwalls:Array = new Array();

for(var a = 0; a < 15; a++) {
	hwalls[a] = "walls" + a;
}

Open in new window


Then later I call it with this
for(var i = 0; i < hwalls.length; i++) {
		if(player.hitTestObject(hwalls[i])) {
			//do something
		}
	}

Open in new window


The problem is that it gives an error, and I think it has to do with the fact that I actually store the array with strings. How can I resolve this?
0
I purchased the following flash component: http://activeden.net/item/as2-card-flip-no-pv3d/25247?ref=flash2s. It does exacly what I need it to do, but I don't know Flash well enough to make the changes I need to make. I need to remove the demo images and add 3 images that spin like the demo. Of course the dimensions of the images I need to add, and the effect I want etc are different. Since this is a purchased component, I don't want to paste the code etc publicly.

Can someone help me work through getting this component to work for me? I need to create a header swf with 3 rotating images that rotate automatically (not on the click of the buttons in the demo) Thanks in advance.
0
Hi
i have made through paypal a button and i must copy the form generated by paypal into html form
i created a a fireworks page that ia have text and i want to create this button how i can copy this html form into my fireworks or i cannot
thanks
0
Hi Experts,

When we publish the .fla file to .swf file, there is option in setting

1. Access to the local filesystem only.
2. Access to the network only.

What are these 2 options.

My .swf files need to run on the website and I have many .swf files in my project.

They pass the objects from one .swf to other .swf

I recevied this application created by some agency for us and now that agency is no longer working for our company.

I am new to flash and learning the action script. I know Java and C# very well, so I am able to understand the action script with some little help.

So, what option I should select while publishing my .swf file.

It should be

1. Access to the local filesystem only.
2. Access to the network only.


Please suggest and please help e understanding the difference between these 2 options

Many Thanks
0

Adobe Flash

28K

Solutions

13K

Contributors

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.