Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,309 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,058 people online right now. Registration is fast and FREE... Join Now!




Alter variables in .swf file (C# .NET Flash)

 
Reply to this topicStart new topic

Alter variables in .swf file (C# .NET Flash), Is it possible to alter a .swf file from a webform using c# .net?

kockojumbo
post 26 Sep, 2008 - 10:34 AM
Post #1


New D.I.C Head

*
Joined: 26 Sep, 2008
Posts: 1

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 26 Sep, 2008 - 10:36 AM
Post #2


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 8,923



Thanked 118 times

Dream Kudos: 8475

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions


To the best of my knowledge you cant alter the swf file from any language
User is offlineProfile CardPM

Go to the top of the page

marcells23
post 26 Sep, 2008 - 11:11 AM
Post #3


D.I.C Head

Group Icon
Joined: 22 Aug, 2007
Posts: 134



Thanked 3 times

Dream Kudos: 125
My Contributions


Use an xml file and have the flash read from that.

You can then alter the xml from c#
User is offlineProfile CardPM

Go to the top of the page

njagadhish
post 26 Sep, 2008 - 03:28 PM
Post #4


New D.I.C Head

*
Joined: 26 Sep, 2008
Posts: 3

QUOTE(kockojumbo @ 26 Sep, 2008 - 11:34 AM) *

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?




Hi,

Could you please explain me how to load a document in Flash paper in ASP.Net?
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 02:13AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month